1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_void swig_types[8]
2471 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482 #define SWIGTYPE_p_wxButton swig_types[20]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2484 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2485 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487 #define SWIGTYPE_p_wxChoice swig_types[25]
2488 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2489 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2490 #define SWIGTYPE_p_wxCloseEvent swig_types[28]
2491 #define SWIGTYPE_p_wxColour swig_types[29]
2492 #define SWIGTYPE_p_wxComboBox swig_types[30]
2493 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2494 #define SWIGTYPE_p_wxContextHelp swig_types[32]
2495 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
2497 #define SWIGTYPE_p_wxControl swig_types[35]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
2499 #define SWIGTYPE_p_wxCursor swig_types[37]
2500 #define SWIGTYPE_p_wxDC swig_types[38]
2501 #define SWIGTYPE_p_wxDateEvent swig_types[39]
2502 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
2503 #define SWIGTYPE_p_wxDateTime swig_types[41]
2504 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
2505 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
2506 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
2507 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
2508 #define SWIGTYPE_p_wxEraseEvent swig_types[46]
2509 #define SWIGTYPE_p_wxEvent swig_types[47]
2510 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
2511 #define SWIGTYPE_p_wxFSFile swig_types[49]
2512 #define SWIGTYPE_p_wxFileSystem swig_types[50]
2513 #define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxFocusEvent swig_types[52]
2515 #define SWIGTYPE_p_wxFont swig_types[53]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[54]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[55]
2518 #define SWIGTYPE_p_wxGauge swig_types[56]
2519 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
2520 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
2521 #define SWIGTYPE_p_wxGridBagSizer swig_types[59]
2522 #define SWIGTYPE_p_wxGridSizer swig_types[60]
2523 #define SWIGTYPE_p_wxHelpEvent swig_types[61]
2524 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
2525 #define SWIGTYPE_p_wxICOHandler swig_types[63]
2526 #define SWIGTYPE_p_wxIcon swig_types[64]
2527 #define SWIGTYPE_p_wxIconizeEvent swig_types[65]
2528 #define SWIGTYPE_p_wxIdleEvent swig_types[66]
2529 #define SWIGTYPE_p_wxImage swig_types[67]
2530 #define SWIGTYPE_p_wxImageHandler swig_types[68]
2531 #define SWIGTYPE_p_wxImageList swig_types[69]
2532 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
2533 #define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
2534 #define SWIGTYPE_p_wxItemContainer swig_types[72]
2535 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
2536 #define SWIGTYPE_p_wxKeyEvent swig_types[74]
2537 #define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
2538 #define SWIGTYPE_p_wxListBox swig_types[76]
2539 #define SWIGTYPE_p_wxListEvent swig_types[77]
2540 #define SWIGTYPE_p_wxListItem swig_types[78]
2541 #define SWIGTYPE_p_wxListItemAttr swig_types[79]
2542 #define SWIGTYPE_p_wxListView swig_types[80]
2543 #define SWIGTYPE_p_wxListbook swig_types[81]
2544 #define SWIGTYPE_p_wxListbookEvent swig_types[82]
2545 #define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
2546 #define SWIGTYPE_p_wxMemoryDC swig_types[84]
2547 #define SWIGTYPE_p_wxMenu swig_types[85]
2548 #define SWIGTYPE_p_wxMenuBar swig_types[86]
2549 #define SWIGTYPE_p_wxMenuEvent swig_types[87]
2550 #define SWIGTYPE_p_wxMenuItem swig_types[88]
2551 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
2552 #define SWIGTYPE_p_wxMouseEvent swig_types[90]
2553 #define SWIGTYPE_p_wxMoveEvent swig_types[91]
2554 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
2555 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
2556 #define SWIGTYPE_p_wxNotebook swig_types[94]
2557 #define SWIGTYPE_p_wxNotebookEvent swig_types[95]
2558 #define SWIGTYPE_p_wxNotifyEvent swig_types[96]
2559 #define SWIGTYPE_p_wxObject swig_types[97]
2560 #define SWIGTYPE_p_wxPCXHandler swig_types[98]
2561 #define SWIGTYPE_p_wxPNGHandler swig_types[99]
2562 #define SWIGTYPE_p_wxPNMHandler swig_types[100]
2563 #define SWIGTYPE_p_wxPaintEvent swig_types[101]
2564 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPaperSize swig_types[103]
2566 #define SWIGTYPE_p_wxPoint swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyControl swig_types[107]
2570 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyListCtrl swig_types[110]
2573 #define SWIGTYPE_p_wxPySizer swig_types[111]
2574 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
2575 #define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
2576 #define SWIGTYPE_p_wxPyValidator swig_types[114]
2577 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
2578 #define SWIGTYPE_p_wxRadioBox swig_types[116]
2579 #define SWIGTYPE_p_wxRadioButton swig_types[117]
2580 #define SWIGTYPE_p_wxRect swig_types[118]
2581 #define SWIGTYPE_p_wxScrollBar swig_types[119]
2582 #define SWIGTYPE_p_wxScrollEvent swig_types[120]
2583 #define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
2584 #define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
2585 #define SWIGTYPE_p_wxShowEvent swig_types[123]
2586 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
2587 #define SWIGTYPE_p_wxSize swig_types[125]
2588 #define SWIGTYPE_p_wxSizeEvent swig_types[126]
2589 #define SWIGTYPE_p_wxSizer swig_types[127]
2590 #define SWIGTYPE_p_wxSizerItem swig_types[128]
2591 #define SWIGTYPE_p_wxSlider swig_types[129]
2592 #define SWIGTYPE_p_wxSpinButton swig_types[130]
2593 #define SWIGTYPE_p_wxSpinCtrl swig_types[131]
2594 #define SWIGTYPE_p_wxSpinEvent swig_types[132]
2595 #define SWIGTYPE_p_wxStaticBitmap swig_types[133]
2596 #define SWIGTYPE_p_wxStaticBox swig_types[134]
2597 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxStaticLine swig_types[136]
2599 #define SWIGTYPE_p_wxStaticText swig_types[137]
2600 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
2601 #define SWIGTYPE_p_wxString swig_types[139]
2602 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
2603 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
2604 #define SWIGTYPE_p_wxTextAttr swig_types[142]
2605 #define SWIGTYPE_p_wxTextCtrl swig_types[143]
2606 #define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
2607 #define SWIGTYPE_p_wxToggleButton swig_types[145]
2608 #define SWIGTYPE_p_wxToolBar swig_types[146]
2609 #define SWIGTYPE_p_wxToolBarBase swig_types[147]
2610 #define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
2611 #define SWIGTYPE_p_wxToolbook swig_types[149]
2612 #define SWIGTYPE_p_wxToolbookEvent swig_types[150]
2613 #define SWIGTYPE_p_wxTreeCtrl swig_types[151]
2614 #define SWIGTYPE_p_wxTreeEvent swig_types[152]
2615 #define SWIGTYPE_p_wxTreeItemId swig_types[153]
2616 #define SWIGTYPE_p_wxTreebook swig_types[154]
2617 #define SWIGTYPE_p_wxTreebookEvent swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info
*swig_types
[164];
2626 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2630 /* -------- TYPES TABLE (END) -------- */
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2647 /*-----------------------------------------------
2648 @(target):= _controls_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_controls_
2652 #define SWIG_name "_controls_"
2654 #define SWIGVERSION 0x010329
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2661 #include <stdexcept>
2665 class PyObject_ptr
{
2670 PyObject_ptr() :_obj(0)
2674 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2679 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2681 if (initial_ref
) Py_XINCREF(_obj
);
2684 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2686 Py_XINCREF(item
._obj
);
2697 operator PyObject
*() const
2702 PyObject
*operator->() const
2711 struct PyObject_var
: PyObject_ptr
{
2712 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2714 PyObject_var
& operator = (PyObject
* obj
)
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2727 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2728 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2731 const wxArrayString wxPyEmptyStringArray
;
2733 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2735 #define SWIG_From_long PyInt_FromLong
2738 SWIGINTERNINLINE PyObject
*
2739 SWIG_From_int (int value
)
2741 return SWIG_From_long (value
);
2747 # define LLONG_MIN LONG_LONG_MIN
2750 # define LLONG_MAX LONG_LONG_MAX
2753 # define ULLONG_MAX ULONG_LONG_MAX
2758 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2760 if (PyNumber_Check(obj
)) {
2761 if (val
) *val
= PyInt_AsLong(obj
);
2764 return SWIG_TypeError
;
2769 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2772 int res
= SWIG_AsVal_long (obj
, &v
);
2773 if (SWIG_IsOK(res
)) {
2774 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2775 return SWIG_OverflowError
;
2777 if (val
) *val
= static_cast< int >(v
);
2783 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2786 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2788 if (obj
== Py_True
) {
2789 if (val
) *val
= true;
2791 } else if (obj
== Py_False
) {
2792 if (val
) *val
= false;
2796 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2797 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2802 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2803 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2804 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2805 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2806 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2807 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2809 #include <wx/checklst.h>
2812 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2813 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2815 wxPyClientData
* data
= new wxPyClientData(clientData
);
2816 self
->Insert(item
, pos
, data
);
2818 self
->Insert(item
, pos
);
2820 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2822 self
->GetSelections(lst
);
2823 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2824 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
2825 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2829 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2831 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2832 self
->GetItem(item
)->SetTextColour(c
);
2835 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2837 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2838 self
->GetItem(item
)->SetBackgroundColour(c
);
2841 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2843 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2844 self
->GetItem(item
)->SetFont(f
);
2847 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2850 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2853 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2854 return SWIG_TypeError
;
2857 *val
= (unsigned long)v
;
2861 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2862 self
->AppendText(text
);
2864 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2865 return self
->GetValue().Mid(from
, to
- from
);
2867 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2868 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2869 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2870 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2871 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2873 SWIGINTERNINLINE PyObject
*
2874 SWIG_From_unsigned_SS_long (unsigned long value
)
2876 return (value
> LONG_MAX
) ?
2877 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2881 SWIGINTERNINLINE PyObject
*
2882 SWIG_From_size_t (size_t value
)
2884 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2887 SWIGINTERN
int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
2888 SWIGINTERN
int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
2889 SWIGINTERN
int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
2891 #include <wx/slider.h>
2894 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2895 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2897 #if !wxUSE_TOGGLEBTN
2898 // implement dummy items for platforms that don't have this class
2900 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2902 class wxToggleButton
: public wxControl
2905 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2906 const wxPoint
&, const wxSize
&, long,
2907 const wxValidator
&, const wxString
&)
2908 { wxPyRaiseNotImplemented(); }
2911 { wxPyRaiseNotImplemented(); }
2915 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2917 SWIGINTERNINLINE
int
2918 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2921 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2922 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2926 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2927 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2928 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2930 Py_INCREF(udata
->m_obj
);
2931 return udata
->m_obj
;
2937 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2938 self
->SetClientData(new wxPyUserData(clientData
));
2940 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
){
2941 wxPyUserData
* udata
= NULL
;
2942 if (clientData
&& clientData
!= Py_None
)
2943 udata
= new wxPyUserData(clientData
);
2944 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2945 shortHelp
, longHelp
, udata
);
2947 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
){
2948 wxPyUserData
* udata
= NULL
;
2949 if (clientData
&& clientData
!= Py_None
)
2950 udata
= new wxPyUserData(clientData
);
2951 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2952 shortHelp
, longHelp
, udata
);
2954 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2955 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2957 Py_INCREF(udata
->m_obj
);
2958 return udata
->m_obj
;
2964 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2965 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2968 #include <wx/listctrl.h>
2970 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2971 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2972 // Python aware sorting function for wxPyListCtrl
2973 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
2975 PyObject
* func
= (PyObject
*)funcPtr
;
2976 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2978 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
2979 PyObject
* result
= PyEval_CallObject(func
, args
);
2982 retval
= PyInt_AsLong(result
);
2986 wxPyEndBlockThreads(blocked
);
2990 // C++ Version of a Python aware class
2991 class wxPyListCtrl
: public wxListCtrl
{
2992 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
2994 wxPyListCtrl() : wxListCtrl() {}
2995 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
2999 const wxValidator
& validator
,
3000 const wxString
& name
) :
3001 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3003 bool Create(wxWindow
* parent
, wxWindowID id
,
3007 const wxValidator
& validator
,
3008 const wxString
& name
) {
3009 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3012 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3013 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3015 // use the virtual version to avoid a confusing assert in the base class
3016 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3017 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3022 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3024 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3025 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3026 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3027 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3030 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3032 item
.SetMask( wxLIST_MASK_STATE
|
3040 if (self
->GetColumn(col
, item
))
3041 return new wxListItem(item
);
3045 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3046 wxListItem
* info
= new wxListItem
;
3047 info
->m_itemId
= itemId
;
3049 info
->m_mask
= 0xFFFF;
3050 self
->GetItem(*info
);
3053 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3055 self
->GetItemPosition(item
, pos
);
3058 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3060 self
->GetItemRect(item
, rect
, code
);
3063 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3064 if (!PyCallable_Check(func
))
3066 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3068 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3072 return (wxWindow
*)self
->m_mainWin
;
3076 #include <wx/treectrl.h>
3077 #include "wx/wxPython/pytree.h"
3079 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3080 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3081 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3082 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3083 // C++ version of Python aware wxTreeCtrl
3084 class wxPyTreeCtrl
: public wxTreeCtrl
{
3085 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3087 wxPyTreeCtrl() : wxTreeCtrl() {}
3088 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3092 const wxValidator
& validator
,
3093 const wxString
& name
) :
3094 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3096 bool Create(wxWindow
*parent
, wxWindowID id
,
3100 const wxValidator
& validator
,
3101 const wxString
& name
) {
3102 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3106 int OnCompareItems(const wxTreeItemId
& item1
,
3107 const wxTreeItemId
& item2
) {
3110 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3111 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3112 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3113 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3114 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3118 wxPyEndBlockThreads(blocked
);
3120 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3126 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3130 SWIGINTERNINLINE PyObject
*
3131 SWIG_From_unsigned_SS_int (unsigned int value
)
3133 return SWIG_From_unsigned_SS_long (value
);
3138 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3141 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3142 if (SWIG_IsOK(res
)) {
3143 if ((v
> UINT_MAX
)) {
3144 return SWIG_OverflowError
;
3146 if (val
) *val
= static_cast< unsigned int >(v
);
3152 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3153 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3155 data
= new wxPyTreeItemData();
3156 data
->SetId(item
); // set the id
3157 self
->SetItemData(item
, data
);
3161 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3162 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3164 data
= new wxPyTreeItemData();
3165 data
->SetId(item
); // set the id
3166 self
->SetItemData(item
, data
);
3168 return data
->GetData();
3170 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3171 data
->SetId(item
); // set the id
3172 self
->SetItemData(item
, data
);
3174 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3175 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3177 data
= new wxPyTreeItemData(obj
);
3178 data
->SetId(item
); // set the id
3179 self
->SetItemData(item
, data
);
3183 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3184 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3185 PyObject
* rval
= PyList_New(0);
3186 wxArrayTreeItemIds array
;
3188 num
= self
->GetSelections(array
);
3189 for (x
=0; x
< num
; x
++) {
3190 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3191 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3192 PyList_Append(rval
, item
);
3195 wxPyEndBlockThreads(blocked
);
3198 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3200 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3201 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3202 PyObject
* tup
= PyTuple_New(2);
3203 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3204 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3205 wxPyEndBlockThreads(blocked
);
3208 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3209 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3211 PyObject
* tup
= PyTuple_New(2);
3212 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3213 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3214 wxPyEndBlockThreads(blocked
);
3217 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3219 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3220 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3221 wxRect
* r
= new wxRect(rect
);
3222 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3223 wxPyEndBlockThreads(blocked
);
3229 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3231 SWIGINTERNINLINE PyObject
*
3232 SWIG_From_bool (bool value
)
3234 return PyBool_FromLong(value
? 1 : 0);
3237 // C++ version of Python aware wxControl
3238 class wxPyControl
: public wxControl
3240 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3242 wxPyControl() : wxControl() {}
3243 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3244 const wxPoint
& pos
= wxDefaultPosition
,
3245 const wxSize
& size
= wxDefaultSize
,
3247 const wxValidator
& validator
=wxDefaultValidator
,
3248 const wxString
& name
= wxPyControlNameStr
)
3249 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3251 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3253 bool DoEraseBackground(wxDC
* dc
) {
3255 return wxWindow::DoEraseBackground(dc
->GetHDC());
3257 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3263 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3264 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3265 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3266 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3268 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3269 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3270 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3272 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3273 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3275 DEC_PYCALLBACK__(InitDialog
);
3276 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3277 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3278 DEC_PYCALLBACK_BOOL_(Validate
);
3280 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3281 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3282 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3284 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3285 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3287 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3288 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3290 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3292 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3297 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3299 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3300 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3301 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3302 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3304 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3305 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3306 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3308 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3309 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3311 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3312 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3313 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3314 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3316 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3317 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3318 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3320 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3321 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3323 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3324 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3326 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3328 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3332 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3334 #include <wx/generic/dragimgg.h>
3336 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3337 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3339 self
->GetRange(&rv
, NULL
);
3342 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3344 self
->GetRange(NULL
, &rv
);
3350 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3351 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3356 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3357 PyObject
*pyobj
= 0;
3361 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3363 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3370 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
= 0;
3372 wxWindow
*arg1
= (wxWindow
*) 0 ;
3373 int arg2
= (int) -1 ;
3374 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3375 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3376 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3377 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3378 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3379 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3380 long arg6
= (long) 0 ;
3381 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3382 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3383 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3384 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3385 wxButton
*result
= 0 ;
3390 bool temp3
= false ;
3397 bool temp8
= false ;
3398 PyObject
* obj0
= 0 ;
3399 PyObject
* obj1
= 0 ;
3400 PyObject
* obj2
= 0 ;
3401 PyObject
* obj3
= 0 ;
3402 PyObject
* obj4
= 0 ;
3403 PyObject
* obj5
= 0 ;
3404 PyObject
* obj6
= 0 ;
3405 PyObject
* obj7
= 0 ;
3406 char * kwnames
[] = {
3407 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3412 if (!SWIG_IsOK(res1
)) {
3413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3415 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3418 if (!SWIG_IsOK(ecode2
)) {
3419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3421 arg2
= static_cast< int >(val2
);
3425 arg3
= wxString_in_helper(obj2
);
3426 if (arg3
== NULL
) SWIG_fail
;
3433 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3439 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3443 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3444 if (!SWIG_IsOK(ecode6
)) {
3445 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3447 arg6
= static_cast< long >(val6
);
3450 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3451 if (!SWIG_IsOK(res7
)) {
3452 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3457 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3461 arg8
= wxString_in_helper(obj7
);
3462 if (arg8
== NULL
) SWIG_fail
;
3467 if (!wxPyCheckForApp()) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3496 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3497 PyObject
*resultobj
= 0;
3498 wxButton
*result
= 0 ;
3500 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3502 if (!wxPyCheckForApp()) SWIG_fail
;
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 result
= (wxButton
*)new wxButton();
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3515 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
= 0;
3517 wxButton
*arg1
= (wxButton
*) 0 ;
3518 wxWindow
*arg2
= (wxWindow
*) 0 ;
3519 int arg3
= (int) -1 ;
3520 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3521 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3522 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3523 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3524 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3525 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3526 long arg7
= (long) 0 ;
3527 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3528 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3529 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3530 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3538 bool temp4
= false ;
3545 bool temp9
= false ;
3546 PyObject
* obj0
= 0 ;
3547 PyObject
* obj1
= 0 ;
3548 PyObject
* obj2
= 0 ;
3549 PyObject
* obj3
= 0 ;
3550 PyObject
* obj4
= 0 ;
3551 PyObject
* obj5
= 0 ;
3552 PyObject
* obj6
= 0 ;
3553 PyObject
* obj7
= 0 ;
3554 PyObject
* obj8
= 0 ;
3555 char * kwnames
[] = {
3556 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3561 if (!SWIG_IsOK(res1
)) {
3562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3564 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3565 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3566 if (!SWIG_IsOK(res2
)) {
3567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3569 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3572 if (!SWIG_IsOK(ecode3
)) {
3573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3575 arg3
= static_cast< int >(val3
);
3579 arg4
= wxString_in_helper(obj3
);
3580 if (arg4
== NULL
) SWIG_fail
;
3587 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3593 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3597 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3598 if (!SWIG_IsOK(ecode7
)) {
3599 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3601 arg7
= static_cast< long >(val7
);
3604 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3605 if (!SWIG_IsOK(res8
)) {
3606 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3611 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3615 arg9
= wxString_in_helper(obj8
);
3616 if (arg9
== NULL
) SWIG_fail
;
3621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3622 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) SWIG_fail
;
3627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3651 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3652 PyObject
*resultobj
= 0;
3653 wxButton
*arg1
= (wxButton
*) 0 ;
3656 PyObject
*swig_obj
[1] ;
3658 if (!args
) SWIG_fail
;
3660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3661 if (!SWIG_IsOK(res1
)) {
3662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3664 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3667 (arg1
)->SetDefault();
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3671 resultobj
= SWIG_Py_Void();
3678 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3679 PyObject
*resultobj
= 0;
3682 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 result
= wxButton::GetDefaultSize();
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3689 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3696 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
*resultobj
= 0;
3698 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3699 SwigValueWrapper
<wxVisualAttributes
> result
;
3702 PyObject
* obj0
= 0 ;
3703 char * kwnames
[] = {
3704 (char *) "variant", NULL
3707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3709 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3710 if (!SWIG_IsOK(ecode1
)) {
3711 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3713 arg1
= static_cast< wxWindowVariant
>(val1
);
3716 if (!wxPyCheckForApp()) SWIG_fail
;
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 result
= wxButton::GetClassDefaultAttributes(arg1
);
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3722 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3729 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3732 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3733 return SWIG_Py_Void();
3736 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3737 return SWIG_Python_InitShadowInstance(args
);
3740 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
= 0;
3742 wxWindow
*arg1
= (wxWindow
*) 0 ;
3743 int arg2
= (int) -1 ;
3744 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3745 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3746 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3747 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3748 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3749 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3750 long arg6
= (long) wxBU_AUTODRAW
;
3751 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3752 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3753 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3754 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3755 wxBitmapButton
*result
= 0 ;
3768 bool temp8
= false ;
3769 PyObject
* obj0
= 0 ;
3770 PyObject
* obj1
= 0 ;
3771 PyObject
* obj2
= 0 ;
3772 PyObject
* obj3
= 0 ;
3773 PyObject
* obj4
= 0 ;
3774 PyObject
* obj5
= 0 ;
3775 PyObject
* obj6
= 0 ;
3776 PyObject
* obj7
= 0 ;
3777 char * kwnames
[] = {
3778 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3783 if (!SWIG_IsOK(res1
)) {
3784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3786 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3789 if (!SWIG_IsOK(ecode2
)) {
3790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3792 arg2
= static_cast< int >(val2
);
3795 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3796 if (!SWIG_IsOK(res3
)) {
3797 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3802 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3807 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3813 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3817 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3818 if (!SWIG_IsOK(ecode6
)) {
3819 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3821 arg6
= static_cast< long >(val6
);
3824 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3825 if (!SWIG_IsOK(res7
)) {
3826 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3831 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3835 arg8
= wxString_in_helper(obj7
);
3836 if (arg8
== NULL
) SWIG_fail
;
3841 if (!wxPyCheckForApp()) SWIG_fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3862 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3863 PyObject
*resultobj
= 0;
3864 wxBitmapButton
*result
= 0 ;
3866 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3868 if (!wxPyCheckForApp()) SWIG_fail
;
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 result
= (wxBitmapButton
*)new wxBitmapButton();
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3881 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
= 0;
3883 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3884 wxWindow
*arg2
= (wxWindow
*) 0 ;
3885 int arg3
= (int) -1 ;
3886 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3887 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3888 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3889 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3890 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3891 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3892 long arg7
= (long) wxBU_AUTODRAW
;
3893 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3894 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3895 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3896 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3912 bool temp9
= false ;
3913 PyObject
* obj0
= 0 ;
3914 PyObject
* obj1
= 0 ;
3915 PyObject
* obj2
= 0 ;
3916 PyObject
* obj3
= 0 ;
3917 PyObject
* obj4
= 0 ;
3918 PyObject
* obj5
= 0 ;
3919 PyObject
* obj6
= 0 ;
3920 PyObject
* obj7
= 0 ;
3921 PyObject
* obj8
= 0 ;
3922 char * kwnames
[] = {
3923 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3928 if (!SWIG_IsOK(res1
)) {
3929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3931 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3932 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3933 if (!SWIG_IsOK(res2
)) {
3934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3936 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3939 if (!SWIG_IsOK(ecode3
)) {
3940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3942 arg3
= static_cast< int >(val3
);
3945 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3946 if (!SWIG_IsOK(res4
)) {
3947 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3952 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3957 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3963 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3967 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3968 if (!SWIG_IsOK(ecode7
)) {
3969 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3971 arg7
= static_cast< long >(val7
);
3974 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3975 if (!SWIG_IsOK(res8
)) {
3976 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3981 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3985 arg9
= wxString_in_helper(obj8
);
3986 if (arg9
== NULL
) SWIG_fail
;
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4013 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4014 PyObject
*resultobj
= 0;
4015 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4019 PyObject
*swig_obj
[1] ;
4021 if (!args
) SWIG_fail
;
4023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4024 if (!SWIG_IsOK(res1
)) {
4025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4027 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 result
= (arg1
)->GetBitmapLabel();
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4034 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4041 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4042 PyObject
*resultobj
= 0;
4043 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4047 PyObject
*swig_obj
[1] ;
4049 if (!args
) SWIG_fail
;
4051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4052 if (!SWIG_IsOK(res1
)) {
4053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4055 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (arg1
)->GetBitmapDisabled();
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4069 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4070 PyObject
*resultobj
= 0;
4071 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4075 PyObject
*swig_obj
[1] ;
4077 if (!args
) SWIG_fail
;
4079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4080 if (!SWIG_IsOK(res1
)) {
4081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4083 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 result
= (arg1
)->GetBitmapFocus();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4097 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4098 PyObject
*resultobj
= 0;
4099 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4103 PyObject
*swig_obj
[1] ;
4105 if (!args
) SWIG_fail
;
4107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4108 if (!SWIG_IsOK(res1
)) {
4109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4111 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= (arg1
)->GetBitmapSelected();
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4125 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4126 PyObject
*resultobj
= 0;
4127 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4131 PyObject
*swig_obj
[1] ;
4133 if (!args
) SWIG_fail
;
4135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4136 if (!SWIG_IsOK(res1
)) {
4137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4139 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (arg1
)->GetBitmapHover();
4143 wxPyEndAllowThreads(__tstate
);
4144 if (PyErr_Occurred()) SWIG_fail
;
4146 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4153 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
= 0;
4155 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4156 wxBitmap
*arg2
= 0 ;
4161 PyObject
* obj0
= 0 ;
4162 PyObject
* obj1
= 0 ;
4163 char * kwnames
[] = {
4164 (char *) "self",(char *) "bitmap", NULL
4167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4169 if (!SWIG_IsOK(res1
)) {
4170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4172 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4173 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4174 if (!SWIG_IsOK(res2
)) {
4175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4180 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4184 wxPyEndAllowThreads(__tstate
);
4185 if (PyErr_Occurred()) SWIG_fail
;
4187 resultobj
= SWIG_Py_Void();
4194 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
*resultobj
= 0;
4196 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4197 wxBitmap
*arg2
= 0 ;
4202 PyObject
* obj0
= 0 ;
4203 PyObject
* obj1
= 0 ;
4204 char * kwnames
[] = {
4205 (char *) "self",(char *) "bitmap", NULL
4208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4210 if (!SWIG_IsOK(res1
)) {
4211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4213 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4215 if (!SWIG_IsOK(res2
)) {
4216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4221 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= SWIG_Py_Void();
4235 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
= 0;
4237 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4238 wxBitmap
*arg2
= 0 ;
4243 PyObject
* obj0
= 0 ;
4244 PyObject
* obj1
= 0 ;
4245 char * kwnames
[] = {
4246 (char *) "self",(char *) "bitmap", NULL
4249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4251 if (!SWIG_IsOK(res1
)) {
4252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4254 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4256 if (!SWIG_IsOK(res2
)) {
4257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4262 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= SWIG_Py_Void();
4276 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
= 0;
4278 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4279 wxBitmap
*arg2
= 0 ;
4284 PyObject
* obj0
= 0 ;
4285 PyObject
* obj1
= 0 ;
4286 char * kwnames
[] = {
4287 (char *) "self",(char *) "bitmap", NULL
4290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4292 if (!SWIG_IsOK(res1
)) {
4293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4295 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4297 if (!SWIG_IsOK(res2
)) {
4298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4303 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 resultobj
= SWIG_Py_Void();
4317 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
*resultobj
= 0;
4319 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4320 wxBitmap
*arg2
= 0 ;
4325 PyObject
* obj0
= 0 ;
4326 PyObject
* obj1
= 0 ;
4327 char * kwnames
[] = {
4328 (char *) "self",(char *) "hover", NULL
4331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4333 if (!SWIG_IsOK(res1
)) {
4334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4336 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4338 if (!SWIG_IsOK(res2
)) {
4339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4344 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 resultobj
= SWIG_Py_Void();
4358 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
= 0;
4360 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4369 PyObject
* obj0
= 0 ;
4370 PyObject
* obj1
= 0 ;
4371 PyObject
* obj2
= 0 ;
4372 char * kwnames
[] = {
4373 (char *) "self",(char *) "x",(char *) "y", NULL
4376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4378 if (!SWIG_IsOK(res1
)) {
4379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4381 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4383 if (!SWIG_IsOK(ecode2
)) {
4384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4386 arg2
= static_cast< int >(val2
);
4387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4388 if (!SWIG_IsOK(ecode3
)) {
4389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4391 arg3
= static_cast< int >(val3
);
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 (arg1
)->SetMargins(arg2
,arg3
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4398 resultobj
= SWIG_Py_Void();
4405 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4406 PyObject
*resultobj
= 0;
4407 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4411 PyObject
*swig_obj
[1] ;
4413 if (!args
) SWIG_fail
;
4415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4416 if (!SWIG_IsOK(res1
)) {
4417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4419 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_From_int(static_cast< int >(result
));
4433 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4434 PyObject
*resultobj
= 0;
4435 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4439 PyObject
*swig_obj
[1] ;
4441 if (!args
) SWIG_fail
;
4443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4444 if (!SWIG_IsOK(res1
)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4447 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4454 resultobj
= SWIG_From_int(static_cast< int >(result
));
4461 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4464 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4465 return SWIG_Py_Void();
4468 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4469 return SWIG_Python_InitShadowInstance(args
);
4472 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4473 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4478 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4479 PyObject
*pyobj
= 0;
4483 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4485 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4492 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
= 0;
4494 wxWindow
*arg1
= (wxWindow
*) 0 ;
4495 int arg2
= (int) -1 ;
4496 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4497 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4498 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4499 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4500 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4501 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4502 long arg6
= (long) 0 ;
4503 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4504 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4505 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4506 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4507 wxCheckBox
*result
= 0 ;
4512 bool temp3
= false ;
4519 bool temp8
= false ;
4520 PyObject
* obj0
= 0 ;
4521 PyObject
* obj1
= 0 ;
4522 PyObject
* obj2
= 0 ;
4523 PyObject
* obj3
= 0 ;
4524 PyObject
* obj4
= 0 ;
4525 PyObject
* obj5
= 0 ;
4526 PyObject
* obj6
= 0 ;
4527 PyObject
* obj7
= 0 ;
4528 char * kwnames
[] = {
4529 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4534 if (!SWIG_IsOK(res1
)) {
4535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4537 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4540 if (!SWIG_IsOK(ecode2
)) {
4541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4543 arg2
= static_cast< int >(val2
);
4547 arg3
= wxString_in_helper(obj2
);
4548 if (arg3
== NULL
) SWIG_fail
;
4555 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4561 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4565 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4566 if (!SWIG_IsOK(ecode6
)) {
4567 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4569 arg6
= static_cast< long >(val6
);
4572 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4573 if (!SWIG_IsOK(res7
)) {
4574 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4579 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4583 arg8
= wxString_in_helper(obj7
);
4584 if (arg8
== NULL
) SWIG_fail
;
4589 if (!wxPyCheckForApp()) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4618 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4619 PyObject
*resultobj
= 0;
4620 wxCheckBox
*result
= 0 ;
4622 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4624 if (!wxPyCheckForApp()) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= (wxCheckBox
*)new wxCheckBox();
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4637 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
= 0;
4639 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4640 wxWindow
*arg2
= (wxWindow
*) 0 ;
4641 int arg3
= (int) -1 ;
4642 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4643 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4644 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4645 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4646 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4647 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4648 long arg7
= (long) 0 ;
4649 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4650 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4651 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4652 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4660 bool temp4
= false ;
4667 bool temp9
= false ;
4668 PyObject
* obj0
= 0 ;
4669 PyObject
* obj1
= 0 ;
4670 PyObject
* obj2
= 0 ;
4671 PyObject
* obj3
= 0 ;
4672 PyObject
* obj4
= 0 ;
4673 PyObject
* obj5
= 0 ;
4674 PyObject
* obj6
= 0 ;
4675 PyObject
* obj7
= 0 ;
4676 PyObject
* obj8
= 0 ;
4677 char * kwnames
[] = {
4678 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4683 if (!SWIG_IsOK(res1
)) {
4684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4686 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4688 if (!SWIG_IsOK(res2
)) {
4689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4691 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4693 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4694 if (!SWIG_IsOK(ecode3
)) {
4695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4697 arg3
= static_cast< int >(val3
);
4701 arg4
= wxString_in_helper(obj3
);
4702 if (arg4
== NULL
) SWIG_fail
;
4709 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4715 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4719 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4720 if (!SWIG_IsOK(ecode7
)) {
4721 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4723 arg7
= static_cast< long >(val7
);
4726 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4727 if (!SWIG_IsOK(res8
)) {
4728 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4733 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4737 arg9
= wxString_in_helper(obj8
);
4738 if (arg9
== NULL
) SWIG_fail
;
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4773 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4774 PyObject
*resultobj
= 0;
4775 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4779 PyObject
*swig_obj
[1] ;
4781 if (!args
) SWIG_fail
;
4783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4784 if (!SWIG_IsOK(res1
)) {
4785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4787 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= (bool)(arg1
)->GetValue();
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4803 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4804 PyObject
*resultobj
= 0;
4805 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4809 PyObject
*swig_obj
[1] ;
4811 if (!args
) SWIG_fail
;
4813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4814 if (!SWIG_IsOK(res1
)) {
4815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4817 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4820 result
= (bool)(arg1
)->IsChecked();
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4833 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
*resultobj
= 0;
4835 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4841 PyObject
* obj0
= 0 ;
4842 PyObject
* obj1
= 0 ;
4843 char * kwnames
[] = {
4844 (char *) "self",(char *) "state", NULL
4847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4849 if (!SWIG_IsOK(res1
)) {
4850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4852 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4853 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4854 if (!SWIG_IsOK(ecode2
)) {
4855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4857 arg2
= static_cast< bool >(val2
);
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 (arg1
)->SetValue(arg2
);
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4864 resultobj
= SWIG_Py_Void();
4871 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4872 PyObject
*resultobj
= 0;
4873 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4874 wxCheckBoxState result
;
4877 PyObject
*swig_obj
[1] ;
4879 if (!args
) SWIG_fail
;
4881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4882 if (!SWIG_IsOK(res1
)) {
4883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4885 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= SWIG_From_int(static_cast< int >(result
));
4899 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
*resultobj
= 0;
4901 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4902 wxCheckBoxState arg2
;
4907 PyObject
* obj0
= 0 ;
4908 PyObject
* obj1
= 0 ;
4909 char * kwnames
[] = {
4910 (char *) "self",(char *) "state", NULL
4913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4915 if (!SWIG_IsOK(res1
)) {
4916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4918 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4920 if (!SWIG_IsOK(ecode2
)) {
4921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4923 arg2
= static_cast< wxCheckBoxState
>(val2
);
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 (arg1
)->Set3StateValue(arg2
);
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 resultobj
= SWIG_Py_Void();
4937 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4938 PyObject
*resultobj
= 0;
4939 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4943 PyObject
*swig_obj
[1] ;
4945 if (!args
) SWIG_fail
;
4947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4948 if (!SWIG_IsOK(res1
)) {
4949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4951 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4967 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4968 PyObject
*resultobj
= 0;
4969 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4973 PyObject
*swig_obj
[1] ;
4975 if (!args
) SWIG_fail
;
4977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4978 if (!SWIG_IsOK(res1
)) {
4979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4981 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4997 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
= 0;
4999 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5000 SwigValueWrapper
<wxVisualAttributes
> result
;
5003 PyObject
* obj0
= 0 ;
5004 char * kwnames
[] = {
5005 (char *) "variant", NULL
5008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5010 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5011 if (!SWIG_IsOK(ecode1
)) {
5012 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5014 arg1
= static_cast< wxWindowVariant
>(val1
);
5017 if (!wxPyCheckForApp()) SWIG_fail
;
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5023 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5030 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5033 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5034 return SWIG_Py_Void();
5037 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5038 return SWIG_Python_InitShadowInstance(args
);
5041 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5042 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5047 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5048 PyObject
*pyobj
= 0;
5052 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5054 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5061 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
= 0;
5063 wxWindow
*arg1
= (wxWindow
*) 0 ;
5064 int arg2
= (int) -1 ;
5065 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5066 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5067 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5068 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5069 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5070 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5071 long arg6
= (long) 0 ;
5072 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5073 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5074 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5075 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5076 wxChoice
*result
= 0 ;
5083 bool temp5
= false ;
5088 bool temp8
= false ;
5089 PyObject
* obj0
= 0 ;
5090 PyObject
* obj1
= 0 ;
5091 PyObject
* obj2
= 0 ;
5092 PyObject
* obj3
= 0 ;
5093 PyObject
* obj4
= 0 ;
5094 PyObject
* obj5
= 0 ;
5095 PyObject
* obj6
= 0 ;
5096 PyObject
* obj7
= 0 ;
5097 char * kwnames
[] = {
5098 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5103 if (!SWIG_IsOK(res1
)) {
5104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5106 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5109 if (!SWIG_IsOK(ecode2
)) {
5110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5112 arg2
= static_cast< int >(val2
);
5117 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5123 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5128 if (! PySequence_Check(obj4
)) {
5129 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5132 arg5
= new wxArrayString
;
5134 int i
, len
=PySequence_Length(obj4
);
5135 for (i
=0; i
<len
; i
++) {
5136 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5137 wxString
* s
= wxString_in_helper(item
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5146 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5147 if (!SWIG_IsOK(ecode6
)) {
5148 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5150 arg6
= static_cast< long >(val6
);
5153 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5154 if (!SWIG_IsOK(res7
)) {
5155 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5160 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5164 arg8
= wxString_in_helper(obj7
);
5165 if (arg8
== NULL
) SWIG_fail
;
5170 if (!wxPyCheckForApp()) SWIG_fail
;
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5178 if (temp5
) delete arg5
;
5187 if (temp5
) delete arg5
;
5197 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5198 PyObject
*resultobj
= 0;
5199 wxChoice
*result
= 0 ;
5201 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5203 if (!wxPyCheckForApp()) SWIG_fail
;
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 result
= (wxChoice
*)new wxChoice();
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5216 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
= 0;
5218 wxChoice
*arg1
= (wxChoice
*) 0 ;
5219 wxWindow
*arg2
= (wxWindow
*) 0 ;
5220 int arg3
= (int) -1 ;
5221 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5222 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5223 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5224 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5225 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5226 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5227 long arg7
= (long) 0 ;
5228 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5229 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5230 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5231 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5241 bool temp6
= false ;
5246 bool temp9
= false ;
5247 PyObject
* obj0
= 0 ;
5248 PyObject
* obj1
= 0 ;
5249 PyObject
* obj2
= 0 ;
5250 PyObject
* obj3
= 0 ;
5251 PyObject
* obj4
= 0 ;
5252 PyObject
* obj5
= 0 ;
5253 PyObject
* obj6
= 0 ;
5254 PyObject
* obj7
= 0 ;
5255 PyObject
* obj8
= 0 ;
5256 char * kwnames
[] = {
5257 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5262 if (!SWIG_IsOK(res1
)) {
5263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5265 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5266 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5267 if (!SWIG_IsOK(res2
)) {
5268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5270 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5272 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5273 if (!SWIG_IsOK(ecode3
)) {
5274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5276 arg3
= static_cast< int >(val3
);
5281 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5287 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5292 if (! PySequence_Check(obj5
)) {
5293 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5296 arg6
= new wxArrayString
;
5298 int i
, len
=PySequence_Length(obj5
);
5299 for (i
=0; i
<len
; i
++) {
5300 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5301 wxString
* s
= wxString_in_helper(item
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5310 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5311 if (!SWIG_IsOK(ecode7
)) {
5312 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5314 arg7
= static_cast< long >(val7
);
5317 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5318 if (!SWIG_IsOK(res8
)) {
5319 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5324 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5328 arg9
= wxString_in_helper(obj8
);
5329 if (arg9
== NULL
) SWIG_fail
;
5334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5335 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5343 if (temp6
) delete arg6
;
5352 if (temp6
) delete arg6
;
5362 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5363 PyObject
*resultobj
= 0;
5364 wxChoice
*arg1
= (wxChoice
*) 0 ;
5368 PyObject
*swig_obj
[1] ;
5370 if (!args
) SWIG_fail
;
5372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5373 if (!SWIG_IsOK(res1
)) {
5374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5376 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 resultobj
= SWIG_From_int(static_cast< int >(result
));
5390 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
*resultobj
= 0;
5392 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5393 SwigValueWrapper
<wxVisualAttributes
> result
;
5396 PyObject
* obj0
= 0 ;
5397 char * kwnames
[] = {
5398 (char *) "variant", NULL
5401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5403 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5404 if (!SWIG_IsOK(ecode1
)) {
5405 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5407 arg1
= static_cast< wxWindowVariant
>(val1
);
5410 if (!wxPyCheckForApp()) SWIG_fail
;
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5416 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5423 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5426 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5427 return SWIG_Py_Void();
5430 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5431 return SWIG_Python_InitShadowInstance(args
);
5434 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5435 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5440 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5441 PyObject
*pyobj
= 0;
5445 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5447 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5454 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
*resultobj
= 0;
5456 wxWindow
*arg1
= (wxWindow
*) 0 ;
5457 int arg2
= (int) -1 ;
5458 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5459 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5460 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5461 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5462 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5463 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5464 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5465 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5466 long arg7
= (long) 0 ;
5467 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5468 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5469 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5470 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5471 wxComboBox
*result
= 0 ;
5476 bool temp3
= false ;
5479 bool temp6
= false ;
5484 bool temp9
= false ;
5485 PyObject
* obj0
= 0 ;
5486 PyObject
* obj1
= 0 ;
5487 PyObject
* obj2
= 0 ;
5488 PyObject
* obj3
= 0 ;
5489 PyObject
* obj4
= 0 ;
5490 PyObject
* obj5
= 0 ;
5491 PyObject
* obj6
= 0 ;
5492 PyObject
* obj7
= 0 ;
5493 PyObject
* obj8
= 0 ;
5494 char * kwnames
[] = {
5495 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5500 if (!SWIG_IsOK(res1
)) {
5501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5503 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5506 if (!SWIG_IsOK(ecode2
)) {
5507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5509 arg2
= static_cast< int >(val2
);
5513 arg3
= wxString_in_helper(obj2
);
5514 if (arg3
== NULL
) SWIG_fail
;
5521 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5527 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5532 if (! PySequence_Check(obj5
)) {
5533 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5536 arg6
= new wxArrayString
;
5538 int i
, len
=PySequence_Length(obj5
);
5539 for (i
=0; i
<len
; i
++) {
5540 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5541 wxString
* s
= wxString_in_helper(item
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5550 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5551 if (!SWIG_IsOK(ecode7
)) {
5552 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5554 arg7
= static_cast< long >(val7
);
5557 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5558 if (!SWIG_IsOK(res8
)) {
5559 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5564 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5568 arg9
= wxString_in_helper(obj8
);
5569 if (arg9
== NULL
) SWIG_fail
;
5574 if (!wxPyCheckForApp()) SWIG_fail
;
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 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
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5586 if (temp6
) delete arg6
;
5599 if (temp6
) delete arg6
;
5609 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5610 PyObject
*resultobj
= 0;
5611 wxComboBox
*result
= 0 ;
5613 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5615 if (!wxPyCheckForApp()) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 result
= (wxComboBox
*)new wxComboBox();
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5628 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
= 0;
5630 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5631 wxWindow
*arg2
= (wxWindow
*) 0 ;
5632 int arg3
= (int) -1 ;
5633 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5634 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5635 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5636 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5637 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5638 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5639 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5640 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5641 long arg8
= (long) 0 ;
5642 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5643 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5644 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5645 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5653 bool temp4
= false ;
5656 bool temp7
= false ;
5661 bool temp10
= false ;
5662 PyObject
* obj0
= 0 ;
5663 PyObject
* obj1
= 0 ;
5664 PyObject
* obj2
= 0 ;
5665 PyObject
* obj3
= 0 ;
5666 PyObject
* obj4
= 0 ;
5667 PyObject
* obj5
= 0 ;
5668 PyObject
* obj6
= 0 ;
5669 PyObject
* obj7
= 0 ;
5670 PyObject
* obj8
= 0 ;
5671 PyObject
* obj9
= 0 ;
5672 char * kwnames
[] = {
5673 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5678 if (!SWIG_IsOK(res1
)) {
5679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5681 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5682 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5683 if (!SWIG_IsOK(res2
)) {
5684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5686 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5689 if (!SWIG_IsOK(ecode3
)) {
5690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5692 arg3
= static_cast< int >(val3
);
5696 arg4
= wxString_in_helper(obj3
);
5697 if (arg4
== NULL
) SWIG_fail
;
5704 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5710 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5715 if (! PySequence_Check(obj6
)) {
5716 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5719 arg7
= new wxArrayString
;
5721 int i
, len
=PySequence_Length(obj6
);
5722 for (i
=0; i
<len
; i
++) {
5723 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5724 wxString
* s
= wxString_in_helper(item
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5733 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5734 if (!SWIG_IsOK(ecode8
)) {
5735 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5737 arg8
= static_cast< long >(val8
);
5740 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5741 if (!SWIG_IsOK(res9
)) {
5742 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5747 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5751 arg10
= wxString_in_helper(obj9
);
5752 if (arg10
== NULL
) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 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
);
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5770 if (temp7
) delete arg7
;
5783 if (temp7
) delete arg7
;
5793 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5794 PyObject
*resultobj
= 0;
5795 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5799 PyObject
*swig_obj
[1] ;
5801 if (!args
) SWIG_fail
;
5803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5804 if (!SWIG_IsOK(res1
)) {
5805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5807 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 result
= ((wxComboBox
const *)arg1
)->GetValue();
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5827 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
= 0;
5829 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5830 wxString
*arg2
= 0 ;
5833 bool temp2
= false ;
5834 PyObject
* obj0
= 0 ;
5835 PyObject
* obj1
= 0 ;
5836 char * kwnames
[] = {
5837 (char *) "self",(char *) "value", NULL
5840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5842 if (!SWIG_IsOK(res1
)) {
5843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5845 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5847 arg2
= wxString_in_helper(obj1
);
5848 if (arg2
== NULL
) SWIG_fail
;
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 (arg1
)->SetValue((wxString
const &)*arg2
);
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) SWIG_fail
;
5857 resultobj
= SWIG_Py_Void();
5872 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5873 PyObject
*resultobj
= 0;
5874 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5877 PyObject
*swig_obj
[1] ;
5879 if (!args
) SWIG_fail
;
5881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5882 if (!SWIG_IsOK(res1
)) {
5883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5885 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= SWIG_Py_Void();
5899 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5900 PyObject
*resultobj
= 0;
5901 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5904 PyObject
*swig_obj
[1] ;
5906 if (!args
) SWIG_fail
;
5908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5909 if (!SWIG_IsOK(res1
)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5912 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= SWIG_Py_Void();
5926 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5927 PyObject
*resultobj
= 0;
5928 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5931 PyObject
*swig_obj
[1] ;
5933 if (!args
) SWIG_fail
;
5935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5936 if (!SWIG_IsOK(res1
)) {
5937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5939 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= SWIG_Py_Void();
5953 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
= 0;
5955 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5961 PyObject
* obj0
= 0 ;
5962 PyObject
* obj1
= 0 ;
5963 char * kwnames
[] = {
5964 (char *) "self",(char *) "pos", NULL
5967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5969 if (!SWIG_IsOK(res1
)) {
5970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5972 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5973 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5974 if (!SWIG_IsOK(ecode2
)) {
5975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
5977 arg2
= static_cast< long >(val2
);
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 (arg1
)->SetInsertionPoint(arg2
);
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5984 resultobj
= SWIG_Py_Void();
5991 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5992 PyObject
*resultobj
= 0;
5993 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5997 PyObject
*swig_obj
[1] ;
5999 if (!args
) SWIG_fail
;
6001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6002 if (!SWIG_IsOK(res1
)) {
6003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6005 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= SWIG_From_long(static_cast< long >(result
));
6019 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6020 PyObject
*resultobj
= 0;
6021 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6025 PyObject
*swig_obj
[1] ;
6027 if (!args
) SWIG_fail
;
6029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6030 if (!SWIG_IsOK(res1
)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6033 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= SWIG_From_long(static_cast< long >(result
));
6047 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
= 0;
6049 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6052 wxString
*arg4
= 0 ;
6059 bool temp4
= false ;
6060 PyObject
* obj0
= 0 ;
6061 PyObject
* obj1
= 0 ;
6062 PyObject
* obj2
= 0 ;
6063 PyObject
* obj3
= 0 ;
6064 char * kwnames
[] = {
6065 (char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
6068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6070 if (!SWIG_IsOK(res1
)) {
6071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6073 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6074 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6075 if (!SWIG_IsOK(ecode2
)) {
6076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6078 arg2
= static_cast< long >(val2
);
6079 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6080 if (!SWIG_IsOK(ecode3
)) {
6081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6083 arg3
= static_cast< long >(val3
);
6085 arg4
= wxString_in_helper(obj3
);
6086 if (arg4
== NULL
) SWIG_fail
;
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= SWIG_Py_Void();
6110 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
= 0;
6112 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6123 PyObject
* obj2
= 0 ;
6124 char * kwnames
[] = {
6125 (char *) "self",(char *) "_from",(char *) "to", NULL
6128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6130 if (!SWIG_IsOK(res1
)) {
6131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6133 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6134 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6135 if (!SWIG_IsOK(ecode2
)) {
6136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6138 arg2
= static_cast< long >(val2
);
6139 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6140 if (!SWIG_IsOK(ecode3
)) {
6141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6143 arg3
= static_cast< long >(val3
);
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 (arg1
)->SetSelection(arg2
,arg3
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 resultobj
= SWIG_Py_Void();
6157 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6158 PyObject
*resultobj
= 0;
6159 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6160 long *arg2
= (long *) 0 ;
6161 long *arg3
= (long *) 0 ;
6165 int res2
= SWIG_TMPOBJ
;
6167 int res3
= SWIG_TMPOBJ
;
6168 PyObject
*swig_obj
[1] ;
6172 if (!args
) SWIG_fail
;
6174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6175 if (!SWIG_IsOK(res1
)) {
6176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6178 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 (arg1
)->GetSelection(arg2
,arg3
);
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6185 resultobj
= SWIG_Py_Void();
6186 if (SWIG_IsTmpObj(res2
)) {
6187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6189 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6190 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6192 if (SWIG_IsTmpObj(res3
)) {
6193 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6195 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6196 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6204 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6205 PyObject
*resultobj
= 0;
6206 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6210 PyObject
*swig_obj
[1] ;
6212 if (!args
) SWIG_fail
;
6214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6215 if (!SWIG_IsOK(res1
)) {
6216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6218 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6222 wxPyEndAllowThreads(__tstate
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= SWIG_From_int(static_cast< int >(result
));
6232 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
= 0;
6234 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6235 wxString
*arg2
= 0 ;
6239 bool temp2
= false ;
6240 PyObject
* obj0
= 0 ;
6241 PyObject
* obj1
= 0 ;
6242 char * kwnames
[] = {
6243 (char *) "self",(char *) "string", NULL
6246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6248 if (!SWIG_IsOK(res1
)) {
6249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6251 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6253 arg2
= wxString_in_helper(obj1
);
6254 if (arg2
== NULL
) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6280 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
= 0;
6282 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6288 PyObject
* obj0
= 0 ;
6289 PyObject
* obj1
= 0 ;
6290 char * kwnames
[] = {
6291 (char *) "self",(char *) "editable", NULL
6294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6296 if (!SWIG_IsOK(res1
)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6299 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6300 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6301 if (!SWIG_IsOK(ecode2
)) {
6302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6304 arg2
= static_cast< bool >(val2
);
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 (arg1
)->SetEditable(arg2
);
6308 wxPyEndAllowThreads(__tstate
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6311 resultobj
= SWIG_Py_Void();
6318 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6319 PyObject
*resultobj
= 0;
6320 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6323 PyObject
*swig_obj
[1] ;
6325 if (!args
) SWIG_fail
;
6327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6328 if (!SWIG_IsOK(res1
)) {
6329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6331 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 (arg1
)->SetInsertionPointEnd();
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= SWIG_Py_Void();
6345 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
*resultobj
= 0;
6347 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6356 PyObject
* obj0
= 0 ;
6357 PyObject
* obj1
= 0 ;
6358 PyObject
* obj2
= 0 ;
6359 char * kwnames
[] = {
6360 (char *) "self",(char *) "_from",(char *) "to", NULL
6363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6365 if (!SWIG_IsOK(res1
)) {
6366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6368 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6369 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6370 if (!SWIG_IsOK(ecode2
)) {
6371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6373 arg2
= static_cast< long >(val2
);
6374 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6375 if (!SWIG_IsOK(ecode3
)) {
6376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6378 arg3
= static_cast< long >(val3
);
6380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6381 (arg1
)->Remove(arg2
,arg3
);
6382 wxPyEndAllowThreads(__tstate
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6385 resultobj
= SWIG_Py_Void();
6392 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6393 PyObject
*resultobj
= 0;
6394 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6398 PyObject
*swig_obj
[1] ;
6400 if (!args
) SWIG_fail
;
6402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6403 if (!SWIG_IsOK(res1
)) {
6404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6406 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6422 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6423 PyObject
*resultobj
= 0;
6424 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6427 PyObject
*swig_obj
[1] ;
6429 if (!args
) SWIG_fail
;
6431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6432 if (!SWIG_IsOK(res1
)) {
6433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6435 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 resultobj
= SWIG_Py_Void();
6449 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6450 PyObject
*resultobj
= 0;
6451 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_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6462 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6469 resultobj
= SWIG_Py_Void();
6476 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6477 PyObject
*resultobj
= 0;
6478 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6481 PyObject
*swig_obj
[1] ;
6483 if (!args
) SWIG_fail
;
6485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6486 if (!SWIG_IsOK(res1
)) {
6487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6489 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 (arg1
)->SelectAll();
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= SWIG_Py_Void();
6503 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6504 PyObject
*resultobj
= 0;
6505 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6509 PyObject
*swig_obj
[1] ;
6511 if (!args
) SWIG_fail
;
6513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6514 if (!SWIG_IsOK(res1
)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6517 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6533 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6534 PyObject
*resultobj
= 0;
6535 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6539 PyObject
*swig_obj
[1] ;
6541 if (!args
) SWIG_fail
;
6543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6544 if (!SWIG_IsOK(res1
)) {
6545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6547 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6550 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6563 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6564 PyObject
*resultobj
= 0;
6565 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6569 PyObject
*swig_obj
[1] ;
6571 if (!args
) SWIG_fail
;
6573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6574 if (!SWIG_IsOK(res1
)) {
6575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6577 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6593 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6594 PyObject
*resultobj
= 0;
6595 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6599 PyObject
*swig_obj
[1] ;
6601 if (!args
) SWIG_fail
;
6603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6604 if (!SWIG_IsOK(res1
)) {
6605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6607 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6623 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6624 PyObject
*resultobj
= 0;
6625 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6629 PyObject
*swig_obj
[1] ;
6631 if (!args
) SWIG_fail
;
6633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6634 if (!SWIG_IsOK(res1
)) {
6635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6637 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6641 wxPyEndAllowThreads(__tstate
);
6642 if (PyErr_Occurred()) SWIG_fail
;
6645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6653 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
*resultobj
= 0;
6655 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6656 SwigValueWrapper
<wxVisualAttributes
> result
;
6659 PyObject
* obj0
= 0 ;
6660 char * kwnames
[] = {
6661 (char *) "variant", NULL
6664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6666 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6667 if (!SWIG_IsOK(ecode1
)) {
6668 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6670 arg1
= static_cast< wxWindowVariant
>(val1
);
6673 if (!wxPyCheckForApp()) SWIG_fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6686 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6689 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6690 return SWIG_Py_Void();
6693 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6694 return SWIG_Python_InitShadowInstance(args
);
6697 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6698 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6703 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6704 PyObject
*pyobj
= 0;
6708 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6710 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6717 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
= 0;
6719 wxWindow
*arg1
= (wxWindow
*) 0 ;
6720 int arg2
= (int) -1 ;
6721 int arg3
= (int) 100 ;
6722 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6723 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6724 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6725 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6726 long arg6
= (long) wxGA_HORIZONTAL
;
6727 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6728 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6729 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6730 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6731 wxGauge
*result
= 0 ;
6744 bool temp8
= false ;
6745 PyObject
* obj0
= 0 ;
6746 PyObject
* obj1
= 0 ;
6747 PyObject
* obj2
= 0 ;
6748 PyObject
* obj3
= 0 ;
6749 PyObject
* obj4
= 0 ;
6750 PyObject
* obj5
= 0 ;
6751 PyObject
* obj6
= 0 ;
6752 PyObject
* obj7
= 0 ;
6753 char * kwnames
[] = {
6754 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6759 if (!SWIG_IsOK(res1
)) {
6760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6762 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6765 if (!SWIG_IsOK(ecode2
)) {
6766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6768 arg2
= static_cast< int >(val2
);
6771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6772 if (!SWIG_IsOK(ecode3
)) {
6773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6775 arg3
= static_cast< int >(val3
);
6780 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6786 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6790 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6791 if (!SWIG_IsOK(ecode6
)) {
6792 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6794 arg6
= static_cast< long >(val6
);
6797 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6798 if (!SWIG_IsOK(res7
)) {
6799 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6804 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6808 arg8
= wxString_in_helper(obj7
);
6809 if (arg8
== NULL
) SWIG_fail
;
6814 if (!wxPyCheckForApp()) SWIG_fail
;
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6835 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6836 PyObject
*resultobj
= 0;
6837 wxGauge
*result
= 0 ;
6839 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6841 if (!wxPyCheckForApp()) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (wxGauge
*)new wxGauge();
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6854 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
= 0;
6856 wxGauge
*arg1
= (wxGauge
*) 0 ;
6857 wxWindow
*arg2
= (wxWindow
*) 0 ;
6858 int arg3
= (int) -1 ;
6859 int arg4
= (int) 100 ;
6860 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6861 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6862 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6863 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6864 long arg7
= (long) wxGA_HORIZONTAL
;
6865 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6866 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6867 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6868 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6884 bool temp9
= false ;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6887 PyObject
* obj2
= 0 ;
6888 PyObject
* obj3
= 0 ;
6889 PyObject
* obj4
= 0 ;
6890 PyObject
* obj5
= 0 ;
6891 PyObject
* obj6
= 0 ;
6892 PyObject
* obj7
= 0 ;
6893 PyObject
* obj8
= 0 ;
6894 char * kwnames
[] = {
6895 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6900 if (!SWIG_IsOK(res1
)) {
6901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6903 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6905 if (!SWIG_IsOK(res2
)) {
6906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6908 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6911 if (!SWIG_IsOK(ecode3
)) {
6912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6914 arg3
= static_cast< int >(val3
);
6917 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6918 if (!SWIG_IsOK(ecode4
)) {
6919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6921 arg4
= static_cast< int >(val4
);
6926 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6932 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6936 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6937 if (!SWIG_IsOK(ecode7
)) {
6938 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6940 arg7
= static_cast< long >(val7
);
6943 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6944 if (!SWIG_IsOK(res8
)) {
6945 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6950 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6954 arg9
= wxString_in_helper(obj8
);
6955 if (arg9
== NULL
) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6982 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
*resultobj
= 0;
6984 wxGauge
*arg1
= (wxGauge
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6991 PyObject
* obj1
= 0 ;
6992 char * kwnames
[] = {
6993 (char *) "self",(char *) "range", NULL
6996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6998 if (!SWIG_IsOK(res1
)) {
6999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7001 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7003 if (!SWIG_IsOK(ecode2
)) {
7004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7006 arg2
= static_cast< int >(val2
);
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 (arg1
)->SetRange(arg2
);
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= SWIG_Py_Void();
7020 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7021 PyObject
*resultobj
= 0;
7022 wxGauge
*arg1
= (wxGauge
*) 0 ;
7026 PyObject
*swig_obj
[1] ;
7028 if (!args
) SWIG_fail
;
7030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7031 if (!SWIG_IsOK(res1
)) {
7032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7034 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= SWIG_From_int(static_cast< int >(result
));
7048 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
= 0;
7050 wxGauge
*arg1
= (wxGauge
*) 0 ;
7056 PyObject
* obj0
= 0 ;
7057 PyObject
* obj1
= 0 ;
7058 char * kwnames
[] = {
7059 (char *) "self",(char *) "pos", NULL
7062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7064 if (!SWIG_IsOK(res1
)) {
7065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7067 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7069 if (!SWIG_IsOK(ecode2
)) {
7070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7072 arg2
= static_cast< int >(val2
);
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 (arg1
)->SetValue(arg2
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= SWIG_Py_Void();
7086 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7087 PyObject
*resultobj
= 0;
7088 wxGauge
*arg1
= (wxGauge
*) 0 ;
7092 PyObject
*swig_obj
[1] ;
7094 if (!args
) SWIG_fail
;
7096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7097 if (!SWIG_IsOK(res1
)) {
7098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7100 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= SWIG_From_int(static_cast< int >(result
));
7114 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7115 PyObject
*resultobj
= 0;
7116 wxGauge
*arg1
= (wxGauge
*) 0 ;
7120 PyObject
*swig_obj
[1] ;
7122 if (!args
) SWIG_fail
;
7124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7125 if (!SWIG_IsOK(res1
)) {
7126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7128 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7144 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
= 0;
7146 wxGauge
*arg1
= (wxGauge
*) 0 ;
7152 PyObject
* obj0
= 0 ;
7153 PyObject
* obj1
= 0 ;
7154 char * kwnames
[] = {
7155 (char *) "self",(char *) "w", NULL
7158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7160 if (!SWIG_IsOK(res1
)) {
7161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7163 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7165 if (!SWIG_IsOK(ecode2
)) {
7166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7168 arg2
= static_cast< int >(val2
);
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 (arg1
)->SetShadowWidth(arg2
);
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7175 resultobj
= SWIG_Py_Void();
7182 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7183 PyObject
*resultobj
= 0;
7184 wxGauge
*arg1
= (wxGauge
*) 0 ;
7188 PyObject
*swig_obj
[1] ;
7190 if (!args
) SWIG_fail
;
7192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7193 if (!SWIG_IsOK(res1
)) {
7194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7196 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= SWIG_From_int(static_cast< int >(result
));
7210 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
*resultobj
= 0;
7212 wxGauge
*arg1
= (wxGauge
*) 0 ;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7220 char * kwnames
[] = {
7221 (char *) "self",(char *) "w", NULL
7224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7226 if (!SWIG_IsOK(res1
)) {
7227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7229 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7231 if (!SWIG_IsOK(ecode2
)) {
7232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7234 arg2
= static_cast< int >(val2
);
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 (arg1
)->SetBezelFace(arg2
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 resultobj
= SWIG_Py_Void();
7248 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7249 PyObject
*resultobj
= 0;
7250 wxGauge
*arg1
= (wxGauge
*) 0 ;
7254 PyObject
*swig_obj
[1] ;
7256 if (!args
) SWIG_fail
;
7258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7259 if (!SWIG_IsOK(res1
)) {
7260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7262 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7266 wxPyEndAllowThreads(__tstate
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7269 resultobj
= SWIG_From_int(static_cast< int >(result
));
7276 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
= 0;
7278 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7279 SwigValueWrapper
<wxVisualAttributes
> result
;
7282 PyObject
* obj0
= 0 ;
7283 char * kwnames
[] = {
7284 (char *) "variant", NULL
7287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7289 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7290 if (!SWIG_IsOK(ecode1
)) {
7291 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7293 arg1
= static_cast< wxWindowVariant
>(val1
);
7296 if (!wxPyCheckForApp()) SWIG_fail
;
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7309 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7311 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7312 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7313 return SWIG_Py_Void();
7316 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7317 return SWIG_Python_InitShadowInstance(args
);
7320 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7321 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7326 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7327 PyObject
*pyobj
= 0;
7331 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7333 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7340 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7341 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7346 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7347 PyObject
*pyobj
= 0;
7351 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7353 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7360 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7361 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7366 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7367 PyObject
*pyobj
= 0;
7371 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7373 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7380 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7381 PyObject
*resultobj
= 0;
7382 wxWindow
*arg1
= (wxWindow
*) 0 ;
7383 int arg2
= (int) -1 ;
7384 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7385 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7386 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7387 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7388 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7389 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7390 long arg6
= (long) 0 ;
7391 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7392 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7393 wxStaticBox
*result
= 0 ;
7398 bool temp3
= false ;
7403 bool temp7
= false ;
7404 PyObject
* obj0
= 0 ;
7405 PyObject
* obj1
= 0 ;
7406 PyObject
* obj2
= 0 ;
7407 PyObject
* obj3
= 0 ;
7408 PyObject
* obj4
= 0 ;
7409 PyObject
* obj5
= 0 ;
7410 PyObject
* obj6
= 0 ;
7411 char * kwnames
[] = {
7412 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7417 if (!SWIG_IsOK(res1
)) {
7418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7420 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7423 if (!SWIG_IsOK(ecode2
)) {
7424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7426 arg2
= static_cast< int >(val2
);
7430 arg3
= wxString_in_helper(obj2
);
7431 if (arg3
== NULL
) SWIG_fail
;
7438 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7444 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7448 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7449 if (!SWIG_IsOK(ecode6
)) {
7450 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7452 arg6
= static_cast< long >(val6
);
7456 arg7
= wxString_in_helper(obj6
);
7457 if (arg7
== NULL
) SWIG_fail
;
7462 if (!wxPyCheckForApp()) SWIG_fail
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7491 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7492 PyObject
*resultobj
= 0;
7493 wxStaticBox
*result
= 0 ;
7495 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7497 if (!wxPyCheckForApp()) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (wxStaticBox
*)new wxStaticBox();
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7510 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
= 0;
7512 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7513 wxWindow
*arg2
= (wxWindow
*) 0 ;
7514 int arg3
= (int) -1 ;
7515 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7516 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7517 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7518 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7519 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7520 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7521 long arg7
= (long) 0 ;
7522 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7523 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7531 bool temp4
= false ;
7536 bool temp8
= false ;
7537 PyObject
* obj0
= 0 ;
7538 PyObject
* obj1
= 0 ;
7539 PyObject
* obj2
= 0 ;
7540 PyObject
* obj3
= 0 ;
7541 PyObject
* obj4
= 0 ;
7542 PyObject
* obj5
= 0 ;
7543 PyObject
* obj6
= 0 ;
7544 PyObject
* obj7
= 0 ;
7545 char * kwnames
[] = {
7546 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7551 if (!SWIG_IsOK(res1
)) {
7552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7554 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7555 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7556 if (!SWIG_IsOK(res2
)) {
7557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7559 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7562 if (!SWIG_IsOK(ecode3
)) {
7563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7565 arg3
= static_cast< int >(val3
);
7569 arg4
= wxString_in_helper(obj3
);
7570 if (arg4
== NULL
) SWIG_fail
;
7577 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7583 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7587 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7588 if (!SWIG_IsOK(ecode7
)) {
7589 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7591 arg7
= static_cast< long >(val7
);
7595 arg8
= wxString_in_helper(obj7
);
7596 if (arg8
== NULL
) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7631 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
= 0;
7633 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7634 SwigValueWrapper
<wxVisualAttributes
> result
;
7637 PyObject
* obj0
= 0 ;
7638 char * kwnames
[] = {
7639 (char *) "variant", NULL
7642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7644 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7645 if (!SWIG_IsOK(ecode1
)) {
7646 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7648 arg1
= static_cast< wxWindowVariant
>(val1
);
7651 if (!wxPyCheckForApp()) SWIG_fail
;
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7657 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7664 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7667 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7668 return SWIG_Py_Void();
7671 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7672 return SWIG_Python_InitShadowInstance(args
);
7675 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
= 0;
7677 wxWindow
*arg1
= (wxWindow
*) 0 ;
7678 int arg2
= (int) -1 ;
7679 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7680 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7681 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7682 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7683 long arg5
= (long) wxLI_HORIZONTAL
;
7684 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7685 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7686 wxStaticLine
*result
= 0 ;
7695 bool temp6
= false ;
7696 PyObject
* obj0
= 0 ;
7697 PyObject
* obj1
= 0 ;
7698 PyObject
* obj2
= 0 ;
7699 PyObject
* obj3
= 0 ;
7700 PyObject
* obj4
= 0 ;
7701 PyObject
* obj5
= 0 ;
7702 char * kwnames
[] = {
7703 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7708 if (!SWIG_IsOK(res1
)) {
7709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7711 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7714 if (!SWIG_IsOK(ecode2
)) {
7715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7717 arg2
= static_cast< int >(val2
);
7722 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7728 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7732 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7733 if (!SWIG_IsOK(ecode5
)) {
7734 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7736 arg5
= static_cast< long >(val5
);
7740 arg6
= wxString_in_helper(obj5
);
7741 if (arg6
== NULL
) SWIG_fail
;
7746 if (!wxPyCheckForApp()) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7767 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7768 PyObject
*resultobj
= 0;
7769 wxStaticLine
*result
= 0 ;
7771 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7773 if (!wxPyCheckForApp()) SWIG_fail
;
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 result
= (wxStaticLine
*)new wxStaticLine();
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7786 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
= 0;
7788 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7789 wxWindow
*arg2
= (wxWindow
*) 0 ;
7790 int arg3
= (int) -1 ;
7791 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7792 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7793 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7794 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7795 long arg6
= (long) wxLI_HORIZONTAL
;
7796 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7797 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7809 bool temp7
= false ;
7810 PyObject
* obj0
= 0 ;
7811 PyObject
* obj1
= 0 ;
7812 PyObject
* obj2
= 0 ;
7813 PyObject
* obj3
= 0 ;
7814 PyObject
* obj4
= 0 ;
7815 PyObject
* obj5
= 0 ;
7816 PyObject
* obj6
= 0 ;
7817 char * kwnames
[] = {
7818 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7823 if (!SWIG_IsOK(res1
)) {
7824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7826 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7827 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7828 if (!SWIG_IsOK(res2
)) {
7829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7831 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7834 if (!SWIG_IsOK(ecode3
)) {
7835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7837 arg3
= static_cast< int >(val3
);
7842 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7848 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7852 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7853 if (!SWIG_IsOK(ecode6
)) {
7854 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7856 arg6
= static_cast< long >(val6
);
7860 arg7
= wxString_in_helper(obj6
);
7861 if (arg7
== NULL
) SWIG_fail
;
7866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7888 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7889 PyObject
*resultobj
= 0;
7890 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7894 PyObject
*swig_obj
[1] ;
7896 if (!args
) SWIG_fail
;
7898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7899 if (!SWIG_IsOK(res1
)) {
7900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7902 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7918 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7919 PyObject
*resultobj
= 0;
7922 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 result
= (int)wxStaticLine::GetDefaultSize();
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= SWIG_From_int(static_cast< int >(result
));
7936 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
= 0;
7938 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7939 SwigValueWrapper
<wxVisualAttributes
> result
;
7942 PyObject
* obj0
= 0 ;
7943 char * kwnames
[] = {
7944 (char *) "variant", NULL
7947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7949 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7950 if (!SWIG_IsOK(ecode1
)) {
7951 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7953 arg1
= static_cast< wxWindowVariant
>(val1
);
7956 if (!wxPyCheckForApp()) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7962 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7969 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7971 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7972 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
7973 return SWIG_Py_Void();
7976 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7977 return SWIG_Python_InitShadowInstance(args
);
7980 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
*resultobj
= 0;
7982 wxWindow
*arg1
= (wxWindow
*) 0 ;
7983 int arg2
= (int) -1 ;
7984 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7985 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7986 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7987 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7988 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7989 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7990 long arg6
= (long) 0 ;
7991 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7992 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7993 wxStaticText
*result
= 0 ;
7998 bool temp3
= false ;
8003 bool temp7
= false ;
8004 PyObject
* obj0
= 0 ;
8005 PyObject
* obj1
= 0 ;
8006 PyObject
* obj2
= 0 ;
8007 PyObject
* obj3
= 0 ;
8008 PyObject
* obj4
= 0 ;
8009 PyObject
* obj5
= 0 ;
8010 PyObject
* obj6
= 0 ;
8011 char * kwnames
[] = {
8012 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8017 if (!SWIG_IsOK(res1
)) {
8018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8020 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8023 if (!SWIG_IsOK(ecode2
)) {
8024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8026 arg2
= static_cast< int >(val2
);
8030 arg3
= wxString_in_helper(obj2
);
8031 if (arg3
== NULL
) SWIG_fail
;
8038 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8044 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8048 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8049 if (!SWIG_IsOK(ecode6
)) {
8050 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8052 arg6
= static_cast< long >(val6
);
8056 arg7
= wxString_in_helper(obj6
);
8057 if (arg7
== NULL
) SWIG_fail
;
8062 if (!wxPyCheckForApp()) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8091 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8092 PyObject
*resultobj
= 0;
8093 wxStaticText
*result
= 0 ;
8095 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8097 if (!wxPyCheckForApp()) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 result
= (wxStaticText
*)new wxStaticText();
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8110 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
= 0;
8112 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8113 wxWindow
*arg2
= (wxWindow
*) 0 ;
8114 int arg3
= (int) -1 ;
8115 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8116 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8117 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8118 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8119 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8120 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8121 long arg7
= (long) 0 ;
8122 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8123 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8131 bool temp4
= false ;
8136 bool temp8
= false ;
8137 PyObject
* obj0
= 0 ;
8138 PyObject
* obj1
= 0 ;
8139 PyObject
* obj2
= 0 ;
8140 PyObject
* obj3
= 0 ;
8141 PyObject
* obj4
= 0 ;
8142 PyObject
* obj5
= 0 ;
8143 PyObject
* obj6
= 0 ;
8144 PyObject
* obj7
= 0 ;
8145 char * kwnames
[] = {
8146 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8151 if (!SWIG_IsOK(res1
)) {
8152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8154 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8156 if (!SWIG_IsOK(res2
)) {
8157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8159 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8161 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8162 if (!SWIG_IsOK(ecode3
)) {
8163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8165 arg3
= static_cast< int >(val3
);
8169 arg4
= wxString_in_helper(obj3
);
8170 if (arg4
== NULL
) SWIG_fail
;
8177 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8183 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8187 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8188 if (!SWIG_IsOK(ecode7
)) {
8189 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8191 arg7
= static_cast< long >(val7
);
8195 arg8
= wxString_in_helper(obj7
);
8196 if (arg8
== NULL
) SWIG_fail
;
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8202 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8231 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
= 0;
8233 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8239 PyObject
* obj0
= 0 ;
8240 PyObject
* obj1
= 0 ;
8241 char * kwnames
[] = {
8242 (char *) "self",(char *) "width", NULL
8245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8247 if (!SWIG_IsOK(res1
)) {
8248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8250 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8252 if (!SWIG_IsOK(ecode2
)) {
8253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8255 arg2
= static_cast< int >(val2
);
8257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 wxPyEndAllowThreads(__tstate
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= SWIG_Py_Void();
8269 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
= 0;
8271 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8272 SwigValueWrapper
<wxVisualAttributes
> result
;
8275 PyObject
* obj0
= 0 ;
8276 char * kwnames
[] = {
8277 (char *) "variant", NULL
8280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8282 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8283 if (!SWIG_IsOK(ecode1
)) {
8284 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8286 arg1
= static_cast< wxWindowVariant
>(val1
);
8289 if (!wxPyCheckForApp()) SWIG_fail
;
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8302 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8305 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8306 return SWIG_Py_Void();
8309 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8310 return SWIG_Python_InitShadowInstance(args
);
8313 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
= 0;
8315 wxWindow
*arg1
= (wxWindow
*) 0 ;
8316 int arg2
= (int) -1 ;
8317 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8318 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8319 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8320 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8321 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8322 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8323 long arg6
= (long) 0 ;
8324 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8325 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8326 wxStaticBitmap
*result
= 0 ;
8337 bool temp7
= false ;
8338 PyObject
* obj0
= 0 ;
8339 PyObject
* obj1
= 0 ;
8340 PyObject
* obj2
= 0 ;
8341 PyObject
* obj3
= 0 ;
8342 PyObject
* obj4
= 0 ;
8343 PyObject
* obj5
= 0 ;
8344 PyObject
* obj6
= 0 ;
8345 char * kwnames
[] = {
8346 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8351 if (!SWIG_IsOK(res1
)) {
8352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8354 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8357 if (!SWIG_IsOK(ecode2
)) {
8358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8360 arg2
= static_cast< int >(val2
);
8363 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8364 if (!SWIG_IsOK(res3
)) {
8365 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8368 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8370 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8375 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8381 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8385 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8386 if (!SWIG_IsOK(ecode6
)) {
8387 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8389 arg6
= static_cast< long >(val6
);
8393 arg7
= wxString_in_helper(obj6
);
8394 if (arg7
== NULL
) SWIG_fail
;
8399 if (!wxPyCheckForApp()) SWIG_fail
;
8400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8401 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8420 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8421 PyObject
*resultobj
= 0;
8422 wxStaticBitmap
*result
= 0 ;
8424 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8426 if (!wxPyCheckForApp()) SWIG_fail
;
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8429 wxPyEndAllowThreads(__tstate
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8439 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
= 0;
8441 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8442 wxWindow
*arg2
= (wxWindow
*) 0 ;
8443 int arg3
= (int) -1 ;
8444 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8445 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8446 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8447 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8448 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8449 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8450 long arg7
= (long) 0 ;
8451 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8452 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8466 bool temp8
= false ;
8467 PyObject
* obj0
= 0 ;
8468 PyObject
* obj1
= 0 ;
8469 PyObject
* obj2
= 0 ;
8470 PyObject
* obj3
= 0 ;
8471 PyObject
* obj4
= 0 ;
8472 PyObject
* obj5
= 0 ;
8473 PyObject
* obj6
= 0 ;
8474 PyObject
* obj7
= 0 ;
8475 char * kwnames
[] = {
8476 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8481 if (!SWIG_IsOK(res1
)) {
8482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8484 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8485 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8486 if (!SWIG_IsOK(res2
)) {
8487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8489 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8491 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8492 if (!SWIG_IsOK(ecode3
)) {
8493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8495 arg3
= static_cast< int >(val3
);
8498 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8499 if (!SWIG_IsOK(res4
)) {
8500 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8505 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8510 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8516 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8520 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8521 if (!SWIG_IsOK(ecode7
)) {
8522 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8524 arg7
= static_cast< long >(val7
);
8528 arg8
= wxString_in_helper(obj7
);
8529 if (arg8
== NULL
) SWIG_fail
;
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8556 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8557 PyObject
*resultobj
= 0;
8558 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8562 PyObject
*swig_obj
[1] ;
8564 if (!args
) SWIG_fail
;
8566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8567 if (!SWIG_IsOK(res1
)) {
8568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8570 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 result
= (arg1
)->GetBitmap();
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8584 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8585 PyObject
*resultobj
= 0;
8586 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8587 wxBitmap
*arg2
= 0 ;
8592 PyObject
* obj0
= 0 ;
8593 PyObject
* obj1
= 0 ;
8594 char * kwnames
[] = {
8595 (char *) "self",(char *) "bitmap", NULL
8598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8600 if (!SWIG_IsOK(res1
)) {
8601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8603 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8605 if (!SWIG_IsOK(res2
)) {
8606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8611 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= SWIG_Py_Void();
8625 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
= 0;
8627 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8633 PyObject
* obj0
= 0 ;
8634 PyObject
* obj1
= 0 ;
8635 char * kwnames
[] = {
8636 (char *) "self",(char *) "icon", NULL
8639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8641 if (!SWIG_IsOK(res1
)) {
8642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8644 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8646 if (!SWIG_IsOK(res2
)) {
8647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8652 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8656 wxPyEndAllowThreads(__tstate
);
8657 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= SWIG_Py_Void();
8666 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
= 0;
8668 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8669 SwigValueWrapper
<wxVisualAttributes
> result
;
8672 PyObject
* obj0
= 0 ;
8673 char * kwnames
[] = {
8674 (char *) "variant", NULL
8677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8679 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8680 if (!SWIG_IsOK(ecode1
)) {
8681 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8683 arg1
= static_cast< wxWindowVariant
>(val1
);
8686 if (!wxPyCheckForApp()) SWIG_fail
;
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8699 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8702 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8703 return SWIG_Py_Void();
8706 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8707 return SWIG_Python_InitShadowInstance(args
);
8710 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8711 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8716 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8717 PyObject
*pyobj
= 0;
8721 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8723 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8730 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
= 0;
8732 wxWindow
*arg1
= (wxWindow
*) 0 ;
8733 int arg2
= (int) -1 ;
8734 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8735 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8736 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8737 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8738 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8739 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8740 long arg6
= (long) 0 ;
8741 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8742 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8743 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8744 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8745 wxListBox
*result
= 0 ;
8752 bool temp5
= false ;
8757 bool temp8
= false ;
8758 PyObject
* obj0
= 0 ;
8759 PyObject
* obj1
= 0 ;
8760 PyObject
* obj2
= 0 ;
8761 PyObject
* obj3
= 0 ;
8762 PyObject
* obj4
= 0 ;
8763 PyObject
* obj5
= 0 ;
8764 PyObject
* obj6
= 0 ;
8765 PyObject
* obj7
= 0 ;
8766 char * kwnames
[] = {
8767 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8772 if (!SWIG_IsOK(res1
)) {
8773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8775 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8778 if (!SWIG_IsOK(ecode2
)) {
8779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8781 arg2
= static_cast< int >(val2
);
8786 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8792 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8797 if (! PySequence_Check(obj4
)) {
8798 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8801 arg5
= new wxArrayString
;
8803 int i
, len
=PySequence_Length(obj4
);
8804 for (i
=0; i
<len
; i
++) {
8805 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8806 wxString
* s
= wxString_in_helper(item
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8815 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8816 if (!SWIG_IsOK(ecode6
)) {
8817 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8819 arg6
= static_cast< long >(val6
);
8822 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8823 if (!SWIG_IsOK(res7
)) {
8824 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8829 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8833 arg8
= wxString_in_helper(obj7
);
8834 if (arg8
== NULL
) SWIG_fail
;
8839 if (!wxPyCheckForApp()) SWIG_fail
;
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8847 if (temp5
) delete arg5
;
8856 if (temp5
) delete arg5
;
8866 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8867 PyObject
*resultobj
= 0;
8868 wxListBox
*result
= 0 ;
8870 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8872 if (!wxPyCheckForApp()) SWIG_fail
;
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 result
= (wxListBox
*)new wxListBox();
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8885 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
= 0;
8887 wxListBox
*arg1
= (wxListBox
*) 0 ;
8888 wxWindow
*arg2
= (wxWindow
*) 0 ;
8889 int arg3
= (int) -1 ;
8890 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8891 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8892 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8893 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8894 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8895 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8896 long arg7
= (long) 0 ;
8897 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8898 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8899 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8900 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8910 bool temp6
= false ;
8915 bool temp9
= false ;
8916 PyObject
* obj0
= 0 ;
8917 PyObject
* obj1
= 0 ;
8918 PyObject
* obj2
= 0 ;
8919 PyObject
* obj3
= 0 ;
8920 PyObject
* obj4
= 0 ;
8921 PyObject
* obj5
= 0 ;
8922 PyObject
* obj6
= 0 ;
8923 PyObject
* obj7
= 0 ;
8924 PyObject
* obj8
= 0 ;
8925 char * kwnames
[] = {
8926 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8931 if (!SWIG_IsOK(res1
)) {
8932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8934 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8935 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8936 if (!SWIG_IsOK(res2
)) {
8937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8939 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8942 if (!SWIG_IsOK(ecode3
)) {
8943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
8945 arg3
= static_cast< int >(val3
);
8950 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8956 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8961 if (! PySequence_Check(obj5
)) {
8962 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8965 arg6
= new wxArrayString
;
8967 int i
, len
=PySequence_Length(obj5
);
8968 for (i
=0; i
<len
; i
++) {
8969 PyObject
* item
= PySequence_GetItem(obj5
, i
);
8970 wxString
* s
= wxString_in_helper(item
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8979 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8980 if (!SWIG_IsOK(ecode7
)) {
8981 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
8983 arg7
= static_cast< long >(val7
);
8986 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
8987 if (!SWIG_IsOK(res8
)) {
8988 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
8991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
8993 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
8997 arg9
= wxString_in_helper(obj8
);
8998 if (arg9
== NULL
) SWIG_fail
;
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9012 if (temp6
) delete arg6
;
9021 if (temp6
) delete arg6
;
9031 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
= 0;
9033 wxListBox
*arg1
= (wxListBox
*) 0 ;
9034 wxString
*arg2
= 0 ;
9036 PyObject
*arg4
= (PyObject
*) NULL
;
9039 bool temp2
= false ;
9042 PyObject
* obj0
= 0 ;
9043 PyObject
* obj1
= 0 ;
9044 PyObject
* obj2
= 0 ;
9045 PyObject
* obj3
= 0 ;
9046 char * kwnames
[] = {
9047 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9052 if (!SWIG_IsOK(res1
)) {
9053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9055 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9057 arg2
= wxString_in_helper(obj1
);
9058 if (arg2
== NULL
) SWIG_fail
;
9061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9062 if (!SWIG_IsOK(ecode3
)) {
9063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9065 arg3
= static_cast< int >(val3
);
9070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9075 resultobj
= SWIG_Py_Void();
9090 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
= 0;
9092 wxListBox
*arg1
= (wxListBox
*) 0 ;
9093 wxArrayString
*arg2
= 0 ;
9097 bool temp2
= false ;
9100 PyObject
* obj0
= 0 ;
9101 PyObject
* obj1
= 0 ;
9102 PyObject
* obj2
= 0 ;
9103 char * kwnames
[] = {
9104 (char *) "self",(char *) "items",(char *) "pos", NULL
9107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9109 if (!SWIG_IsOK(res1
)) {
9110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9112 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9114 if (! PySequence_Check(obj1
)) {
9115 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9118 arg2
= new wxArrayString
;
9120 int i
, len
=PySequence_Length(obj1
);
9121 for (i
=0; i
<len
; i
++) {
9122 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9123 wxString
* s
= wxString_in_helper(item
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9131 if (!SWIG_IsOK(ecode3
)) {
9132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "int""'");
9134 arg3
= static_cast< int >(val3
);
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9137 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 resultobj
= SWIG_Py_Void();
9143 if (temp2
) delete arg2
;
9148 if (temp2
) delete arg2
;
9154 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
*resultobj
= 0;
9156 wxListBox
*arg1
= (wxListBox
*) 0 ;
9157 wxArrayString
*arg2
= 0 ;
9160 bool temp2
= false ;
9161 PyObject
* obj0
= 0 ;
9162 PyObject
* obj1
= 0 ;
9163 char * kwnames
[] = {
9164 (char *) "self",(char *) "items", NULL
9167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9169 if (!SWIG_IsOK(res1
)) {
9170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9172 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9174 if (! PySequence_Check(obj1
)) {
9175 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9178 arg2
= new wxArrayString
;
9180 int i
, len
=PySequence_Length(obj1
);
9181 for (i
=0; i
<len
; i
++) {
9182 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9183 wxString
* s
= wxString_in_helper(item
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 (arg1
)->Set((wxArrayString
const &)*arg2
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 resultobj
= SWIG_Py_Void();
9198 if (temp2
) delete arg2
;
9203 if (temp2
) delete arg2
;
9209 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
= 0;
9211 wxListBox
*arg1
= (wxListBox
*) 0 ;
9218 PyObject
* obj0
= 0 ;
9219 PyObject
* obj1
= 0 ;
9220 char * kwnames
[] = {
9221 (char *) "self",(char *) "n", NULL
9224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9226 if (!SWIG_IsOK(res1
)) {
9227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9229 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9231 if (!SWIG_IsOK(ecode2
)) {
9232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9234 arg2
= static_cast< int >(val2
);
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9250 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
*resultobj
= 0;
9252 wxListBox
*arg1
= (wxListBox
*) 0 ;
9254 bool arg3
= (bool) true ;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9263 PyObject
* obj2
= 0 ;
9264 char * kwnames
[] = {
9265 (char *) "self",(char *) "n",(char *) "select", NULL
9268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9270 if (!SWIG_IsOK(res1
)) {
9271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9273 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9275 if (!SWIG_IsOK(ecode2
)) {
9276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9278 arg2
= static_cast< int >(val2
);
9280 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9281 if (!SWIG_IsOK(ecode3
)) {
9282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9284 arg3
= static_cast< bool >(val3
);
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 (arg1
)->SetSelection(arg2
,arg3
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= SWIG_Py_Void();
9299 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
= 0;
9301 wxListBox
*arg1
= (wxListBox
*) 0 ;
9307 PyObject
* obj0
= 0 ;
9308 PyObject
* obj1
= 0 ;
9309 char * kwnames
[] = {
9310 (char *) "self",(char *) "n", NULL
9313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9315 if (!SWIG_IsOK(res1
)) {
9316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9318 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9320 if (!SWIG_IsOK(ecode2
)) {
9321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9323 arg2
= static_cast< int >(val2
);
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 (arg1
)->Select(arg2
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= SWIG_Py_Void();
9337 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
= 0;
9339 wxListBox
*arg1
= (wxListBox
*) 0 ;
9345 PyObject
* obj0
= 0 ;
9346 PyObject
* obj1
= 0 ;
9347 char * kwnames
[] = {
9348 (char *) "self",(char *) "n", NULL
9351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9353 if (!SWIG_IsOK(res1
)) {
9354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9356 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9358 if (!SWIG_IsOK(ecode2
)) {
9359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9361 arg2
= static_cast< int >(val2
);
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 (arg1
)->Deselect(arg2
);
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9368 resultobj
= SWIG_Py_Void();
9375 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
*resultobj
= 0;
9377 wxListBox
*arg1
= (wxListBox
*) 0 ;
9378 int arg2
= (int) -1 ;
9383 PyObject
* obj0
= 0 ;
9384 PyObject
* obj1
= 0 ;
9385 char * kwnames
[] = {
9386 (char *) "self",(char *) "itemToLeaveSelected", NULL
9389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9391 if (!SWIG_IsOK(res1
)) {
9392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9394 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9397 if (!SWIG_IsOK(ecode2
)) {
9398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9400 arg2
= static_cast< int >(val2
);
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 (arg1
)->DeselectAll(arg2
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 resultobj
= SWIG_Py_Void();
9415 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
= 0;
9417 wxListBox
*arg1
= (wxListBox
*) 0 ;
9418 wxString
*arg2
= 0 ;
9419 bool arg3
= (bool) true ;
9423 bool temp2
= false ;
9426 PyObject
* obj0
= 0 ;
9427 PyObject
* obj1
= 0 ;
9428 PyObject
* obj2
= 0 ;
9429 char * kwnames
[] = {
9430 (char *) "self",(char *) "s",(char *) "select", NULL
9433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9435 if (!SWIG_IsOK(res1
)) {
9436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9438 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9440 arg2
= wxString_in_helper(obj1
);
9441 if (arg2
== NULL
) SWIG_fail
;
9445 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9446 if (!SWIG_IsOK(ecode3
)) {
9447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9449 arg3
= static_cast< bool >(val3
);
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9474 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9475 PyObject
*resultobj
= 0;
9476 wxListBox
*arg1
= (wxListBox
*) 0 ;
9477 PyObject
*result
= 0 ;
9480 PyObject
*swig_obj
[1] ;
9482 if (!args
) SWIG_fail
;
9484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9485 if (!SWIG_IsOK(res1
)) {
9486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9488 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9502 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9503 PyObject
*resultobj
= 0;
9504 wxListBox
*arg1
= (wxListBox
*) 0 ;
9510 PyObject
* obj0
= 0 ;
9511 PyObject
* obj1
= 0 ;
9512 char * kwnames
[] = {
9513 (char *) "self",(char *) "n", NULL
9516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9518 if (!SWIG_IsOK(res1
)) {
9519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9521 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9523 if (!SWIG_IsOK(ecode2
)) {
9524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9526 arg2
= static_cast< int >(val2
);
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 (arg1
)->SetFirstItem(arg2
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 resultobj
= SWIG_Py_Void();
9540 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
= 0;
9542 wxListBox
*arg1
= (wxListBox
*) 0 ;
9543 wxString
*arg2
= 0 ;
9546 bool temp2
= false ;
9547 PyObject
* obj0
= 0 ;
9548 PyObject
* obj1
= 0 ;
9549 char * kwnames
[] = {
9550 (char *) "self",(char *) "s", NULL
9553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9555 if (!SWIG_IsOK(res1
)) {
9556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9558 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9560 arg2
= wxString_in_helper(obj1
);
9561 if (arg2
== NULL
) SWIG_fail
;
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 resultobj
= SWIG_Py_Void();
9585 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
= 0;
9587 wxListBox
*arg1
= (wxListBox
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9594 PyObject
* obj1
= 0 ;
9595 char * kwnames
[] = {
9596 (char *) "self",(char *) "n", NULL
9599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9601 if (!SWIG_IsOK(res1
)) {
9602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9604 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9606 if (!SWIG_IsOK(ecode2
)) {
9607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9609 arg2
= static_cast< int >(val2
);
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 (arg1
)->EnsureVisible(arg2
);
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9616 resultobj
= SWIG_Py_Void();
9623 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
= 0;
9625 wxListBox
*arg1
= (wxListBox
*) 0 ;
9626 wxString
*arg2
= 0 ;
9629 bool temp2
= false ;
9630 PyObject
* obj0
= 0 ;
9631 PyObject
* obj1
= 0 ;
9632 char * kwnames
[] = {
9633 (char *) "self",(char *) "s", NULL
9636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9638 if (!SWIG_IsOK(res1
)) {
9639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9641 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9643 arg2
= wxString_in_helper(obj1
);
9644 if (arg2
== NULL
) SWIG_fail
;
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9653 resultobj
= SWIG_Py_Void();
9668 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9669 PyObject
*resultobj
= 0;
9670 wxListBox
*arg1
= (wxListBox
*) 0 ;
9674 PyObject
*swig_obj
[1] ;
9676 if (!args
) SWIG_fail
;
9678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9679 if (!SWIG_IsOK(res1
)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9682 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9698 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
= 0;
9700 wxListBox
*arg1
= (wxListBox
*) 0 ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9708 char * kwnames
[] = {
9709 (char *) "self",(char *) "pt", NULL
9712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9714 if (!SWIG_IsOK(res1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9717 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9720 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= SWIG_From_int(static_cast< int >(result
));
9735 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
= 0;
9737 wxListBox
*arg1
= (wxListBox
*) 0 ;
9739 wxColour
*arg3
= 0 ;
9745 PyObject
* obj0
= 0 ;
9746 PyObject
* obj1
= 0 ;
9747 PyObject
* obj2
= 0 ;
9748 char * kwnames
[] = {
9749 (char *) "self",(char *) "item",(char *) "c", NULL
9752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9754 if (!SWIG_IsOK(res1
)) {
9755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9757 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9759 if (!SWIG_IsOK(ecode2
)) {
9760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9762 arg2
= static_cast< int >(val2
);
9765 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= SWIG_Py_Void();
9780 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
= 0;
9782 wxListBox
*arg1
= (wxListBox
*) 0 ;
9784 wxColour
*arg3
= 0 ;
9790 PyObject
* obj0
= 0 ;
9791 PyObject
* obj1
= 0 ;
9792 PyObject
* obj2
= 0 ;
9793 char * kwnames
[] = {
9794 (char *) "self",(char *) "item",(char *) "c", NULL
9797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9799 if (!SWIG_IsOK(res1
)) {
9800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9802 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9804 if (!SWIG_IsOK(ecode2
)) {
9805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9807 arg2
= static_cast< int >(val2
);
9810 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= SWIG_Py_Void();
9825 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
*resultobj
= 0;
9827 wxListBox
*arg1
= (wxListBox
*) 0 ;
9836 PyObject
* obj0
= 0 ;
9837 PyObject
* obj1
= 0 ;
9838 PyObject
* obj2
= 0 ;
9839 char * kwnames
[] = {
9840 (char *) "self",(char *) "item",(char *) "f", NULL
9843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9845 if (!SWIG_IsOK(res1
)) {
9846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9848 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9850 if (!SWIG_IsOK(ecode2
)) {
9851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9853 arg2
= static_cast< int >(val2
);
9854 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9855 if (!SWIG_IsOK(res3
)) {
9856 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9861 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9868 resultobj
= SWIG_Py_Void();
9875 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
= 0;
9877 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9878 SwigValueWrapper
<wxVisualAttributes
> result
;
9881 PyObject
* obj0
= 0 ;
9882 char * kwnames
[] = {
9883 (char *) "variant", NULL
9886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9888 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9889 if (!SWIG_IsOK(ecode1
)) {
9890 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9892 arg1
= static_cast< wxWindowVariant
>(val1
);
9895 if (!wxPyCheckForApp()) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9908 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9910 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9911 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9912 return SWIG_Py_Void();
9915 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9916 return SWIG_Python_InitShadowInstance(args
);
9919 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
= 0;
9921 wxWindow
*arg1
= (wxWindow
*) 0 ;
9922 int arg2
= (int) -1 ;
9923 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9924 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9925 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9926 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9927 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9928 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9929 long arg6
= (long) 0 ;
9930 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9931 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9932 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9933 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9934 wxCheckListBox
*result
= 0 ;
9941 bool temp5
= false ;
9946 bool temp8
= false ;
9947 PyObject
* obj0
= 0 ;
9948 PyObject
* obj1
= 0 ;
9949 PyObject
* obj2
= 0 ;
9950 PyObject
* obj3
= 0 ;
9951 PyObject
* obj4
= 0 ;
9952 PyObject
* obj5
= 0 ;
9953 PyObject
* obj6
= 0 ;
9954 PyObject
* obj7
= 0 ;
9955 char * kwnames
[] = {
9956 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9961 if (!SWIG_IsOK(res1
)) {
9962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9964 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9967 if (!SWIG_IsOK(ecode2
)) {
9968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
9970 arg2
= static_cast< int >(val2
);
9975 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9981 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9986 if (! PySequence_Check(obj4
)) {
9987 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9990 arg5
= new wxArrayString
;
9992 int i
, len
=PySequence_Length(obj4
);
9993 for (i
=0; i
<len
; i
++) {
9994 PyObject
* item
= PySequence_GetItem(obj4
, i
);
9995 wxString
* s
= wxString_in_helper(item
);
9996 if (PyErr_Occurred()) SWIG_fail
;
10004 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10005 if (!SWIG_IsOK(ecode6
)) {
10006 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10008 arg6
= static_cast< long >(val6
);
10011 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10012 if (!SWIG_IsOK(res7
)) {
10013 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10018 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10022 arg8
= wxString_in_helper(obj7
);
10023 if (arg8
== NULL
) SWIG_fail
;
10028 if (!wxPyCheckForApp()) SWIG_fail
;
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10036 if (temp5
) delete arg5
;
10045 if (temp5
) delete arg5
;
10055 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10056 PyObject
*resultobj
= 0;
10057 wxCheckListBox
*result
= 0 ;
10059 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10061 if (!wxPyCheckForApp()) SWIG_fail
;
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 result
= (wxCheckListBox
*)new wxCheckListBox();
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10074 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
= 0;
10076 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10077 wxWindow
*arg2
= (wxWindow
*) 0 ;
10078 int arg3
= (int) -1 ;
10079 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10080 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10081 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10082 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10083 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10084 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10085 long arg7
= (long) 0 ;
10086 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10087 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10088 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10089 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10099 bool temp6
= false ;
10104 bool temp9
= false ;
10105 PyObject
* obj0
= 0 ;
10106 PyObject
* obj1
= 0 ;
10107 PyObject
* obj2
= 0 ;
10108 PyObject
* obj3
= 0 ;
10109 PyObject
* obj4
= 0 ;
10110 PyObject
* obj5
= 0 ;
10111 PyObject
* obj6
= 0 ;
10112 PyObject
* obj7
= 0 ;
10113 PyObject
* obj8
= 0 ;
10114 char * kwnames
[] = {
10115 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10120 if (!SWIG_IsOK(res1
)) {
10121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10123 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10125 if (!SWIG_IsOK(res2
)) {
10126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10128 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10131 if (!SWIG_IsOK(ecode3
)) {
10132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10134 arg3
= static_cast< int >(val3
);
10139 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10145 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10150 if (! PySequence_Check(obj5
)) {
10151 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10154 arg6
= new wxArrayString
;
10156 int i
, len
=PySequence_Length(obj5
);
10157 for (i
=0; i
<len
; i
++) {
10158 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10159 wxString
* s
= wxString_in_helper(item
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10168 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10169 if (!SWIG_IsOK(ecode7
)) {
10170 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10172 arg7
= static_cast< long >(val7
);
10175 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10176 if (!SWIG_IsOK(res8
)) {
10177 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10182 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10186 arg9
= wxString_in_helper(obj8
);
10187 if (arg9
== NULL
) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10201 if (temp6
) delete arg6
;
10210 if (temp6
) delete arg6
;
10220 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
= 0;
10222 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10229 PyObject
* obj0
= 0 ;
10230 PyObject
* obj1
= 0 ;
10231 char * kwnames
[] = {
10232 (char *) "self",(char *) "index", NULL
10235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10237 if (!SWIG_IsOK(res1
)) {
10238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10240 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10242 if (!SWIG_IsOK(ecode2
)) {
10243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "int""'");
10245 arg2
= static_cast< int >(val2
);
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (bool)(arg1
)->IsChecked(arg2
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10261 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
= 0;
10263 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10265 int arg3
= (int) true ;
10272 PyObject
* obj0
= 0 ;
10273 PyObject
* obj1
= 0 ;
10274 PyObject
* obj2
= 0 ;
10275 char * kwnames
[] = {
10276 (char *) "self",(char *) "index",(char *) "check", NULL
10279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10281 if (!SWIG_IsOK(res1
)) {
10282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10284 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10286 if (!SWIG_IsOK(ecode2
)) {
10287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "int""'");
10289 arg2
= static_cast< int >(val2
);
10291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10292 if (!SWIG_IsOK(ecode3
)) {
10293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10295 arg3
= static_cast< int >(val3
);
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 (arg1
)->Check(arg2
,arg3
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 resultobj
= SWIG_Py_Void();
10310 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10311 PyObject
*resultobj
= 0;
10312 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10316 PyObject
*swig_obj
[1] ;
10318 if (!args
) SWIG_fail
;
10319 swig_obj
[0] = args
;
10320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10321 if (!SWIG_IsOK(res1
)) {
10322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10324 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 result
= (int)(arg1
)->GetItemHeight();
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 resultobj
= SWIG_From_int(static_cast< int >(result
));
10338 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10341 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10342 return SWIG_Py_Void();
10345 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10346 return SWIG_Python_InitShadowInstance(args
);
10349 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10350 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10355 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10356 PyObject
*pyobj
= 0;
10360 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10362 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10369 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
*resultobj
= 0;
10371 wxColour
const &arg1_defvalue
= wxNullColour
;
10372 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10373 wxColour
const &arg2_defvalue
= wxNullColour
;
10374 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10375 wxFont
const &arg3_defvalue
= wxNullFont
;
10376 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10377 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10378 wxTextAttr
*result
= 0 ;
10385 PyObject
* obj0
= 0 ;
10386 PyObject
* obj1
= 0 ;
10387 PyObject
* obj2
= 0 ;
10388 PyObject
* obj3
= 0 ;
10389 char * kwnames
[] = {
10390 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10397 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10403 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10407 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10408 if (!SWIG_IsOK(res3
)) {
10409 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10412 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10414 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10417 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10418 if (!SWIG_IsOK(ecode4
)) {
10419 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10421 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10436 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10437 PyObject
*resultobj
= 0;
10438 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10441 PyObject
*swig_obj
[1] ;
10443 if (!args
) SWIG_fail
;
10444 swig_obj
[0] = args
;
10445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10446 if (!SWIG_IsOK(res1
)) {
10447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10449 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10457 resultobj
= SWIG_Py_Void();
10464 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10465 PyObject
*resultobj
= 0;
10466 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10469 PyObject
*swig_obj
[1] ;
10471 if (!args
) SWIG_fail
;
10472 swig_obj
[0] = args
;
10473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10474 if (!SWIG_IsOK(res1
)) {
10475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10477 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= SWIG_Py_Void();
10491 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
*resultobj
= 0;
10493 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10494 wxColour
*arg2
= 0 ;
10498 PyObject
* obj0
= 0 ;
10499 PyObject
* obj1
= 0 ;
10500 char * kwnames
[] = {
10501 (char *) "self",(char *) "colText", NULL
10504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10506 if (!SWIG_IsOK(res1
)) {
10507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10509 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10512 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10520 resultobj
= SWIG_Py_Void();
10527 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10528 PyObject
*resultobj
= 0;
10529 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10530 wxColour
*arg2
= 0 ;
10534 PyObject
* obj0
= 0 ;
10535 PyObject
* obj1
= 0 ;
10536 char * kwnames
[] = {
10537 (char *) "self",(char *) "colBack", NULL
10540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10542 if (!SWIG_IsOK(res1
)) {
10543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10545 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10548 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10552 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= SWIG_Py_Void();
10563 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
*resultobj
= 0;
10565 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10567 long arg3
= (long) wxTEXT_ATTR_FONT
;
10574 PyObject
* obj0
= 0 ;
10575 PyObject
* obj1
= 0 ;
10576 PyObject
* obj2
= 0 ;
10577 char * kwnames
[] = {
10578 (char *) "self",(char *) "font",(char *) "flags", NULL
10581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10583 if (!SWIG_IsOK(res1
)) {
10584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10586 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10588 if (!SWIG_IsOK(res2
)) {
10589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10594 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10596 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10597 if (!SWIG_IsOK(ecode3
)) {
10598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10600 arg3
= static_cast< long >(val3
);
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= SWIG_Py_Void();
10615 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
= 0;
10617 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10618 wxTextAttrAlignment arg2
;
10623 PyObject
* obj0
= 0 ;
10624 PyObject
* obj1
= 0 ;
10625 char * kwnames
[] = {
10626 (char *) "self",(char *) "alignment", NULL
10629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10631 if (!SWIG_IsOK(res1
)) {
10632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10634 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10636 if (!SWIG_IsOK(ecode2
)) {
10637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10639 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 (arg1
)->SetAlignment(arg2
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 resultobj
= SWIG_Py_Void();
10653 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
= 0;
10655 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10656 wxArrayInt
*arg2
= 0 ;
10659 bool temp2
= false ;
10660 PyObject
* obj0
= 0 ;
10661 PyObject
* obj1
= 0 ;
10662 char * kwnames
[] = {
10663 (char *) "self",(char *) "tabs", NULL
10666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10668 if (!SWIG_IsOK(res1
)) {
10669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10671 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10673 if (! PySequence_Check(obj1
)) {
10674 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10677 arg2
= new wxArrayInt
;
10679 int i
, len
=PySequence_Length(obj1
);
10680 for (i
=0; i
<len
; i
++) {
10681 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10682 PyObject
* number
= PyNumber_Int(item
);
10683 arg2
->Add(PyInt_AS_LONG(number
));
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= SWIG_Py_Void();
10696 if (temp2
) delete arg2
;
10701 if (temp2
) delete arg2
;
10707 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
= 0;
10709 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10711 int arg3
= (int) 0 ;
10718 PyObject
* obj0
= 0 ;
10719 PyObject
* obj1
= 0 ;
10720 PyObject
* obj2
= 0 ;
10721 char * kwnames
[] = {
10722 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10727 if (!SWIG_IsOK(res1
)) {
10728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10730 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10732 if (!SWIG_IsOK(ecode2
)) {
10733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10735 arg2
= static_cast< int >(val2
);
10737 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10738 if (!SWIG_IsOK(ecode3
)) {
10739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10741 arg3
= static_cast< int >(val3
);
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 (arg1
)->SetLeftIndent(arg2
,arg3
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= SWIG_Py_Void();
10756 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
= 0;
10758 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10764 PyObject
* obj0
= 0 ;
10765 PyObject
* obj1
= 0 ;
10766 char * kwnames
[] = {
10767 (char *) "self",(char *) "indent", NULL
10770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10772 if (!SWIG_IsOK(res1
)) {
10773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10775 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10777 if (!SWIG_IsOK(ecode2
)) {
10778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10780 arg2
= static_cast< int >(val2
);
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 (arg1
)->SetRightIndent(arg2
);
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 resultobj
= SWIG_Py_Void();
10794 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
= 0;
10796 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10802 PyObject
* obj0
= 0 ;
10803 PyObject
* obj1
= 0 ;
10804 char * kwnames
[] = {
10805 (char *) "self",(char *) "flags", NULL
10808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10810 if (!SWIG_IsOK(res1
)) {
10811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10813 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10814 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10815 if (!SWIG_IsOK(ecode2
)) {
10816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10818 arg2
= static_cast< long >(val2
);
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 (arg1
)->SetFlags(arg2
);
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= SWIG_Py_Void();
10832 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10833 PyObject
*resultobj
= 0;
10834 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10838 PyObject
*swig_obj
[1] ;
10840 if (!args
) SWIG_fail
;
10841 swig_obj
[0] = args
;
10842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10843 if (!SWIG_IsOK(res1
)) {
10844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10846 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10850 wxPyEndAllowThreads(__tstate
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10862 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10863 PyObject
*resultobj
= 0;
10864 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10868 PyObject
*swig_obj
[1] ;
10870 if (!args
) SWIG_fail
;
10871 swig_obj
[0] = args
;
10872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10873 if (!SWIG_IsOK(res1
)) {
10874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10876 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10892 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10893 PyObject
*resultobj
= 0;
10894 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10898 PyObject
*swig_obj
[1] ;
10900 if (!args
) SWIG_fail
;
10901 swig_obj
[0] = args
;
10902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10903 if (!SWIG_IsOK(res1
)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10906 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10922 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10923 PyObject
*resultobj
= 0;
10924 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10928 PyObject
*swig_obj
[1] ;
10930 if (!args
) SWIG_fail
;
10931 swig_obj
[0] = args
;
10932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10933 if (!SWIG_IsOK(res1
)) {
10934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10936 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10952 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10953 PyObject
*resultobj
= 0;
10954 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10958 PyObject
*swig_obj
[1] ;
10960 if (!args
) SWIG_fail
;
10961 swig_obj
[0] = args
;
10962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10963 if (!SWIG_IsOK(res1
)) {
10964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10966 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10982 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10983 PyObject
*resultobj
= 0;
10984 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10988 PyObject
*swig_obj
[1] ;
10990 if (!args
) SWIG_fail
;
10991 swig_obj
[0] = args
;
10992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10993 if (!SWIG_IsOK(res1
)) {
10994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10996 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11012 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11013 PyObject
*resultobj
= 0;
11014 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11018 PyObject
*swig_obj
[1] ;
11020 if (!args
) SWIG_fail
;
11021 swig_obj
[0] = args
;
11022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11023 if (!SWIG_IsOK(res1
)) {
11024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11026 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11042 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
= 0;
11044 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 char * kwnames
[] = {
11054 (char *) "self",(char *) "flag", NULL
11057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11059 if (!SWIG_IsOK(res1
)) {
11060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11062 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11063 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11064 if (!SWIG_IsOK(ecode2
)) {
11065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11067 arg2
= static_cast< long >(val2
);
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11083 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11084 PyObject
*resultobj
= 0;
11085 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11086 wxColour
*result
= 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_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11097 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11102 result
= (wxColour
*) &_result_ref
;
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11114 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11115 PyObject
*resultobj
= 0;
11116 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11117 wxColour
*result
= 0 ;
11120 PyObject
*swig_obj
[1] ;
11122 if (!args
) SWIG_fail
;
11123 swig_obj
[0] = args
;
11124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11125 if (!SWIG_IsOK(res1
)) {
11126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11128 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11133 result
= (wxColour
*) &_result_ref
;
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11145 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11146 PyObject
*resultobj
= 0;
11147 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11148 wxFont
*result
= 0 ;
11151 PyObject
*swig_obj
[1] ;
11153 if (!args
) SWIG_fail
;
11154 swig_obj
[0] = args
;
11155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11156 if (!SWIG_IsOK(res1
)) {
11157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11159 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11164 result
= (wxFont
*) &_result_ref
;
11166 wxPyEndAllowThreads(__tstate
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11170 wxFont
* resultptr
= new wxFont(*result
);
11171 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11179 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11180 PyObject
*resultobj
= 0;
11181 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11182 wxTextAttrAlignment result
;
11185 PyObject
*swig_obj
[1] ;
11187 if (!args
) SWIG_fail
;
11188 swig_obj
[0] = args
;
11189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11190 if (!SWIG_IsOK(res1
)) {
11191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11193 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11200 resultobj
= SWIG_From_int(static_cast< int >(result
));
11207 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11208 PyObject
*resultobj
= 0;
11209 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11210 wxArrayInt
*result
= 0 ;
11213 PyObject
*swig_obj
[1] ;
11215 if (!args
) SWIG_fail
;
11216 swig_obj
[0] = args
;
11217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11218 if (!SWIG_IsOK(res1
)) {
11219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11221 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11226 result
= (wxArrayInt
*) &_result_ref
;
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= PyList_New(0);
11234 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11235 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11236 PyList_Append(resultobj
, val
);
11246 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11247 PyObject
*resultobj
= 0;
11248 wxTextAttr
*arg1
= (wxTextAttr
*) 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_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11260 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= SWIG_From_long(static_cast< long >(result
));
11274 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11275 PyObject
*resultobj
= 0;
11276 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11280 PyObject
*swig_obj
[1] ;
11282 if (!args
) SWIG_fail
;
11283 swig_obj
[0] = args
;
11284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11285 if (!SWIG_IsOK(res1
)) {
11286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11288 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11295 resultobj
= SWIG_From_long(static_cast< long >(result
));
11302 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11303 PyObject
*resultobj
= 0;
11304 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11308 PyObject
*swig_obj
[1] ;
11310 if (!args
) SWIG_fail
;
11311 swig_obj
[0] = args
;
11312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11313 if (!SWIG_IsOK(res1
)) {
11314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11316 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= SWIG_From_long(static_cast< long >(result
));
11330 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11331 PyObject
*resultobj
= 0;
11332 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11336 PyObject
*swig_obj
[1] ;
11338 if (!args
) SWIG_fail
;
11339 swig_obj
[0] = args
;
11340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11341 if (!SWIG_IsOK(res1
)) {
11342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11344 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 resultobj
= SWIG_From_long(static_cast< long >(result
));
11358 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11359 PyObject
*resultobj
= 0;
11360 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11364 PyObject
*swig_obj
[1] ;
11366 if (!args
) SWIG_fail
;
11367 swig_obj
[0] = args
;
11368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11369 if (!SWIG_IsOK(res1
)) {
11370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11372 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11388 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
= 0;
11390 wxTextAttr
*arg1
= 0 ;
11391 wxTextAttr
*arg2
= 0 ;
11392 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11400 PyObject
* obj0
= 0 ;
11401 PyObject
* obj1
= 0 ;
11402 PyObject
* obj2
= 0 ;
11403 char * kwnames
[] = {
11404 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11408 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11409 if (!SWIG_IsOK(res1
)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11415 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11417 if (!SWIG_IsOK(res2
)) {
11418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11423 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11424 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11425 if (!SWIG_IsOK(res3
)) {
11426 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11428 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11435 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11442 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11444 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11445 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11446 return SWIG_Py_Void();
11449 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11450 return SWIG_Python_InitShadowInstance(args
);
11453 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
*resultobj
= 0;
11455 wxWindow
*arg1
= (wxWindow
*) 0 ;
11456 int arg2
= (int) -1 ;
11457 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11458 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11459 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11460 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11461 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11462 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11463 long arg6
= (long) 0 ;
11464 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11465 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11466 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11467 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11468 wxTextCtrl
*result
= 0 ;
11473 bool temp3
= false ;
11480 bool temp8
= false ;
11481 PyObject
* obj0
= 0 ;
11482 PyObject
* obj1
= 0 ;
11483 PyObject
* obj2
= 0 ;
11484 PyObject
* obj3
= 0 ;
11485 PyObject
* obj4
= 0 ;
11486 PyObject
* obj5
= 0 ;
11487 PyObject
* obj6
= 0 ;
11488 PyObject
* obj7
= 0 ;
11489 char * kwnames
[] = {
11490 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11495 if (!SWIG_IsOK(res1
)) {
11496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11498 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11501 if (!SWIG_IsOK(ecode2
)) {
11502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11504 arg2
= static_cast< int >(val2
);
11508 arg3
= wxString_in_helper(obj2
);
11509 if (arg3
== NULL
) SWIG_fail
;
11516 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11522 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11526 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11527 if (!SWIG_IsOK(ecode6
)) {
11528 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11530 arg6
= static_cast< long >(val6
);
11533 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11534 if (!SWIG_IsOK(res7
)) {
11535 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11540 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11544 arg8
= wxString_in_helper(obj7
);
11545 if (arg8
== NULL
) SWIG_fail
;
11550 if (!wxPyCheckForApp()) SWIG_fail
;
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11579 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11580 PyObject
*resultobj
= 0;
11581 wxTextCtrl
*result
= 0 ;
11583 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11585 if (!wxPyCheckForApp()) SWIG_fail
;
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 result
= (wxTextCtrl
*)new wxTextCtrl();
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11598 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
= 0;
11600 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11601 wxWindow
*arg2
= (wxWindow
*) 0 ;
11602 int arg3
= (int) -1 ;
11603 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11604 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11605 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11606 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11607 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11608 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11609 long arg7
= (long) 0 ;
11610 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11611 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11612 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11613 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11621 bool temp4
= false ;
11628 bool temp9
= false ;
11629 PyObject
* obj0
= 0 ;
11630 PyObject
* obj1
= 0 ;
11631 PyObject
* obj2
= 0 ;
11632 PyObject
* obj3
= 0 ;
11633 PyObject
* obj4
= 0 ;
11634 PyObject
* obj5
= 0 ;
11635 PyObject
* obj6
= 0 ;
11636 PyObject
* obj7
= 0 ;
11637 PyObject
* obj8
= 0 ;
11638 char * kwnames
[] = {
11639 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11644 if (!SWIG_IsOK(res1
)) {
11645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11647 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11649 if (!SWIG_IsOK(res2
)) {
11650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11652 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11655 if (!SWIG_IsOK(ecode3
)) {
11656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11658 arg3
= static_cast< int >(val3
);
11662 arg4
= wxString_in_helper(obj3
);
11663 if (arg4
== NULL
) SWIG_fail
;
11670 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11676 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11680 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11681 if (!SWIG_IsOK(ecode7
)) {
11682 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11684 arg7
= static_cast< long >(val7
);
11687 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11688 if (!SWIG_IsOK(res8
)) {
11689 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11694 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11698 arg9
= wxString_in_helper(obj8
);
11699 if (arg9
== NULL
) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11734 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11735 PyObject
*resultobj
= 0;
11736 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11740 PyObject
*swig_obj
[1] ;
11742 if (!args
) SWIG_fail
;
11743 swig_obj
[0] = args
;
11744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11745 if (!SWIG_IsOK(res1
)) {
11746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11748 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11768 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11769 PyObject
*resultobj
= 0;
11770 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11771 wxString
*arg2
= 0 ;
11774 bool temp2
= false ;
11775 PyObject
* obj0
= 0 ;
11776 PyObject
* obj1
= 0 ;
11777 char * kwnames
[] = {
11778 (char *) "self",(char *) "value", NULL
11781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11783 if (!SWIG_IsOK(res1
)) {
11784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11786 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11788 arg2
= wxString_in_helper(obj1
);
11789 if (arg2
== NULL
) SWIG_fail
;
11793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11794 (arg1
)->SetValue((wxString
const &)*arg2
);
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= SWIG_Py_Void();
11813 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11814 PyObject
*resultobj
= 0;
11815 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11825 PyObject
* obj0
= 0 ;
11826 PyObject
* obj1
= 0 ;
11827 PyObject
* obj2
= 0 ;
11828 char * kwnames
[] = {
11829 (char *) "self",(char *) "_from",(char *) "to", NULL
11832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11834 if (!SWIG_IsOK(res1
)) {
11835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11837 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11838 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11839 if (!SWIG_IsOK(ecode2
)) {
11840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11842 arg2
= static_cast< long >(val2
);
11843 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11844 if (!SWIG_IsOK(ecode3
)) {
11845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11847 arg3
= static_cast< long >(val3
);
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11858 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11867 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
= 0;
11869 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11876 PyObject
* obj0
= 0 ;
11877 PyObject
* obj1
= 0 ;
11878 char * kwnames
[] = {
11879 (char *) "self",(char *) "lineNo", NULL
11882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",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_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11887 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11888 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11889 if (!SWIG_IsOK(ecode2
)) {
11890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11892 arg2
= static_cast< long >(val2
);
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11896 wxPyEndAllowThreads(__tstate
);
11897 if (PyErr_Occurred()) SWIG_fail
;
11899 resultobj
= SWIG_From_int(static_cast< int >(result
));
11906 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
= 0;
11908 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11915 PyObject
* obj0
= 0 ;
11916 PyObject
* obj1
= 0 ;
11917 char * kwnames
[] = {
11918 (char *) "self",(char *) "lineNo", NULL
11921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11923 if (!SWIG_IsOK(res1
)) {
11924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11926 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11927 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11928 if (!SWIG_IsOK(ecode2
)) {
11929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
11931 arg2
= static_cast< long >(val2
);
11933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11934 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11940 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11942 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11951 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11952 PyObject
*resultobj
= 0;
11953 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11957 PyObject
*swig_obj
[1] ;
11959 if (!args
) SWIG_fail
;
11960 swig_obj
[0] = args
;
11961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11962 if (!SWIG_IsOK(res1
)) {
11963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11965 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11972 resultobj
= SWIG_From_int(static_cast< int >(result
));
11979 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11980 PyObject
*resultobj
= 0;
11981 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11985 PyObject
*swig_obj
[1] ;
11987 if (!args
) SWIG_fail
;
11988 swig_obj
[0] = args
;
11989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11990 if (!SWIG_IsOK(res1
)) {
11991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11993 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12009 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12010 PyObject
*resultobj
= 0;
12011 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12015 PyObject
*swig_obj
[1] ;
12017 if (!args
) SWIG_fail
;
12018 swig_obj
[0] = args
;
12019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12020 if (!SWIG_IsOK(res1
)) {
12021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12023 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12039 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12040 PyObject
*resultobj
= 0;
12041 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12045 PyObject
*swig_obj
[1] ;
12047 if (!args
) SWIG_fail
;
12048 swig_obj
[0] = args
;
12049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12050 if (!SWIG_IsOK(res1
)) {
12051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12053 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12057 wxPyEndAllowThreads(__tstate
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12069 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12070 PyObject
*resultobj
= 0;
12071 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12075 PyObject
*swig_obj
[1] ;
12077 if (!args
) SWIG_fail
;
12078 swig_obj
[0] = args
;
12079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12080 if (!SWIG_IsOK(res1
)) {
12081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12083 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12086 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12099 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12100 PyObject
*resultobj
= 0;
12101 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12102 long *arg2
= (long *) 0 ;
12103 long *arg3
= (long *) 0 ;
12107 int res2
= SWIG_TMPOBJ
;
12109 int res3
= SWIG_TMPOBJ
;
12110 PyObject
*swig_obj
[1] ;
12114 if (!args
) SWIG_fail
;
12115 swig_obj
[0] = args
;
12116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12117 if (!SWIG_IsOK(res1
)) {
12118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12120 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_Py_Void();
12128 if (SWIG_IsTmpObj(res2
)) {
12129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12131 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12134 if (SWIG_IsTmpObj(res3
)) {
12135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12137 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12146 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12147 PyObject
*resultobj
= 0;
12148 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12152 PyObject
*swig_obj
[1] ;
12154 if (!args
) SWIG_fail
;
12155 swig_obj
[0] = args
;
12156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12157 if (!SWIG_IsOK(res1
)) {
12158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12160 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12164 wxPyEndAllowThreads(__tstate
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12180 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12181 PyObject
*resultobj
= 0;
12182 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12185 PyObject
*swig_obj
[1] ;
12187 if (!args
) SWIG_fail
;
12188 swig_obj
[0] = args
;
12189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12190 if (!SWIG_IsOK(res1
)) {
12191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12193 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12200 resultobj
= SWIG_Py_Void();
12207 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
= 0;
12209 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12212 wxString
*arg4
= 0 ;
12219 bool temp4
= false ;
12220 PyObject
* obj0
= 0 ;
12221 PyObject
* obj1
= 0 ;
12222 PyObject
* obj2
= 0 ;
12223 PyObject
* obj3
= 0 ;
12224 char * kwnames
[] = {
12225 (char *) "self",(char *) "_from",(char *) "to",(char *) "value", NULL
12228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12230 if (!SWIG_IsOK(res1
)) {
12231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12233 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12234 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12235 if (!SWIG_IsOK(ecode2
)) {
12236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12238 arg2
= static_cast< long >(val2
);
12239 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12240 if (!SWIG_IsOK(ecode3
)) {
12241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12243 arg3
= static_cast< long >(val3
);
12245 arg4
= wxString_in_helper(obj3
);
12246 if (arg4
== NULL
) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= SWIG_Py_Void();
12270 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12271 PyObject
*resultobj
= 0;
12272 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12281 PyObject
* obj0
= 0 ;
12282 PyObject
* obj1
= 0 ;
12283 PyObject
* obj2
= 0 ;
12284 char * kwnames
[] = {
12285 (char *) "self",(char *) "_from",(char *) "to", NULL
12288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12290 if (!SWIG_IsOK(res1
)) {
12291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12293 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12294 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12295 if (!SWIG_IsOK(ecode2
)) {
12296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12298 arg2
= static_cast< long >(val2
);
12299 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12300 if (!SWIG_IsOK(ecode3
)) {
12301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12303 arg3
= static_cast< long >(val3
);
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 (arg1
)->Remove(arg2
,arg3
);
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= SWIG_Py_Void();
12317 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
= 0;
12319 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12320 wxString
*arg2
= 0 ;
12324 bool temp2
= false ;
12325 PyObject
* obj0
= 0 ;
12326 PyObject
* obj1
= 0 ;
12327 char * kwnames
[] = {
12328 (char *) "self",(char *) "file", NULL
12331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12333 if (!SWIG_IsOK(res1
)) {
12334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12336 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12338 arg2
= wxString_in_helper(obj1
);
12339 if (arg2
== NULL
) SWIG_fail
;
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12345 wxPyEndAllowThreads(__tstate
);
12346 if (PyErr_Occurred()) SWIG_fail
;
12349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12365 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
= 0;
12367 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12368 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12369 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12373 bool temp2
= false ;
12374 PyObject
* obj0
= 0 ;
12375 PyObject
* obj1
= 0 ;
12376 char * kwnames
[] = {
12377 (char *) "self",(char *) "file", NULL
12380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12382 if (!SWIG_IsOK(res1
)) {
12383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12385 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12388 arg2
= wxString_in_helper(obj1
);
12389 if (arg2
== NULL
) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12416 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12417 PyObject
*resultobj
= 0;
12418 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12421 PyObject
*swig_obj
[1] ;
12423 if (!args
) SWIG_fail
;
12424 swig_obj
[0] = args
;
12425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12426 if (!SWIG_IsOK(res1
)) {
12427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12429 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 (arg1
)->MarkDirty();
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= SWIG_Py_Void();
12443 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12444 PyObject
*resultobj
= 0;
12445 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12448 PyObject
*swig_obj
[1] ;
12450 if (!args
) SWIG_fail
;
12451 swig_obj
[0] = args
;
12452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12453 if (!SWIG_IsOK(res1
)) {
12454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12456 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12459 (arg1
)->DiscardEdits();
12460 wxPyEndAllowThreads(__tstate
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12463 resultobj
= SWIG_Py_Void();
12470 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
= 0;
12472 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12473 unsigned long arg2
;
12476 unsigned long val2
;
12478 PyObject
* obj0
= 0 ;
12479 PyObject
* obj1
= 0 ;
12480 char * kwnames
[] = {
12481 (char *) "self",(char *) "len", NULL
12484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12486 if (!SWIG_IsOK(res1
)) {
12487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12489 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12490 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12491 if (!SWIG_IsOK(ecode2
)) {
12492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12494 arg2
= static_cast< unsigned long >(val2
);
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 (arg1
)->SetMaxLength(arg2
);
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= SWIG_Py_Void();
12508 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
= 0;
12510 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12511 wxString
*arg2
= 0 ;
12514 bool temp2
= false ;
12515 PyObject
* obj0
= 0 ;
12516 PyObject
* obj1
= 0 ;
12517 char * kwnames
[] = {
12518 (char *) "self",(char *) "text", NULL
12521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12523 if (!SWIG_IsOK(res1
)) {
12524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12526 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12528 arg2
= wxString_in_helper(obj1
);
12529 if (arg2
== NULL
) SWIG_fail
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 (arg1
)->WriteText((wxString
const &)*arg2
);
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12538 resultobj
= SWIG_Py_Void();
12553 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
= 0;
12555 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12556 wxString
*arg2
= 0 ;
12559 bool temp2
= false ;
12560 PyObject
* obj0
= 0 ;
12561 PyObject
* obj1
= 0 ;
12562 char * kwnames
[] = {
12563 (char *) "self",(char *) "text", NULL
12566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12568 if (!SWIG_IsOK(res1
)) {
12569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12571 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12573 arg2
= wxString_in_helper(obj1
);
12574 if (arg2
== NULL
) SWIG_fail
;
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 (arg1
)->AppendText((wxString
const &)*arg2
);
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 resultobj
= SWIG_Py_Void();
12598 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
= 0;
12600 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12601 wxKeyEvent
*arg2
= 0 ;
12607 PyObject
* obj0
= 0 ;
12608 PyObject
* obj1
= 0 ;
12609 char * kwnames
[] = {
12610 (char *) "self",(char *) "event", NULL
12613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12615 if (!SWIG_IsOK(res1
)) {
12616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12618 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12619 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12620 if (!SWIG_IsOK(res2
)) {
12621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12626 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12642 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
= 0;
12644 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12647 wxTextAttr
*arg4
= 0 ;
12657 PyObject
* obj0
= 0 ;
12658 PyObject
* obj1
= 0 ;
12659 PyObject
* obj2
= 0 ;
12660 PyObject
* obj3
= 0 ;
12661 char * kwnames
[] = {
12662 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12667 if (!SWIG_IsOK(res1
)) {
12668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12670 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12671 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12672 if (!SWIG_IsOK(ecode2
)) {
12673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12675 arg2
= static_cast< long >(val2
);
12676 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12677 if (!SWIG_IsOK(ecode3
)) {
12678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12680 arg3
= static_cast< long >(val3
);
12681 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12682 if (!SWIG_IsOK(res4
)) {
12683 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12688 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12704 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12705 PyObject
*resultobj
= 0;
12706 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12708 wxTextAttr
*arg3
= 0 ;
12716 PyObject
* obj0
= 0 ;
12717 PyObject
* obj1
= 0 ;
12718 PyObject
* obj2
= 0 ;
12719 char * kwnames
[] = {
12720 (char *) "self",(char *) "position",(char *) "style", NULL
12723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12725 if (!SWIG_IsOK(res1
)) {
12726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12728 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12729 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12730 if (!SWIG_IsOK(ecode2
)) {
12731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12733 arg2
= static_cast< long >(val2
);
12734 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12735 if (!SWIG_IsOK(res3
)) {
12736 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12741 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12757 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
= 0;
12759 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12760 wxTextAttr
*arg2
= 0 ;
12766 PyObject
* obj0
= 0 ;
12767 PyObject
* obj1
= 0 ;
12768 char * kwnames
[] = {
12769 (char *) "self",(char *) "style", NULL
12772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12774 if (!SWIG_IsOK(res1
)) {
12775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12777 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12779 if (!SWIG_IsOK(res2
)) {
12780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12785 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12801 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12802 PyObject
*resultobj
= 0;
12803 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12804 wxTextAttr
*result
= 0 ;
12807 PyObject
*swig_obj
[1] ;
12809 if (!args
) SWIG_fail
;
12810 swig_obj
[0] = args
;
12811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12812 if (!SWIG_IsOK(res1
)) {
12813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12815 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12819 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12820 result
= (wxTextAttr
*) &_result_ref
;
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12832 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
= 0;
12834 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12844 PyObject
* obj0
= 0 ;
12845 PyObject
* obj1
= 0 ;
12846 PyObject
* obj2
= 0 ;
12847 char * kwnames
[] = {
12848 (char *) "self",(char *) "x",(char *) "y", NULL
12851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12853 if (!SWIG_IsOK(res1
)) {
12854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12856 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12857 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12858 if (!SWIG_IsOK(ecode2
)) {
12859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12861 arg2
= static_cast< long >(val2
);
12862 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12863 if (!SWIG_IsOK(ecode3
)) {
12864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12866 arg3
= static_cast< long >(val3
);
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12873 resultobj
= SWIG_From_long(static_cast< long >(result
));
12880 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12881 PyObject
*resultobj
= 0;
12882 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12884 long *arg3
= (long *) 0 ;
12885 long *arg4
= (long *) 0 ;
12891 int res3
= SWIG_TMPOBJ
;
12893 int res4
= SWIG_TMPOBJ
;
12894 PyObject
* obj0
= 0 ;
12895 PyObject
* obj1
= 0 ;
12896 char * kwnames
[] = {
12897 (char *) "self",(char *) "pos", NULL
12902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12904 if (!SWIG_IsOK(res1
)) {
12905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12907 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12908 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12909 if (!SWIG_IsOK(ecode2
)) {
12910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
12912 arg2
= static_cast< long >(val2
);
12914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12915 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
12916 wxPyEndAllowThreads(__tstate
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12919 resultobj
= SWIG_Py_Void();
12920 if (SWIG_IsTmpObj(res3
)) {
12921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12923 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12926 if (SWIG_IsTmpObj(res4
)) {
12927 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
12929 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12930 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
12938 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
= 0;
12940 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12946 PyObject
* obj0
= 0 ;
12947 PyObject
* obj1
= 0 ;
12948 char * kwnames
[] = {
12949 (char *) "self",(char *) "pos", NULL
12952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) 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_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
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_ShowPosition" "', expected argument " "2"" of type '" "long""'");
12962 arg2
= static_cast< long >(val2
);
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 (arg1
)->ShowPosition(arg2
);
12966 wxPyEndAllowThreads(__tstate
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12969 resultobj
= SWIG_Py_Void();
12976 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12977 PyObject
*resultobj
= 0;
12978 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12979 wxPoint
*arg2
= 0 ;
12980 long *arg3
= (long *) 0 ;
12981 long *arg4
= (long *) 0 ;
12982 wxTextCtrlHitTestResult result
;
12987 int res3
= SWIG_TMPOBJ
;
12989 int res4
= SWIG_TMPOBJ
;
12990 PyObject
* obj0
= 0 ;
12991 PyObject
* obj1
= 0 ;
12992 char * kwnames
[] = {
12993 (char *) "self",(char *) "pt", NULL
12998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13000 if (!SWIG_IsOK(res1
)) {
13001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13003 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13006 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13011 wxPyEndAllowThreads(__tstate
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13014 resultobj
= SWIG_From_int(static_cast< int >(result
));
13015 if (SWIG_IsTmpObj(res3
)) {
13016 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13018 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13019 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13021 if (SWIG_IsTmpObj(res4
)) {
13022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13024 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13033 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13034 PyObject
*resultobj
= 0;
13035 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13036 wxPoint
*arg2
= 0 ;
13037 long *arg3
= (long *) 0 ;
13038 wxTextCtrlHitTestResult result
;
13043 int res3
= SWIG_TMPOBJ
;
13044 PyObject
* obj0
= 0 ;
13045 PyObject
* obj1
= 0 ;
13046 char * kwnames
[] = {
13047 (char *) "self",(char *) "pt", NULL
13051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13053 if (!SWIG_IsOK(res1
)) {
13054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13056 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13059 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13063 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13067 resultobj
= SWIG_From_int(static_cast< int >(result
));
13068 if (SWIG_IsTmpObj(res3
)) {
13069 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13071 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13072 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13080 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13081 PyObject
*resultobj
= 0;
13082 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13085 PyObject
*swig_obj
[1] ;
13087 if (!args
) SWIG_fail
;
13088 swig_obj
[0] = args
;
13089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13090 if (!SWIG_IsOK(res1
)) {
13091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13093 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 wxPyEndAllowThreads(__tstate
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13100 resultobj
= SWIG_Py_Void();
13107 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13108 PyObject
*resultobj
= 0;
13109 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13112 PyObject
*swig_obj
[1] ;
13114 if (!args
) SWIG_fail
;
13115 swig_obj
[0] = args
;
13116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13117 if (!SWIG_IsOK(res1
)) {
13118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13120 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13127 resultobj
= SWIG_Py_Void();
13134 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13135 PyObject
*resultobj
= 0;
13136 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13139 PyObject
*swig_obj
[1] ;
13141 if (!args
) SWIG_fail
;
13142 swig_obj
[0] = args
;
13143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13144 if (!SWIG_IsOK(res1
)) {
13145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13147 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 resultobj
= SWIG_Py_Void();
13161 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13162 PyObject
*resultobj
= 0;
13163 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13167 PyObject
*swig_obj
[1] ;
13169 if (!args
) SWIG_fail
;
13170 swig_obj
[0] = args
;
13171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13172 if (!SWIG_IsOK(res1
)) {
13173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13175 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13191 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13192 PyObject
*resultobj
= 0;
13193 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13197 PyObject
*swig_obj
[1] ;
13199 if (!args
) SWIG_fail
;
13200 swig_obj
[0] = args
;
13201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13202 if (!SWIG_IsOK(res1
)) {
13203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13205 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13221 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13222 PyObject
*resultobj
= 0;
13223 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13227 PyObject
*swig_obj
[1] ;
13229 if (!args
) SWIG_fail
;
13230 swig_obj
[0] = args
;
13231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13232 if (!SWIG_IsOK(res1
)) {
13233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13235 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13239 wxPyEndAllowThreads(__tstate
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13251 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13252 PyObject
*resultobj
= 0;
13253 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13256 PyObject
*swig_obj
[1] ;
13258 if (!args
) SWIG_fail
;
13259 swig_obj
[0] = args
;
13260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13261 if (!SWIG_IsOK(res1
)) {
13262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13264 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 wxPyEndAllowThreads(__tstate
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13271 resultobj
= SWIG_Py_Void();
13278 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13279 PyObject
*resultobj
= 0;
13280 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13283 PyObject
*swig_obj
[1] ;
13285 if (!args
) SWIG_fail
;
13286 swig_obj
[0] = args
;
13287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13288 if (!SWIG_IsOK(res1
)) {
13289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13291 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_Py_Void();
13305 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13306 PyObject
*resultobj
= 0;
13307 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13311 PyObject
*swig_obj
[1] ;
13313 if (!args
) SWIG_fail
;
13314 swig_obj
[0] = args
;
13315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13316 if (!SWIG_IsOK(res1
)) {
13317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13319 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13322 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13335 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13336 PyObject
*resultobj
= 0;
13337 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13341 PyObject
*swig_obj
[1] ;
13343 if (!args
) SWIG_fail
;
13344 swig_obj
[0] = args
;
13345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13346 if (!SWIG_IsOK(res1
)) {
13347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13349 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13353 wxPyEndAllowThreads(__tstate
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13365 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13366 PyObject
*resultobj
= 0;
13367 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13373 PyObject
* obj0
= 0 ;
13374 PyObject
* obj1
= 0 ;
13375 char * kwnames
[] = {
13376 (char *) "self",(char *) "pos", NULL
13379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13381 if (!SWIG_IsOK(res1
)) {
13382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13384 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13385 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13386 if (!SWIG_IsOK(ecode2
)) {
13387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13389 arg2
= static_cast< long >(val2
);
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 (arg1
)->SetInsertionPoint(arg2
);
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13396 resultobj
= SWIG_Py_Void();
13403 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13404 PyObject
*resultobj
= 0;
13405 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13408 PyObject
*swig_obj
[1] ;
13410 if (!args
) SWIG_fail
;
13411 swig_obj
[0] = args
;
13412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13413 if (!SWIG_IsOK(res1
)) {
13414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13416 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 (arg1
)->SetInsertionPointEnd();
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= SWIG_Py_Void();
13430 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13431 PyObject
*resultobj
= 0;
13432 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13436 PyObject
*swig_obj
[1] ;
13438 if (!args
) SWIG_fail
;
13439 swig_obj
[0] = args
;
13440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13441 if (!SWIG_IsOK(res1
)) {
13442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13444 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= SWIG_From_long(static_cast< long >(result
));
13458 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13459 PyObject
*resultobj
= 0;
13460 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13464 PyObject
*swig_obj
[1] ;
13466 if (!args
) SWIG_fail
;
13467 swig_obj
[0] = args
;
13468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13469 if (!SWIG_IsOK(res1
)) {
13470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13472 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= SWIG_From_long(static_cast< long >(result
));
13486 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
= 0;
13488 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13497 PyObject
* obj0
= 0 ;
13498 PyObject
* obj1
= 0 ;
13499 PyObject
* obj2
= 0 ;
13500 char * kwnames
[] = {
13501 (char *) "self",(char *) "_from",(char *) "to", NULL
13504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13506 if (!SWIG_IsOK(res1
)) {
13507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13509 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13510 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13511 if (!SWIG_IsOK(ecode2
)) {
13512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13514 arg2
= static_cast< long >(val2
);
13515 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13516 if (!SWIG_IsOK(ecode3
)) {
13517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13519 arg3
= static_cast< long >(val3
);
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 (arg1
)->SetSelection(arg2
,arg3
);
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= SWIG_Py_Void();
13533 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13534 PyObject
*resultobj
= 0;
13535 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13538 PyObject
*swig_obj
[1] ;
13540 if (!args
) SWIG_fail
;
13541 swig_obj
[0] = args
;
13542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13543 if (!SWIG_IsOK(res1
)) {
13544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13546 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 (arg1
)->SelectAll();
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= SWIG_Py_Void();
13560 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
= 0;
13562 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13568 PyObject
* obj0
= 0 ;
13569 PyObject
* obj1
= 0 ;
13570 char * kwnames
[] = {
13571 (char *) "self",(char *) "editable", NULL
13574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13576 if (!SWIG_IsOK(res1
)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13579 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13580 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13581 if (!SWIG_IsOK(ecode2
)) {
13582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13584 arg2
= static_cast< bool >(val2
);
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 (arg1
)->SetEditable(arg2
);
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= SWIG_Py_Void();
13598 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
= 0;
13600 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13601 wxString
*arg2
= 0 ;
13604 bool temp2
= false ;
13605 PyObject
* obj0
= 0 ;
13606 PyObject
* obj1
= 0 ;
13607 char * kwnames
[] = {
13608 (char *) "self",(char *) "text", NULL
13611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13613 if (!SWIG_IsOK(res1
)) {
13614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13616 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13618 arg2
= wxString_in_helper(obj1
);
13619 if (arg2
== NULL
) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= SWIG_Py_Void();
13643 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13644 PyObject
*resultobj
= 0;
13645 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13655 PyObject
* obj0
= 0 ;
13656 PyObject
* obj1
= 0 ;
13657 PyObject
* obj2
= 0 ;
13658 char * kwnames
[] = {
13659 (char *) "self",(char *) "_from",(char *) "to", NULL
13662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13664 if (!SWIG_IsOK(res1
)) {
13665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13667 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13668 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13669 if (!SWIG_IsOK(ecode2
)) {
13670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13672 arg2
= static_cast< long >(val2
);
13673 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13674 if (!SWIG_IsOK(ecode3
)) {
13675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13677 arg3
= static_cast< long >(val3
);
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13681 wxPyEndAllowThreads(__tstate
);
13682 if (PyErr_Occurred()) SWIG_fail
;
13686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13697 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
= 0;
13699 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13700 SwigValueWrapper
<wxVisualAttributes
> result
;
13703 PyObject
* obj0
= 0 ;
13704 char * kwnames
[] = {
13705 (char *) "variant", NULL
13708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13710 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13711 if (!SWIG_IsOK(ecode1
)) {
13712 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13714 arg1
= static_cast< wxWindowVariant
>(val1
);
13717 if (!wxPyCheckForApp()) SWIG_fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13723 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13730 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13733 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13734 return SWIG_Py_Void();
13737 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13738 return SWIG_Python_InitShadowInstance(args
);
13741 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13742 PyObject
*resultobj
= 0;
13744 wxMouseEvent
*arg2
= 0 ;
13747 wxTextUrlEvent
*result
= 0 ;
13756 PyObject
* obj0
= 0 ;
13757 PyObject
* obj1
= 0 ;
13758 PyObject
* obj2
= 0 ;
13759 PyObject
* obj3
= 0 ;
13760 char * kwnames
[] = {
13761 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13765 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13766 if (!SWIG_IsOK(ecode1
)) {
13767 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13769 arg1
= static_cast< int >(val1
);
13770 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13771 if (!SWIG_IsOK(res2
)) {
13772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13777 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13778 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13779 if (!SWIG_IsOK(ecode3
)) {
13780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13782 arg3
= static_cast< long >(val3
);
13783 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13784 if (!SWIG_IsOK(ecode4
)) {
13785 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13787 arg4
= static_cast< long >(val4
);
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13801 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13802 PyObject
*resultobj
= 0;
13803 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13804 wxMouseEvent
*result
= 0 ;
13807 PyObject
*swig_obj
[1] ;
13809 if (!args
) SWIG_fail
;
13810 swig_obj
[0] = args
;
13811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13812 if (!SWIG_IsOK(res1
)) {
13813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13815 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13820 result
= (wxMouseEvent
*) &_result_ref
;
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
13832 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13833 PyObject
*resultobj
= 0;
13834 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13838 PyObject
*swig_obj
[1] ;
13840 if (!args
) SWIG_fail
;
13841 swig_obj
[0] = args
;
13842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13843 if (!SWIG_IsOK(res1
)) {
13844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13846 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13853 resultobj
= SWIG_From_long(static_cast< long >(result
));
13860 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13861 PyObject
*resultobj
= 0;
13862 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13866 PyObject
*swig_obj
[1] ;
13868 if (!args
) SWIG_fail
;
13869 swig_obj
[0] = args
;
13870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13871 if (!SWIG_IsOK(res1
)) {
13872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13874 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13881 resultobj
= SWIG_From_long(static_cast< long >(result
));
13888 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13890 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13891 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
13892 return SWIG_Py_Void();
13895 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13896 return SWIG_Python_InitShadowInstance(args
);
13899 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
13900 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
13905 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
13906 PyObject
*pyobj
= 0;
13910 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13912 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
13919 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13920 PyObject
*resultobj
= 0;
13921 wxWindow
*arg1
= (wxWindow
*) 0 ;
13922 int arg2
= (int) -1 ;
13923 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13924 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13925 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13926 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13927 long arg5
= (long) wxSB_HORIZONTAL
;
13928 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
13929 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
13930 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
13931 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13932 wxScrollBar
*result
= 0 ;
13943 bool temp7
= false ;
13944 PyObject
* obj0
= 0 ;
13945 PyObject
* obj1
= 0 ;
13946 PyObject
* obj2
= 0 ;
13947 PyObject
* obj3
= 0 ;
13948 PyObject
* obj4
= 0 ;
13949 PyObject
* obj5
= 0 ;
13950 PyObject
* obj6
= 0 ;
13951 char * kwnames
[] = {
13952 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13957 if (!SWIG_IsOK(res1
)) {
13958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
13960 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13963 if (!SWIG_IsOK(ecode2
)) {
13964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
13966 arg2
= static_cast< int >(val2
);
13971 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13977 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13981 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13982 if (!SWIG_IsOK(ecode5
)) {
13983 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
13985 arg5
= static_cast< long >(val5
);
13988 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
13989 if (!SWIG_IsOK(res6
)) {
13990 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
13993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
13995 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
13999 arg7
= wxString_in_helper(obj6
);
14000 if (arg7
== NULL
) SWIG_fail
;
14005 if (!wxPyCheckForApp()) SWIG_fail
;
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14026 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14027 PyObject
*resultobj
= 0;
14028 wxScrollBar
*result
= 0 ;
14030 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14032 if (!wxPyCheckForApp()) SWIG_fail
;
14033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14034 result
= (wxScrollBar
*)new wxScrollBar();
14035 wxPyEndAllowThreads(__tstate
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14045 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
= 0;
14047 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14048 wxWindow
*arg2
= (wxWindow
*) 0 ;
14049 int arg3
= (int) -1 ;
14050 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14051 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14052 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14053 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14054 long arg6
= (long) wxSB_HORIZONTAL
;
14055 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14056 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14057 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14058 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14072 bool temp8
= false ;
14073 PyObject
* obj0
= 0 ;
14074 PyObject
* obj1
= 0 ;
14075 PyObject
* obj2
= 0 ;
14076 PyObject
* obj3
= 0 ;
14077 PyObject
* obj4
= 0 ;
14078 PyObject
* obj5
= 0 ;
14079 PyObject
* obj6
= 0 ;
14080 PyObject
* obj7
= 0 ;
14081 char * kwnames
[] = {
14082 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14087 if (!SWIG_IsOK(res1
)) {
14088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14090 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14091 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14092 if (!SWIG_IsOK(res2
)) {
14093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14095 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14098 if (!SWIG_IsOK(ecode3
)) {
14099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14101 arg3
= static_cast< int >(val3
);
14106 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14112 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14116 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14117 if (!SWIG_IsOK(ecode6
)) {
14118 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14120 arg6
= static_cast< long >(val6
);
14123 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14124 if (!SWIG_IsOK(res7
)) {
14125 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14130 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14134 arg8
= wxString_in_helper(obj7
);
14135 if (arg8
== NULL
) SWIG_fail
;
14140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14141 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14142 wxPyEndAllowThreads(__tstate
);
14143 if (PyErr_Occurred()) SWIG_fail
;
14146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14162 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14163 PyObject
*resultobj
= 0;
14164 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14168 PyObject
*swig_obj
[1] ;
14170 if (!args
) SWIG_fail
;
14171 swig_obj
[0] = args
;
14172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14173 if (!SWIG_IsOK(res1
)) {
14174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14176 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= SWIG_From_int(static_cast< int >(result
));
14190 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14191 PyObject
*resultobj
= 0;
14192 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14196 PyObject
*swig_obj
[1] ;
14198 if (!args
) SWIG_fail
;
14199 swig_obj
[0] = args
;
14200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14201 if (!SWIG_IsOK(res1
)) {
14202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14204 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= SWIG_From_int(static_cast< int >(result
));
14218 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14219 PyObject
*resultobj
= 0;
14220 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14224 PyObject
*swig_obj
[1] ;
14226 if (!args
) SWIG_fail
;
14227 swig_obj
[0] = args
;
14228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14229 if (!SWIG_IsOK(res1
)) {
14230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14232 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 resultobj
= SWIG_From_int(static_cast< int >(result
));
14246 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14247 PyObject
*resultobj
= 0;
14248 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14252 PyObject
*swig_obj
[1] ;
14254 if (!args
) SWIG_fail
;
14255 swig_obj
[0] = args
;
14256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14257 if (!SWIG_IsOK(res1
)) {
14258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14260 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 resultobj
= SWIG_From_int(static_cast< int >(result
));
14274 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14275 PyObject
*resultobj
= 0;
14276 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14280 PyObject
*swig_obj
[1] ;
14282 if (!args
) SWIG_fail
;
14283 swig_obj
[0] = args
;
14284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14285 if (!SWIG_IsOK(res1
)) {
14286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14288 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14304 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
= 0;
14306 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14312 PyObject
* obj0
= 0 ;
14313 PyObject
* obj1
= 0 ;
14314 char * kwnames
[] = {
14315 (char *) "self",(char *) "viewStart", NULL
14318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14320 if (!SWIG_IsOK(res1
)) {
14321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14323 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14325 if (!SWIG_IsOK(ecode2
)) {
14326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14328 arg2
= static_cast< int >(val2
);
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 (arg1
)->SetThumbPosition(arg2
);
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 resultobj
= SWIG_Py_Void();
14342 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
= 0;
14344 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14345 SwigValueWrapper
<wxVisualAttributes
> result
;
14348 PyObject
* obj0
= 0 ;
14349 char * kwnames
[] = {
14350 (char *) "variant", NULL
14353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14355 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14356 if (!SWIG_IsOK(ecode1
)) {
14357 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14359 arg1
= static_cast< wxWindowVariant
>(val1
);
14362 if (!wxPyCheckForApp()) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14375 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14378 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14379 return SWIG_Py_Void();
14382 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14383 return SWIG_Python_InitShadowInstance(args
);
14386 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14387 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14392 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14393 PyObject
*pyobj
= 0;
14397 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14399 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14406 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14407 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14412 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14413 PyObject
*pyobj
= 0;
14417 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14419 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14426 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14427 PyObject
*resultobj
= 0;
14428 wxWindow
*arg1
= (wxWindow
*) 0 ;
14429 int arg2
= (int) -1 ;
14430 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14431 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14432 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14433 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14434 long arg5
= (long) wxSP_HORIZONTAL
;
14435 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14436 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14437 wxSpinButton
*result
= 0 ;
14446 bool temp6
= false ;
14447 PyObject
* obj0
= 0 ;
14448 PyObject
* obj1
= 0 ;
14449 PyObject
* obj2
= 0 ;
14450 PyObject
* obj3
= 0 ;
14451 PyObject
* obj4
= 0 ;
14452 PyObject
* obj5
= 0 ;
14453 char * kwnames
[] = {
14454 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14459 if (!SWIG_IsOK(res1
)) {
14460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14462 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14465 if (!SWIG_IsOK(ecode2
)) {
14466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14468 arg2
= static_cast< int >(val2
);
14473 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14479 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14483 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14484 if (!SWIG_IsOK(ecode5
)) {
14485 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14487 arg5
= static_cast< long >(val5
);
14491 arg6
= wxString_in_helper(obj5
);
14492 if (arg6
== NULL
) SWIG_fail
;
14497 if (!wxPyCheckForApp()) SWIG_fail
;
14498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14499 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14500 wxPyEndAllowThreads(__tstate
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14518 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14519 PyObject
*resultobj
= 0;
14520 wxSpinButton
*result
= 0 ;
14522 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14524 if (!wxPyCheckForApp()) SWIG_fail
;
14525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14526 result
= (wxSpinButton
*)new wxSpinButton();
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14537 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
= 0;
14539 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14540 wxWindow
*arg2
= (wxWindow
*) 0 ;
14541 int arg3
= (int) -1 ;
14542 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14543 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14544 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14545 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14546 long arg6
= (long) wxSP_HORIZONTAL
;
14547 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14548 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14560 bool temp7
= false ;
14561 PyObject
* obj0
= 0 ;
14562 PyObject
* obj1
= 0 ;
14563 PyObject
* obj2
= 0 ;
14564 PyObject
* obj3
= 0 ;
14565 PyObject
* obj4
= 0 ;
14566 PyObject
* obj5
= 0 ;
14567 PyObject
* obj6
= 0 ;
14568 char * kwnames
[] = {
14569 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14574 if (!SWIG_IsOK(res1
)) {
14575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14577 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14578 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14579 if (!SWIG_IsOK(res2
)) {
14580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14582 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14585 if (!SWIG_IsOK(ecode3
)) {
14586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14588 arg3
= static_cast< int >(val3
);
14593 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14599 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14603 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14604 if (!SWIG_IsOK(ecode6
)) {
14605 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14607 arg6
= static_cast< long >(val6
);
14611 arg7
= wxString_in_helper(obj6
);
14612 if (arg7
== NULL
) SWIG_fail
;
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14639 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14640 PyObject
*resultobj
= 0;
14641 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14645 PyObject
*swig_obj
[1] ;
14647 if (!args
) SWIG_fail
;
14648 swig_obj
[0] = args
;
14649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14650 if (!SWIG_IsOK(res1
)) {
14651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14653 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14657 wxPyEndAllowThreads(__tstate
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14660 resultobj
= SWIG_From_int(static_cast< int >(result
));
14667 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14668 PyObject
*resultobj
= 0;
14669 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14673 PyObject
*swig_obj
[1] ;
14675 if (!args
) SWIG_fail
;
14676 swig_obj
[0] = args
;
14677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14678 if (!SWIG_IsOK(res1
)) {
14679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14681 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14688 resultobj
= SWIG_From_int(static_cast< int >(result
));
14695 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14696 PyObject
*resultobj
= 0;
14697 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14701 PyObject
*swig_obj
[1] ;
14703 if (!args
) SWIG_fail
;
14704 swig_obj
[0] = args
;
14705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14706 if (!SWIG_IsOK(res1
)) {
14707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14709 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14713 wxPyEndAllowThreads(__tstate
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14716 resultobj
= SWIG_From_int(static_cast< int >(result
));
14723 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14724 PyObject
*resultobj
= 0;
14725 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14731 PyObject
* obj0
= 0 ;
14732 PyObject
* obj1
= 0 ;
14733 char * kwnames
[] = {
14734 (char *) "self",(char *) "val", NULL
14737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14739 if (!SWIG_IsOK(res1
)) {
14740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14742 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14744 if (!SWIG_IsOK(ecode2
)) {
14745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14747 arg2
= static_cast< int >(val2
);
14749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14750 (arg1
)->SetValue(arg2
);
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 resultobj
= SWIG_Py_Void();
14761 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
= 0;
14763 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14769 PyObject
* obj0
= 0 ;
14770 PyObject
* obj1
= 0 ;
14771 char * kwnames
[] = {
14772 (char *) "self",(char *) "minVal", NULL
14775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14777 if (!SWIG_IsOK(res1
)) {
14778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14780 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14782 if (!SWIG_IsOK(ecode2
)) {
14783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14785 arg2
= static_cast< int >(val2
);
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 (arg1
)->SetMin(arg2
);
14789 wxPyEndAllowThreads(__tstate
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14792 resultobj
= SWIG_Py_Void();
14799 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14800 PyObject
*resultobj
= 0;
14801 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14807 PyObject
* obj0
= 0 ;
14808 PyObject
* obj1
= 0 ;
14809 char * kwnames
[] = {
14810 (char *) "self",(char *) "maxVal", NULL
14813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14815 if (!SWIG_IsOK(res1
)) {
14816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14818 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14820 if (!SWIG_IsOK(ecode2
)) {
14821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14823 arg2
= static_cast< int >(val2
);
14825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14826 (arg1
)->SetMax(arg2
);
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= SWIG_Py_Void();
14837 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
= 0;
14839 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14848 PyObject
* obj0
= 0 ;
14849 PyObject
* obj1
= 0 ;
14850 PyObject
* obj2
= 0 ;
14851 char * kwnames
[] = {
14852 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14857 if (!SWIG_IsOK(res1
)) {
14858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14860 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14862 if (!SWIG_IsOK(ecode2
)) {
14863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14865 arg2
= static_cast< int >(val2
);
14866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14867 if (!SWIG_IsOK(ecode3
)) {
14868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14870 arg3
= static_cast< int >(val3
);
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 (arg1
)->SetRange(arg2
,arg3
);
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= SWIG_Py_Void();
14884 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14885 PyObject
*resultobj
= 0;
14886 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14890 PyObject
*swig_obj
[1] ;
14892 if (!args
) SWIG_fail
;
14893 swig_obj
[0] = args
;
14894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14895 if (!SWIG_IsOK(res1
)) {
14896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14898 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14914 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
= 0;
14916 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14917 SwigValueWrapper
<wxVisualAttributes
> result
;
14920 PyObject
* obj0
= 0 ;
14921 char * kwnames
[] = {
14922 (char *) "variant", NULL
14925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14927 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14928 if (!SWIG_IsOK(ecode1
)) {
14929 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14931 arg1
= static_cast< wxWindowVariant
>(val1
);
14934 if (!wxPyCheckForApp()) SWIG_fail
;
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14947 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14950 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
14951 return SWIG_Py_Void();
14954 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14955 return SWIG_Python_InitShadowInstance(args
);
14958 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
= 0;
14960 wxWindow
*arg1
= (wxWindow
*) 0 ;
14961 int arg2
= (int) -1 ;
14962 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14963 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14964 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14965 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14966 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14967 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14968 long arg6
= (long) wxSP_ARROW_KEYS
;
14969 int arg7
= (int) 0 ;
14970 int arg8
= (int) 100 ;
14971 int arg9
= (int) 0 ;
14972 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
14973 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
14974 wxSpinCtrl
*result
= 0 ;
14979 bool temp3
= false ;
14990 bool temp10
= false ;
14991 PyObject
* obj0
= 0 ;
14992 PyObject
* obj1
= 0 ;
14993 PyObject
* obj2
= 0 ;
14994 PyObject
* obj3
= 0 ;
14995 PyObject
* obj4
= 0 ;
14996 PyObject
* obj5
= 0 ;
14997 PyObject
* obj6
= 0 ;
14998 PyObject
* obj7
= 0 ;
14999 PyObject
* obj8
= 0 ;
15000 PyObject
* obj9
= 0 ;
15001 char * kwnames
[] = {
15002 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15007 if (!SWIG_IsOK(res1
)) {
15008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15010 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15013 if (!SWIG_IsOK(ecode2
)) {
15014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15016 arg2
= static_cast< int >(val2
);
15020 arg3
= wxString_in_helper(obj2
);
15021 if (arg3
== NULL
) SWIG_fail
;
15028 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15034 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15038 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15039 if (!SWIG_IsOK(ecode6
)) {
15040 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15042 arg6
= static_cast< long >(val6
);
15045 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15046 if (!SWIG_IsOK(ecode7
)) {
15047 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15049 arg7
= static_cast< int >(val7
);
15052 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15053 if (!SWIG_IsOK(ecode8
)) {
15054 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15056 arg8
= static_cast< int >(val8
);
15059 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15060 if (!SWIG_IsOK(ecode9
)) {
15061 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15063 arg9
= static_cast< int >(val9
);
15067 arg10
= wxString_in_helper(obj9
);
15068 if (arg10
== NULL
) SWIG_fail
;
15073 if (!wxPyCheckForApp()) SWIG_fail
;
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15102 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15103 PyObject
*resultobj
= 0;
15104 wxSpinCtrl
*result
= 0 ;
15106 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15108 if (!wxPyCheckForApp()) SWIG_fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15121 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
= 0;
15123 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15124 wxWindow
*arg2
= (wxWindow
*) 0 ;
15125 int arg3
= (int) -1 ;
15126 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15127 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15128 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15129 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15130 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15131 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15132 long arg7
= (long) wxSP_ARROW_KEYS
;
15133 int arg8
= (int) 0 ;
15134 int arg9
= (int) 100 ;
15135 int arg10
= (int) 0 ;
15136 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15137 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15145 bool temp4
= false ;
15156 bool temp11
= false ;
15157 PyObject
* obj0
= 0 ;
15158 PyObject
* obj1
= 0 ;
15159 PyObject
* obj2
= 0 ;
15160 PyObject
* obj3
= 0 ;
15161 PyObject
* obj4
= 0 ;
15162 PyObject
* obj5
= 0 ;
15163 PyObject
* obj6
= 0 ;
15164 PyObject
* obj7
= 0 ;
15165 PyObject
* obj8
= 0 ;
15166 PyObject
* obj9
= 0 ;
15167 PyObject
* obj10
= 0 ;
15168 char * kwnames
[] = {
15169 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15174 if (!SWIG_IsOK(res1
)) {
15175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15177 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15178 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15179 if (!SWIG_IsOK(res2
)) {
15180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15182 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15184 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15185 if (!SWIG_IsOK(ecode3
)) {
15186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15188 arg3
= static_cast< int >(val3
);
15192 arg4
= wxString_in_helper(obj3
);
15193 if (arg4
== NULL
) SWIG_fail
;
15200 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15206 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15210 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15211 if (!SWIG_IsOK(ecode7
)) {
15212 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15214 arg7
= static_cast< long >(val7
);
15217 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15218 if (!SWIG_IsOK(ecode8
)) {
15219 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15221 arg8
= static_cast< int >(val8
);
15224 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15225 if (!SWIG_IsOK(ecode9
)) {
15226 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15228 arg9
= static_cast< int >(val9
);
15231 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15232 if (!SWIG_IsOK(ecode10
)) {
15233 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15235 arg10
= static_cast< int >(val10
);
15239 arg11
= wxString_in_helper(obj10
);
15240 if (arg11
== NULL
) SWIG_fail
;
15245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15246 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15275 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15276 PyObject
*resultobj
= 0;
15277 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15281 PyObject
*swig_obj
[1] ;
15283 if (!args
) SWIG_fail
;
15284 swig_obj
[0] = args
;
15285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15286 if (!SWIG_IsOK(res1
)) {
15287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15289 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15292 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15296 resultobj
= SWIG_From_int(static_cast< int >(result
));
15303 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
= 0;
15305 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15311 PyObject
* obj0
= 0 ;
15312 PyObject
* obj1
= 0 ;
15313 char * kwnames
[] = {
15314 (char *) "self",(char *) "value", NULL
15317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15319 if (!SWIG_IsOK(res1
)) {
15320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15322 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15324 if (!SWIG_IsOK(ecode2
)) {
15325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15327 arg2
= static_cast< int >(val2
);
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15330 (arg1
)->SetValue(arg2
);
15331 wxPyEndAllowThreads(__tstate
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15334 resultobj
= SWIG_Py_Void();
15341 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
= 0;
15343 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15344 wxString
*arg2
= 0 ;
15347 bool temp2
= false ;
15348 PyObject
* obj0
= 0 ;
15349 PyObject
* obj1
= 0 ;
15350 char * kwnames
[] = {
15351 (char *) "self",(char *) "text", NULL
15354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15356 if (!SWIG_IsOK(res1
)) {
15357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15359 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15361 arg2
= wxString_in_helper(obj1
);
15362 if (arg2
== NULL
) SWIG_fail
;
15366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15367 (arg1
)->SetValue((wxString
const &)*arg2
);
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15371 resultobj
= SWIG_Py_Void();
15386 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
= 0;
15388 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15397 PyObject
* obj0
= 0 ;
15398 PyObject
* obj1
= 0 ;
15399 PyObject
* obj2
= 0 ;
15400 char * kwnames
[] = {
15401 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15406 if (!SWIG_IsOK(res1
)) {
15407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15409 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15411 if (!SWIG_IsOK(ecode2
)) {
15412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15414 arg2
= static_cast< int >(val2
);
15415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15416 if (!SWIG_IsOK(ecode3
)) {
15417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15419 arg3
= static_cast< int >(val3
);
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 (arg1
)->SetRange(arg2
,arg3
);
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= SWIG_Py_Void();
15433 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15434 PyObject
*resultobj
= 0;
15435 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15439 PyObject
*swig_obj
[1] ;
15441 if (!args
) SWIG_fail
;
15442 swig_obj
[0] = args
;
15443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15444 if (!SWIG_IsOK(res1
)) {
15445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15447 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= SWIG_From_int(static_cast< int >(result
));
15461 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15462 PyObject
*resultobj
= 0;
15463 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15467 PyObject
*swig_obj
[1] ;
15469 if (!args
) SWIG_fail
;
15470 swig_obj
[0] = args
;
15471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15472 if (!SWIG_IsOK(res1
)) {
15473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15475 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15478 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= SWIG_From_int(static_cast< int >(result
));
15489 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
= 0;
15491 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15500 PyObject
* obj0
= 0 ;
15501 PyObject
* obj1
= 0 ;
15502 PyObject
* obj2
= 0 ;
15503 char * kwnames
[] = {
15504 (char *) "self",(char *) "_from",(char *) "to", NULL
15507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15509 if (!SWIG_IsOK(res1
)) {
15510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15512 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15513 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15514 if (!SWIG_IsOK(ecode2
)) {
15515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15517 arg2
= static_cast< long >(val2
);
15518 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15519 if (!SWIG_IsOK(ecode3
)) {
15520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15522 arg3
= static_cast< long >(val3
);
15524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15525 (arg1
)->SetSelection(arg2
,arg3
);
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 resultobj
= SWIG_Py_Void();
15536 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
= 0;
15538 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15539 SwigValueWrapper
<wxVisualAttributes
> result
;
15542 PyObject
* obj0
= 0 ;
15543 char * kwnames
[] = {
15544 (char *) "variant", NULL
15547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15549 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15550 if (!SWIG_IsOK(ecode1
)) {
15551 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15553 arg1
= static_cast< wxWindowVariant
>(val1
);
15556 if (!wxPyCheckForApp()) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15569 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15572 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15573 return SWIG_Py_Void();
15576 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15577 return SWIG_Python_InitShadowInstance(args
);
15580 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15581 PyObject
*resultobj
= 0;
15582 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15583 int arg2
= (int) 0 ;
15584 wxSpinEvent
*result
= 0 ;
15589 PyObject
* obj0
= 0 ;
15590 PyObject
* obj1
= 0 ;
15591 char * kwnames
[] = {
15592 (char *) "commandType",(char *) "winid", NULL
15595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15597 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15598 if (!SWIG_IsOK(ecode1
)) {
15599 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15601 arg1
= static_cast< wxEventType
>(val1
);
15604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15605 if (!SWIG_IsOK(ecode2
)) {
15606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15608 arg2
= static_cast< int >(val2
);
15611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15612 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15613 wxPyEndAllowThreads(__tstate
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15623 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15624 PyObject
*resultobj
= 0;
15625 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15629 PyObject
*swig_obj
[1] ;
15631 if (!args
) SWIG_fail
;
15632 swig_obj
[0] = args
;
15633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15634 if (!SWIG_IsOK(res1
)) {
15635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15637 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 resultobj
= SWIG_From_int(static_cast< int >(result
));
15651 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
= 0;
15653 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15659 PyObject
* obj0
= 0 ;
15660 PyObject
* obj1
= 0 ;
15661 char * kwnames
[] = {
15662 (char *) "self",(char *) "pos", NULL
15665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15667 if (!SWIG_IsOK(res1
)) {
15668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15670 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15672 if (!SWIG_IsOK(ecode2
)) {
15673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15675 arg2
= static_cast< int >(val2
);
15677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15678 (arg1
)->SetPosition(arg2
);
15679 wxPyEndAllowThreads(__tstate
);
15680 if (PyErr_Occurred()) SWIG_fail
;
15682 resultobj
= SWIG_Py_Void();
15689 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15691 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15692 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15693 return SWIG_Py_Void();
15696 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15697 return SWIG_Python_InitShadowInstance(args
);
15700 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15701 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15706 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15707 PyObject
*pyobj
= 0;
15711 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15713 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15720 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15721 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15726 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15727 PyObject
*pyobj
= 0;
15731 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15733 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15740 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15741 PyObject
*resultobj
= 0;
15742 wxWindow
*arg1
= (wxWindow
*) 0 ;
15743 int arg2
= (int) -1 ;
15744 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15745 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15746 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15747 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15748 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15749 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15750 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15751 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15752 int arg7
= (int) 0 ;
15753 long arg8
= (long) wxRA_HORIZONTAL
;
15754 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15755 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15756 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15757 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15758 wxRadioBox
*result
= 0 ;
15763 bool temp3
= false ;
15766 bool temp6
= false ;
15773 bool temp10
= false ;
15774 PyObject
* obj0
= 0 ;
15775 PyObject
* obj1
= 0 ;
15776 PyObject
* obj2
= 0 ;
15777 PyObject
* obj3
= 0 ;
15778 PyObject
* obj4
= 0 ;
15779 PyObject
* obj5
= 0 ;
15780 PyObject
* obj6
= 0 ;
15781 PyObject
* obj7
= 0 ;
15782 PyObject
* obj8
= 0 ;
15783 PyObject
* obj9
= 0 ;
15784 char * kwnames
[] = {
15785 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15790 if (!SWIG_IsOK(res1
)) {
15791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15793 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15796 if (!SWIG_IsOK(ecode2
)) {
15797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15799 arg2
= static_cast< int >(val2
);
15803 arg3
= wxString_in_helper(obj2
);
15804 if (arg3
== NULL
) SWIG_fail
;
15811 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15817 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15822 if (! PySequence_Check(obj5
)) {
15823 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15826 arg6
= new wxArrayString
;
15828 int i
, len
=PySequence_Length(obj5
);
15829 for (i
=0; i
<len
; i
++) {
15830 PyObject
* item
= PySequence_GetItem(obj5
, i
);
15831 wxString
* s
= wxString_in_helper(item
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15840 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15841 if (!SWIG_IsOK(ecode7
)) {
15842 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15844 arg7
= static_cast< int >(val7
);
15847 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
15848 if (!SWIG_IsOK(ecode8
)) {
15849 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15851 arg8
= static_cast< long >(val8
);
15854 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
15855 if (!SWIG_IsOK(res9
)) {
15856 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15861 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
15865 arg10
= wxString_in_helper(obj9
);
15866 if (arg10
== NULL
) SWIG_fail
;
15871 if (!wxPyCheckForApp()) SWIG_fail
;
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 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
);
15874 wxPyEndAllowThreads(__tstate
);
15875 if (PyErr_Occurred()) SWIG_fail
;
15877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
15883 if (temp6
) delete arg6
;
15896 if (temp6
) delete arg6
;
15906 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15907 PyObject
*resultobj
= 0;
15908 wxRadioBox
*result
= 0 ;
15910 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
15912 if (!wxPyCheckForApp()) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 result
= (wxRadioBox
*)new wxRadioBox();
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
15925 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15926 PyObject
*resultobj
= 0;
15927 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
15928 wxWindow
*arg2
= (wxWindow
*) 0 ;
15929 int arg3
= (int) -1 ;
15930 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15931 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15932 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15933 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15934 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15935 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15936 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
15937 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
15938 int arg8
= (int) 0 ;
15939 long arg9
= (long) wxRA_HORIZONTAL
;
15940 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
15941 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
15942 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
15943 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15951 bool temp4
= false ;
15954 bool temp7
= false ;
15961 bool temp11
= false ;
15962 PyObject
* obj0
= 0 ;
15963 PyObject
* obj1
= 0 ;
15964 PyObject
* obj2
= 0 ;
15965 PyObject
* obj3
= 0 ;
15966 PyObject
* obj4
= 0 ;
15967 PyObject
* obj5
= 0 ;
15968 PyObject
* obj6
= 0 ;
15969 PyObject
* obj7
= 0 ;
15970 PyObject
* obj8
= 0 ;
15971 PyObject
* obj9
= 0 ;
15972 PyObject
* obj10
= 0 ;
15973 char * kwnames
[] = {
15974 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
15979 if (!SWIG_IsOK(res1
)) {
15980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
15982 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
15983 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15984 if (!SWIG_IsOK(res2
)) {
15985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15987 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15989 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15990 if (!SWIG_IsOK(ecode3
)) {
15991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
15993 arg3
= static_cast< int >(val3
);
15997 arg4
= wxString_in_helper(obj3
);
15998 if (arg4
== NULL
) SWIG_fail
;
16005 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16011 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16016 if (! PySequence_Check(obj6
)) {
16017 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16020 arg7
= new wxArrayString
;
16022 int i
, len
=PySequence_Length(obj6
);
16023 for (i
=0; i
<len
; i
++) {
16024 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16025 wxString
* s
= wxString_in_helper(item
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16034 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16035 if (!SWIG_IsOK(ecode8
)) {
16036 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16038 arg8
= static_cast< int >(val8
);
16041 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16042 if (!SWIG_IsOK(ecode9
)) {
16043 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16045 arg9
= static_cast< long >(val9
);
16048 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16049 if (!SWIG_IsOK(res10
)) {
16050 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16055 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16059 arg11
= wxString_in_helper(obj10
);
16060 if (arg11
== NULL
) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 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
);
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16078 if (temp7
) delete arg7
;
16091 if (temp7
) delete arg7
;
16101 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
= 0;
16103 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16109 PyObject
* obj0
= 0 ;
16110 PyObject
* obj1
= 0 ;
16111 char * kwnames
[] = {
16112 (char *) "self",(char *) "n", NULL
16115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16117 if (!SWIG_IsOK(res1
)) {
16118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16120 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16122 if (!SWIG_IsOK(ecode2
)) {
16123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16125 arg2
= static_cast< int >(val2
);
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 (arg1
)->SetSelection(arg2
);
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16132 resultobj
= SWIG_Py_Void();
16139 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16140 PyObject
*resultobj
= 0;
16141 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16145 PyObject
*swig_obj
[1] ;
16147 if (!args
) SWIG_fail
;
16148 swig_obj
[0] = args
;
16149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16150 if (!SWIG_IsOK(res1
)) {
16151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16153 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= SWIG_From_int(static_cast< int >(result
));
16167 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16168 PyObject
*resultobj
= 0;
16169 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16173 PyObject
*swig_obj
[1] ;
16175 if (!args
) SWIG_fail
;
16176 swig_obj
[0] = args
;
16177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16178 if (!SWIG_IsOK(res1
)) {
16179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16181 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16201 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
= 0;
16203 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16204 wxString
*arg2
= 0 ;
16208 bool temp2
= false ;
16209 PyObject
* obj0
= 0 ;
16210 PyObject
* obj1
= 0 ;
16211 char * kwnames
[] = {
16212 (char *) "self",(char *) "s", NULL
16215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16217 if (!SWIG_IsOK(res1
)) {
16218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16220 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16222 arg2
= wxString_in_helper(obj1
);
16223 if (arg2
== NULL
) SWIG_fail
;
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16249 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16250 PyObject
*resultobj
= 0;
16251 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16255 PyObject
*swig_obj
[1] ;
16257 if (!args
) SWIG_fail
;
16258 swig_obj
[0] = args
;
16259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16260 if (!SWIG_IsOK(res1
)) {
16261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16263 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16267 wxPyEndAllowThreads(__tstate
);
16268 if (PyErr_Occurred()) SWIG_fail
;
16270 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16277 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16278 PyObject
*resultobj
= 0;
16279 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16280 wxString
*arg2
= 0 ;
16284 bool temp2
= false ;
16285 PyObject
* obj0
= 0 ;
16286 PyObject
* obj1
= 0 ;
16287 char * kwnames
[] = {
16288 (char *) "self",(char *) "s", NULL
16291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16293 if (!SWIG_IsOK(res1
)) {
16294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16296 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16298 arg2
= wxString_in_helper(obj1
);
16299 if (arg2
== NULL
) SWIG_fail
;
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16308 resultobj
= SWIG_From_int(static_cast< int >(result
));
16323 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
= 0;
16325 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16332 PyObject
* obj0
= 0 ;
16333 PyObject
* obj1
= 0 ;
16334 char * kwnames
[] = {
16335 (char *) "self",(char *) "n", NULL
16338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16340 if (!SWIG_IsOK(res1
)) {
16341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16343 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16345 if (!SWIG_IsOK(ecode2
)) {
16346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16348 arg2
= static_cast< int >(val2
);
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16352 wxPyEndAllowThreads(__tstate
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16368 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16369 PyObject
*resultobj
= 0;
16370 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16372 wxString
*arg3
= 0 ;
16377 bool temp3
= false ;
16378 PyObject
* obj0
= 0 ;
16379 PyObject
* obj1
= 0 ;
16380 PyObject
* obj2
= 0 ;
16381 char * kwnames
[] = {
16382 (char *) "self",(char *) "n",(char *) "label", NULL
16385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16387 if (!SWIG_IsOK(res1
)) {
16388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16390 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16392 if (!SWIG_IsOK(ecode2
)) {
16393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16395 arg2
= static_cast< int >(val2
);
16397 arg3
= wxString_in_helper(obj2
);
16398 if (arg3
== NULL
) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16404 wxPyEndAllowThreads(__tstate
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16407 resultobj
= SWIG_Py_Void();
16422 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16423 PyObject
*resultobj
= 0;
16424 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16426 bool arg3
= (bool) true ;
16433 PyObject
* obj0
= 0 ;
16434 PyObject
* obj1
= 0 ;
16435 PyObject
* obj2
= 0 ;
16436 char * kwnames
[] = {
16437 (char *) "self",(char *) "n",(char *) "enable", NULL
16440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16442 if (!SWIG_IsOK(res1
)) {
16443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16445 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16447 if (!SWIG_IsOK(ecode2
)) {
16448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "int""'");
16450 arg2
= static_cast< int >(val2
);
16452 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16453 if (!SWIG_IsOK(ecode3
)) {
16454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16456 arg3
= static_cast< bool >(val3
);
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 (arg1
)->Enable(arg2
,arg3
);
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16464 resultobj
= SWIG_Py_Void();
16471 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
= 0;
16473 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16475 bool arg3
= (bool) true ;
16482 PyObject
* obj0
= 0 ;
16483 PyObject
* obj1
= 0 ;
16484 PyObject
* obj2
= 0 ;
16485 char * kwnames
[] = {
16486 (char *) "self",(char *) "n",(char *) "show", NULL
16489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16491 if (!SWIG_IsOK(res1
)) {
16492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16494 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16496 if (!SWIG_IsOK(ecode2
)) {
16497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "int""'");
16499 arg2
= static_cast< int >(val2
);
16501 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16502 if (!SWIG_IsOK(ecode3
)) {
16503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16505 arg3
= static_cast< bool >(val3
);
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 (arg1
)->Show(arg2
,arg3
);
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 resultobj
= SWIG_Py_Void();
16520 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16521 PyObject
*resultobj
= 0;
16522 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16526 PyObject
*swig_obj
[1] ;
16528 if (!args
) SWIG_fail
;
16529 swig_obj
[0] = args
;
16530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16531 if (!SWIG_IsOK(res1
)) {
16532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16534 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16537 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16541 resultobj
= SWIG_From_int(static_cast< int >(result
));
16548 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16549 PyObject
*resultobj
= 0;
16550 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16554 PyObject
*swig_obj
[1] ;
16556 if (!args
) SWIG_fail
;
16557 swig_obj
[0] = args
;
16558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16559 if (!SWIG_IsOK(res1
)) {
16560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16562 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16565 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
16566 wxPyEndAllowThreads(__tstate
);
16567 if (PyErr_Occurred()) SWIG_fail
;
16569 resultobj
= SWIG_From_int(static_cast< int >(result
));
16576 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
= 0;
16578 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16591 PyObject
* obj0
= 0 ;
16592 PyObject
* obj1
= 0 ;
16593 PyObject
* obj2
= 0 ;
16594 PyObject
* obj3
= 0 ;
16595 char * kwnames
[] = {
16596 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16601 if (!SWIG_IsOK(res1
)) {
16602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16604 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16606 if (!SWIG_IsOK(ecode2
)) {
16607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16609 arg2
= static_cast< int >(val2
);
16610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16611 if (!SWIG_IsOK(ecode3
)) {
16612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16614 arg3
= static_cast< wxDirection
>(val3
);
16615 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16616 if (!SWIG_IsOK(ecode4
)) {
16617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16619 arg4
= static_cast< long >(val4
);
16621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16622 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,arg3
,arg4
);
16623 wxPyEndAllowThreads(__tstate
);
16624 if (PyErr_Occurred()) SWIG_fail
;
16626 resultobj
= SWIG_From_int(static_cast< int >(result
));
16633 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16634 PyObject
*resultobj
= 0;
16635 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16636 SwigValueWrapper
<wxVisualAttributes
> result
;
16639 PyObject
* obj0
= 0 ;
16640 char * kwnames
[] = {
16641 (char *) "variant", NULL
16644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16646 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16647 if (!SWIG_IsOK(ecode1
)) {
16648 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16650 arg1
= static_cast< wxWindowVariant
>(val1
);
16653 if (!wxPyCheckForApp()) SWIG_fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16659 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16666 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16669 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
16670 return SWIG_Py_Void();
16673 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16674 return SWIG_Python_InitShadowInstance(args
);
16677 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16678 PyObject
*resultobj
= 0;
16679 wxWindow
*arg1
= (wxWindow
*) 0 ;
16680 int arg2
= (int) -1 ;
16681 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16682 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16683 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16684 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16685 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16686 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16687 long arg6
= (long) 0 ;
16688 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
16689 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
16690 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
16691 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16692 wxRadioButton
*result
= 0 ;
16697 bool temp3
= false ;
16704 bool temp8
= false ;
16705 PyObject
* obj0
= 0 ;
16706 PyObject
* obj1
= 0 ;
16707 PyObject
* obj2
= 0 ;
16708 PyObject
* obj3
= 0 ;
16709 PyObject
* obj4
= 0 ;
16710 PyObject
* obj5
= 0 ;
16711 PyObject
* obj6
= 0 ;
16712 PyObject
* obj7
= 0 ;
16713 char * kwnames
[] = {
16714 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
16718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16719 if (!SWIG_IsOK(res1
)) {
16720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
16722 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16725 if (!SWIG_IsOK(ecode2
)) {
16726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
16728 arg2
= static_cast< int >(val2
);
16732 arg3
= wxString_in_helper(obj2
);
16733 if (arg3
== NULL
) SWIG_fail
;
16740 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16746 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16750 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16751 if (!SWIG_IsOK(ecode6
)) {
16752 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
16754 arg6
= static_cast< long >(val6
);
16757 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
16758 if (!SWIG_IsOK(res7
)) {
16759 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
16764 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
16768 arg8
= wxString_in_helper(obj7
);
16769 if (arg8
== NULL
) SWIG_fail
;
16774 if (!wxPyCheckForApp()) SWIG_fail
;
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
16803 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16804 PyObject
*resultobj
= 0;
16805 wxRadioButton
*result
= 0 ;
16807 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
16809 if (!wxPyCheckForApp()) SWIG_fail
;
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16811 result
= (wxRadioButton
*)new wxRadioButton();
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
16822 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16823 PyObject
*resultobj
= 0;
16824 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
16825 wxWindow
*arg2
= (wxWindow
*) 0 ;
16826 int arg3
= (int) -1 ;
16827 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16828 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16829 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16830 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16831 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16832 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16833 long arg7
= (long) 0 ;
16834 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
16835 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
16836 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
16837 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16845 bool temp4
= false ;
16852 bool temp9
= false ;
16853 PyObject
* obj0
= 0 ;
16854 PyObject
* obj1
= 0 ;
16855 PyObject
* obj2
= 0 ;
16856 PyObject
* obj3
= 0 ;
16857 PyObject
* obj4
= 0 ;
16858 PyObject
* obj5
= 0 ;
16859 PyObject
* obj6
= 0 ;
16860 PyObject
* obj7
= 0 ;
16861 PyObject
* obj8
= 0 ;
16862 char * kwnames
[] = {
16863 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
16867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
16868 if (!SWIG_IsOK(res1
)) {
16869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
16871 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
16872 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16873 if (!SWIG_IsOK(res2
)) {
16874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16876 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16878 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16879 if (!SWIG_IsOK(ecode3
)) {
16880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
16882 arg3
= static_cast< int >(val3
);
16886 arg4
= wxString_in_helper(obj3
);
16887 if (arg4
== NULL
) SWIG_fail
;
16894 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16900 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16904 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
16905 if (!SWIG_IsOK(ecode7
)) {
16906 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
16908 arg7
= static_cast< long >(val7
);
16911 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
16912 if (!SWIG_IsOK(res8
)) {
16913 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16918 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
16922 arg9
= wxString_in_helper(obj8
);
16923 if (arg9
== NULL
) SWIG_fail
;
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16958 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16959 PyObject
*resultobj
= 0;
16960 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
16964 PyObject
*swig_obj
[1] ;
16966 if (!args
) SWIG_fail
;
16967 swig_obj
[0] = args
;
16968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
16969 if (!SWIG_IsOK(res1
)) {
16970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
16972 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 result
= (bool)(arg1
)->GetValue();
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16988 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16989 PyObject
*resultobj
= 0;
16990 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
16996 PyObject
* obj0
= 0 ;
16997 PyObject
* obj1
= 0 ;
16998 char * kwnames
[] = {
16999 (char *) "self",(char *) "value", NULL
17002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17004 if (!SWIG_IsOK(res1
)) {
17005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17007 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17008 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17009 if (!SWIG_IsOK(ecode2
)) {
17010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17012 arg2
= static_cast< bool >(val2
);
17014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 (arg1
)->SetValue(arg2
);
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= SWIG_Py_Void();
17026 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
= 0;
17028 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17029 SwigValueWrapper
<wxVisualAttributes
> result
;
17032 PyObject
* obj0
= 0 ;
17033 char * kwnames
[] = {
17034 (char *) "variant", NULL
17037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17039 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17040 if (!SWIG_IsOK(ecode1
)) {
17041 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17043 arg1
= static_cast< wxWindowVariant
>(val1
);
17046 if (!wxPyCheckForApp()) SWIG_fail
;
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17048 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17049 wxPyEndAllowThreads(__tstate
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17059 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17062 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17063 return SWIG_Py_Void();
17066 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17067 return SWIG_Python_InitShadowInstance(args
);
17070 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17071 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17076 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17077 PyObject
*pyobj
= 0;
17081 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17083 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17090 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17091 PyObject
*resultobj
= 0;
17092 wxWindow
*arg1
= (wxWindow
*) 0 ;
17093 int arg2
= (int) -1 ;
17094 int arg3
= (int) 0 ;
17095 int arg4
= (int) 0 ;
17096 int arg5
= (int) 100 ;
17097 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17098 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17099 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17100 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17101 long arg8
= (long) wxSL_HORIZONTAL
;
17102 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17103 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17104 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17105 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17106 wxSlider
*result
= 0 ;
17123 bool temp10
= false ;
17124 PyObject
* obj0
= 0 ;
17125 PyObject
* obj1
= 0 ;
17126 PyObject
* obj2
= 0 ;
17127 PyObject
* obj3
= 0 ;
17128 PyObject
* obj4
= 0 ;
17129 PyObject
* obj5
= 0 ;
17130 PyObject
* obj6
= 0 ;
17131 PyObject
* obj7
= 0 ;
17132 PyObject
* obj8
= 0 ;
17133 PyObject
* obj9
= 0 ;
17134 char * kwnames
[] = {
17135 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17140 if (!SWIG_IsOK(res1
)) {
17141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17143 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17146 if (!SWIG_IsOK(ecode2
)) {
17147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17149 arg2
= static_cast< int >(val2
);
17152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17153 if (!SWIG_IsOK(ecode3
)) {
17154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17156 arg3
= static_cast< int >(val3
);
17159 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17160 if (!SWIG_IsOK(ecode4
)) {
17161 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17163 arg4
= static_cast< int >(val4
);
17166 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17167 if (!SWIG_IsOK(ecode5
)) {
17168 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17170 arg5
= static_cast< int >(val5
);
17175 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17181 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17185 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17186 if (!SWIG_IsOK(ecode8
)) {
17187 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17189 arg8
= static_cast< long >(val8
);
17192 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17193 if (!SWIG_IsOK(res9
)) {
17194 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17199 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17203 arg10
= wxString_in_helper(obj9
);
17204 if (arg10
== NULL
) SWIG_fail
;
17209 if (!wxPyCheckForApp()) SWIG_fail
;
17210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17211 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17230 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17231 PyObject
*resultobj
= 0;
17232 wxSlider
*result
= 0 ;
17234 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17236 if (!wxPyCheckForApp()) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 result
= (wxSlider
*)new wxSlider();
17239 wxPyEndAllowThreads(__tstate
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17249 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17250 PyObject
*resultobj
= 0;
17251 wxSlider
*arg1
= (wxSlider
*) 0 ;
17252 wxWindow
*arg2
= (wxWindow
*) 0 ;
17253 int arg3
= (int) -1 ;
17254 int arg4
= (int) 0 ;
17255 int arg5
= (int) 0 ;
17256 int arg6
= (int) 100 ;
17257 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17258 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17259 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17260 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17261 long arg9
= (long) wxSL_HORIZONTAL
;
17262 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17263 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17264 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17265 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17285 bool temp11
= false ;
17286 PyObject
* obj0
= 0 ;
17287 PyObject
* obj1
= 0 ;
17288 PyObject
* obj2
= 0 ;
17289 PyObject
* obj3
= 0 ;
17290 PyObject
* obj4
= 0 ;
17291 PyObject
* obj5
= 0 ;
17292 PyObject
* obj6
= 0 ;
17293 PyObject
* obj7
= 0 ;
17294 PyObject
* obj8
= 0 ;
17295 PyObject
* obj9
= 0 ;
17296 PyObject
* obj10
= 0 ;
17297 char * kwnames
[] = {
17298 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17303 if (!SWIG_IsOK(res1
)) {
17304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17306 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17307 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17308 if (!SWIG_IsOK(res2
)) {
17309 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17311 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17313 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17314 if (!SWIG_IsOK(ecode3
)) {
17315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17317 arg3
= static_cast< int >(val3
);
17320 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17321 if (!SWIG_IsOK(ecode4
)) {
17322 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17324 arg4
= static_cast< int >(val4
);
17327 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17328 if (!SWIG_IsOK(ecode5
)) {
17329 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17331 arg5
= static_cast< int >(val5
);
17334 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17335 if (!SWIG_IsOK(ecode6
)) {
17336 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17338 arg6
= static_cast< int >(val6
);
17343 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17349 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17353 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17354 if (!SWIG_IsOK(ecode9
)) {
17355 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17357 arg9
= static_cast< long >(val9
);
17360 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17361 if (!SWIG_IsOK(res10
)) {
17362 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17367 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17371 arg11
= wxString_in_helper(obj10
);
17372 if (arg11
== NULL
) SWIG_fail
;
17377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17378 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17379 wxPyEndAllowThreads(__tstate
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17399 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17400 PyObject
*resultobj
= 0;
17401 wxSlider
*arg1
= (wxSlider
*) 0 ;
17405 PyObject
*swig_obj
[1] ;
17407 if (!args
) SWIG_fail
;
17408 swig_obj
[0] = args
;
17409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17410 if (!SWIG_IsOK(res1
)) {
17411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17413 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17417 wxPyEndAllowThreads(__tstate
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17420 resultobj
= SWIG_From_int(static_cast< int >(result
));
17427 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17428 PyObject
*resultobj
= 0;
17429 wxSlider
*arg1
= (wxSlider
*) 0 ;
17435 PyObject
* obj0
= 0 ;
17436 PyObject
* obj1
= 0 ;
17437 char * kwnames
[] = {
17438 (char *) "self",(char *) "value", NULL
17441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17443 if (!SWIG_IsOK(res1
)) {
17444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17446 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17448 if (!SWIG_IsOK(ecode2
)) {
17449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17451 arg2
= static_cast< int >(val2
);
17453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17454 (arg1
)->SetValue(arg2
);
17455 wxPyEndAllowThreads(__tstate
);
17456 if (PyErr_Occurred()) SWIG_fail
;
17458 resultobj
= SWIG_Py_Void();
17465 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17466 PyObject
*resultobj
= 0;
17467 wxSlider
*arg1
= (wxSlider
*) 0 ;
17476 PyObject
* obj0
= 0 ;
17477 PyObject
* obj1
= 0 ;
17478 PyObject
* obj2
= 0 ;
17479 char * kwnames
[] = {
17480 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17485 if (!SWIG_IsOK(res1
)) {
17486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17488 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17490 if (!SWIG_IsOK(ecode2
)) {
17491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17493 arg2
= static_cast< int >(val2
);
17494 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17495 if (!SWIG_IsOK(ecode3
)) {
17496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17498 arg3
= static_cast< int >(val3
);
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 (arg1
)->SetRange(arg2
,arg3
);
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= SWIG_Py_Void();
17512 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17513 PyObject
*resultobj
= 0;
17514 wxSlider
*arg1
= (wxSlider
*) 0 ;
17518 PyObject
*swig_obj
[1] ;
17520 if (!args
) SWIG_fail
;
17521 swig_obj
[0] = args
;
17522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17523 if (!SWIG_IsOK(res1
)) {
17524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17526 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17533 resultobj
= SWIG_From_int(static_cast< int >(result
));
17540 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17541 PyObject
*resultobj
= 0;
17542 wxSlider
*arg1
= (wxSlider
*) 0 ;
17546 PyObject
*swig_obj
[1] ;
17548 if (!args
) SWIG_fail
;
17549 swig_obj
[0] = args
;
17550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17551 if (!SWIG_IsOK(res1
)) {
17552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17554 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 resultobj
= SWIG_From_int(static_cast< int >(result
));
17568 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
= 0;
17570 wxSlider
*arg1
= (wxSlider
*) 0 ;
17576 PyObject
* obj0
= 0 ;
17577 PyObject
* obj1
= 0 ;
17578 char * kwnames
[] = {
17579 (char *) "self",(char *) "minValue", NULL
17582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17584 if (!SWIG_IsOK(res1
)) {
17585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17587 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17589 if (!SWIG_IsOK(ecode2
)) {
17590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17592 arg2
= static_cast< int >(val2
);
17594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 (arg1
)->SetMin(arg2
);
17596 wxPyEndAllowThreads(__tstate
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17599 resultobj
= SWIG_Py_Void();
17606 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
= 0;
17608 wxSlider
*arg1
= (wxSlider
*) 0 ;
17614 PyObject
* obj0
= 0 ;
17615 PyObject
* obj1
= 0 ;
17616 char * kwnames
[] = {
17617 (char *) "self",(char *) "maxValue", NULL
17620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17622 if (!SWIG_IsOK(res1
)) {
17623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17625 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17627 if (!SWIG_IsOK(ecode2
)) {
17628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17630 arg2
= static_cast< int >(val2
);
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 (arg1
)->SetMax(arg2
);
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17637 resultobj
= SWIG_Py_Void();
17644 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
= 0;
17646 wxSlider
*arg1
= (wxSlider
*) 0 ;
17652 PyObject
* obj0
= 0 ;
17653 PyObject
* obj1
= 0 ;
17654 char * kwnames
[] = {
17655 (char *) "self",(char *) "lineSize", NULL
17658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17660 if (!SWIG_IsOK(res1
)) {
17661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17663 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17665 if (!SWIG_IsOK(ecode2
)) {
17666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
17668 arg2
= static_cast< int >(val2
);
17670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17671 (arg1
)->SetLineSize(arg2
);
17672 wxPyEndAllowThreads(__tstate
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17675 resultobj
= SWIG_Py_Void();
17682 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17683 PyObject
*resultobj
= 0;
17684 wxSlider
*arg1
= (wxSlider
*) 0 ;
17690 PyObject
* obj0
= 0 ;
17691 PyObject
* obj1
= 0 ;
17692 char * kwnames
[] = {
17693 (char *) "self",(char *) "pageSize", NULL
17696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17698 if (!SWIG_IsOK(res1
)) {
17699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
17701 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17702 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17703 if (!SWIG_IsOK(ecode2
)) {
17704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
17706 arg2
= static_cast< int >(val2
);
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 (arg1
)->SetPageSize(arg2
);
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17713 resultobj
= SWIG_Py_Void();
17720 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17721 PyObject
*resultobj
= 0;
17722 wxSlider
*arg1
= (wxSlider
*) 0 ;
17726 PyObject
*swig_obj
[1] ;
17728 if (!args
) SWIG_fail
;
17729 swig_obj
[0] = args
;
17730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17731 if (!SWIG_IsOK(res1
)) {
17732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17734 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17737 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17741 resultobj
= SWIG_From_int(static_cast< int >(result
));
17748 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17749 PyObject
*resultobj
= 0;
17750 wxSlider
*arg1
= (wxSlider
*) 0 ;
17754 PyObject
*swig_obj
[1] ;
17756 if (!args
) SWIG_fail
;
17757 swig_obj
[0] = args
;
17758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17759 if (!SWIG_IsOK(res1
)) {
17760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
17762 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
17766 wxPyEndAllowThreads(__tstate
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17769 resultobj
= SWIG_From_int(static_cast< int >(result
));
17776 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
= 0;
17778 wxSlider
*arg1
= (wxSlider
*) 0 ;
17784 PyObject
* obj0
= 0 ;
17785 PyObject
* obj1
= 0 ;
17786 char * kwnames
[] = {
17787 (char *) "self",(char *) "lenPixels", NULL
17790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17792 if (!SWIG_IsOK(res1
)) {
17793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
17795 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17797 if (!SWIG_IsOK(ecode2
)) {
17798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
17800 arg2
= static_cast< int >(val2
);
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 (arg1
)->SetThumbLength(arg2
);
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 resultobj
= SWIG_Py_Void();
17814 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17815 PyObject
*resultobj
= 0;
17816 wxSlider
*arg1
= (wxSlider
*) 0 ;
17820 PyObject
*swig_obj
[1] ;
17822 if (!args
) SWIG_fail
;
17823 swig_obj
[0] = args
;
17824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17825 if (!SWIG_IsOK(res1
)) {
17826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
17828 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17835 resultobj
= SWIG_From_int(static_cast< int >(result
));
17842 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
= 0;
17844 wxSlider
*arg1
= (wxSlider
*) 0 ;
17846 int arg3
= (int) 1 ;
17853 PyObject
* obj0
= 0 ;
17854 PyObject
* obj1
= 0 ;
17855 PyObject
* obj2
= 0 ;
17856 char * kwnames
[] = {
17857 (char *) "self",(char *) "n",(char *) "pos", NULL
17860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetTickFreq" "', 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_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
17870 arg2
= static_cast< int >(val2
);
17872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17873 if (!SWIG_IsOK(ecode3
)) {
17874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
17876 arg3
= static_cast< int >(val3
);
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 (arg1
)->SetTickFreq(arg2
,arg3
);
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 resultobj
= SWIG_Py_Void();
17891 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17892 PyObject
*resultobj
= 0;
17893 wxSlider
*arg1
= (wxSlider
*) 0 ;
17897 PyObject
*swig_obj
[1] ;
17899 if (!args
) SWIG_fail
;
17900 swig_obj
[0] = args
;
17901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17902 if (!SWIG_IsOK(res1
)) {
17903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
17905 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 resultobj
= SWIG_From_int(static_cast< int >(result
));
17919 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17920 PyObject
*resultobj
= 0;
17921 wxSlider
*arg1
= (wxSlider
*) 0 ;
17924 PyObject
*swig_obj
[1] ;
17926 if (!args
) SWIG_fail
;
17927 swig_obj
[0] = args
;
17928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17929 if (!SWIG_IsOK(res1
)) {
17930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
17932 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 (arg1
)->ClearTicks();
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17939 resultobj
= SWIG_Py_Void();
17946 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
= 0;
17948 wxSlider
*arg1
= (wxSlider
*) 0 ;
17954 PyObject
* obj0
= 0 ;
17955 PyObject
* obj1
= 0 ;
17956 char * kwnames
[] = {
17957 (char *) "self",(char *) "tickPos", NULL
17960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17962 if (!SWIG_IsOK(res1
)) {
17963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
17965 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17967 if (!SWIG_IsOK(ecode2
)) {
17968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
17970 arg2
= static_cast< int >(val2
);
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 (arg1
)->SetTick(arg2
);
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 resultobj
= SWIG_Py_Void();
17984 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17985 PyObject
*resultobj
= 0;
17986 wxSlider
*arg1
= (wxSlider
*) 0 ;
17989 PyObject
*swig_obj
[1] ;
17991 if (!args
) SWIG_fail
;
17992 swig_obj
[0] = args
;
17993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17994 if (!SWIG_IsOK(res1
)) {
17995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
17997 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 (arg1
)->ClearSel();
18001 wxPyEndAllowThreads(__tstate
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 resultobj
= SWIG_Py_Void();
18011 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18012 PyObject
*resultobj
= 0;
18013 wxSlider
*arg1
= (wxSlider
*) 0 ;
18017 PyObject
*swig_obj
[1] ;
18019 if (!args
) SWIG_fail
;
18020 swig_obj
[0] = args
;
18021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18022 if (!SWIG_IsOK(res1
)) {
18023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18025 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18028 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18032 resultobj
= SWIG_From_int(static_cast< int >(result
));
18039 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18040 PyObject
*resultobj
= 0;
18041 wxSlider
*arg1
= (wxSlider
*) 0 ;
18045 PyObject
*swig_obj
[1] ;
18047 if (!args
) SWIG_fail
;
18048 swig_obj
[0] = args
;
18049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18050 if (!SWIG_IsOK(res1
)) {
18051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18053 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18057 wxPyEndAllowThreads(__tstate
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18060 resultobj
= SWIG_From_int(static_cast< int >(result
));
18067 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
= 0;
18069 wxSlider
*arg1
= (wxSlider
*) 0 ;
18078 PyObject
* obj0
= 0 ;
18079 PyObject
* obj1
= 0 ;
18080 PyObject
* obj2
= 0 ;
18081 char * kwnames
[] = {
18082 (char *) "self",(char *) "min",(char *) "max", NULL
18085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18087 if (!SWIG_IsOK(res1
)) {
18088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18090 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18092 if (!SWIG_IsOK(ecode2
)) {
18093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18095 arg2
= static_cast< int >(val2
);
18096 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18097 if (!SWIG_IsOK(ecode3
)) {
18098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18100 arg3
= static_cast< int >(val3
);
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 (arg1
)->SetSelection(arg2
,arg3
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= SWIG_Py_Void();
18114 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
= 0;
18116 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18117 SwigValueWrapper
<wxVisualAttributes
> result
;
18120 PyObject
* obj0
= 0 ;
18121 char * kwnames
[] = {
18122 (char *) "variant", NULL
18125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18127 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18128 if (!SWIG_IsOK(ecode1
)) {
18129 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18131 arg1
= static_cast< wxWindowVariant
>(val1
);
18134 if (!wxPyCheckForApp()) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18137 wxPyEndAllowThreads(__tstate
);
18138 if (PyErr_Occurred()) SWIG_fail
;
18140 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18147 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18150 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18151 return SWIG_Py_Void();
18154 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18155 return SWIG_Python_InitShadowInstance(args
);
18158 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18159 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18164 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18165 PyObject
*pyobj
= 0;
18169 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18171 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18178 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
= 0;
18180 wxWindow
*arg1
= (wxWindow
*) 0 ;
18181 int arg2
= (int) -1 ;
18182 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18183 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18184 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18185 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18186 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18187 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18188 long arg6
= (long) 0 ;
18189 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18190 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18191 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18192 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18193 wxToggleButton
*result
= 0 ;
18198 bool temp3
= false ;
18205 bool temp8
= false ;
18206 PyObject
* obj0
= 0 ;
18207 PyObject
* obj1
= 0 ;
18208 PyObject
* obj2
= 0 ;
18209 PyObject
* obj3
= 0 ;
18210 PyObject
* obj4
= 0 ;
18211 PyObject
* obj5
= 0 ;
18212 PyObject
* obj6
= 0 ;
18213 PyObject
* obj7
= 0 ;
18214 char * kwnames
[] = {
18215 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18220 if (!SWIG_IsOK(res1
)) {
18221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18223 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18226 if (!SWIG_IsOK(ecode2
)) {
18227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18229 arg2
= static_cast< int >(val2
);
18233 arg3
= wxString_in_helper(obj2
);
18234 if (arg3
== NULL
) SWIG_fail
;
18241 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18247 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18251 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18252 if (!SWIG_IsOK(ecode6
)) {
18253 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18255 arg6
= static_cast< long >(val6
);
18258 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18259 if (!SWIG_IsOK(res7
)) {
18260 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18265 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18269 arg8
= wxString_in_helper(obj7
);
18270 if (arg8
== NULL
) SWIG_fail
;
18275 if (!wxPyCheckForApp()) SWIG_fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18281 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18304 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18305 PyObject
*resultobj
= 0;
18306 wxToggleButton
*result
= 0 ;
18308 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18310 if (!wxPyCheckForApp()) SWIG_fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 result
= (wxToggleButton
*)new wxToggleButton();
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18323 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
= 0;
18325 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18326 wxWindow
*arg2
= (wxWindow
*) 0 ;
18327 int arg3
= (int) -1 ;
18328 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18329 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18330 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18331 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18332 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18333 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18334 long arg7
= (long) 0 ;
18335 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18336 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18337 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18338 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18346 bool temp4
= false ;
18353 bool temp9
= false ;
18354 PyObject
* obj0
= 0 ;
18355 PyObject
* obj1
= 0 ;
18356 PyObject
* obj2
= 0 ;
18357 PyObject
* obj3
= 0 ;
18358 PyObject
* obj4
= 0 ;
18359 PyObject
* obj5
= 0 ;
18360 PyObject
* obj6
= 0 ;
18361 PyObject
* obj7
= 0 ;
18362 PyObject
* obj8
= 0 ;
18363 char * kwnames
[] = {
18364 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18369 if (!SWIG_IsOK(res1
)) {
18370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18372 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18373 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18374 if (!SWIG_IsOK(res2
)) {
18375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18377 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18380 if (!SWIG_IsOK(ecode3
)) {
18381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18383 arg3
= static_cast< int >(val3
);
18387 arg4
= wxString_in_helper(obj3
);
18388 if (arg4
== NULL
) SWIG_fail
;
18395 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18401 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18405 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18406 if (!SWIG_IsOK(ecode7
)) {
18407 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18409 arg7
= static_cast< long >(val7
);
18412 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18413 if (!SWIG_IsOK(res8
)) {
18414 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18419 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18423 arg9
= wxString_in_helper(obj8
);
18424 if (arg9
== NULL
) SWIG_fail
;
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18431 wxPyEndAllowThreads(__tstate
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18459 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
= 0;
18461 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18467 PyObject
* obj0
= 0 ;
18468 PyObject
* obj1
= 0 ;
18469 char * kwnames
[] = {
18470 (char *) "self",(char *) "value", NULL
18473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18475 if (!SWIG_IsOK(res1
)) {
18476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18478 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18479 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18480 if (!SWIG_IsOK(ecode2
)) {
18481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18483 arg2
= static_cast< bool >(val2
);
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 (arg1
)->SetValue(arg2
);
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 resultobj
= SWIG_Py_Void();
18497 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18498 PyObject
*resultobj
= 0;
18499 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18503 PyObject
*swig_obj
[1] ;
18505 if (!args
) SWIG_fail
;
18506 swig_obj
[0] = args
;
18507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18508 if (!SWIG_IsOK(res1
)) {
18509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18511 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18527 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
= 0;
18529 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18530 SwigValueWrapper
<wxVisualAttributes
> result
;
18533 PyObject
* obj0
= 0 ;
18534 char * kwnames
[] = {
18535 (char *) "variant", NULL
18538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18540 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18541 if (!SWIG_IsOK(ecode1
)) {
18542 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18544 arg1
= static_cast< wxWindowVariant
>(val1
);
18547 if (!wxPyCheckForApp()) SWIG_fail
;
18548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18549 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18550 wxPyEndAllowThreads(__tstate
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18553 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18560 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18563 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18564 return SWIG_Py_Void();
18567 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18568 return SWIG_Python_InitShadowInstance(args
);
18571 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18572 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18577 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18578 PyObject
*pyobj
= 0;
18582 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18584 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18591 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18592 PyObject
*resultobj
= 0;
18593 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18597 PyObject
*swig_obj
[1] ;
18599 if (!args
) SWIG_fail
;
18600 swig_obj
[0] = args
;
18601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18602 if (!SWIG_IsOK(res1
)) {
18603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18605 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18609 wxPyEndAllowThreads(__tstate
);
18610 if (PyErr_Occurred()) SWIG_fail
;
18612 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18619 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18620 PyObject
*resultobj
= 0;
18621 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18623 wxWindow
*result
= 0 ;
18628 PyObject
* obj0
= 0 ;
18629 PyObject
* obj1
= 0 ;
18630 char * kwnames
[] = {
18631 (char *) "self",(char *) "n", NULL
18634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18636 if (!SWIG_IsOK(res1
)) {
18637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18639 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18640 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18641 if (!SWIG_IsOK(ecode2
)) {
18642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18644 arg2
= static_cast< size_t >(val2
);
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18652 resultobj
= wxPyMake_wxObject(result
, 0);
18660 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18661 PyObject
*resultobj
= 0;
18662 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18663 wxWindow
*result
= 0 ;
18666 PyObject
*swig_obj
[1] ;
18668 if (!args
) SWIG_fail
;
18669 swig_obj
[0] = args
;
18670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18671 if (!SWIG_IsOK(res1
)) {
18672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18674 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18682 resultobj
= wxPyMake_wxObject(result
, 0);
18690 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18691 PyObject
*resultobj
= 0;
18692 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18696 PyObject
*swig_obj
[1] ;
18698 if (!args
) SWIG_fail
;
18699 swig_obj
[0] = args
;
18700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18701 if (!SWIG_IsOK(res1
)) {
18702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18704 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= SWIG_From_int(static_cast< int >(result
));
18718 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
= 0;
18720 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18722 wxString
*arg3
= 0 ;
18728 bool temp3
= false ;
18729 PyObject
* obj0
= 0 ;
18730 PyObject
* obj1
= 0 ;
18731 PyObject
* obj2
= 0 ;
18732 char * kwnames
[] = {
18733 (char *) "self",(char *) "n",(char *) "strText", NULL
18736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18738 if (!SWIG_IsOK(res1
)) {
18739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18741 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18742 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18743 if (!SWIG_IsOK(ecode2
)) {
18744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
18746 arg2
= static_cast< size_t >(val2
);
18748 arg3
= wxString_in_helper(obj2
);
18749 if (arg3
== NULL
) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18775 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
= 0;
18777 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18784 PyObject
* obj0
= 0 ;
18785 PyObject
* obj1
= 0 ;
18786 char * kwnames
[] = {
18787 (char *) "self",(char *) "n", NULL
18790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18792 if (!SWIG_IsOK(res1
)) {
18793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18795 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18796 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18797 if (!SWIG_IsOK(ecode2
)) {
18798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
18800 arg2
= static_cast< size_t >(val2
);
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
18804 wxPyEndAllowThreads(__tstate
);
18805 if (PyErr_Occurred()) SWIG_fail
;
18809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18820 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18821 PyObject
*resultobj
= 0;
18822 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18823 wxImageList
*arg2
= (wxImageList
*) 0 ;
18828 PyObject
* obj0
= 0 ;
18829 PyObject
* obj1
= 0 ;
18830 char * kwnames
[] = {
18831 (char *) "self",(char *) "imageList", NULL
18834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18836 if (!SWIG_IsOK(res1
)) {
18837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18839 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18840 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
18841 if (!SWIG_IsOK(res2
)) {
18842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
18844 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
18846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18847 (arg1
)->SetImageList(arg2
);
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18851 resultobj
= SWIG_Py_Void();
18858 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18859 PyObject
*resultobj
= 0;
18860 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18861 wxImageList
*arg2
= (wxImageList
*) 0 ;
18865 PyObject
* obj0
= 0 ;
18866 PyObject
* obj1
= 0 ;
18867 char * kwnames
[] = {
18868 (char *) "self",(char *) "imageList", NULL
18871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18873 if (!SWIG_IsOK(res1
)) {
18874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18876 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18877 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
18878 if (!SWIG_IsOK(res2
)) {
18879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 (arg1
)->AssignImageList(arg2
);
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18887 resultobj
= SWIG_Py_Void();
18894 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18895 PyObject
*resultobj
= 0;
18896 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18897 wxImageList
*result
= 0 ;
18900 PyObject
*swig_obj
[1] ;
18902 if (!args
) SWIG_fail
;
18903 swig_obj
[0] = args
;
18904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18905 if (!SWIG_IsOK(res1
)) {
18906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18908 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18911 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18916 resultobj
= wxPyMake_wxObject(result
, (bool)0);
18924 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
= 0;
18926 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18933 PyObject
* obj0
= 0 ;
18934 PyObject
* obj1
= 0 ;
18935 char * kwnames
[] = {
18936 (char *) "self",(char *) "n", NULL
18939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18941 if (!SWIG_IsOK(res1
)) {
18942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18944 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18945 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18946 if (!SWIG_IsOK(ecode2
)) {
18947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
18949 arg2
= static_cast< size_t >(val2
);
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
18953 wxPyEndAllowThreads(__tstate
);
18954 if (PyErr_Occurred()) SWIG_fail
;
18956 resultobj
= SWIG_From_int(static_cast< int >(result
));
18963 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
= 0;
18965 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18975 PyObject
* obj0
= 0 ;
18976 PyObject
* obj1
= 0 ;
18977 PyObject
* obj2
= 0 ;
18978 char * kwnames
[] = {
18979 (char *) "self",(char *) "n",(char *) "imageId", NULL
18982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18984 if (!SWIG_IsOK(res1
)) {
18985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18987 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18988 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18989 if (!SWIG_IsOK(ecode2
)) {
18990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
18992 arg2
= static_cast< size_t >(val2
);
18993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18994 if (!SWIG_IsOK(ecode3
)) {
18995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
18997 arg3
= static_cast< int >(val3
);
18999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19000 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19013 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
= 0;
19015 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19020 PyObject
* obj0
= 0 ;
19021 PyObject
* obj1
= 0 ;
19022 char * kwnames
[] = {
19023 (char *) "self",(char *) "size", NULL
19026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19028 if (!SWIG_IsOK(res1
)) {
19029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19031 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19034 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19039 wxPyEndAllowThreads(__tstate
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19042 resultobj
= SWIG_Py_Void();
19049 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19050 PyObject
*resultobj
= 0;
19051 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19057 PyObject
* obj0
= 0 ;
19058 PyObject
* obj1
= 0 ;
19059 char * kwnames
[] = {
19060 (char *) "self",(char *) "sizePage", NULL
19063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19065 if (!SWIG_IsOK(res1
)) {
19066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19068 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19071 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19075 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19079 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19086 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19087 PyObject
*resultobj
= 0;
19088 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19092 PyObject
*swig_obj
[1] ;
19094 if (!args
) SWIG_fail
;
19095 swig_obj
[0] = args
;
19096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19097 if (!SWIG_IsOK(res1
)) {
19098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19100 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19103 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19107 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19114 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
= 0;
19116 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19122 PyObject
* obj0
= 0 ;
19123 PyObject
* obj1
= 0 ;
19124 char * kwnames
[] = {
19125 (char *) "self",(char *) "internalBorder", NULL
19128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19130 if (!SWIG_IsOK(res1
)) {
19131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19133 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19134 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19135 if (!SWIG_IsOK(ecode2
)) {
19136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "size_t""'");
19138 arg2
= static_cast< size_t >(val2
);
19140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19141 (arg1
)->SetInternalBorder(arg2
);
19142 wxPyEndAllowThreads(__tstate
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19145 resultobj
= SWIG_Py_Void();
19152 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19153 PyObject
*resultobj
= 0;
19154 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19158 PyObject
*swig_obj
[1] ;
19160 if (!args
) SWIG_fail
;
19161 swig_obj
[0] = args
;
19162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19163 if (!SWIG_IsOK(res1
)) {
19164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19166 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19170 wxPyEndAllowThreads(__tstate
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19182 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
= 0;
19184 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 char * kwnames
[] = {
19193 (char *) "self",(char *) "fit", NULL
19196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19198 if (!SWIG_IsOK(res1
)) {
19199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19201 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19202 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19203 if (!SWIG_IsOK(ecode2
)) {
19204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19206 arg2
= static_cast< bool >(val2
);
19208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 (arg1
)->SetFitToCurrentPage(arg2
);
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19213 resultobj
= SWIG_Py_Void();
19220 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19221 PyObject
*resultobj
= 0;
19222 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19226 PyObject
*swig_obj
[1] ;
19228 if (!args
) SWIG_fail
;
19229 swig_obj
[0] = args
;
19230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19231 if (!SWIG_IsOK(res1
)) {
19232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19234 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19238 wxPyEndAllowThreads(__tstate
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19250 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19251 PyObject
*resultobj
= 0;
19252 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19259 PyObject
* obj0
= 0 ;
19260 PyObject
* obj1
= 0 ;
19261 char * kwnames
[] = {
19262 (char *) "self",(char *) "n", NULL
19265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19267 if (!SWIG_IsOK(res1
)) {
19268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19270 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19271 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19272 if (!SWIG_IsOK(ecode2
)) {
19273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19275 arg2
= static_cast< size_t >(val2
);
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 result
= (bool)(arg1
)->DeletePage(arg2
);
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19291 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19292 PyObject
*resultobj
= 0;
19293 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19300 PyObject
* obj0
= 0 ;
19301 PyObject
* obj1
= 0 ;
19302 char * kwnames
[] = {
19303 (char *) "self",(char *) "n", NULL
19306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19308 if (!SWIG_IsOK(res1
)) {
19309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19311 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19312 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19313 if (!SWIG_IsOK(ecode2
)) {
19314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19316 arg2
= static_cast< size_t >(val2
);
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19319 result
= (bool)(arg1
)->RemovePage(arg2
);
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19332 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19333 PyObject
*resultobj
= 0;
19334 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19338 PyObject
*swig_obj
[1] ;
19340 if (!args
) SWIG_fail
;
19341 swig_obj
[0] = args
;
19342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19343 if (!SWIG_IsOK(res1
)) {
19344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19346 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 result
= (bool)(arg1
)->DeleteAllPages();
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19362 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
= 0;
19364 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19365 wxWindow
*arg2
= (wxWindow
*) 0 ;
19366 wxString
*arg3
= 0 ;
19367 bool arg4
= (bool) false ;
19368 int arg5
= (int) -1 ;
19374 bool temp3
= false ;
19379 PyObject
* obj0
= 0 ;
19380 PyObject
* obj1
= 0 ;
19381 PyObject
* obj2
= 0 ;
19382 PyObject
* obj3
= 0 ;
19383 PyObject
* obj4
= 0 ;
19384 char * kwnames
[] = {
19385 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19390 if (!SWIG_IsOK(res1
)) {
19391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19393 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19394 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19395 if (!SWIG_IsOK(res2
)) {
19396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19398 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19400 arg3
= wxString_in_helper(obj2
);
19401 if (arg3
== NULL
) SWIG_fail
;
19405 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19406 if (!SWIG_IsOK(ecode4
)) {
19407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19409 arg4
= static_cast< bool >(val4
);
19412 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19413 if (!SWIG_IsOK(ecode5
)) {
19414 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19416 arg5
= static_cast< int >(val5
);
19419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19420 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19421 wxPyEndAllowThreads(__tstate
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19441 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19442 PyObject
*resultobj
= 0;
19443 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19445 wxWindow
*arg3
= (wxWindow
*) 0 ;
19446 wxString
*arg4
= 0 ;
19447 bool arg5
= (bool) false ;
19448 int arg6
= (int) -1 ;
19456 bool temp4
= false ;
19461 PyObject
* obj0
= 0 ;
19462 PyObject
* obj1
= 0 ;
19463 PyObject
* obj2
= 0 ;
19464 PyObject
* obj3
= 0 ;
19465 PyObject
* obj4
= 0 ;
19466 PyObject
* obj5
= 0 ;
19467 char * kwnames
[] = {
19468 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19473 if (!SWIG_IsOK(res1
)) {
19474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19476 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19477 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19478 if (!SWIG_IsOK(ecode2
)) {
19479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19481 arg2
= static_cast< size_t >(val2
);
19482 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19483 if (!SWIG_IsOK(res3
)) {
19484 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19486 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19488 arg4
= wxString_in_helper(obj3
);
19489 if (arg4
== NULL
) SWIG_fail
;
19493 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19494 if (!SWIG_IsOK(ecode5
)) {
19495 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19497 arg5
= static_cast< bool >(val5
);
19500 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19501 if (!SWIG_IsOK(ecode6
)) {
19502 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19504 arg6
= static_cast< int >(val6
);
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19529 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
= 0;
19531 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19538 PyObject
* obj0
= 0 ;
19539 PyObject
* obj1
= 0 ;
19540 char * kwnames
[] = {
19541 (char *) "self",(char *) "n", NULL
19544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19546 if (!SWIG_IsOK(res1
)) {
19547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19549 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19550 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19551 if (!SWIG_IsOK(ecode2
)) {
19552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
19554 arg2
= static_cast< size_t >(val2
);
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 result
= (int)(arg1
)->SetSelection(arg2
);
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19561 resultobj
= SWIG_From_int(static_cast< int >(result
));
19568 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19569 PyObject
*resultobj
= 0;
19570 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19571 bool arg2
= (bool) true ;
19576 PyObject
* obj0
= 0 ;
19577 PyObject
* obj1
= 0 ;
19578 char * kwnames
[] = {
19579 (char *) "self",(char *) "forward", NULL
19582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19584 if (!SWIG_IsOK(res1
)) {
19585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19587 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19589 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19590 if (!SWIG_IsOK(ecode2
)) {
19591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
19593 arg2
= static_cast< bool >(val2
);
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 (arg1
)->AdvanceSelection(arg2
);
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= SWIG_Py_Void();
19608 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19609 PyObject
*resultobj
= 0;
19610 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19611 SwigValueWrapper
<wxVisualAttributes
> result
;
19614 PyObject
* obj0
= 0 ;
19615 char * kwnames
[] = {
19616 (char *) "variant", NULL
19619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19621 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19622 if (!SWIG_IsOK(ecode1
)) {
19623 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19625 arg1
= static_cast< wxWindowVariant
>(val1
);
19628 if (!wxPyCheckForApp()) SWIG_fail
;
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19641 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19644 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
19645 return SWIG_Py_Void();
19648 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
= 0;
19650 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19651 int arg2
= (int) 0 ;
19652 int arg3
= (int) -1 ;
19653 int arg4
= (int) -1 ;
19654 wxBookCtrlBaseEvent
*result
= 0 ;
19663 PyObject
* obj0
= 0 ;
19664 PyObject
* obj1
= 0 ;
19665 PyObject
* obj2
= 0 ;
19666 PyObject
* obj3
= 0 ;
19667 char * kwnames
[] = {
19668 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
19671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19673 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19674 if (!SWIG_IsOK(ecode1
)) {
19675 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19677 arg1
= static_cast< wxEventType
>(val1
);
19680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19681 if (!SWIG_IsOK(ecode2
)) {
19682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
19684 arg2
= static_cast< int >(val2
);
19687 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19688 if (!SWIG_IsOK(ecode3
)) {
19689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
19691 arg3
= static_cast< int >(val3
);
19694 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19695 if (!SWIG_IsOK(ecode4
)) {
19696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
19698 arg4
= static_cast< int >(val4
);
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19702 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
19703 wxPyEndAllowThreads(__tstate
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
19713 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19714 PyObject
*resultobj
= 0;
19715 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19719 PyObject
*swig_obj
[1] ;
19721 if (!args
) SWIG_fail
;
19722 swig_obj
[0] = args
;
19723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19724 if (!SWIG_IsOK(res1
)) {
19725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
19727 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19734 resultobj
= SWIG_From_int(static_cast< int >(result
));
19741 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
= 0;
19743 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19749 PyObject
* obj0
= 0 ;
19750 PyObject
* obj1
= 0 ;
19751 char * kwnames
[] = {
19752 (char *) "self",(char *) "nSel", NULL
19755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19757 if (!SWIG_IsOK(res1
)) {
19758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
19760 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19762 if (!SWIG_IsOK(ecode2
)) {
19763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
19765 arg2
= static_cast< int >(val2
);
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 (arg1
)->SetSelection(arg2
);
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 resultobj
= SWIG_Py_Void();
19779 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19780 PyObject
*resultobj
= 0;
19781 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19785 PyObject
*swig_obj
[1] ;
19787 if (!args
) SWIG_fail
;
19788 swig_obj
[0] = args
;
19789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19790 if (!SWIG_IsOK(res1
)) {
19791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
19793 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19800 resultobj
= SWIG_From_int(static_cast< int >(result
));
19807 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
= 0;
19809 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
19815 PyObject
* obj0
= 0 ;
19816 PyObject
* obj1
= 0 ;
19817 char * kwnames
[] = {
19818 (char *) "self",(char *) "nOldSel", NULL
19821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
19823 if (!SWIG_IsOK(res1
)) {
19824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
19826 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
19827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19828 if (!SWIG_IsOK(ecode2
)) {
19829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
19831 arg2
= static_cast< int >(val2
);
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19834 (arg1
)->SetOldSelection(arg2
);
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19838 resultobj
= SWIG_Py_Void();
19845 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19847 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19848 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
19849 return SWIG_Py_Void();
19852 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19853 return SWIG_Python_InitShadowInstance(args
);
19856 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19857 PyObject
*resultobj
= 0;
19858 wxWindow
*arg1
= (wxWindow
*) 0 ;
19859 int arg2
= (int) -1 ;
19860 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19861 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19862 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19863 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19864 long arg5
= (long) 0 ;
19865 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
19866 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19867 wxNotebook
*result
= 0 ;
19876 bool temp6
= false ;
19877 PyObject
* obj0
= 0 ;
19878 PyObject
* obj1
= 0 ;
19879 PyObject
* obj2
= 0 ;
19880 PyObject
* obj3
= 0 ;
19881 PyObject
* obj4
= 0 ;
19882 PyObject
* obj5
= 0 ;
19883 char * kwnames
[] = {
19884 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19889 if (!SWIG_IsOK(res1
)) {
19890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
19892 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19895 if (!SWIG_IsOK(ecode2
)) {
19896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
19898 arg2
= static_cast< int >(val2
);
19903 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19909 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19913 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
19914 if (!SWIG_IsOK(ecode5
)) {
19915 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
19917 arg5
= static_cast< long >(val5
);
19921 arg6
= wxString_in_helper(obj5
);
19922 if (arg6
== NULL
) SWIG_fail
;
19927 if (!wxPyCheckForApp()) SWIG_fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
19948 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19949 PyObject
*resultobj
= 0;
19950 wxNotebook
*result
= 0 ;
19952 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
19954 if (!wxPyCheckForApp()) SWIG_fail
;
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 result
= (wxNotebook
*)new wxNotebook();
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
19967 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
= 0;
19969 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
19970 wxWindow
*arg2
= (wxWindow
*) 0 ;
19971 int arg3
= (int) -1 ;
19972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19974 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19975 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19976 long arg6
= (long) 0 ;
19977 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
19978 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19990 bool temp7
= false ;
19991 PyObject
* obj0
= 0 ;
19992 PyObject
* obj1
= 0 ;
19993 PyObject
* obj2
= 0 ;
19994 PyObject
* obj3
= 0 ;
19995 PyObject
* obj4
= 0 ;
19996 PyObject
* obj5
= 0 ;
19997 PyObject
* obj6
= 0 ;
19998 char * kwnames
[] = {
19999 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20004 if (!SWIG_IsOK(res1
)) {
20005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20007 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20008 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20009 if (!SWIG_IsOK(res2
)) {
20010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20012 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20015 if (!SWIG_IsOK(ecode3
)) {
20016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20018 arg3
= static_cast< int >(val3
);
20023 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20029 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20033 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20034 if (!SWIG_IsOK(ecode6
)) {
20035 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20037 arg6
= static_cast< long >(val6
);
20041 arg7
= wxString_in_helper(obj6
);
20042 if (arg7
== NULL
) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20069 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20070 PyObject
*resultobj
= 0;
20071 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20075 PyObject
*swig_obj
[1] ;
20077 if (!args
) SWIG_fail
;
20078 swig_obj
[0] = args
;
20079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20080 if (!SWIG_IsOK(res1
)) {
20081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20083 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= SWIG_From_int(static_cast< int >(result
));
20097 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
= 0;
20099 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20104 PyObject
* obj0
= 0 ;
20105 PyObject
* obj1
= 0 ;
20106 char * kwnames
[] = {
20107 (char *) "self",(char *) "padding", NULL
20110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20112 if (!SWIG_IsOK(res1
)) {
20113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20115 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20118 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20122 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20123 wxPyEndAllowThreads(__tstate
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20126 resultobj
= SWIG_Py_Void();
20133 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20134 PyObject
*resultobj
= 0;
20135 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20140 PyObject
* obj0
= 0 ;
20141 PyObject
* obj1
= 0 ;
20142 char * kwnames
[] = {
20143 (char *) "self",(char *) "sz", NULL
20146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20148 if (!SWIG_IsOK(res1
)) {
20149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20151 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20154 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20159 wxPyEndAllowThreads(__tstate
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20162 resultobj
= SWIG_Py_Void();
20169 SWIGINTERN PyObject
*_wrap_Notebook_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
= 0;
20171 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20172 wxPoint
*arg2
= 0 ;
20173 long *arg3
= (long *) 0 ;
20179 int res3
= SWIG_TMPOBJ
;
20180 PyObject
* obj0
= 0 ;
20181 PyObject
* obj1
= 0 ;
20182 char * kwnames
[] = {
20183 (char *) "self",(char *) "pt", NULL
20187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20189 if (!SWIG_IsOK(res1
)) {
20190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_HitTest" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20192 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20203 resultobj
= SWIG_From_int(static_cast< int >(result
));
20204 if (SWIG_IsTmpObj(res3
)) {
20205 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20207 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20216 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20217 PyObject
*resultobj
= 0;
20218 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20222 PyObject
*swig_obj
[1] ;
20224 if (!args
) SWIG_fail
;
20225 swig_obj
[0] = args
;
20226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20227 if (!SWIG_IsOK(res1
)) {
20228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20230 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20237 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20244 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20245 PyObject
*resultobj
= 0;
20246 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20247 SwigValueWrapper
<wxVisualAttributes
> result
;
20250 PyObject
* obj0
= 0 ;
20251 char * kwnames
[] = {
20252 (char *) "variant", NULL
20255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20257 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20258 if (!SWIG_IsOK(ecode1
)) {
20259 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20261 arg1
= static_cast< wxWindowVariant
>(val1
);
20264 if (!wxPyCheckForApp()) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20270 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20277 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20279 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20280 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20281 return SWIG_Py_Void();
20284 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20285 return SWIG_Python_InitShadowInstance(args
);
20288 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
= 0;
20290 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20291 int arg2
= (int) 0 ;
20292 int arg3
= (int) -1 ;
20293 int arg4
= (int) -1 ;
20294 wxNotebookEvent
*result
= 0 ;
20303 PyObject
* obj0
= 0 ;
20304 PyObject
* obj1
= 0 ;
20305 PyObject
* obj2
= 0 ;
20306 PyObject
* obj3
= 0 ;
20307 char * kwnames
[] = {
20308 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20313 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20314 if (!SWIG_IsOK(ecode1
)) {
20315 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20317 arg1
= static_cast< wxEventType
>(val1
);
20320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20321 if (!SWIG_IsOK(ecode2
)) {
20322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20324 arg2
= static_cast< int >(val2
);
20327 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20328 if (!SWIG_IsOK(ecode3
)) {
20329 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20331 arg3
= static_cast< int >(val3
);
20334 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20335 if (!SWIG_IsOK(ecode4
)) {
20336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20338 arg4
= static_cast< int >(val4
);
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20343 wxPyEndAllowThreads(__tstate
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20353 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20356 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20357 return SWIG_Py_Void();
20360 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20361 return SWIG_Python_InitShadowInstance(args
);
20364 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
= 0;
20366 wxWindow
*arg1
= (wxWindow
*) 0 ;
20367 int arg2
= (int) -1 ;
20368 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20369 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20370 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20371 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20372 long arg5
= (long) 0 ;
20373 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20374 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20375 wxListbook
*result
= 0 ;
20384 bool temp6
= false ;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20387 PyObject
* obj2
= 0 ;
20388 PyObject
* obj3
= 0 ;
20389 PyObject
* obj4
= 0 ;
20390 PyObject
* obj5
= 0 ;
20391 char * kwnames
[] = {
20392 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20397 if (!SWIG_IsOK(res1
)) {
20398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20400 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20403 if (!SWIG_IsOK(ecode2
)) {
20404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20406 arg2
= static_cast< int >(val2
);
20411 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20417 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20421 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20422 if (!SWIG_IsOK(ecode5
)) {
20423 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20425 arg5
= static_cast< long >(val5
);
20429 arg6
= wxString_in_helper(obj5
);
20430 if (arg6
== NULL
) SWIG_fail
;
20435 if (!wxPyCheckForApp()) SWIG_fail
;
20436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20437 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20456 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20457 PyObject
*resultobj
= 0;
20458 wxListbook
*result
= 0 ;
20460 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20462 if (!wxPyCheckForApp()) SWIG_fail
;
20463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20464 result
= (wxListbook
*)new wxListbook();
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20475 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
= 0;
20477 wxListbook
*arg1
= (wxListbook
*) 0 ;
20478 wxWindow
*arg2
= (wxWindow
*) 0 ;
20479 int arg3
= (int) -1 ;
20480 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20481 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20482 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20483 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20484 long arg6
= (long) 0 ;
20485 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20486 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20498 bool temp7
= false ;
20499 PyObject
* obj0
= 0 ;
20500 PyObject
* obj1
= 0 ;
20501 PyObject
* obj2
= 0 ;
20502 PyObject
* obj3
= 0 ;
20503 PyObject
* obj4
= 0 ;
20504 PyObject
* obj5
= 0 ;
20505 PyObject
* obj6
= 0 ;
20506 char * kwnames
[] = {
20507 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20512 if (!SWIG_IsOK(res1
)) {
20513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20515 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20516 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20517 if (!SWIG_IsOK(res2
)) {
20518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20520 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20523 if (!SWIG_IsOK(ecode3
)) {
20524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20526 arg3
= static_cast< int >(val3
);
20531 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20537 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20541 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20542 if (!SWIG_IsOK(ecode6
)) {
20543 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20545 arg6
= static_cast< long >(val6
);
20549 arg7
= wxString_in_helper(obj6
);
20550 if (arg7
== NULL
) SWIG_fail
;
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20577 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20578 PyObject
*resultobj
= 0;
20579 wxListbook
*arg1
= (wxListbook
*) 0 ;
20580 wxListView
*result
= 0 ;
20583 PyObject
*swig_obj
[1] ;
20585 if (!args
) SWIG_fail
;
20586 swig_obj
[0] = args
;
20587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20588 if (!SWIG_IsOK(res1
)) {
20589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
20591 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 result
= (wxListView
*)(arg1
)->GetListView();
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
20605 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20607 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20608 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
20609 return SWIG_Py_Void();
20612 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20613 return SWIG_Python_InitShadowInstance(args
);
20616 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
= 0;
20618 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20619 int arg2
= (int) 0 ;
20620 int arg3
= (int) -1 ;
20621 int arg4
= (int) -1 ;
20622 wxListbookEvent
*result
= 0 ;
20631 PyObject
* obj0
= 0 ;
20632 PyObject
* obj1
= 0 ;
20633 PyObject
* obj2
= 0 ;
20634 PyObject
* obj3
= 0 ;
20635 char * kwnames
[] = {
20636 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20641 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20642 if (!SWIG_IsOK(ecode1
)) {
20643 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20645 arg1
= static_cast< wxEventType
>(val1
);
20648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20649 if (!SWIG_IsOK(ecode2
)) {
20650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
20652 arg2
= static_cast< int >(val2
);
20655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20656 if (!SWIG_IsOK(ecode3
)) {
20657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
20659 arg3
= static_cast< int >(val3
);
20662 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20663 if (!SWIG_IsOK(ecode4
)) {
20664 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
20666 arg4
= static_cast< int >(val4
);
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
20681 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20683 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20684 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
20685 return SWIG_Py_Void();
20688 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20689 return SWIG_Python_InitShadowInstance(args
);
20692 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
= 0;
20694 wxWindow
*arg1
= (wxWindow
*) 0 ;
20696 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20697 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20698 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20699 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20700 long arg5
= (long) 0 ;
20701 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20702 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20703 wxChoicebook
*result
= 0 ;
20712 bool temp6
= false ;
20713 PyObject
* obj0
= 0 ;
20714 PyObject
* obj1
= 0 ;
20715 PyObject
* obj2
= 0 ;
20716 PyObject
* obj3
= 0 ;
20717 PyObject
* obj4
= 0 ;
20718 PyObject
* obj5
= 0 ;
20719 char * kwnames
[] = {
20720 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20725 if (!SWIG_IsOK(res1
)) {
20726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20728 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20730 if (!SWIG_IsOK(ecode2
)) {
20731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
20733 arg2
= static_cast< int >(val2
);
20737 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20743 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20747 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20748 if (!SWIG_IsOK(ecode5
)) {
20749 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
20751 arg5
= static_cast< long >(val5
);
20755 arg6
= wxString_in_helper(obj5
);
20756 if (arg6
== NULL
) SWIG_fail
;
20761 if (!wxPyCheckForApp()) SWIG_fail
;
20762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20763 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
20782 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20783 PyObject
*resultobj
= 0;
20784 wxChoicebook
*result
= 0 ;
20786 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
20788 if (!wxPyCheckForApp()) SWIG_fail
;
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 result
= (wxChoicebook
*)new wxChoicebook();
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
20801 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20802 PyObject
*resultobj
= 0;
20803 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
20804 wxWindow
*arg2
= (wxWindow
*) 0 ;
20806 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20807 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20808 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20809 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20810 long arg6
= (long) 0 ;
20811 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20812 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20824 bool temp7
= false ;
20825 PyObject
* obj0
= 0 ;
20826 PyObject
* obj1
= 0 ;
20827 PyObject
* obj2
= 0 ;
20828 PyObject
* obj3
= 0 ;
20829 PyObject
* obj4
= 0 ;
20830 PyObject
* obj5
= 0 ;
20831 PyObject
* obj6
= 0 ;
20832 char * kwnames
[] = {
20833 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
20838 if (!SWIG_IsOK(res1
)) {
20839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
20841 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
20842 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20843 if (!SWIG_IsOK(res2
)) {
20844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20846 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20848 if (!SWIG_IsOK(ecode3
)) {
20849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
20851 arg3
= static_cast< int >(val3
);
20855 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20861 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20865 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20866 if (!SWIG_IsOK(ecode6
)) {
20867 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
20869 arg6
= static_cast< long >(val6
);
20873 arg7
= wxString_in_helper(obj6
);
20874 if (arg7
== NULL
) SWIG_fail
;
20879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20880 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20881 wxPyEndAllowThreads(__tstate
);
20882 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20901 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20902 PyObject
*resultobj
= 0;
20903 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
20904 wxChoice
*result
= 0 ;
20907 PyObject
*swig_obj
[1] ;
20909 if (!args
) SWIG_fail
;
20910 swig_obj
[0] = args
;
20911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
20912 if (!SWIG_IsOK(res1
)) {
20913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
20915 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
20929 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20931 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20932 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
20933 return SWIG_Py_Void();
20936 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20937 return SWIG_Python_InitShadowInstance(args
);
20940 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20941 PyObject
*resultobj
= 0;
20942 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20943 int arg2
= (int) 0 ;
20944 int arg3
= (int) -1 ;
20945 int arg4
= (int) -1 ;
20946 wxChoicebookEvent
*result
= 0 ;
20955 PyObject
* obj0
= 0 ;
20956 PyObject
* obj1
= 0 ;
20957 PyObject
* obj2
= 0 ;
20958 PyObject
* obj3
= 0 ;
20959 char * kwnames
[] = {
20960 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20965 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20966 if (!SWIG_IsOK(ecode1
)) {
20967 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20969 arg1
= static_cast< wxEventType
>(val1
);
20972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20973 if (!SWIG_IsOK(ecode2
)) {
20974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
20976 arg2
= static_cast< int >(val2
);
20979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20980 if (!SWIG_IsOK(ecode3
)) {
20981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
20983 arg3
= static_cast< int >(val3
);
20986 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20987 if (!SWIG_IsOK(ecode4
)) {
20988 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
20990 arg4
= static_cast< int >(val4
);
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20994 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21005 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21007 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21008 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21009 return SWIG_Py_Void();
21012 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21013 return SWIG_Python_InitShadowInstance(args
);
21016 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
= 0;
21018 wxWindow
*arg1
= (wxWindow
*) 0 ;
21020 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21021 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21022 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21023 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21024 long arg5
= (long) wxBK_DEFAULT
;
21025 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21026 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21027 wxTreebook
*result
= 0 ;
21036 bool temp6
= false ;
21037 PyObject
* obj0
= 0 ;
21038 PyObject
* obj1
= 0 ;
21039 PyObject
* obj2
= 0 ;
21040 PyObject
* obj3
= 0 ;
21041 PyObject
* obj4
= 0 ;
21042 PyObject
* obj5
= 0 ;
21043 char * kwnames
[] = {
21044 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21049 if (!SWIG_IsOK(res1
)) {
21050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21052 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21054 if (!SWIG_IsOK(ecode2
)) {
21055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21057 arg2
= static_cast< int >(val2
);
21061 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21067 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21071 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21072 if (!SWIG_IsOK(ecode5
)) {
21073 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21075 arg5
= static_cast< long >(val5
);
21079 arg6
= wxString_in_helper(obj5
);
21080 if (arg6
== NULL
) SWIG_fail
;
21085 if (!wxPyCheckForApp()) SWIG_fail
;
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21106 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21107 PyObject
*resultobj
= 0;
21108 wxTreebook
*result
= 0 ;
21110 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21112 if (!wxPyCheckForApp()) SWIG_fail
;
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 result
= (wxTreebook
*)new wxTreebook();
21115 wxPyEndAllowThreads(__tstate
);
21116 if (PyErr_Occurred()) SWIG_fail
;
21118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21125 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21126 PyObject
*resultobj
= 0;
21127 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21128 wxWindow
*arg2
= (wxWindow
*) 0 ;
21130 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21131 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21132 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21133 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21134 long arg6
= (long) wxBK_DEFAULT
;
21135 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21136 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21148 bool temp7
= false ;
21149 PyObject
* obj0
= 0 ;
21150 PyObject
* obj1
= 0 ;
21151 PyObject
* obj2
= 0 ;
21152 PyObject
* obj3
= 0 ;
21153 PyObject
* obj4
= 0 ;
21154 PyObject
* obj5
= 0 ;
21155 PyObject
* obj6
= 0 ;
21156 char * kwnames
[] = {
21157 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21162 if (!SWIG_IsOK(res1
)) {
21163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21165 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21166 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21167 if (!SWIG_IsOK(res2
)) {
21168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21170 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21172 if (!SWIG_IsOK(ecode3
)) {
21173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21175 arg3
= static_cast< int >(val3
);
21179 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21185 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21189 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21190 if (!SWIG_IsOK(ecode6
)) {
21191 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21193 arg6
= static_cast< long >(val6
);
21197 arg7
= wxString_in_helper(obj6
);
21198 if (arg7
== NULL
) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21225 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
= 0;
21227 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21229 wxWindow
*arg3
= (wxWindow
*) 0 ;
21230 wxString
*arg4
= 0 ;
21231 bool arg5
= (bool) false ;
21232 int arg6
= (int) wxNOT_FOUND
;
21240 bool temp4
= false ;
21245 PyObject
* obj0
= 0 ;
21246 PyObject
* obj1
= 0 ;
21247 PyObject
* obj2
= 0 ;
21248 PyObject
* obj3
= 0 ;
21249 PyObject
* obj4
= 0 ;
21250 PyObject
* obj5
= 0 ;
21251 char * kwnames
[] = {
21252 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21257 if (!SWIG_IsOK(res1
)) {
21258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21260 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21261 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21262 if (!SWIG_IsOK(ecode2
)) {
21263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21265 arg2
= static_cast< size_t >(val2
);
21266 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21267 if (!SWIG_IsOK(res3
)) {
21268 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21270 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21272 arg4
= wxString_in_helper(obj3
);
21273 if (arg4
== NULL
) SWIG_fail
;
21277 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21278 if (!SWIG_IsOK(ecode5
)) {
21279 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21281 arg5
= static_cast< bool >(val5
);
21284 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21285 if (!SWIG_IsOK(ecode6
)) {
21286 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21288 arg6
= static_cast< int >(val6
);
21291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21292 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21313 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
= 0;
21315 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21316 wxWindow
*arg2
= (wxWindow
*) 0 ;
21317 wxString
*arg3
= 0 ;
21318 bool arg4
= (bool) false ;
21319 int arg5
= (int) wxNOT_FOUND
;
21325 bool temp3
= false ;
21330 PyObject
* obj0
= 0 ;
21331 PyObject
* obj1
= 0 ;
21332 PyObject
* obj2
= 0 ;
21333 PyObject
* obj3
= 0 ;
21334 PyObject
* obj4
= 0 ;
21335 char * kwnames
[] = {
21336 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21341 if (!SWIG_IsOK(res1
)) {
21342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21344 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21345 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21346 if (!SWIG_IsOK(res2
)) {
21347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21349 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21351 arg3
= wxString_in_helper(obj2
);
21352 if (arg3
== NULL
) SWIG_fail
;
21356 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21357 if (!SWIG_IsOK(ecode4
)) {
21358 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21360 arg4
= static_cast< bool >(val4
);
21363 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21364 if (!SWIG_IsOK(ecode5
)) {
21365 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21367 arg5
= static_cast< int >(val5
);
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21392 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21393 PyObject
*resultobj
= 0;
21394 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21401 PyObject
* obj0
= 0 ;
21402 PyObject
* obj1
= 0 ;
21403 char * kwnames
[] = {
21404 (char *) "self",(char *) "pos", NULL
21407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21409 if (!SWIG_IsOK(res1
)) {
21410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21412 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21413 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21414 if (!SWIG_IsOK(ecode2
)) {
21415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21417 arg2
= static_cast< size_t >(val2
);
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21433 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
= 0;
21435 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21437 bool arg3
= (bool) true ;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 PyObject
* obj2
= 0 ;
21448 char * kwnames
[] = {
21449 (char *) "self",(char *) "pos",(char *) "expand", NULL
21452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21454 if (!SWIG_IsOK(res1
)) {
21455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21457 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21458 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21459 if (!SWIG_IsOK(ecode2
)) {
21460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21462 arg2
= static_cast< size_t >(val2
);
21464 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21465 if (!SWIG_IsOK(ecode3
)) {
21466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21468 arg3
= static_cast< bool >(val3
);
21471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21473 wxPyEndAllowThreads(__tstate
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21485 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
= 0;
21487 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21494 PyObject
* obj0
= 0 ;
21495 PyObject
* obj1
= 0 ;
21496 char * kwnames
[] = {
21497 (char *) "self",(char *) "pos", NULL
21500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21502 if (!SWIG_IsOK(res1
)) {
21503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21505 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21506 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21507 if (!SWIG_IsOK(ecode2
)) {
21508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21510 arg2
= static_cast< size_t >(val2
);
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (bool)(arg1
)->CollapseNode(arg2
);
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21526 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
= 0;
21528 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21535 PyObject
* obj0
= 0 ;
21536 PyObject
* obj1
= 0 ;
21537 char * kwnames
[] = {
21538 (char *) "self",(char *) "pos", NULL
21541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21543 if (!SWIG_IsOK(res1
)) {
21544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21546 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21547 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21548 if (!SWIG_IsOK(ecode2
)) {
21549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21551 arg2
= static_cast< size_t >(val2
);
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21554 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21558 resultobj
= SWIG_From_int(static_cast< int >(result
));
21565 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21566 PyObject
*resultobj
= 0;
21567 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21568 wxTreeCtrl
*result
= 0 ;
21571 PyObject
*swig_obj
[1] ;
21573 if (!args
) SWIG_fail
;
21574 swig_obj
[0] = args
;
21575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21576 if (!SWIG_IsOK(res1
)) {
21577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21579 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21582 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
21593 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21596 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
21597 return SWIG_Py_Void();
21600 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21601 return SWIG_Python_InitShadowInstance(args
);
21604 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21605 PyObject
*resultobj
= 0;
21606 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21607 int arg2
= (int) 0 ;
21608 int arg3
= (int) wxNOT_FOUND
;
21609 int arg4
= (int) wxNOT_FOUND
;
21610 wxTreebookEvent
*result
= 0 ;
21619 PyObject
* obj0
= 0 ;
21620 PyObject
* obj1
= 0 ;
21621 PyObject
* obj2
= 0 ;
21622 PyObject
* obj3
= 0 ;
21623 char * kwnames
[] = {
21624 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21629 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21630 if (!SWIG_IsOK(ecode1
)) {
21631 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21633 arg1
= static_cast< wxEventType
>(val1
);
21636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21637 if (!SWIG_IsOK(ecode2
)) {
21638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
21640 arg2
= static_cast< int >(val2
);
21643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21644 if (!SWIG_IsOK(ecode3
)) {
21645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
21647 arg3
= static_cast< int >(val3
);
21650 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21651 if (!SWIG_IsOK(ecode4
)) {
21652 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
21654 arg4
= static_cast< int >(val4
);
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
21669 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21671 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21672 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
21673 return SWIG_Py_Void();
21676 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21677 return SWIG_Python_InitShadowInstance(args
);
21680 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
= 0;
21682 wxWindow
*arg1
= (wxWindow
*) 0 ;
21684 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21685 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21686 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21687 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21688 long arg5
= (long) wxBK_DEFAULT
;
21689 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21690 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21691 wxToolbook
*result
= 0 ;
21700 bool temp6
= false ;
21701 PyObject
* obj0
= 0 ;
21702 PyObject
* obj1
= 0 ;
21703 PyObject
* obj2
= 0 ;
21704 PyObject
* obj3
= 0 ;
21705 PyObject
* obj4
= 0 ;
21706 PyObject
* obj5
= 0 ;
21707 char * kwnames
[] = {
21708 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21713 if (!SWIG_IsOK(res1
)) {
21714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21716 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21718 if (!SWIG_IsOK(ecode2
)) {
21719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
21721 arg2
= static_cast< int >(val2
);
21725 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21731 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21735 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21736 if (!SWIG_IsOK(ecode5
)) {
21737 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
21739 arg5
= static_cast< long >(val5
);
21743 arg6
= wxString_in_helper(obj5
);
21744 if (arg6
== NULL
) SWIG_fail
;
21749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21750 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
21769 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21770 PyObject
*resultobj
= 0;
21771 wxToolbook
*result
= 0 ;
21773 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 result
= (wxToolbook
*)new wxToolbook();
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
21787 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21788 PyObject
*resultobj
= 0;
21789 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
21790 wxWindow
*arg2
= (wxWindow
*) 0 ;
21792 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21793 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21794 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21795 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21796 long arg6
= (long) 0 ;
21797 wxString
const &arg7_defvalue
= wxEmptyString
;
21798 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21810 bool temp7
= false ;
21811 PyObject
* obj0
= 0 ;
21812 PyObject
* obj1
= 0 ;
21813 PyObject
* obj2
= 0 ;
21814 PyObject
* obj3
= 0 ;
21815 PyObject
* obj4
= 0 ;
21816 PyObject
* obj5
= 0 ;
21817 PyObject
* obj6
= 0 ;
21818 char * kwnames
[] = {
21819 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
21824 if (!SWIG_IsOK(res1
)) {
21825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
21827 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
21828 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21829 if (!SWIG_IsOK(res2
)) {
21830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21832 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21834 if (!SWIG_IsOK(ecode3
)) {
21835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
21837 arg3
= static_cast< int >(val3
);
21841 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21847 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21851 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21852 if (!SWIG_IsOK(ecode6
)) {
21853 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
21855 arg6
= static_cast< long >(val6
);
21859 arg7
= wxString_in_helper(obj6
);
21860 if (arg7
== NULL
) SWIG_fail
;
21865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21866 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21887 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21888 PyObject
*resultobj
= 0;
21889 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
21890 wxToolBarBase
*result
= 0 ;
21893 PyObject
*swig_obj
[1] ;
21895 if (!args
) SWIG_fail
;
21896 swig_obj
[0] = args
;
21897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
21898 if (!SWIG_IsOK(res1
)) {
21899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
21901 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
21903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21909 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21917 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21918 PyObject
*resultobj
= 0;
21919 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
21922 PyObject
*swig_obj
[1] ;
21924 if (!args
) SWIG_fail
;
21925 swig_obj
[0] = args
;
21926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
21927 if (!SWIG_IsOK(res1
)) {
21928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
21930 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
21932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21937 resultobj
= SWIG_Py_Void();
21944 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21946 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21947 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
21948 return SWIG_Py_Void();
21951 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21952 return SWIG_Python_InitShadowInstance(args
);
21955 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
= 0;
21957 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21958 int arg2
= (int) 0 ;
21959 int arg3
= (int) wxNOT_FOUND
;
21960 int arg4
= (int) wxNOT_FOUND
;
21961 wxToolbookEvent
*result
= 0 ;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 PyObject
* obj2
= 0 ;
21973 PyObject
* obj3
= 0 ;
21974 char * kwnames
[] = {
21975 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21980 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21981 if (!SWIG_IsOK(ecode1
)) {
21982 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21984 arg1
= static_cast< wxEventType
>(val1
);
21987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21988 if (!SWIG_IsOK(ecode2
)) {
21989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
21991 arg2
= static_cast< int >(val2
);
21994 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21995 if (!SWIG_IsOK(ecode3
)) {
21996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
21998 arg3
= static_cast< int >(val3
);
22001 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22002 if (!SWIG_IsOK(ecode4
)) {
22003 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22005 arg4
= static_cast< int >(val4
);
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22010 wxPyEndAllowThreads(__tstate
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22020 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22022 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22023 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22024 return SWIG_Py_Void();
22027 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22028 return SWIG_Python_InitShadowInstance(args
);
22031 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22032 PyObject
*resultobj
= 0;
22033 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22037 PyObject
*swig_obj
[1] ;
22039 if (!args
) SWIG_fail
;
22040 swig_obj
[0] = args
;
22041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22042 if (!SWIG_IsOK(res1
)) {
22043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22045 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 result
= (int)(arg1
)->GetId();
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22052 resultobj
= SWIG_From_int(static_cast< int >(result
));
22059 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22060 PyObject
*resultobj
= 0;
22061 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22062 wxControl
*result
= 0 ;
22065 PyObject
*swig_obj
[1] ;
22067 if (!args
) SWIG_fail
;
22068 swig_obj
[0] = args
;
22069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22070 if (!SWIG_IsOK(res1
)) {
22071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22073 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (wxControl
*)(arg1
)->GetControl();
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22081 resultobj
= wxPyMake_wxObject(result
, 0);
22089 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22090 PyObject
*resultobj
= 0;
22091 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22092 wxToolBarBase
*result
= 0 ;
22095 PyObject
*swig_obj
[1] ;
22097 if (!args
) SWIG_fail
;
22098 swig_obj
[0] = args
;
22099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22100 if (!SWIG_IsOK(res1
)) {
22101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22103 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22107 wxPyEndAllowThreads(__tstate
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22111 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22119 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22120 PyObject
*resultobj
= 0;
22121 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22125 PyObject
*swig_obj
[1] ;
22127 if (!args
) SWIG_fail
;
22128 swig_obj
[0] = args
;
22129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22130 if (!SWIG_IsOK(res1
)) {
22131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22133 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22136 result
= (int)(arg1
)->IsButton();
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 resultobj
= SWIG_From_int(static_cast< int >(result
));
22147 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22148 PyObject
*resultobj
= 0;
22149 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22153 PyObject
*swig_obj
[1] ;
22155 if (!args
) SWIG_fail
;
22156 swig_obj
[0] = args
;
22157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22158 if (!SWIG_IsOK(res1
)) {
22159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22161 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (int)(arg1
)->IsControl();
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= SWIG_From_int(static_cast< int >(result
));
22175 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22176 PyObject
*resultobj
= 0;
22177 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22181 PyObject
*swig_obj
[1] ;
22183 if (!args
) SWIG_fail
;
22184 swig_obj
[0] = args
;
22185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22186 if (!SWIG_IsOK(res1
)) {
22187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22189 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (int)(arg1
)->IsSeparator();
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= SWIG_From_int(static_cast< int >(result
));
22203 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22204 PyObject
*resultobj
= 0;
22205 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22209 PyObject
*swig_obj
[1] ;
22211 if (!args
) SWIG_fail
;
22212 swig_obj
[0] = args
;
22213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22214 if (!SWIG_IsOK(res1
)) {
22215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22217 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (int)(arg1
)->GetStyle();
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= SWIG_From_int(static_cast< int >(result
));
22231 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22232 PyObject
*resultobj
= 0;
22233 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22237 PyObject
*swig_obj
[1] ;
22239 if (!args
) SWIG_fail
;
22240 swig_obj
[0] = args
;
22241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22242 if (!SWIG_IsOK(res1
)) {
22243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22245 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 result
= (wxItemKind
)(arg1
)->GetKind();
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= SWIG_From_int(static_cast< int >(result
));
22259 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22260 PyObject
*resultobj
= 0;
22261 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22265 PyObject
*swig_obj
[1] ;
22267 if (!args
) SWIG_fail
;
22268 swig_obj
[0] = args
;
22269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22270 if (!SWIG_IsOK(res1
)) {
22271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22273 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22276 result
= (bool)(arg1
)->IsEnabled();
22277 wxPyEndAllowThreads(__tstate
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22289 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22290 PyObject
*resultobj
= 0;
22291 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22295 PyObject
*swig_obj
[1] ;
22297 if (!args
) SWIG_fail
;
22298 swig_obj
[0] = args
;
22299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22300 if (!SWIG_IsOK(res1
)) {
22301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22303 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22306 result
= (bool)(arg1
)->IsToggled();
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22319 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22320 PyObject
*resultobj
= 0;
22321 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22325 PyObject
*swig_obj
[1] ;
22327 if (!args
) SWIG_fail
;
22328 swig_obj
[0] = args
;
22329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22330 if (!SWIG_IsOK(res1
)) {
22331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22333 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22336 result
= (bool)(arg1
)->CanBeToggled();
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22349 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22350 PyObject
*resultobj
= 0;
22351 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22352 wxBitmap
*result
= 0 ;
22355 PyObject
*swig_obj
[1] ;
22357 if (!args
) SWIG_fail
;
22358 swig_obj
[0] = args
;
22359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22360 if (!SWIG_IsOK(res1
)) {
22361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22363 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22368 result
= (wxBitmap
*) &_result_ref
;
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22374 wxBitmap
* resultptr
= new wxBitmap(*result
);
22375 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22383 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22384 PyObject
*resultobj
= 0;
22385 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22386 wxBitmap
*result
= 0 ;
22389 PyObject
*swig_obj
[1] ;
22391 if (!args
) SWIG_fail
;
22392 swig_obj
[0] = args
;
22393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22394 if (!SWIG_IsOK(res1
)) {
22395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22397 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22401 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22402 result
= (wxBitmap
*) &_result_ref
;
22404 wxPyEndAllowThreads(__tstate
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22408 wxBitmap
* resultptr
= new wxBitmap(*result
);
22409 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22417 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22418 PyObject
*resultobj
= 0;
22419 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22423 PyObject
*swig_obj
[1] ;
22425 if (!args
) SWIG_fail
;
22426 swig_obj
[0] = args
;
22427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22428 if (!SWIG_IsOK(res1
)) {
22429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22431 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 result
= (arg1
)->GetBitmap();
22435 wxPyEndAllowThreads(__tstate
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22438 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22445 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22446 PyObject
*resultobj
= 0;
22447 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22451 PyObject
*swig_obj
[1] ;
22453 if (!args
) SWIG_fail
;
22454 swig_obj
[0] = args
;
22455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22456 if (!SWIG_IsOK(res1
)) {
22457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22459 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 result
= (arg1
)->GetLabel();
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22479 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22480 PyObject
*resultobj
= 0;
22481 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22485 PyObject
*swig_obj
[1] ;
22487 if (!args
) SWIG_fail
;
22488 swig_obj
[0] = args
;
22489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22490 if (!SWIG_IsOK(res1
)) {
22491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22493 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 result
= (arg1
)->GetShortHelp();
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22513 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22514 PyObject
*resultobj
= 0;
22515 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22519 PyObject
*swig_obj
[1] ;
22521 if (!args
) SWIG_fail
;
22522 swig_obj
[0] = args
;
22523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22524 if (!SWIG_IsOK(res1
)) {
22525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22527 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 result
= (arg1
)->GetLongHelp();
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22547 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22548 PyObject
*resultobj
= 0;
22549 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22556 PyObject
* obj0
= 0 ;
22557 PyObject
* obj1
= 0 ;
22558 char * kwnames
[] = {
22559 (char *) "self",(char *) "enable", NULL
22562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22564 if (!SWIG_IsOK(res1
)) {
22565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22567 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22568 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22569 if (!SWIG_IsOK(ecode2
)) {
22570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
22572 arg2
= static_cast< bool >(val2
);
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22575 result
= (bool)(arg1
)->Enable(arg2
);
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22588 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22589 PyObject
*resultobj
= 0;
22590 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22593 PyObject
*swig_obj
[1] ;
22595 if (!args
) SWIG_fail
;
22596 swig_obj
[0] = args
;
22597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22598 if (!SWIG_IsOK(res1
)) {
22599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22601 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 resultobj
= SWIG_Py_Void();
22615 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
= 0;
22617 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22624 PyObject
* obj0
= 0 ;
22625 PyObject
* obj1
= 0 ;
22626 char * kwnames
[] = {
22627 (char *) "self",(char *) "toggle", NULL
22630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22632 if (!SWIG_IsOK(res1
)) {
22633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22635 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22636 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22637 if (!SWIG_IsOK(ecode2
)) {
22638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
22640 arg2
= static_cast< bool >(val2
);
22642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22643 result
= (bool)(arg1
)->SetToggle(arg2
);
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22656 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22657 PyObject
*resultobj
= 0;
22658 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22659 wxString
*arg2
= 0 ;
22663 bool temp2
= false ;
22664 PyObject
* obj0
= 0 ;
22665 PyObject
* obj1
= 0 ;
22666 char * kwnames
[] = {
22667 (char *) "self",(char *) "help", NULL
22670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22672 if (!SWIG_IsOK(res1
)) {
22673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22675 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22677 arg2
= wxString_in_helper(obj1
);
22678 if (arg2
== NULL
) SWIG_fail
;
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22704 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22705 PyObject
*resultobj
= 0;
22706 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22707 wxString
*arg2
= 0 ;
22711 bool temp2
= false ;
22712 PyObject
* obj0
= 0 ;
22713 PyObject
* obj1
= 0 ;
22714 char * kwnames
[] = {
22715 (char *) "self",(char *) "help", NULL
22718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22720 if (!SWIG_IsOK(res1
)) {
22721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22723 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22725 arg2
= wxString_in_helper(obj1
);
22726 if (arg2
== NULL
) SWIG_fail
;
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
22732 wxPyEndAllowThreads(__tstate
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22752 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
= 0;
22754 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22755 wxBitmap
*arg2
= 0 ;
22760 PyObject
* obj0
= 0 ;
22761 PyObject
* obj1
= 0 ;
22762 char * kwnames
[] = {
22763 (char *) "self",(char *) "bmp", NULL
22766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22768 if (!SWIG_IsOK(res1
)) {
22769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22771 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22772 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22773 if (!SWIG_IsOK(res2
)) {
22774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22779 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
22783 wxPyEndAllowThreads(__tstate
);
22784 if (PyErr_Occurred()) SWIG_fail
;
22786 resultobj
= SWIG_Py_Void();
22793 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22794 PyObject
*resultobj
= 0;
22795 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22796 wxBitmap
*arg2
= 0 ;
22801 PyObject
* obj0
= 0 ;
22802 PyObject
* obj1
= 0 ;
22803 char * kwnames
[] = {
22804 (char *) "self",(char *) "bmp", NULL
22807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22809 if (!SWIG_IsOK(res1
)) {
22810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22812 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22813 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22814 if (!SWIG_IsOK(res2
)) {
22815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22820 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22823 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
22824 wxPyEndAllowThreads(__tstate
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22827 resultobj
= SWIG_Py_Void();
22834 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22835 PyObject
*resultobj
= 0;
22836 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22837 wxString
*arg2
= 0 ;
22840 bool temp2
= false ;
22841 PyObject
* obj0
= 0 ;
22842 PyObject
* obj1
= 0 ;
22843 char * kwnames
[] = {
22844 (char *) "self",(char *) "label", NULL
22847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22849 if (!SWIG_IsOK(res1
)) {
22850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22852 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22854 arg2
= wxString_in_helper(obj1
);
22855 if (arg2
== NULL
) SWIG_fail
;
22859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22860 (arg1
)->SetLabel((wxString
const &)*arg2
);
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22864 resultobj
= SWIG_Py_Void();
22879 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22880 PyObject
*resultobj
= 0;
22881 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22884 PyObject
*swig_obj
[1] ;
22886 if (!args
) SWIG_fail
;
22887 swig_obj
[0] = args
;
22888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22889 if (!SWIG_IsOK(res1
)) {
22890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22892 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 wxPyEndAllowThreads(__tstate
);
22897 if (PyErr_Occurred()) SWIG_fail
;
22899 resultobj
= SWIG_Py_Void();
22906 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22907 PyObject
*resultobj
= 0;
22908 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22909 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
22914 PyObject
* obj0
= 0 ;
22915 PyObject
* obj1
= 0 ;
22916 char * kwnames
[] = {
22917 (char *) "self",(char *) "tbar", NULL
22920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22922 if (!SWIG_IsOK(res1
)) {
22923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22925 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22926 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
22927 if (!SWIG_IsOK(res2
)) {
22928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
22930 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 (arg1
)->Attach(arg2
);
22934 wxPyEndAllowThreads(__tstate
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22937 resultobj
= SWIG_Py_Void();
22944 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22945 PyObject
*resultobj
= 0;
22946 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22947 PyObject
*result
= 0 ;
22950 PyObject
*swig_obj
[1] ;
22952 if (!args
) SWIG_fail
;
22953 swig_obj
[0] = args
;
22954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22955 if (!SWIG_IsOK(res1
)) {
22956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22958 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22961 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 resultobj
= result
;
22972 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
= 0;
22974 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22975 PyObject
*arg2
= (PyObject
*) 0 ;
22978 PyObject
* obj0
= 0 ;
22979 PyObject
* obj1
= 0 ;
22980 char * kwnames
[] = {
22981 (char *) "self",(char *) "clientData", NULL
22984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22986 if (!SWIG_IsOK(res1
)) {
22987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22989 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 wxToolBarToolBase_SetClientData(arg1
,arg2
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= SWIG_Py_Void();
23004 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23007 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23008 return SWIG_Py_Void();
23011 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23012 PyObject
*resultobj
= 0;
23013 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23015 wxString
*arg3
= 0 ;
23016 wxBitmap
*arg4
= 0 ;
23017 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23018 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23019 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23020 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23021 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23022 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23023 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23024 PyObject
*arg9
= (PyObject
*) NULL
;
23025 wxToolBarToolBase
*result
= 0 ;
23030 bool temp3
= false ;
23037 bool temp7
= false ;
23038 bool temp8
= false ;
23039 PyObject
* obj0
= 0 ;
23040 PyObject
* obj1
= 0 ;
23041 PyObject
* obj2
= 0 ;
23042 PyObject
* obj3
= 0 ;
23043 PyObject
* obj4
= 0 ;
23044 PyObject
* obj5
= 0 ;
23045 PyObject
* obj6
= 0 ;
23046 PyObject
* obj7
= 0 ;
23047 PyObject
* obj8
= 0 ;
23048 char * kwnames
[] = {
23049 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23054 if (!SWIG_IsOK(res1
)) {
23055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23057 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23059 if (!SWIG_IsOK(ecode2
)) {
23060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23062 arg2
= static_cast< int >(val2
);
23064 arg3
= wxString_in_helper(obj2
);
23065 if (arg3
== NULL
) SWIG_fail
;
23068 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23069 if (!SWIG_IsOK(res4
)) {
23070 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23075 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23077 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23078 if (!SWIG_IsOK(res5
)) {
23079 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23084 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23087 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23088 if (!SWIG_IsOK(ecode6
)) {
23089 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23091 arg6
= static_cast< wxItemKind
>(val6
);
23095 arg7
= wxString_in_helper(obj6
);
23096 if (arg7
== NULL
) SWIG_fail
;
23102 arg8
= wxString_in_helper(obj7
);
23103 if (arg8
== NULL
) SWIG_fail
;
23111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23113 wxPyEndAllowThreads(__tstate
);
23114 if (PyErr_Occurred()) SWIG_fail
;
23117 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23149 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23150 PyObject
*resultobj
= 0;
23151 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23154 wxString
*arg4
= 0 ;
23155 wxBitmap
*arg5
= 0 ;
23156 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23157 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23158 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23159 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23160 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23161 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23162 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23163 PyObject
*arg10
= (PyObject
*) NULL
;
23164 wxToolBarToolBase
*result
= 0 ;
23171 bool temp4
= false ;
23178 bool temp8
= false ;
23179 bool temp9
= false ;
23180 PyObject
* obj0
= 0 ;
23181 PyObject
* obj1
= 0 ;
23182 PyObject
* obj2
= 0 ;
23183 PyObject
* obj3
= 0 ;
23184 PyObject
* obj4
= 0 ;
23185 PyObject
* obj5
= 0 ;
23186 PyObject
* obj6
= 0 ;
23187 PyObject
* obj7
= 0 ;
23188 PyObject
* obj8
= 0 ;
23189 PyObject
* obj9
= 0 ;
23190 char * kwnames
[] = {
23191 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23196 if (!SWIG_IsOK(res1
)) {
23197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23199 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23200 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23201 if (!SWIG_IsOK(ecode2
)) {
23202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23204 arg2
= static_cast< size_t >(val2
);
23205 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23206 if (!SWIG_IsOK(ecode3
)) {
23207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23209 arg3
= static_cast< int >(val3
);
23211 arg4
= wxString_in_helper(obj3
);
23212 if (arg4
== NULL
) SWIG_fail
;
23215 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23216 if (!SWIG_IsOK(res5
)) {
23217 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23222 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23224 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23225 if (!SWIG_IsOK(res6
)) {
23226 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23231 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23234 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23235 if (!SWIG_IsOK(ecode7
)) {
23236 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23238 arg7
= static_cast< wxItemKind
>(val7
);
23242 arg8
= wxString_in_helper(obj7
);
23243 if (arg8
== NULL
) SWIG_fail
;
23249 arg9
= wxString_in_helper(obj8
);
23250 if (arg9
== NULL
) SWIG_fail
;
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23264 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23296 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
= 0;
23298 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23299 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23300 wxToolBarToolBase
*result
= 0 ;
23305 PyObject
* obj0
= 0 ;
23306 PyObject
* obj1
= 0 ;
23307 char * kwnames
[] = {
23308 (char *) "self",(char *) "tool", NULL
23311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23313 if (!SWIG_IsOK(res1
)) {
23314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23316 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23317 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23318 if (!SWIG_IsOK(res2
)) {
23319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23321 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23329 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23337 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23338 PyObject
*resultobj
= 0;
23339 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23341 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23342 wxToolBarToolBase
*result
= 0 ;
23349 PyObject
* obj0
= 0 ;
23350 PyObject
* obj1
= 0 ;
23351 PyObject
* obj2
= 0 ;
23352 char * kwnames
[] = {
23353 (char *) "self",(char *) "pos",(char *) "tool", NULL
23356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23358 if (!SWIG_IsOK(res1
)) {
23359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23361 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23362 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23363 if (!SWIG_IsOK(ecode2
)) {
23364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23366 arg2
= static_cast< size_t >(val2
);
23367 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23368 if (!SWIG_IsOK(res3
)) {
23369 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23371 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23379 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23387 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23388 PyObject
*resultobj
= 0;
23389 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23390 wxControl
*arg2
= (wxControl
*) 0 ;
23391 wxToolBarToolBase
*result
= 0 ;
23396 PyObject
* obj0
= 0 ;
23397 PyObject
* obj1
= 0 ;
23398 char * kwnames
[] = {
23399 (char *) "self",(char *) "control", NULL
23402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23404 if (!SWIG_IsOK(res1
)) {
23405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23407 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23409 if (!SWIG_IsOK(res2
)) {
23410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23412 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23416 wxPyEndAllowThreads(__tstate
);
23417 if (PyErr_Occurred()) SWIG_fail
;
23420 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23428 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
= 0;
23430 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23432 wxControl
*arg3
= (wxControl
*) 0 ;
23433 wxToolBarToolBase
*result
= 0 ;
23440 PyObject
* obj0
= 0 ;
23441 PyObject
* obj1
= 0 ;
23442 PyObject
* obj2
= 0 ;
23443 char * kwnames
[] = {
23444 (char *) "self",(char *) "pos",(char *) "control", NULL
23447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23449 if (!SWIG_IsOK(res1
)) {
23450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23452 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23453 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23454 if (!SWIG_IsOK(ecode2
)) {
23455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23457 arg2
= static_cast< size_t >(val2
);
23458 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23459 if (!SWIG_IsOK(res3
)) {
23460 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23462 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23465 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23470 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23478 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
= 0;
23480 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23482 wxControl
*result
= 0 ;
23487 PyObject
* obj0
= 0 ;
23488 PyObject
* obj1
= 0 ;
23489 char * kwnames
[] = {
23490 (char *) "self",(char *) "id", NULL
23493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23495 if (!SWIG_IsOK(res1
)) {
23496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23498 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23500 if (!SWIG_IsOK(ecode2
)) {
23501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23503 arg2
= static_cast< int >(val2
);
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23507 wxPyEndAllowThreads(__tstate
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23511 resultobj
= wxPyMake_wxObject(result
, 0);
23519 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23520 PyObject
*resultobj
= 0;
23521 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23522 wxToolBarToolBase
*result
= 0 ;
23525 PyObject
*swig_obj
[1] ;
23527 if (!args
) SWIG_fail
;
23528 swig_obj
[0] = args
;
23529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23530 if (!SWIG_IsOK(res1
)) {
23531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23533 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23541 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23549 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
= 0;
23551 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23553 wxToolBarToolBase
*result
= 0 ;
23558 PyObject
* obj0
= 0 ;
23559 PyObject
* obj1
= 0 ;
23560 char * kwnames
[] = {
23561 (char *) "self",(char *) "pos", NULL
23564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23566 if (!SWIG_IsOK(res1
)) {
23567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23569 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23570 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23571 if (!SWIG_IsOK(ecode2
)) {
23572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
23574 arg2
= static_cast< size_t >(val2
);
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
23578 wxPyEndAllowThreads(__tstate
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23590 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23591 PyObject
*resultobj
= 0;
23592 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23594 wxToolBarToolBase
*result
= 0 ;
23599 PyObject
* obj0
= 0 ;
23600 PyObject
* obj1
= 0 ;
23601 char * kwnames
[] = {
23602 (char *) "self",(char *) "id", NULL
23605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23607 if (!SWIG_IsOK(res1
)) {
23608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23610 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23612 if (!SWIG_IsOK(ecode2
)) {
23613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
23615 arg2
= static_cast< int >(val2
);
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23618 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23623 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23631 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
= 0;
23633 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23640 PyObject
* obj0
= 0 ;
23641 PyObject
* obj1
= 0 ;
23642 char * kwnames
[] = {
23643 (char *) "self",(char *) "pos", NULL
23646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23648 if (!SWIG_IsOK(res1
)) {
23649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23651 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23652 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23653 if (!SWIG_IsOK(ecode2
)) {
23654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
23656 arg2
= static_cast< size_t >(val2
);
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
23660 wxPyEndAllowThreads(__tstate
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23672 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23673 PyObject
*resultobj
= 0;
23674 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23681 PyObject
* obj0
= 0 ;
23682 PyObject
* obj1
= 0 ;
23683 char * kwnames
[] = {
23684 (char *) "self",(char *) "id", NULL
23687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23689 if (!SWIG_IsOK(res1
)) {
23690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23692 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23694 if (!SWIG_IsOK(ecode2
)) {
23695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
23697 arg2
= static_cast< int >(val2
);
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 result
= (bool)(arg1
)->DeleteTool(arg2
);
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23713 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23714 PyObject
*resultobj
= 0;
23715 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23718 PyObject
*swig_obj
[1] ;
23720 if (!args
) SWIG_fail
;
23721 swig_obj
[0] = args
;
23722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23723 if (!SWIG_IsOK(res1
)) {
23724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23726 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 (arg1
)->ClearTools();
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 resultobj
= SWIG_Py_Void();
23740 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23741 PyObject
*resultobj
= 0;
23742 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23746 PyObject
*swig_obj
[1] ;
23748 if (!args
) SWIG_fail
;
23749 swig_obj
[0] = args
;
23750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23751 if (!SWIG_IsOK(res1
)) {
23752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23754 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23757 result
= (bool)(arg1
)->Realize();
23758 wxPyEndAllowThreads(__tstate
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23770 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23771 PyObject
*resultobj
= 0;
23772 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23781 PyObject
* obj0
= 0 ;
23782 PyObject
* obj1
= 0 ;
23783 PyObject
* obj2
= 0 ;
23784 char * kwnames
[] = {
23785 (char *) "self",(char *) "id",(char *) "enable", NULL
23788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23790 if (!SWIG_IsOK(res1
)) {
23791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23793 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23795 if (!SWIG_IsOK(ecode2
)) {
23796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
23798 arg2
= static_cast< int >(val2
);
23799 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23800 if (!SWIG_IsOK(ecode3
)) {
23801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
23803 arg3
= static_cast< bool >(val3
);
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 (arg1
)->EnableTool(arg2
,arg3
);
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= SWIG_Py_Void();
23817 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23818 PyObject
*resultobj
= 0;
23819 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23828 PyObject
* obj0
= 0 ;
23829 PyObject
* obj1
= 0 ;
23830 PyObject
* obj2
= 0 ;
23831 char * kwnames
[] = {
23832 (char *) "self",(char *) "id",(char *) "toggle", NULL
23835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23837 if (!SWIG_IsOK(res1
)) {
23838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23840 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23842 if (!SWIG_IsOK(ecode2
)) {
23843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
23845 arg2
= static_cast< int >(val2
);
23846 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23847 if (!SWIG_IsOK(ecode3
)) {
23848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
23850 arg3
= static_cast< bool >(val3
);
23852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 (arg1
)->ToggleTool(arg2
,arg3
);
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 resultobj
= SWIG_Py_Void();
23864 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
= 0;
23866 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23875 PyObject
* obj0
= 0 ;
23876 PyObject
* obj1
= 0 ;
23877 PyObject
* obj2
= 0 ;
23878 char * kwnames
[] = {
23879 (char *) "self",(char *) "id",(char *) "toggle", NULL
23882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23884 if (!SWIG_IsOK(res1
)) {
23885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23887 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23889 if (!SWIG_IsOK(ecode2
)) {
23890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
23892 arg2
= static_cast< int >(val2
);
23893 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23894 if (!SWIG_IsOK(ecode3
)) {
23895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
23897 arg3
= static_cast< bool >(val3
);
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 (arg1
)->SetToggle(arg2
,arg3
);
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23904 resultobj
= SWIG_Py_Void();
23911 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23912 PyObject
*resultobj
= 0;
23913 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23915 PyObject
*result
= 0 ;
23920 PyObject
* obj0
= 0 ;
23921 PyObject
* obj1
= 0 ;
23922 char * kwnames
[] = {
23923 (char *) "self",(char *) "id", NULL
23926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23928 if (!SWIG_IsOK(res1
)) {
23929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23931 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23933 if (!SWIG_IsOK(ecode2
)) {
23934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
23936 arg2
= static_cast< int >(val2
);
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23943 resultobj
= result
;
23950 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23951 PyObject
*resultobj
= 0;
23952 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23954 PyObject
*arg3
= (PyObject
*) 0 ;
23959 PyObject
* obj0
= 0 ;
23960 PyObject
* obj1
= 0 ;
23961 PyObject
* obj2
= 0 ;
23962 char * kwnames
[] = {
23963 (char *) "self",(char *) "id",(char *) "clientData", NULL
23966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23968 if (!SWIG_IsOK(res1
)) {
23969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23971 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23973 if (!SWIG_IsOK(ecode2
)) {
23974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
23976 arg2
= static_cast< int >(val2
);
23979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23980 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23984 resultobj
= SWIG_Py_Void();
23991 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23992 PyObject
*resultobj
= 0;
23993 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24000 PyObject
* obj0
= 0 ;
24001 PyObject
* obj1
= 0 ;
24002 char * kwnames
[] = {
24003 (char *) "self",(char *) "id", NULL
24006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24008 if (!SWIG_IsOK(res1
)) {
24009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24011 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24013 if (!SWIG_IsOK(ecode2
)) {
24014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24016 arg2
= static_cast< int >(val2
);
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24023 resultobj
= SWIG_From_int(static_cast< int >(result
));
24030 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24031 PyObject
*resultobj
= 0;
24032 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24039 PyObject
* obj0
= 0 ;
24040 PyObject
* obj1
= 0 ;
24041 char * kwnames
[] = {
24042 (char *) "self",(char *) "id", NULL
24045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24047 if (!SWIG_IsOK(res1
)) {
24048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24050 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24052 if (!SWIG_IsOK(ecode2
)) {
24053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24055 arg2
= static_cast< int >(val2
);
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 result
= (bool)(arg1
)->GetToolState(arg2
);
24059 wxPyEndAllowThreads(__tstate
);
24060 if (PyErr_Occurred()) SWIG_fail
;
24063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24071 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24072 PyObject
*resultobj
= 0;
24073 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24080 PyObject
* obj0
= 0 ;
24081 PyObject
* obj1
= 0 ;
24082 char * kwnames
[] = {
24083 (char *) "self",(char *) "id", NULL
24086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24088 if (!SWIG_IsOK(res1
)) {
24089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24091 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24093 if (!SWIG_IsOK(ecode2
)) {
24094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24096 arg2
= static_cast< int >(val2
);
24098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24099 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24100 wxPyEndAllowThreads(__tstate
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24112 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24113 PyObject
*resultobj
= 0;
24114 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24116 wxString
*arg3
= 0 ;
24121 bool temp3
= false ;
24122 PyObject
* obj0
= 0 ;
24123 PyObject
* obj1
= 0 ;
24124 PyObject
* obj2
= 0 ;
24125 char * kwnames
[] = {
24126 (char *) "self",(char *) "id",(char *) "helpString", NULL
24129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24131 if (!SWIG_IsOK(res1
)) {
24132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24134 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24136 if (!SWIG_IsOK(ecode2
)) {
24137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24139 arg2
= static_cast< int >(val2
);
24141 arg3
= wxString_in_helper(obj2
);
24142 if (arg3
== NULL
) SWIG_fail
;
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24151 resultobj
= SWIG_Py_Void();
24166 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
= 0;
24168 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24175 PyObject
* obj0
= 0 ;
24176 PyObject
* obj1
= 0 ;
24177 char * kwnames
[] = {
24178 (char *) "self",(char *) "id", NULL
24181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24183 if (!SWIG_IsOK(res1
)) {
24184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24186 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24188 if (!SWIG_IsOK(ecode2
)) {
24189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24191 arg2
= static_cast< int >(val2
);
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 result
= (arg1
)->GetToolShortHelp(arg2
);
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24211 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
= 0;
24213 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24215 wxString
*arg3
= 0 ;
24220 bool temp3
= false ;
24221 PyObject
* obj0
= 0 ;
24222 PyObject
* obj1
= 0 ;
24223 PyObject
* obj2
= 0 ;
24224 char * kwnames
[] = {
24225 (char *) "self",(char *) "id",(char *) "helpString", NULL
24228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24230 if (!SWIG_IsOK(res1
)) {
24231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24233 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24235 if (!SWIG_IsOK(ecode2
)) {
24236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24238 arg2
= static_cast< int >(val2
);
24240 arg3
= wxString_in_helper(obj2
);
24241 if (arg3
== NULL
) SWIG_fail
;
24245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24246 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24247 wxPyEndAllowThreads(__tstate
);
24248 if (PyErr_Occurred()) SWIG_fail
;
24250 resultobj
= SWIG_Py_Void();
24265 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24266 PyObject
*resultobj
= 0;
24267 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24274 PyObject
* obj0
= 0 ;
24275 PyObject
* obj1
= 0 ;
24276 char * kwnames
[] = {
24277 (char *) "self",(char *) "id", NULL
24280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24282 if (!SWIG_IsOK(res1
)) {
24283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24285 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24287 if (!SWIG_IsOK(ecode2
)) {
24288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24290 arg2
= static_cast< int >(val2
);
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 result
= (arg1
)->GetToolLongHelp(arg2
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24310 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
= 0;
24312 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24321 PyObject
* obj0
= 0 ;
24322 PyObject
* obj1
= 0 ;
24323 PyObject
* obj2
= 0 ;
24324 char * kwnames
[] = {
24325 (char *) "self",(char *) "x",(char *) "y", NULL
24328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24330 if (!SWIG_IsOK(res1
)) {
24331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24333 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24335 if (!SWIG_IsOK(ecode2
)) {
24336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24338 arg2
= static_cast< int >(val2
);
24339 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24340 if (!SWIG_IsOK(ecode3
)) {
24341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24343 arg3
= static_cast< int >(val3
);
24345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24346 (arg1
)->SetMargins(arg2
,arg3
);
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24350 resultobj
= SWIG_Py_Void();
24357 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
= 0;
24359 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24364 PyObject
* obj0
= 0 ;
24365 PyObject
* obj1
= 0 ;
24366 char * kwnames
[] = {
24367 (char *) "self",(char *) "size", NULL
24370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24372 if (!SWIG_IsOK(res1
)) {
24373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24375 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24378 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24382 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24383 wxPyEndAllowThreads(__tstate
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24386 resultobj
= SWIG_Py_Void();
24393 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24394 PyObject
*resultobj
= 0;
24395 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24401 PyObject
* obj0
= 0 ;
24402 PyObject
* obj1
= 0 ;
24403 char * kwnames
[] = {
24404 (char *) "self",(char *) "packing", NULL
24407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24409 if (!SWIG_IsOK(res1
)) {
24410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24412 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24414 if (!SWIG_IsOK(ecode2
)) {
24415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24417 arg2
= static_cast< int >(val2
);
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 (arg1
)->SetToolPacking(arg2
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24424 resultobj
= SWIG_Py_Void();
24431 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
= 0;
24433 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24439 PyObject
* obj0
= 0 ;
24440 PyObject
* obj1
= 0 ;
24441 char * kwnames
[] = {
24442 (char *) "self",(char *) "separation", NULL
24445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24447 if (!SWIG_IsOK(res1
)) {
24448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24450 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24452 if (!SWIG_IsOK(ecode2
)) {
24453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24455 arg2
= static_cast< int >(val2
);
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 (arg1
)->SetToolSeparation(arg2
);
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24462 resultobj
= SWIG_Py_Void();
24469 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24470 PyObject
*resultobj
= 0;
24471 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24475 PyObject
*swig_obj
[1] ;
24477 if (!args
) SWIG_fail
;
24478 swig_obj
[0] = args
;
24479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24480 if (!SWIG_IsOK(res1
)) {
24481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24483 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24486 result
= (arg1
)->GetToolMargins();
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24490 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24497 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24498 PyObject
*resultobj
= 0;
24499 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24503 PyObject
*swig_obj
[1] ;
24505 if (!args
) SWIG_fail
;
24506 swig_obj
[0] = args
;
24507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24508 if (!SWIG_IsOK(res1
)) {
24509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24511 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24514 result
= (arg1
)->GetMargins();
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24518 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24525 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24526 PyObject
*resultobj
= 0;
24527 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24531 PyObject
*swig_obj
[1] ;
24533 if (!args
) SWIG_fail
;
24534 swig_obj
[0] = args
;
24535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24536 if (!SWIG_IsOK(res1
)) {
24537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24539 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24542 result
= (int)(arg1
)->GetToolPacking();
24543 wxPyEndAllowThreads(__tstate
);
24544 if (PyErr_Occurred()) SWIG_fail
;
24546 resultobj
= SWIG_From_int(static_cast< int >(result
));
24553 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24554 PyObject
*resultobj
= 0;
24555 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24559 PyObject
*swig_obj
[1] ;
24561 if (!args
) SWIG_fail
;
24562 swig_obj
[0] = args
;
24563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24564 if (!SWIG_IsOK(res1
)) {
24565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24567 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24570 result
= (int)(arg1
)->GetToolSeparation();
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24574 resultobj
= SWIG_From_int(static_cast< int >(result
));
24581 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
= 0;
24583 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24589 PyObject
* obj0
= 0 ;
24590 PyObject
* obj1
= 0 ;
24591 char * kwnames
[] = {
24592 (char *) "self",(char *) "nRows", NULL
24595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24597 if (!SWIG_IsOK(res1
)) {
24598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24600 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24602 if (!SWIG_IsOK(ecode2
)) {
24603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
24605 arg2
= static_cast< int >(val2
);
24607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 (arg1
)->SetRows(arg2
);
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24612 resultobj
= SWIG_Py_Void();
24619 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
= 0;
24621 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24630 PyObject
* obj0
= 0 ;
24631 PyObject
* obj1
= 0 ;
24632 PyObject
* obj2
= 0 ;
24633 char * kwnames
[] = {
24634 (char *) "self",(char *) "rows",(char *) "cols", NULL
24637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24639 if (!SWIG_IsOK(res1
)) {
24640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24642 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24644 if (!SWIG_IsOK(ecode2
)) {
24645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
24647 arg2
= static_cast< int >(val2
);
24648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24649 if (!SWIG_IsOK(ecode3
)) {
24650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
24652 arg3
= static_cast< int >(val3
);
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24659 resultobj
= SWIG_Py_Void();
24666 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24667 PyObject
*resultobj
= 0;
24668 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24672 PyObject
*swig_obj
[1] ;
24674 if (!args
) SWIG_fail
;
24675 swig_obj
[0] = args
;
24676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24677 if (!SWIG_IsOK(res1
)) {
24678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24680 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 result
= (int)(arg1
)->GetMaxRows();
24684 wxPyEndAllowThreads(__tstate
);
24685 if (PyErr_Occurred()) SWIG_fail
;
24687 resultobj
= SWIG_From_int(static_cast< int >(result
));
24694 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24695 PyObject
*resultobj
= 0;
24696 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24700 PyObject
*swig_obj
[1] ;
24702 if (!args
) SWIG_fail
;
24703 swig_obj
[0] = args
;
24704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24705 if (!SWIG_IsOK(res1
)) {
24706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24708 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24711 result
= (int)(arg1
)->GetMaxCols();
24712 wxPyEndAllowThreads(__tstate
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24715 resultobj
= SWIG_From_int(static_cast< int >(result
));
24722 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
= 0;
24724 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24729 PyObject
* obj0
= 0 ;
24730 PyObject
* obj1
= 0 ;
24731 char * kwnames
[] = {
24732 (char *) "self",(char *) "size", NULL
24735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24737 if (!SWIG_IsOK(res1
)) {
24738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24740 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24743 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
24748 wxPyEndAllowThreads(__tstate
);
24749 if (PyErr_Occurred()) SWIG_fail
;
24751 resultobj
= SWIG_Py_Void();
24758 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24759 PyObject
*resultobj
= 0;
24760 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24764 PyObject
*swig_obj
[1] ;
24766 if (!args
) SWIG_fail
;
24767 swig_obj
[0] = args
;
24768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24769 if (!SWIG_IsOK(res1
)) {
24770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24772 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24775 result
= (arg1
)->GetToolBitmapSize();
24776 wxPyEndAllowThreads(__tstate
);
24777 if (PyErr_Occurred()) SWIG_fail
;
24779 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24786 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24787 PyObject
*resultobj
= 0;
24788 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24792 PyObject
*swig_obj
[1] ;
24794 if (!args
) SWIG_fail
;
24795 swig_obj
[0] = args
;
24796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24797 if (!SWIG_IsOK(res1
)) {
24798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24800 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24803 result
= (arg1
)->GetToolSize();
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24807 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24814 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24815 PyObject
*resultobj
= 0;
24816 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24819 wxToolBarToolBase
*result
= 0 ;
24826 PyObject
* obj0
= 0 ;
24827 PyObject
* obj1
= 0 ;
24828 PyObject
* obj2
= 0 ;
24829 char * kwnames
[] = {
24830 (char *) "self",(char *) "x",(char *) "y", NULL
24833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24835 if (!SWIG_IsOK(res1
)) {
24836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24838 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24840 if (!SWIG_IsOK(ecode2
)) {
24841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
24843 arg2
= static_cast< int >(val2
);
24844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24845 if (!SWIG_IsOK(ecode3
)) {
24846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
24848 arg3
= static_cast< int >(val3
);
24850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24851 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24856 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24864 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24865 PyObject
*resultobj
= 0;
24866 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24868 wxToolBarToolBase
*result
= 0 ;
24873 PyObject
* obj0
= 0 ;
24874 PyObject
* obj1
= 0 ;
24875 char * kwnames
[] = {
24876 (char *) "self",(char *) "toolid", NULL
24879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24881 if (!SWIG_IsOK(res1
)) {
24882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24884 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24886 if (!SWIG_IsOK(ecode2
)) {
24887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
24889 arg2
= static_cast< int >(val2
);
24891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24892 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
24893 wxPyEndAllowThreads(__tstate
);
24894 if (PyErr_Occurred()) SWIG_fail
;
24897 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24905 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24906 PyObject
*resultobj
= 0;
24907 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24911 PyObject
*swig_obj
[1] ;
24913 if (!args
) SWIG_fail
;
24914 swig_obj
[0] = args
;
24915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24916 if (!SWIG_IsOK(res1
)) {
24917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24919 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24922 result
= (bool)(arg1
)->IsVertical();
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24935 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24936 PyObject
*resultobj
= 0;
24937 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24941 PyObject
*swig_obj
[1] ;
24943 if (!args
) SWIG_fail
;
24944 swig_obj
[0] = args
;
24945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24946 if (!SWIG_IsOK(res1
)) {
24947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24949 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24956 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
24963 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24966 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
24967 return SWIG_Py_Void();
24970 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24971 PyObject
*resultobj
= 0;
24972 wxWindow
*arg1
= (wxWindow
*) 0 ;
24973 int arg2
= (int) -1 ;
24974 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24975 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24976 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24977 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24978 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
24979 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
24980 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24981 wxToolBar
*result
= 0 ;
24990 bool temp6
= false ;
24991 PyObject
* obj0
= 0 ;
24992 PyObject
* obj1
= 0 ;
24993 PyObject
* obj2
= 0 ;
24994 PyObject
* obj3
= 0 ;
24995 PyObject
* obj4
= 0 ;
24996 PyObject
* obj5
= 0 ;
24997 char * kwnames
[] = {
24998 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25003 if (!SWIG_IsOK(res1
)) {
25004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25006 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25009 if (!SWIG_IsOK(ecode2
)) {
25010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25012 arg2
= static_cast< int >(val2
);
25017 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25023 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25027 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25028 if (!SWIG_IsOK(ecode5
)) {
25029 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25031 arg5
= static_cast< long >(val5
);
25035 arg6
= wxString_in_helper(obj5
);
25036 if (arg6
== NULL
) SWIG_fail
;
25041 if (!wxPyCheckForApp()) SWIG_fail
;
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25062 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25063 PyObject
*resultobj
= 0;
25064 wxToolBar
*result
= 0 ;
25066 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25068 if (!wxPyCheckForApp()) SWIG_fail
;
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 result
= (wxToolBar
*)new wxToolBar();
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25081 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
= 0;
25083 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25084 wxWindow
*arg2
= (wxWindow
*) 0 ;
25085 int arg3
= (int) -1 ;
25086 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25087 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25088 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25089 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25090 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25091 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25092 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25104 bool temp7
= false ;
25105 PyObject
* obj0
= 0 ;
25106 PyObject
* obj1
= 0 ;
25107 PyObject
* obj2
= 0 ;
25108 PyObject
* obj3
= 0 ;
25109 PyObject
* obj4
= 0 ;
25110 PyObject
* obj5
= 0 ;
25111 PyObject
* obj6
= 0 ;
25112 char * kwnames
[] = {
25113 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25118 if (!SWIG_IsOK(res1
)) {
25119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25121 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25122 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25123 if (!SWIG_IsOK(res2
)) {
25124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25126 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25128 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25129 if (!SWIG_IsOK(ecode3
)) {
25130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25132 arg3
= static_cast< int >(val3
);
25137 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25143 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25147 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25148 if (!SWIG_IsOK(ecode6
)) {
25149 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25151 arg6
= static_cast< long >(val6
);
25155 arg7
= wxString_in_helper(obj6
);
25156 if (arg7
== NULL
) SWIG_fail
;
25161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25162 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25163 wxPyEndAllowThreads(__tstate
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25183 SWIGINTERN PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25184 PyObject
*resultobj
= 0;
25185 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25188 wxToolBarToolBase
*result
= 0 ;
25195 PyObject
* obj0
= 0 ;
25196 PyObject
* obj1
= 0 ;
25197 PyObject
* obj2
= 0 ;
25198 char * kwnames
[] = {
25199 (char *) "self",(char *) "x",(char *) "y", NULL
25202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25204 if (!SWIG_IsOK(res1
)) {
25205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBar *""'");
25207 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25209 if (!SWIG_IsOK(ecode2
)) {
25210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25212 arg2
= static_cast< int >(val2
);
25213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25214 if (!SWIG_IsOK(ecode3
)) {
25215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25217 arg3
= static_cast< int >(val3
);
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25225 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25233 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
= 0;
25235 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25236 SwigValueWrapper
<wxVisualAttributes
> result
;
25239 PyObject
* obj0
= 0 ;
25240 char * kwnames
[] = {
25241 (char *) "variant", NULL
25244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25246 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25247 if (!SWIG_IsOK(ecode1
)) {
25248 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25250 arg1
= static_cast< wxWindowVariant
>(val1
);
25253 if (!wxPyCheckForApp()) SWIG_fail
;
25254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25255 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25256 wxPyEndAllowThreads(__tstate
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25259 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25266 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25268 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25269 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25270 return SWIG_Py_Void();
25273 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25274 return SWIG_Python_InitShadowInstance(args
);
25277 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25278 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25283 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25284 PyObject
*pyobj
= 0;
25288 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25290 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25297 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
= 0;
25299 wxColour
const &arg1_defvalue
= wxNullColour
;
25300 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25301 wxColour
const &arg2_defvalue
= wxNullColour
;
25302 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25303 wxFont
const &arg3_defvalue
= wxNullFont
;
25304 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25305 wxListItemAttr
*result
= 0 ;
25310 PyObject
* obj0
= 0 ;
25311 PyObject
* obj1
= 0 ;
25312 PyObject
* obj2
= 0 ;
25313 char * kwnames
[] = {
25314 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25321 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25327 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25331 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25332 if (!SWIG_IsOK(res3
)) {
25333 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25338 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25342 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25353 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25354 PyObject
*resultobj
= 0;
25355 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25358 PyObject
*swig_obj
[1] ;
25360 if (!args
) SWIG_fail
;
25361 swig_obj
[0] = args
;
25362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25363 if (!SWIG_IsOK(res1
)) {
25364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25366 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 wxPyEndAllowThreads(__tstate
);
25372 if (PyErr_Occurred()) SWIG_fail
;
25374 resultobj
= SWIG_Py_Void();
25381 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25382 PyObject
*resultobj
= 0;
25383 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25384 wxColour
*arg2
= 0 ;
25388 PyObject
* obj0
= 0 ;
25389 PyObject
* obj1
= 0 ;
25390 char * kwnames
[] = {
25391 (char *) "self",(char *) "colText", NULL
25394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25396 if (!SWIG_IsOK(res1
)) {
25397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25399 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25402 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25407 wxPyEndAllowThreads(__tstate
);
25408 if (PyErr_Occurred()) SWIG_fail
;
25410 resultobj
= SWIG_Py_Void();
25417 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
= 0;
25419 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25420 wxColour
*arg2
= 0 ;
25424 PyObject
* obj0
= 0 ;
25425 PyObject
* obj1
= 0 ;
25426 char * kwnames
[] = {
25427 (char *) "self",(char *) "colBack", NULL
25430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25432 if (!SWIG_IsOK(res1
)) {
25433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25435 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25438 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25443 wxPyEndAllowThreads(__tstate
);
25444 if (PyErr_Occurred()) SWIG_fail
;
25446 resultobj
= SWIG_Py_Void();
25453 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25454 PyObject
*resultobj
= 0;
25455 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25461 PyObject
* obj0
= 0 ;
25462 PyObject
* obj1
= 0 ;
25463 char * kwnames
[] = {
25464 (char *) "self",(char *) "font", NULL
25467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25469 if (!SWIG_IsOK(res1
)) {
25470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25472 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25473 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25474 if (!SWIG_IsOK(res2
)) {
25475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25480 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 (arg1
)->SetFont((wxFont
const &)*arg2
);
25484 wxPyEndAllowThreads(__tstate
);
25485 if (PyErr_Occurred()) SWIG_fail
;
25487 resultobj
= SWIG_Py_Void();
25494 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25495 PyObject
*resultobj
= 0;
25496 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25500 PyObject
*swig_obj
[1] ;
25502 if (!args
) SWIG_fail
;
25503 swig_obj
[0] = args
;
25504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25505 if (!SWIG_IsOK(res1
)) {
25506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25508 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25511 result
= (bool)(arg1
)->HasTextColour();
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25524 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25525 PyObject
*resultobj
= 0;
25526 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25530 PyObject
*swig_obj
[1] ;
25532 if (!args
) SWIG_fail
;
25533 swig_obj
[0] = args
;
25534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25535 if (!SWIG_IsOK(res1
)) {
25536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25538 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 result
= (bool)(arg1
)->HasBackgroundColour();
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25554 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25555 PyObject
*resultobj
= 0;
25556 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25560 PyObject
*swig_obj
[1] ;
25562 if (!args
) SWIG_fail
;
25563 swig_obj
[0] = args
;
25564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25565 if (!SWIG_IsOK(res1
)) {
25566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25568 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25571 result
= (bool)(arg1
)->HasFont();
25572 wxPyEndAllowThreads(__tstate
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25584 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25585 PyObject
*resultobj
= 0;
25586 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25590 PyObject
*swig_obj
[1] ;
25592 if (!args
) SWIG_fail
;
25593 swig_obj
[0] = args
;
25594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25595 if (!SWIG_IsOK(res1
)) {
25596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25598 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25601 result
= (arg1
)->GetTextColour();
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25605 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25612 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25613 PyObject
*resultobj
= 0;
25614 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25618 PyObject
*swig_obj
[1] ;
25620 if (!args
) SWIG_fail
;
25621 swig_obj
[0] = args
;
25622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25623 if (!SWIG_IsOK(res1
)) {
25624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25626 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25629 result
= (arg1
)->GetBackgroundColour();
25630 wxPyEndAllowThreads(__tstate
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25633 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25640 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25641 PyObject
*resultobj
= 0;
25642 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25646 PyObject
*swig_obj
[1] ;
25648 if (!args
) SWIG_fail
;
25649 swig_obj
[0] = args
;
25650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25651 if (!SWIG_IsOK(res1
)) {
25652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25654 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25657 result
= (arg1
)->GetFont();
25658 wxPyEndAllowThreads(__tstate
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25661 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
25668 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25669 PyObject
*resultobj
= 0;
25670 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25671 wxListItemAttr
*arg2
= 0 ;
25676 PyObject
* obj0
= 0 ;
25677 PyObject
* obj1
= 0 ;
25678 char * kwnames
[] = {
25679 (char *) "self",(char *) "source", NULL
25682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25684 if (!SWIG_IsOK(res1
)) {
25685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25687 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25688 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
25689 if (!SWIG_IsOK(res2
)) {
25690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
25695 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
25697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
25699 wxPyEndAllowThreads(__tstate
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25702 resultobj
= SWIG_Py_Void();
25709 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25710 PyObject
*resultobj
= 0;
25711 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25714 PyObject
*swig_obj
[1] ;
25716 if (!args
) SWIG_fail
;
25717 swig_obj
[0] = args
;
25718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25719 if (!SWIG_IsOK(res1
)) {
25720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25722 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 wxListItemAttr_Destroy(arg1
);
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= SWIG_Py_Void();
25736 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25738 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25739 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
25740 return SWIG_Py_Void();
25743 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25744 return SWIG_Python_InitShadowInstance(args
);
25747 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25748 PyObject
*resultobj
= 0;
25749 wxListItem
*result
= 0 ;
25751 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
25753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 result
= (wxListItem
*)new wxListItem();
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25759 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
25767 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25768 PyObject
*resultobj
= 0;
25769 wxListItem
*arg1
= (wxListItem
*) 0 ;
25772 PyObject
*swig_obj
[1] ;
25774 if (!args
) SWIG_fail
;
25775 swig_obj
[0] = args
;
25776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
25777 if (!SWIG_IsOK(res1
)) {
25778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
25780 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 wxPyEndAllowThreads(__tstate
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25788 resultobj
= SWIG_Py_Void();
25795 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25796 PyObject
*resultobj
= 0;
25797 wxListItem
*arg1
= (wxListItem
*) 0 ;
25800 PyObject
*swig_obj
[1] ;
25802 if (!args
) SWIG_fail
;
25803 swig_obj
[0] = args
;
25804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25805 if (!SWIG_IsOK(res1
)) {
25806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
25808 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 wxPyEndAllowThreads(__tstate
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25815 resultobj
= SWIG_Py_Void();
25822 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25823 PyObject
*resultobj
= 0;
25824 wxListItem
*arg1
= (wxListItem
*) 0 ;
25827 PyObject
*swig_obj
[1] ;
25829 if (!args
) SWIG_fail
;
25830 swig_obj
[0] = args
;
25831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25832 if (!SWIG_IsOK(res1
)) {
25833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
25835 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 (arg1
)->ClearAttributes();
25839 wxPyEndAllowThreads(__tstate
);
25840 if (PyErr_Occurred()) SWIG_fail
;
25842 resultobj
= SWIG_Py_Void();
25849 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25850 PyObject
*resultobj
= 0;
25851 wxListItem
*arg1
= (wxListItem
*) 0 ;
25857 PyObject
* obj0
= 0 ;
25858 PyObject
* obj1
= 0 ;
25859 char * kwnames
[] = {
25860 (char *) "self",(char *) "mask", NULL
25863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25865 if (!SWIG_IsOK(res1
)) {
25866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
25868 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25869 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
25870 if (!SWIG_IsOK(ecode2
)) {
25871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
25873 arg2
= static_cast< long >(val2
);
25875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25876 (arg1
)->SetMask(arg2
);
25877 wxPyEndAllowThreads(__tstate
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25880 resultobj
= SWIG_Py_Void();
25887 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25888 PyObject
*resultobj
= 0;
25889 wxListItem
*arg1
= (wxListItem
*) 0 ;
25895 PyObject
* obj0
= 0 ;
25896 PyObject
* obj1
= 0 ;
25897 char * kwnames
[] = {
25898 (char *) "self",(char *) "id", NULL
25901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25903 if (!SWIG_IsOK(res1
)) {
25904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
25906 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25907 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
25908 if (!SWIG_IsOK(ecode2
)) {
25909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
25911 arg2
= static_cast< long >(val2
);
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 (arg1
)->SetId(arg2
);
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25918 resultobj
= SWIG_Py_Void();
25925 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25926 PyObject
*resultobj
= 0;
25927 wxListItem
*arg1
= (wxListItem
*) 0 ;
25933 PyObject
* obj0
= 0 ;
25934 PyObject
* obj1
= 0 ;
25935 char * kwnames
[] = {
25936 (char *) "self",(char *) "col", NULL
25939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25941 if (!SWIG_IsOK(res1
)) {
25942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
25944 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25946 if (!SWIG_IsOK(ecode2
)) {
25947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
25949 arg2
= static_cast< int >(val2
);
25951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25952 (arg1
)->SetColumn(arg2
);
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25956 resultobj
= SWIG_Py_Void();
25963 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25964 PyObject
*resultobj
= 0;
25965 wxListItem
*arg1
= (wxListItem
*) 0 ;
25971 PyObject
* obj0
= 0 ;
25972 PyObject
* obj1
= 0 ;
25973 char * kwnames
[] = {
25974 (char *) "self",(char *) "state", NULL
25977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
25979 if (!SWIG_IsOK(res1
)) {
25980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
25982 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
25983 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
25984 if (!SWIG_IsOK(ecode2
)) {
25985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
25987 arg2
= static_cast< long >(val2
);
25989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25990 (arg1
)->SetState(arg2
);
25991 wxPyEndAllowThreads(__tstate
);
25992 if (PyErr_Occurred()) SWIG_fail
;
25994 resultobj
= SWIG_Py_Void();
26001 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26002 PyObject
*resultobj
= 0;
26003 wxListItem
*arg1
= (wxListItem
*) 0 ;
26009 PyObject
* obj0
= 0 ;
26010 PyObject
* obj1
= 0 ;
26011 char * kwnames
[] = {
26012 (char *) "self",(char *) "stateMask", NULL
26015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26017 if (!SWIG_IsOK(res1
)) {
26018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26020 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26021 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26022 if (!SWIG_IsOK(ecode2
)) {
26023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26025 arg2
= static_cast< long >(val2
);
26027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26028 (arg1
)->SetStateMask(arg2
);
26029 wxPyEndAllowThreads(__tstate
);
26030 if (PyErr_Occurred()) SWIG_fail
;
26032 resultobj
= SWIG_Py_Void();
26039 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26040 PyObject
*resultobj
= 0;
26041 wxListItem
*arg1
= (wxListItem
*) 0 ;
26042 wxString
*arg2
= 0 ;
26045 bool temp2
= false ;
26046 PyObject
* obj0
= 0 ;
26047 PyObject
* obj1
= 0 ;
26048 char * kwnames
[] = {
26049 (char *) "self",(char *) "text", NULL
26052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26054 if (!SWIG_IsOK(res1
)) {
26055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26057 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26059 arg2
= wxString_in_helper(obj1
);
26060 if (arg2
== NULL
) SWIG_fail
;
26064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26065 (arg1
)->SetText((wxString
const &)*arg2
);
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_Py_Void();
26084 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26085 PyObject
*resultobj
= 0;
26086 wxListItem
*arg1
= (wxListItem
*) 0 ;
26092 PyObject
* obj0
= 0 ;
26093 PyObject
* obj1
= 0 ;
26094 char * kwnames
[] = {
26095 (char *) "self",(char *) "image", NULL
26098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26100 if (!SWIG_IsOK(res1
)) {
26101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26103 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26105 if (!SWIG_IsOK(ecode2
)) {
26106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26108 arg2
= static_cast< int >(val2
);
26110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26111 (arg1
)->SetImage(arg2
);
26112 wxPyEndAllowThreads(__tstate
);
26113 if (PyErr_Occurred()) SWIG_fail
;
26115 resultobj
= SWIG_Py_Void();
26122 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26123 PyObject
*resultobj
= 0;
26124 wxListItem
*arg1
= (wxListItem
*) 0 ;
26130 PyObject
* obj0
= 0 ;
26131 PyObject
* obj1
= 0 ;
26132 char * kwnames
[] = {
26133 (char *) "self",(char *) "data", NULL
26136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26138 if (!SWIG_IsOK(res1
)) {
26139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26141 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26142 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26143 if (!SWIG_IsOK(ecode2
)) {
26144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26146 arg2
= static_cast< long >(val2
);
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 (arg1
)->SetData(arg2
);
26150 wxPyEndAllowThreads(__tstate
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26153 resultobj
= SWIG_Py_Void();
26160 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26161 PyObject
*resultobj
= 0;
26162 wxListItem
*arg1
= (wxListItem
*) 0 ;
26168 PyObject
* obj0
= 0 ;
26169 PyObject
* obj1
= 0 ;
26170 char * kwnames
[] = {
26171 (char *) "self",(char *) "width", NULL
26174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26176 if (!SWIG_IsOK(res1
)) {
26177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26179 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26181 if (!SWIG_IsOK(ecode2
)) {
26182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26184 arg2
= static_cast< int >(val2
);
26186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26187 (arg1
)->SetWidth(arg2
);
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 resultobj
= SWIG_Py_Void();
26198 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26199 PyObject
*resultobj
= 0;
26200 wxListItem
*arg1
= (wxListItem
*) 0 ;
26201 wxListColumnFormat arg2
;
26206 PyObject
* obj0
= 0 ;
26207 PyObject
* obj1
= 0 ;
26208 char * kwnames
[] = {
26209 (char *) "self",(char *) "align", NULL
26212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26214 if (!SWIG_IsOK(res1
)) {
26215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26217 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26219 if (!SWIG_IsOK(ecode2
)) {
26220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26222 arg2
= static_cast< wxListColumnFormat
>(val2
);
26224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26225 (arg1
)->SetAlign(arg2
);
26226 wxPyEndAllowThreads(__tstate
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 resultobj
= SWIG_Py_Void();
26236 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26237 PyObject
*resultobj
= 0;
26238 wxListItem
*arg1
= (wxListItem
*) 0 ;
26239 wxColour
*arg2
= 0 ;
26243 PyObject
* obj0
= 0 ;
26244 PyObject
* obj1
= 0 ;
26245 char * kwnames
[] = {
26246 (char *) "self",(char *) "colText", NULL
26249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26251 if (!SWIG_IsOK(res1
)) {
26252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26254 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26257 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26261 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26262 wxPyEndAllowThreads(__tstate
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26265 resultobj
= SWIG_Py_Void();
26272 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
= 0;
26274 wxListItem
*arg1
= (wxListItem
*) 0 ;
26275 wxColour
*arg2
= 0 ;
26279 PyObject
* obj0
= 0 ;
26280 PyObject
* obj1
= 0 ;
26281 char * kwnames
[] = {
26282 (char *) "self",(char *) "colBack", NULL
26285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26287 if (!SWIG_IsOK(res1
)) {
26288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26290 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26293 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26297 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26298 wxPyEndAllowThreads(__tstate
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26301 resultobj
= SWIG_Py_Void();
26308 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26309 PyObject
*resultobj
= 0;
26310 wxListItem
*arg1
= (wxListItem
*) 0 ;
26316 PyObject
* obj0
= 0 ;
26317 PyObject
* obj1
= 0 ;
26318 char * kwnames
[] = {
26319 (char *) "self",(char *) "font", NULL
26322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26324 if (!SWIG_IsOK(res1
)) {
26325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26327 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26329 if (!SWIG_IsOK(res2
)) {
26330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26335 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26338 (arg1
)->SetFont((wxFont
const &)*arg2
);
26339 wxPyEndAllowThreads(__tstate
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26342 resultobj
= SWIG_Py_Void();
26349 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26350 PyObject
*resultobj
= 0;
26351 wxListItem
*arg1
= (wxListItem
*) 0 ;
26355 PyObject
*swig_obj
[1] ;
26357 if (!args
) SWIG_fail
;
26358 swig_obj
[0] = args
;
26359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26360 if (!SWIG_IsOK(res1
)) {
26361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26363 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26366 result
= (long)(arg1
)->GetMask();
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= SWIG_From_long(static_cast< long >(result
));
26377 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26378 PyObject
*resultobj
= 0;
26379 wxListItem
*arg1
= (wxListItem
*) 0 ;
26383 PyObject
*swig_obj
[1] ;
26385 if (!args
) SWIG_fail
;
26386 swig_obj
[0] = args
;
26387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26388 if (!SWIG_IsOK(res1
)) {
26389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26391 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26394 result
= (long)(arg1
)->GetId();
26395 wxPyEndAllowThreads(__tstate
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26398 resultobj
= SWIG_From_long(static_cast< long >(result
));
26405 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26406 PyObject
*resultobj
= 0;
26407 wxListItem
*arg1
= (wxListItem
*) 0 ;
26411 PyObject
*swig_obj
[1] ;
26413 if (!args
) SWIG_fail
;
26414 swig_obj
[0] = args
;
26415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26416 if (!SWIG_IsOK(res1
)) {
26417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26419 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 result
= (int)(arg1
)->GetColumn();
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26426 resultobj
= SWIG_From_int(static_cast< int >(result
));
26433 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26434 PyObject
*resultobj
= 0;
26435 wxListItem
*arg1
= (wxListItem
*) 0 ;
26439 PyObject
*swig_obj
[1] ;
26441 if (!args
) SWIG_fail
;
26442 swig_obj
[0] = args
;
26443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26444 if (!SWIG_IsOK(res1
)) {
26445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26447 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26450 result
= (long)(arg1
)->GetState();
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26454 resultobj
= SWIG_From_long(static_cast< long >(result
));
26461 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26462 PyObject
*resultobj
= 0;
26463 wxListItem
*arg1
= (wxListItem
*) 0 ;
26464 wxString
*result
= 0 ;
26467 PyObject
*swig_obj
[1] ;
26469 if (!args
) SWIG_fail
;
26470 swig_obj
[0] = args
;
26471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26472 if (!SWIG_IsOK(res1
)) {
26473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26475 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 wxString
const &_result_ref
= (arg1
)->GetText();
26480 result
= (wxString
*) &_result_ref
;
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26487 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26489 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26498 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26499 PyObject
*resultobj
= 0;
26500 wxListItem
*arg1
= (wxListItem
*) 0 ;
26504 PyObject
*swig_obj
[1] ;
26506 if (!args
) SWIG_fail
;
26507 swig_obj
[0] = args
;
26508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26509 if (!SWIG_IsOK(res1
)) {
26510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26512 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 result
= (int)(arg1
)->GetImage();
26516 wxPyEndAllowThreads(__tstate
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26519 resultobj
= SWIG_From_int(static_cast< int >(result
));
26526 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26527 PyObject
*resultobj
= 0;
26528 wxListItem
*arg1
= (wxListItem
*) 0 ;
26532 PyObject
*swig_obj
[1] ;
26534 if (!args
) SWIG_fail
;
26535 swig_obj
[0] = args
;
26536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26537 if (!SWIG_IsOK(res1
)) {
26538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26540 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26543 result
= (long)(arg1
)->GetData();
26544 wxPyEndAllowThreads(__tstate
);
26545 if (PyErr_Occurred()) SWIG_fail
;
26547 resultobj
= SWIG_From_long(static_cast< long >(result
));
26554 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26555 PyObject
*resultobj
= 0;
26556 wxListItem
*arg1
= (wxListItem
*) 0 ;
26560 PyObject
*swig_obj
[1] ;
26562 if (!args
) SWIG_fail
;
26563 swig_obj
[0] = args
;
26564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26565 if (!SWIG_IsOK(res1
)) {
26566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26568 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26571 result
= (int)(arg1
)->GetWidth();
26572 wxPyEndAllowThreads(__tstate
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26575 resultobj
= SWIG_From_int(static_cast< int >(result
));
26582 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26583 PyObject
*resultobj
= 0;
26584 wxListItem
*arg1
= (wxListItem
*) 0 ;
26585 wxListColumnFormat result
;
26588 PyObject
*swig_obj
[1] ;
26590 if (!args
) SWIG_fail
;
26591 swig_obj
[0] = args
;
26592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26593 if (!SWIG_IsOK(res1
)) {
26594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26596 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26599 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 resultobj
= SWIG_From_int(static_cast< int >(result
));
26610 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26611 PyObject
*resultobj
= 0;
26612 wxListItem
*arg1
= (wxListItem
*) 0 ;
26613 wxListItemAttr
*result
= 0 ;
26616 PyObject
*swig_obj
[1] ;
26618 if (!args
) SWIG_fail
;
26619 swig_obj
[0] = args
;
26620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26621 if (!SWIG_IsOK(res1
)) {
26622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26624 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
26628 wxPyEndAllowThreads(__tstate
);
26629 if (PyErr_Occurred()) SWIG_fail
;
26631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26638 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26639 PyObject
*resultobj
= 0;
26640 wxListItem
*arg1
= (wxListItem
*) 0 ;
26644 PyObject
*swig_obj
[1] ;
26646 if (!args
) SWIG_fail
;
26647 swig_obj
[0] = args
;
26648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26649 if (!SWIG_IsOK(res1
)) {
26650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26652 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26655 result
= (bool)(arg1
)->HasAttributes();
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26668 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26669 PyObject
*resultobj
= 0;
26670 wxListItem
*arg1
= (wxListItem
*) 0 ;
26674 PyObject
*swig_obj
[1] ;
26676 if (!args
) SWIG_fail
;
26677 swig_obj
[0] = args
;
26678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26679 if (!SWIG_IsOK(res1
)) {
26680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26682 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26685 result
= ((wxListItem
const *)arg1
)->GetTextColour();
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26689 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26696 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26697 PyObject
*resultobj
= 0;
26698 wxListItem
*arg1
= (wxListItem
*) 0 ;
26702 PyObject
*swig_obj
[1] ;
26704 if (!args
) SWIG_fail
;
26705 swig_obj
[0] = args
;
26706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26707 if (!SWIG_IsOK(res1
)) {
26708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
26710 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26713 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
26714 wxPyEndAllowThreads(__tstate
);
26715 if (PyErr_Occurred()) SWIG_fail
;
26717 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26724 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26725 PyObject
*resultobj
= 0;
26726 wxListItem
*arg1
= (wxListItem
*) 0 ;
26730 PyObject
*swig_obj
[1] ;
26732 if (!args
) SWIG_fail
;
26733 swig_obj
[0] = args
;
26734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26735 if (!SWIG_IsOK(res1
)) {
26736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
26738 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26741 result
= ((wxListItem
const *)arg1
)->GetFont();
26742 wxPyEndAllowThreads(__tstate
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26745 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26752 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26753 PyObject
*resultobj
= 0;
26754 wxListItem
*arg1
= (wxListItem
*) 0 ;
26760 PyObject
*swig_obj
[2] ;
26762 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
26763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26764 if (!SWIG_IsOK(res1
)) {
26765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26767 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26768 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
26769 if (!SWIG_IsOK(ecode2
)) {
26770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
26772 arg2
= static_cast< long >(val2
);
26773 if (arg1
) (arg1
)->m_mask
= arg2
;
26775 resultobj
= SWIG_Py_Void();
26782 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26783 PyObject
*resultobj
= 0;
26784 wxListItem
*arg1
= (wxListItem
*) 0 ;
26788 PyObject
*swig_obj
[1] ;
26790 if (!args
) SWIG_fail
;
26791 swig_obj
[0] = args
;
26792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26793 if (!SWIG_IsOK(res1
)) {
26794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26796 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26797 result
= (long) ((arg1
)->m_mask
);
26798 resultobj
= SWIG_From_long(static_cast< long >(result
));
26805 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26806 PyObject
*resultobj
= 0;
26807 wxListItem
*arg1
= (wxListItem
*) 0 ;
26813 PyObject
*swig_obj
[2] ;
26815 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
26816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26817 if (!SWIG_IsOK(res1
)) {
26818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26820 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26821 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
26822 if (!SWIG_IsOK(ecode2
)) {
26823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
26825 arg2
= static_cast< long >(val2
);
26826 if (arg1
) (arg1
)->m_itemId
= arg2
;
26828 resultobj
= SWIG_Py_Void();
26835 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26836 PyObject
*resultobj
= 0;
26837 wxListItem
*arg1
= (wxListItem
*) 0 ;
26841 PyObject
*swig_obj
[1] ;
26843 if (!args
) SWIG_fail
;
26844 swig_obj
[0] = args
;
26845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26846 if (!SWIG_IsOK(res1
)) {
26847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26849 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26850 result
= (long) ((arg1
)->m_itemId
);
26851 resultobj
= SWIG_From_long(static_cast< long >(result
));
26858 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26859 PyObject
*resultobj
= 0;
26860 wxListItem
*arg1
= (wxListItem
*) 0 ;
26866 PyObject
*swig_obj
[2] ;
26868 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
26869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26870 if (!SWIG_IsOK(res1
)) {
26871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26873 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26874 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
26875 if (!SWIG_IsOK(ecode2
)) {
26876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
26878 arg2
= static_cast< int >(val2
);
26879 if (arg1
) (arg1
)->m_col
= arg2
;
26881 resultobj
= SWIG_Py_Void();
26888 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26889 PyObject
*resultobj
= 0;
26890 wxListItem
*arg1
= (wxListItem
*) 0 ;
26894 PyObject
*swig_obj
[1] ;
26896 if (!args
) SWIG_fail
;
26897 swig_obj
[0] = args
;
26898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26899 if (!SWIG_IsOK(res1
)) {
26900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26902 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26903 result
= (int) ((arg1
)->m_col
);
26904 resultobj
= SWIG_From_int(static_cast< int >(result
));
26911 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26912 PyObject
*resultobj
= 0;
26913 wxListItem
*arg1
= (wxListItem
*) 0 ;
26919 PyObject
*swig_obj
[2] ;
26921 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
26922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26923 if (!SWIG_IsOK(res1
)) {
26924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26926 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26927 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
26928 if (!SWIG_IsOK(ecode2
)) {
26929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
26931 arg2
= static_cast< long >(val2
);
26932 if (arg1
) (arg1
)->m_state
= arg2
;
26934 resultobj
= SWIG_Py_Void();
26941 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26942 PyObject
*resultobj
= 0;
26943 wxListItem
*arg1
= (wxListItem
*) 0 ;
26947 PyObject
*swig_obj
[1] ;
26949 if (!args
) SWIG_fail
;
26950 swig_obj
[0] = args
;
26951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26952 if (!SWIG_IsOK(res1
)) {
26953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
26955 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26956 result
= (long) ((arg1
)->m_state
);
26957 resultobj
= SWIG_From_long(static_cast< long >(result
));
26964 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26965 PyObject
*resultobj
= 0;
26966 wxListItem
*arg1
= (wxListItem
*) 0 ;
26972 PyObject
*swig_obj
[2] ;
26974 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
26975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26976 if (!SWIG_IsOK(res1
)) {
26977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
26979 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26980 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
26981 if (!SWIG_IsOK(ecode2
)) {
26982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
26984 arg2
= static_cast< long >(val2
);
26985 if (arg1
) (arg1
)->m_stateMask
= arg2
;
26987 resultobj
= SWIG_Py_Void();
26994 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26995 PyObject
*resultobj
= 0;
26996 wxListItem
*arg1
= (wxListItem
*) 0 ;
27000 PyObject
*swig_obj
[1] ;
27002 if (!args
) SWIG_fail
;
27003 swig_obj
[0] = args
;
27004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27005 if (!SWIG_IsOK(res1
)) {
27006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27008 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27009 result
= (long) ((arg1
)->m_stateMask
);
27010 resultobj
= SWIG_From_long(static_cast< long >(result
));
27017 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27018 PyObject
*resultobj
= 0;
27019 wxListItem
*arg1
= (wxListItem
*) 0 ;
27020 wxString
*arg2
= (wxString
*) 0 ;
27023 bool temp2
= false ;
27024 PyObject
*swig_obj
[2] ;
27026 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27028 if (!SWIG_IsOK(res1
)) {
27029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27031 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27033 arg2
= wxString_in_helper(swig_obj
[1]);
27034 if (arg2
== NULL
) SWIG_fail
;
27037 if (arg1
) (arg1
)->m_text
= *arg2
;
27039 resultobj
= SWIG_Py_Void();
27054 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27055 PyObject
*resultobj
= 0;
27056 wxListItem
*arg1
= (wxListItem
*) 0 ;
27057 wxString
*result
= 0 ;
27060 PyObject
*swig_obj
[1] ;
27062 if (!args
) SWIG_fail
;
27063 swig_obj
[0] = args
;
27064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27065 if (!SWIG_IsOK(res1
)) {
27066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27068 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27069 result
= (wxString
*)& ((arg1
)->m_text
);
27072 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27074 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27083 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27084 PyObject
*resultobj
= 0;
27085 wxListItem
*arg1
= (wxListItem
*) 0 ;
27091 PyObject
*swig_obj
[2] ;
27093 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27095 if (!SWIG_IsOK(res1
)) {
27096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27098 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27099 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27100 if (!SWIG_IsOK(ecode2
)) {
27101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27103 arg2
= static_cast< int >(val2
);
27104 if (arg1
) (arg1
)->m_image
= arg2
;
27106 resultobj
= SWIG_Py_Void();
27113 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27114 PyObject
*resultobj
= 0;
27115 wxListItem
*arg1
= (wxListItem
*) 0 ;
27119 PyObject
*swig_obj
[1] ;
27121 if (!args
) SWIG_fail
;
27122 swig_obj
[0] = args
;
27123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27124 if (!SWIG_IsOK(res1
)) {
27125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27127 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27128 result
= (int) ((arg1
)->m_image
);
27129 resultobj
= SWIG_From_int(static_cast< int >(result
));
27136 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27137 PyObject
*resultobj
= 0;
27138 wxListItem
*arg1
= (wxListItem
*) 0 ;
27144 PyObject
*swig_obj
[2] ;
27146 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27148 if (!SWIG_IsOK(res1
)) {
27149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27151 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27152 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27153 if (!SWIG_IsOK(ecode2
)) {
27154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27156 arg2
= static_cast< long >(val2
);
27157 if (arg1
) (arg1
)->m_data
= arg2
;
27159 resultobj
= SWIG_Py_Void();
27166 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27167 PyObject
*resultobj
= 0;
27168 wxListItem
*arg1
= (wxListItem
*) 0 ;
27172 PyObject
*swig_obj
[1] ;
27174 if (!args
) SWIG_fail
;
27175 swig_obj
[0] = args
;
27176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27177 if (!SWIG_IsOK(res1
)) {
27178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27180 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27181 result
= (long) ((arg1
)->m_data
);
27182 resultobj
= SWIG_From_long(static_cast< long >(result
));
27189 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27190 PyObject
*resultobj
= 0;
27191 wxListItem
*arg1
= (wxListItem
*) 0 ;
27197 PyObject
*swig_obj
[2] ;
27199 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27201 if (!SWIG_IsOK(res1
)) {
27202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27204 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27205 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27206 if (!SWIG_IsOK(ecode2
)) {
27207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27209 arg2
= static_cast< int >(val2
);
27210 if (arg1
) (arg1
)->m_format
= arg2
;
27212 resultobj
= SWIG_Py_Void();
27219 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27220 PyObject
*resultobj
= 0;
27221 wxListItem
*arg1
= (wxListItem
*) 0 ;
27225 PyObject
*swig_obj
[1] ;
27227 if (!args
) SWIG_fail
;
27228 swig_obj
[0] = args
;
27229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27230 if (!SWIG_IsOK(res1
)) {
27231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27233 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27234 result
= (int) ((arg1
)->m_format
);
27235 resultobj
= SWIG_From_int(static_cast< int >(result
));
27242 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27243 PyObject
*resultobj
= 0;
27244 wxListItem
*arg1
= (wxListItem
*) 0 ;
27250 PyObject
*swig_obj
[2] ;
27252 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27254 if (!SWIG_IsOK(res1
)) {
27255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27257 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27258 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27259 if (!SWIG_IsOK(ecode2
)) {
27260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27262 arg2
= static_cast< int >(val2
);
27263 if (arg1
) (arg1
)->m_width
= arg2
;
27265 resultobj
= SWIG_Py_Void();
27272 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27273 PyObject
*resultobj
= 0;
27274 wxListItem
*arg1
= (wxListItem
*) 0 ;
27278 PyObject
*swig_obj
[1] ;
27280 if (!args
) SWIG_fail
;
27281 swig_obj
[0] = args
;
27282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27283 if (!SWIG_IsOK(res1
)) {
27284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27286 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27287 result
= (int) ((arg1
)->m_width
);
27288 resultobj
= SWIG_From_int(static_cast< int >(result
));
27295 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27297 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27298 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27299 return SWIG_Py_Void();
27302 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27303 return SWIG_Python_InitShadowInstance(args
);
27306 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27307 PyObject
*resultobj
= 0;
27308 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27309 int arg2
= (int) 0 ;
27310 wxListEvent
*result
= 0 ;
27315 PyObject
* obj0
= 0 ;
27316 PyObject
* obj1
= 0 ;
27317 char * kwnames
[] = {
27318 (char *) "commandType",(char *) "id", NULL
27321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27323 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27324 if (!SWIG_IsOK(ecode1
)) {
27325 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27327 arg1
= static_cast< wxEventType
>(val1
);
27330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27331 if (!SWIG_IsOK(ecode2
)) {
27332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27334 arg2
= static_cast< int >(val2
);
27337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27338 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27339 wxPyEndAllowThreads(__tstate
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27349 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27350 PyObject
*resultobj
= 0;
27351 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27357 PyObject
*swig_obj
[2] ;
27359 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27361 if (!SWIG_IsOK(res1
)) {
27362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27364 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27365 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27366 if (!SWIG_IsOK(ecode2
)) {
27367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27369 arg2
= static_cast< int >(val2
);
27370 if (arg1
) (arg1
)->m_code
= arg2
;
27372 resultobj
= SWIG_Py_Void();
27379 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27380 PyObject
*resultobj
= 0;
27381 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27385 PyObject
*swig_obj
[1] ;
27387 if (!args
) SWIG_fail
;
27388 swig_obj
[0] = args
;
27389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27390 if (!SWIG_IsOK(res1
)) {
27391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27393 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27394 result
= (int) ((arg1
)->m_code
);
27395 resultobj
= SWIG_From_int(static_cast< int >(result
));
27402 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27403 PyObject
*resultobj
= 0;
27404 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27410 PyObject
*swig_obj
[2] ;
27412 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27414 if (!SWIG_IsOK(res1
)) {
27415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27417 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27418 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27419 if (!SWIG_IsOK(ecode2
)) {
27420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27422 arg2
= static_cast< long >(val2
);
27423 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27425 resultobj
= SWIG_Py_Void();
27432 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27433 PyObject
*resultobj
= 0;
27434 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27438 PyObject
*swig_obj
[1] ;
27440 if (!args
) SWIG_fail
;
27441 swig_obj
[0] = args
;
27442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27443 if (!SWIG_IsOK(res1
)) {
27444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27446 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27447 result
= (long) ((arg1
)->m_oldItemIndex
);
27448 resultobj
= SWIG_From_long(static_cast< long >(result
));
27455 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27456 PyObject
*resultobj
= 0;
27457 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27463 PyObject
*swig_obj
[2] ;
27465 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27467 if (!SWIG_IsOK(res1
)) {
27468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27470 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27471 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27472 if (!SWIG_IsOK(ecode2
)) {
27473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27475 arg2
= static_cast< long >(val2
);
27476 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27478 resultobj
= SWIG_Py_Void();
27485 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27486 PyObject
*resultobj
= 0;
27487 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27491 PyObject
*swig_obj
[1] ;
27493 if (!args
) SWIG_fail
;
27494 swig_obj
[0] = args
;
27495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27496 if (!SWIG_IsOK(res1
)) {
27497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27499 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27500 result
= (long) ((arg1
)->m_itemIndex
);
27501 resultobj
= SWIG_From_long(static_cast< long >(result
));
27508 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27509 PyObject
*resultobj
= 0;
27510 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27516 PyObject
*swig_obj
[2] ;
27518 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27520 if (!SWIG_IsOK(res1
)) {
27521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27523 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27524 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27525 if (!SWIG_IsOK(ecode2
)) {
27526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27528 arg2
= static_cast< int >(val2
);
27529 if (arg1
) (arg1
)->m_col
= arg2
;
27531 resultobj
= SWIG_Py_Void();
27538 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27539 PyObject
*resultobj
= 0;
27540 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27544 PyObject
*swig_obj
[1] ;
27546 if (!args
) SWIG_fail
;
27547 swig_obj
[0] = args
;
27548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27549 if (!SWIG_IsOK(res1
)) {
27550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27552 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27553 result
= (int) ((arg1
)->m_col
);
27554 resultobj
= SWIG_From_int(static_cast< int >(result
));
27561 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27562 PyObject
*resultobj
= 0;
27563 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27564 wxPoint
*arg2
= (wxPoint
*) 0 ;
27569 PyObject
*swig_obj
[2] ;
27571 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27573 if (!SWIG_IsOK(res1
)) {
27574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27576 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27577 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27578 if (!SWIG_IsOK(res2
)) {
27579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27581 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27582 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27584 resultobj
= SWIG_Py_Void();
27591 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27592 PyObject
*resultobj
= 0;
27593 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27594 wxPoint
*result
= 0 ;
27597 PyObject
*swig_obj
[1] ;
27599 if (!args
) SWIG_fail
;
27600 swig_obj
[0] = args
;
27601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27602 if (!SWIG_IsOK(res1
)) {
27603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27605 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27606 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
27607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
27614 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27615 PyObject
*resultobj
= 0;
27616 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27617 wxListItem
*result
= 0 ;
27620 PyObject
*swig_obj
[1] ;
27622 if (!args
) SWIG_fail
;
27623 swig_obj
[0] = args
;
27624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27625 if (!SWIG_IsOK(res1
)) {
27626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27628 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27629 result
= (wxListItem
*)& ((arg1
)->m_item
);
27631 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27639 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27640 PyObject
*resultobj
= 0;
27641 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27645 PyObject
*swig_obj
[1] ;
27647 if (!args
) SWIG_fail
;
27648 swig_obj
[0] = args
;
27649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27650 if (!SWIG_IsOK(res1
)) {
27651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
27653 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27656 result
= (int)(arg1
)->GetKeyCode();
27657 wxPyEndAllowThreads(__tstate
);
27658 if (PyErr_Occurred()) SWIG_fail
;
27660 resultobj
= SWIG_From_int(static_cast< int >(result
));
27667 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27668 PyObject
*resultobj
= 0;
27669 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27673 PyObject
*swig_obj
[1] ;
27675 if (!args
) SWIG_fail
;
27676 swig_obj
[0] = args
;
27677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27678 if (!SWIG_IsOK(res1
)) {
27679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
27681 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27684 result
= (long)(arg1
)->GetIndex();
27685 wxPyEndAllowThreads(__tstate
);
27686 if (PyErr_Occurred()) SWIG_fail
;
27688 resultobj
= SWIG_From_long(static_cast< long >(result
));
27695 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27696 PyObject
*resultobj
= 0;
27697 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27701 PyObject
*swig_obj
[1] ;
27703 if (!args
) SWIG_fail
;
27704 swig_obj
[0] = args
;
27705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27706 if (!SWIG_IsOK(res1
)) {
27707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
27709 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27712 result
= (int)(arg1
)->GetColumn();
27713 wxPyEndAllowThreads(__tstate
);
27714 if (PyErr_Occurred()) SWIG_fail
;
27716 resultobj
= SWIG_From_int(static_cast< int >(result
));
27723 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27724 PyObject
*resultobj
= 0;
27725 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27729 PyObject
*swig_obj
[1] ;
27731 if (!args
) SWIG_fail
;
27732 swig_obj
[0] = args
;
27733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27734 if (!SWIG_IsOK(res1
)) {
27735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
27737 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27740 result
= (arg1
)->GetPoint();
27741 wxPyEndAllowThreads(__tstate
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27744 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
27751 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27752 PyObject
*resultobj
= 0;
27753 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27754 wxString
*result
= 0 ;
27757 PyObject
*swig_obj
[1] ;
27759 if (!args
) SWIG_fail
;
27760 swig_obj
[0] = args
;
27761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27762 if (!SWIG_IsOK(res1
)) {
27763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
27765 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27769 wxString
const &_result_ref
= (arg1
)->GetLabel();
27770 result
= (wxString
*) &_result_ref
;
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27777 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27779 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27788 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27789 PyObject
*resultobj
= 0;
27790 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27791 wxString
*result
= 0 ;
27794 PyObject
*swig_obj
[1] ;
27796 if (!args
) SWIG_fail
;
27797 swig_obj
[0] = args
;
27798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27799 if (!SWIG_IsOK(res1
)) {
27800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
27802 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27806 wxString
const &_result_ref
= (arg1
)->GetText();
27807 result
= (wxString
*) &_result_ref
;
27809 wxPyEndAllowThreads(__tstate
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27814 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27816 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27825 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27826 PyObject
*resultobj
= 0;
27827 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27831 PyObject
*swig_obj
[1] ;
27833 if (!args
) SWIG_fail
;
27834 swig_obj
[0] = args
;
27835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27836 if (!SWIG_IsOK(res1
)) {
27837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
27839 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27842 result
= (int)(arg1
)->GetImage();
27843 wxPyEndAllowThreads(__tstate
);
27844 if (PyErr_Occurred()) SWIG_fail
;
27846 resultobj
= SWIG_From_int(static_cast< int >(result
));
27853 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27854 PyObject
*resultobj
= 0;
27855 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27859 PyObject
*swig_obj
[1] ;
27861 if (!args
) SWIG_fail
;
27862 swig_obj
[0] = args
;
27863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27864 if (!SWIG_IsOK(res1
)) {
27865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
27867 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27870 result
= (long)(arg1
)->GetData();
27871 wxPyEndAllowThreads(__tstate
);
27872 if (PyErr_Occurred()) SWIG_fail
;
27874 resultobj
= SWIG_From_long(static_cast< long >(result
));
27881 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27882 PyObject
*resultobj
= 0;
27883 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27887 PyObject
*swig_obj
[1] ;
27889 if (!args
) SWIG_fail
;
27890 swig_obj
[0] = args
;
27891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27892 if (!SWIG_IsOK(res1
)) {
27893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
27895 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 result
= (long)(arg1
)->GetMask();
27899 wxPyEndAllowThreads(__tstate
);
27900 if (PyErr_Occurred()) SWIG_fail
;
27902 resultobj
= SWIG_From_long(static_cast< long >(result
));
27909 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27910 PyObject
*resultobj
= 0;
27911 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27912 wxListItem
*result
= 0 ;
27915 PyObject
*swig_obj
[1] ;
27917 if (!args
) SWIG_fail
;
27918 swig_obj
[0] = args
;
27919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27920 if (!SWIG_IsOK(res1
)) {
27921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
27923 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 wxListItem
const &_result_ref
= (arg1
)->GetItem();
27928 result
= (wxListItem
*) &_result_ref
;
27930 wxPyEndAllowThreads(__tstate
);
27931 if (PyErr_Occurred()) SWIG_fail
;
27933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
27940 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27941 PyObject
*resultobj
= 0;
27942 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27946 PyObject
*swig_obj
[1] ;
27948 if (!args
) SWIG_fail
;
27949 swig_obj
[0] = args
;
27950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27951 if (!SWIG_IsOK(res1
)) {
27952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
27954 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27957 result
= (long)(arg1
)->GetCacheFrom();
27958 wxPyEndAllowThreads(__tstate
);
27959 if (PyErr_Occurred()) SWIG_fail
;
27961 resultobj
= SWIG_From_long(static_cast< long >(result
));
27968 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27969 PyObject
*resultobj
= 0;
27970 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27974 PyObject
*swig_obj
[1] ;
27976 if (!args
) SWIG_fail
;
27977 swig_obj
[0] = args
;
27978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27979 if (!SWIG_IsOK(res1
)) {
27980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
27982 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27985 result
= (long)(arg1
)->GetCacheTo();
27986 wxPyEndAllowThreads(__tstate
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27989 resultobj
= SWIG_From_long(static_cast< long >(result
));
27996 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27997 PyObject
*resultobj
= 0;
27998 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28002 PyObject
*swig_obj
[1] ;
28004 if (!args
) SWIG_fail
;
28005 swig_obj
[0] = args
;
28006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28007 if (!SWIG_IsOK(res1
)) {
28008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28010 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28013 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28014 wxPyEndAllowThreads(__tstate
);
28015 if (PyErr_Occurred()) SWIG_fail
;
28018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28026 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28027 PyObject
*resultobj
= 0;
28028 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28034 PyObject
* obj0
= 0 ;
28035 PyObject
* obj1
= 0 ;
28036 char * kwnames
[] = {
28037 (char *) "self",(char *) "editCancelled", NULL
28040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28042 if (!SWIG_IsOK(res1
)) {
28043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28045 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28046 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28047 if (!SWIG_IsOK(ecode2
)) {
28048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28050 arg2
= static_cast< bool >(val2
);
28052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 (arg1
)->SetEditCanceled(arg2
);
28054 wxPyEndAllowThreads(__tstate
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28057 resultobj
= SWIG_Py_Void();
28064 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28067 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28068 return SWIG_Py_Void();
28071 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28072 return SWIG_Python_InitShadowInstance(args
);
28075 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28076 PyObject
*resultobj
= 0;
28077 wxWindow
*arg1
= (wxWindow
*) 0 ;
28078 int arg2
= (int) -1 ;
28079 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28080 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28081 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28082 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28083 long arg5
= (long) wxLC_ICON
;
28084 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28085 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28086 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28087 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28088 wxPyListCtrl
*result
= 0 ;
28099 bool temp7
= false ;
28100 PyObject
* obj0
= 0 ;
28101 PyObject
* obj1
= 0 ;
28102 PyObject
* obj2
= 0 ;
28103 PyObject
* obj3
= 0 ;
28104 PyObject
* obj4
= 0 ;
28105 PyObject
* obj5
= 0 ;
28106 PyObject
* obj6
= 0 ;
28107 char * kwnames
[] = {
28108 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28113 if (!SWIG_IsOK(res1
)) {
28114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28116 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28119 if (!SWIG_IsOK(ecode2
)) {
28120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28122 arg2
= static_cast< int >(val2
);
28127 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28133 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28137 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28138 if (!SWIG_IsOK(ecode5
)) {
28139 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28141 arg5
= static_cast< long >(val5
);
28144 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28145 if (!SWIG_IsOK(res6
)) {
28146 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28151 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28155 arg7
= wxString_in_helper(obj6
);
28156 if (arg7
== NULL
) SWIG_fail
;
28161 if (!wxPyCheckForApp()) SWIG_fail
;
28162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28163 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28164 wxPyEndAllowThreads(__tstate
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28182 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28183 PyObject
*resultobj
= 0;
28184 wxPyListCtrl
*result
= 0 ;
28186 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28188 if (!wxPyCheckForApp()) SWIG_fail
;
28189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28190 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28201 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28202 PyObject
*resultobj
= 0;
28203 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28204 wxWindow
*arg2
= (wxWindow
*) 0 ;
28205 int arg3
= (int) -1 ;
28206 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28207 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28208 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28209 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28210 long arg6
= (long) wxLC_ICON
;
28211 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28212 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28213 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28214 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28228 bool temp8
= false ;
28229 PyObject
* obj0
= 0 ;
28230 PyObject
* obj1
= 0 ;
28231 PyObject
* obj2
= 0 ;
28232 PyObject
* obj3
= 0 ;
28233 PyObject
* obj4
= 0 ;
28234 PyObject
* obj5
= 0 ;
28235 PyObject
* obj6
= 0 ;
28236 PyObject
* obj7
= 0 ;
28237 char * kwnames
[] = {
28238 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28243 if (!SWIG_IsOK(res1
)) {
28244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28246 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28247 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28248 if (!SWIG_IsOK(res2
)) {
28249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28251 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28253 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28254 if (!SWIG_IsOK(ecode3
)) {
28255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28257 arg3
= static_cast< int >(val3
);
28262 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28268 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28272 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28273 if (!SWIG_IsOK(ecode6
)) {
28274 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28276 arg6
= static_cast< long >(val6
);
28279 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28280 if (!SWIG_IsOK(res7
)) {
28281 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28286 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28290 arg8
= wxString_in_helper(obj7
);
28291 if (arg8
== NULL
) SWIG_fail
;
28296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28297 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28298 wxPyEndAllowThreads(__tstate
);
28299 if (PyErr_Occurred()) SWIG_fail
;
28302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28318 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28319 PyObject
*resultobj
= 0;
28320 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28321 PyObject
*arg2
= (PyObject
*) 0 ;
28322 PyObject
*arg3
= (PyObject
*) 0 ;
28325 PyObject
* obj0
= 0 ;
28326 PyObject
* obj1
= 0 ;
28327 PyObject
* obj2
= 0 ;
28328 char * kwnames
[] = {
28329 (char *) "self",(char *) "self",(char *) "_class", NULL
28332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28334 if (!SWIG_IsOK(res1
)) {
28335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28337 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28342 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= SWIG_Py_Void();
28353 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28354 PyObject
*resultobj
= 0;
28355 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28357 wxListItem
*result
= 0 ;
28362 PyObject
* obj0
= 0 ;
28363 PyObject
* obj1
= 0 ;
28364 char * kwnames
[] = {
28365 (char *) "self",(char *) "col", NULL
28368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28370 if (!SWIG_IsOK(res1
)) {
28371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28373 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28375 if (!SWIG_IsOK(ecode2
)) {
28376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28378 arg2
= static_cast< int >(val2
);
28380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28381 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28386 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28394 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28395 PyObject
*resultobj
= 0;
28396 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28398 wxListItem
*arg3
= 0 ;
28406 PyObject
* obj0
= 0 ;
28407 PyObject
* obj1
= 0 ;
28408 PyObject
* obj2
= 0 ;
28409 char * kwnames
[] = {
28410 (char *) "self",(char *) "col",(char *) "item", NULL
28413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28415 if (!SWIG_IsOK(res1
)) {
28416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28418 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28420 if (!SWIG_IsOK(ecode2
)) {
28421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28423 arg2
= static_cast< int >(val2
);
28424 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28425 if (!SWIG_IsOK(res3
)) {
28426 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28431 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28434 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28435 wxPyEndAllowThreads(__tstate
);
28436 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28447 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28448 PyObject
*resultobj
= 0;
28449 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28456 PyObject
* obj0
= 0 ;
28457 PyObject
* obj1
= 0 ;
28458 char * kwnames
[] = {
28459 (char *) "self",(char *) "col", NULL
28462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28464 if (!SWIG_IsOK(res1
)) {
28465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28467 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28469 if (!SWIG_IsOK(ecode2
)) {
28470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28472 arg2
= static_cast< int >(val2
);
28474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28475 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28476 wxPyEndAllowThreads(__tstate
);
28477 if (PyErr_Occurred()) SWIG_fail
;
28479 resultobj
= SWIG_From_int(static_cast< int >(result
));
28486 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28487 PyObject
*resultobj
= 0;
28488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28498 PyObject
* obj0
= 0 ;
28499 PyObject
* obj1
= 0 ;
28500 PyObject
* obj2
= 0 ;
28501 char * kwnames
[] = {
28502 (char *) "self",(char *) "col",(char *) "width", NULL
28505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28507 if (!SWIG_IsOK(res1
)) {
28508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28510 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28512 if (!SWIG_IsOK(ecode2
)) {
28513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28515 arg2
= static_cast< int >(val2
);
28516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28517 if (!SWIG_IsOK(ecode3
)) {
28518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28520 arg3
= static_cast< int >(val3
);
28522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28523 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28524 wxPyEndAllowThreads(__tstate
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28536 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28537 PyObject
*resultobj
= 0;
28538 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28542 PyObject
*swig_obj
[1] ;
28544 if (!args
) SWIG_fail
;
28545 swig_obj
[0] = args
;
28546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28547 if (!SWIG_IsOK(res1
)) {
28548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28550 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28553 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28554 wxPyEndAllowThreads(__tstate
);
28555 if (PyErr_Occurred()) SWIG_fail
;
28557 resultobj
= SWIG_From_int(static_cast< int >(result
));
28564 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28565 PyObject
*resultobj
= 0;
28566 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28570 PyObject
*swig_obj
[1] ;
28572 if (!args
) SWIG_fail
;
28573 swig_obj
[0] = args
;
28574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28575 if (!SWIG_IsOK(res1
)) {
28576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28578 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28581 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28582 wxPyEndAllowThreads(__tstate
);
28583 if (PyErr_Occurred()) SWIG_fail
;
28585 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28592 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28593 PyObject
*resultobj
= 0;
28594 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28595 wxTextCtrl
*result
= 0 ;
28598 PyObject
*swig_obj
[1] ;
28600 if (!args
) SWIG_fail
;
28601 swig_obj
[0] = args
;
28602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28603 if (!SWIG_IsOK(res1
)) {
28604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28606 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28609 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
28610 wxPyEndAllowThreads(__tstate
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28614 resultobj
= wxPyMake_wxObject(result
, 0);
28622 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28623 PyObject
*resultobj
= 0;
28624 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28626 int arg3
= (int) 0 ;
28627 wxListItem
*result
= 0 ;
28634 PyObject
* obj0
= 0 ;
28635 PyObject
* obj1
= 0 ;
28636 PyObject
* obj2
= 0 ;
28637 char * kwnames
[] = {
28638 (char *) "self",(char *) "itemId",(char *) "col", NULL
28641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28643 if (!SWIG_IsOK(res1
)) {
28644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28646 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28647 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28648 if (!SWIG_IsOK(ecode2
)) {
28649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
28651 arg2
= static_cast< long >(val2
);
28653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28654 if (!SWIG_IsOK(ecode3
)) {
28655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
28657 arg3
= static_cast< int >(val3
);
28660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
28662 wxPyEndAllowThreads(__tstate
);
28663 if (PyErr_Occurred()) SWIG_fail
;
28666 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28674 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28675 PyObject
*resultobj
= 0;
28676 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28677 wxListItem
*arg2
= 0 ;
28683 PyObject
* obj0
= 0 ;
28684 PyObject
* obj1
= 0 ;
28685 char * kwnames
[] = {
28686 (char *) "self",(char *) "info", NULL
28689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28691 if (!SWIG_IsOK(res1
)) {
28692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28694 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28695 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
28696 if (!SWIG_IsOK(res2
)) {
28697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
28702 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
28704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28705 result
= (bool)(arg1
)->SetItem(*arg2
);
28706 wxPyEndAllowThreads(__tstate
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28718 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28719 PyObject
*resultobj
= 0;
28720 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28723 wxString
*arg4
= 0 ;
28724 int arg5
= (int) -1 ;
28732 bool temp4
= false ;
28735 PyObject
* obj0
= 0 ;
28736 PyObject
* obj1
= 0 ;
28737 PyObject
* obj2
= 0 ;
28738 PyObject
* obj3
= 0 ;
28739 PyObject
* obj4
= 0 ;
28740 char * kwnames
[] = {
28741 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
28744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28746 if (!SWIG_IsOK(res1
)) {
28747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28749 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28750 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28751 if (!SWIG_IsOK(ecode2
)) {
28752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
28754 arg2
= static_cast< long >(val2
);
28755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28756 if (!SWIG_IsOK(ecode3
)) {
28757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
28759 arg3
= static_cast< int >(val3
);
28761 arg4
= wxString_in_helper(obj3
);
28762 if (arg4
== NULL
) SWIG_fail
;
28766 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28767 if (!SWIG_IsOK(ecode5
)) {
28768 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
28770 arg5
= static_cast< int >(val5
);
28773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28774 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
28775 wxPyEndAllowThreads(__tstate
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28778 resultobj
= SWIG_From_long(static_cast< long >(result
));
28793 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28794 PyObject
*resultobj
= 0;
28795 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28805 PyObject
* obj0
= 0 ;
28806 PyObject
* obj1
= 0 ;
28807 PyObject
* obj2
= 0 ;
28808 char * kwnames
[] = {
28809 (char *) "self",(char *) "item",(char *) "stateMask", NULL
28812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28814 if (!SWIG_IsOK(res1
)) {
28815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28817 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28818 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28819 if (!SWIG_IsOK(ecode2
)) {
28820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
28822 arg2
= static_cast< long >(val2
);
28823 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28824 if (!SWIG_IsOK(ecode3
)) {
28825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
28827 arg3
= static_cast< long >(val3
);
28829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28830 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
28831 wxPyEndAllowThreads(__tstate
);
28832 if (PyErr_Occurred()) SWIG_fail
;
28834 resultobj
= SWIG_From_int(static_cast< int >(result
));
28841 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28842 PyObject
*resultobj
= 0;
28843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 PyObject
* obj2
= 0 ;
28859 PyObject
* obj3
= 0 ;
28860 char * kwnames
[] = {
28861 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
28864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28866 if (!SWIG_IsOK(res1
)) {
28867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28869 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28870 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28871 if (!SWIG_IsOK(ecode2
)) {
28872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
28874 arg2
= static_cast< long >(val2
);
28875 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28876 if (!SWIG_IsOK(ecode3
)) {
28877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
28879 arg3
= static_cast< long >(val3
);
28880 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
28881 if (!SWIG_IsOK(ecode4
)) {
28882 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
28884 arg4
= static_cast< long >(val4
);
28886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28887 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28900 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28901 PyObject
*resultobj
= 0;
28902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28905 int arg4
= (int) -1 ;
28915 PyObject
* obj0
= 0 ;
28916 PyObject
* obj1
= 0 ;
28917 PyObject
* obj2
= 0 ;
28918 PyObject
* obj3
= 0 ;
28919 char * kwnames
[] = {
28920 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
28923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28925 if (!SWIG_IsOK(res1
)) {
28926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28928 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28929 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28930 if (!SWIG_IsOK(ecode2
)) {
28931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
28933 arg2
= static_cast< long >(val2
);
28934 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28935 if (!SWIG_IsOK(ecode3
)) {
28936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
28938 arg3
= static_cast< int >(val3
);
28940 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28941 if (!SWIG_IsOK(ecode4
)) {
28942 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
28944 arg4
= static_cast< int >(val4
);
28947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28948 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
28949 wxPyEndAllowThreads(__tstate
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28961 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28962 PyObject
*resultobj
= 0;
28963 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28976 PyObject
* obj0
= 0 ;
28977 PyObject
* obj1
= 0 ;
28978 PyObject
* obj2
= 0 ;
28979 PyObject
* obj3
= 0 ;
28980 char * kwnames
[] = {
28981 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
28984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28986 if (!SWIG_IsOK(res1
)) {
28987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28989 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28990 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28991 if (!SWIG_IsOK(ecode2
)) {
28992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
28994 arg2
= static_cast< long >(val2
);
28995 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28996 if (!SWIG_IsOK(ecode3
)) {
28997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
28999 arg3
= static_cast< long >(val3
);
29000 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29001 if (!SWIG_IsOK(ecode4
)) {
29002 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29004 arg4
= static_cast< int >(val4
);
29006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29007 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29008 wxPyEndAllowThreads(__tstate
);
29009 if (PyErr_Occurred()) SWIG_fail
;
29012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29020 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29021 PyObject
*resultobj
= 0;
29022 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29029 PyObject
* obj0
= 0 ;
29030 PyObject
* obj1
= 0 ;
29031 char * kwnames
[] = {
29032 (char *) "self",(char *) "item", NULL
29035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29037 if (!SWIG_IsOK(res1
)) {
29038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29040 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29041 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29042 if (!SWIG_IsOK(ecode2
)) {
29043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29045 arg2
= static_cast< long >(val2
);
29047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29048 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29049 wxPyEndAllowThreads(__tstate
);
29050 if (PyErr_Occurred()) SWIG_fail
;
29054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29065 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29066 PyObject
*resultobj
= 0;
29067 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29069 wxString
*arg3
= 0 ;
29074 bool temp3
= false ;
29075 PyObject
* obj0
= 0 ;
29076 PyObject
* obj1
= 0 ;
29077 PyObject
* obj2
= 0 ;
29078 char * kwnames
[] = {
29079 (char *) "self",(char *) "item",(char *) "str", NULL
29082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29084 if (!SWIG_IsOK(res1
)) {
29085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29087 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29088 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29089 if (!SWIG_IsOK(ecode2
)) {
29090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29092 arg2
= static_cast< long >(val2
);
29094 arg3
= wxString_in_helper(obj2
);
29095 if (arg3
== NULL
) SWIG_fail
;
29099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29100 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29101 wxPyEndAllowThreads(__tstate
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29104 resultobj
= SWIG_Py_Void();
29119 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29120 PyObject
*resultobj
= 0;
29121 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29128 PyObject
* obj0
= 0 ;
29129 PyObject
* obj1
= 0 ;
29130 char * kwnames
[] = {
29131 (char *) "self",(char *) "item", NULL
29134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29136 if (!SWIG_IsOK(res1
)) {
29137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29139 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29140 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29141 if (!SWIG_IsOK(ecode2
)) {
29142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29144 arg2
= static_cast< long >(val2
);
29146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29147 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29148 wxPyEndAllowThreads(__tstate
);
29149 if (PyErr_Occurred()) SWIG_fail
;
29151 resultobj
= SWIG_From_long(static_cast< long >(result
));
29158 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29159 PyObject
*resultobj
= 0;
29160 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29170 PyObject
* obj0
= 0 ;
29171 PyObject
* obj1
= 0 ;
29172 PyObject
* obj2
= 0 ;
29173 char * kwnames
[] = {
29174 (char *) "self",(char *) "item",(char *) "data", NULL
29177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29179 if (!SWIG_IsOK(res1
)) {
29180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29182 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29183 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29184 if (!SWIG_IsOK(ecode2
)) {
29185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29187 arg2
= static_cast< long >(val2
);
29188 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29189 if (!SWIG_IsOK(ecode3
)) {
29190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29192 arg3
= static_cast< long >(val3
);
29194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29195 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29196 wxPyEndAllowThreads(__tstate
);
29197 if (PyErr_Occurred()) SWIG_fail
;
29200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29208 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29209 PyObject
*resultobj
= 0;
29210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29217 PyObject
* obj0
= 0 ;
29218 PyObject
* obj1
= 0 ;
29219 char * kwnames
[] = {
29220 (char *) "self",(char *) "item", NULL
29223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29225 if (!SWIG_IsOK(res1
)) {
29226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29228 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29229 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29230 if (!SWIG_IsOK(ecode2
)) {
29231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29233 arg2
= static_cast< long >(val2
);
29235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29236 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29237 wxPyEndAllowThreads(__tstate
);
29238 if (PyErr_Occurred()) SWIG_fail
;
29240 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29247 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29248 PyObject
*resultobj
= 0;
29249 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29251 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29259 PyObject
* obj0
= 0 ;
29260 PyObject
* obj1
= 0 ;
29261 PyObject
* obj2
= 0 ;
29262 char * kwnames
[] = {
29263 (char *) "self",(char *) "item",(char *) "code", NULL
29266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29268 if (!SWIG_IsOK(res1
)) {
29269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29271 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29272 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29273 if (!SWIG_IsOK(ecode2
)) {
29274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29276 arg2
= static_cast< long >(val2
);
29278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29279 if (!SWIG_IsOK(ecode3
)) {
29280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29282 arg3
= static_cast< int >(val3
);
29285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29286 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29287 wxPyEndAllowThreads(__tstate
);
29288 if (PyErr_Occurred()) SWIG_fail
;
29290 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29297 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29298 PyObject
*resultobj
= 0;
29299 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29301 wxPoint
*arg3
= 0 ;
29308 PyObject
* obj0
= 0 ;
29309 PyObject
* obj1
= 0 ;
29310 PyObject
* obj2
= 0 ;
29311 char * kwnames
[] = {
29312 (char *) "self",(char *) "item",(char *) "pos", NULL
29315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29317 if (!SWIG_IsOK(res1
)) {
29318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29320 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29321 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29322 if (!SWIG_IsOK(ecode2
)) {
29323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29325 arg2
= static_cast< long >(val2
);
29328 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29333 wxPyEndAllowThreads(__tstate
);
29334 if (PyErr_Occurred()) SWIG_fail
;
29337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29345 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29346 PyObject
*resultobj
= 0;
29347 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29351 PyObject
*swig_obj
[1] ;
29353 if (!args
) SWIG_fail
;
29354 swig_obj
[0] = args
;
29355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29356 if (!SWIG_IsOK(res1
)) {
29357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29359 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29362 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29363 wxPyEndAllowThreads(__tstate
);
29364 if (PyErr_Occurred()) SWIG_fail
;
29366 resultobj
= SWIG_From_int(static_cast< int >(result
));
29373 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29374 PyObject
*resultobj
= 0;
29375 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29379 PyObject
*swig_obj
[1] ;
29381 if (!args
) SWIG_fail
;
29382 swig_obj
[0] = args
;
29383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29384 if (!SWIG_IsOK(res1
)) {
29385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29387 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29390 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29391 wxPyEndAllowThreads(__tstate
);
29392 if (PyErr_Occurred()) SWIG_fail
;
29394 resultobj
= SWIG_From_int(static_cast< int >(result
));
29401 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29402 PyObject
*resultobj
= 0;
29403 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29407 PyObject
*swig_obj
[1] ;
29409 if (!args
) SWIG_fail
;
29410 swig_obj
[0] = args
;
29411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29412 if (!SWIG_IsOK(res1
)) {
29413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29415 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29418 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29419 wxPyEndAllowThreads(__tstate
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29422 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29429 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29430 PyObject
*resultobj
= 0;
29431 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29433 bool arg3
= (bool) false ;
29440 PyObject
* obj0
= 0 ;
29441 PyObject
* obj1
= 0 ;
29442 PyObject
* obj2
= 0 ;
29443 char * kwnames
[] = {
29444 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29449 if (!SWIG_IsOK(res1
)) {
29450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29452 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29454 if (!SWIG_IsOK(ecode2
)) {
29455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29457 arg2
= static_cast< int >(val2
);
29459 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29460 if (!SWIG_IsOK(ecode3
)) {
29461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29463 arg3
= static_cast< bool >(val3
);
29466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29467 (arg1
)->SetItemSpacing(arg2
,arg3
);
29468 wxPyEndAllowThreads(__tstate
);
29469 if (PyErr_Occurred()) SWIG_fail
;
29471 resultobj
= SWIG_Py_Void();
29478 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29479 PyObject
*resultobj
= 0;
29480 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29484 PyObject
*swig_obj
[1] ;
29486 if (!args
) SWIG_fail
;
29487 swig_obj
[0] = args
;
29488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29489 if (!SWIG_IsOK(res1
)) {
29490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29492 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29495 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29496 wxPyEndAllowThreads(__tstate
);
29497 if (PyErr_Occurred()) SWIG_fail
;
29499 resultobj
= SWIG_From_int(static_cast< int >(result
));
29506 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29507 PyObject
*resultobj
= 0;
29508 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29512 PyObject
*swig_obj
[1] ;
29514 if (!args
) SWIG_fail
;
29515 swig_obj
[0] = args
;
29516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29517 if (!SWIG_IsOK(res1
)) {
29518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29520 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29523 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29524 wxPyEndAllowThreads(__tstate
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29527 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29534 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29535 PyObject
*resultobj
= 0;
29536 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29537 wxColour
*arg2
= 0 ;
29541 PyObject
* obj0
= 0 ;
29542 PyObject
* obj1
= 0 ;
29543 char * kwnames
[] = {
29544 (char *) "self",(char *) "col", NULL
29547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",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_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29552 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29555 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29559 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29560 wxPyEndAllowThreads(__tstate
);
29561 if (PyErr_Occurred()) SWIG_fail
;
29563 resultobj
= SWIG_Py_Void();
29570 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29571 PyObject
*resultobj
= 0;
29572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29576 PyObject
*swig_obj
[1] ;
29578 if (!args
) SWIG_fail
;
29579 swig_obj
[0] = args
;
29580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29581 if (!SWIG_IsOK(res1
)) {
29582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29584 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29587 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29588 wxPyEndAllowThreads(__tstate
);
29589 if (PyErr_Occurred()) SWIG_fail
;
29591 resultobj
= SWIG_From_long(static_cast< long >(result
));
29598 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29599 PyObject
*resultobj
= 0;
29600 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29602 bool arg3
= (bool) true ;
29609 PyObject
* obj0
= 0 ;
29610 PyObject
* obj1
= 0 ;
29611 PyObject
* obj2
= 0 ;
29612 char * kwnames
[] = {
29613 (char *) "self",(char *) "style",(char *) "add", NULL
29616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29618 if (!SWIG_IsOK(res1
)) {
29619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29621 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29622 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29623 if (!SWIG_IsOK(ecode2
)) {
29624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29626 arg2
= static_cast< long >(val2
);
29628 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29629 if (!SWIG_IsOK(ecode3
)) {
29630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29632 arg3
= static_cast< bool >(val3
);
29635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29636 (arg1
)->SetSingleStyle(arg2
,arg3
);
29637 wxPyEndAllowThreads(__tstate
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29640 resultobj
= SWIG_Py_Void();
29647 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29648 PyObject
*resultobj
= 0;
29649 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29651 int arg3
= (int) wxLIST_NEXT_ALL
;
29652 int arg4
= (int) wxLIST_STATE_DONTCARE
;
29662 PyObject
* obj0
= 0 ;
29663 PyObject
* obj1
= 0 ;
29664 PyObject
* obj2
= 0 ;
29665 PyObject
* obj3
= 0 ;
29666 char * kwnames
[] = {
29667 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
29670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29672 if (!SWIG_IsOK(res1
)) {
29673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29675 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29676 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29677 if (!SWIG_IsOK(ecode2
)) {
29678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
29680 arg2
= static_cast< long >(val2
);
29682 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29683 if (!SWIG_IsOK(ecode3
)) {
29684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
29686 arg3
= static_cast< int >(val3
);
29689 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29690 if (!SWIG_IsOK(ecode4
)) {
29691 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
29693 arg4
= static_cast< int >(val4
);
29696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29697 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
29698 wxPyEndAllowThreads(__tstate
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29701 resultobj
= SWIG_From_long(static_cast< long >(result
));
29708 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29709 PyObject
*resultobj
= 0;
29710 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29712 wxImageList
*result
= 0 ;
29717 PyObject
* obj0
= 0 ;
29718 PyObject
* obj1
= 0 ;
29719 char * kwnames
[] = {
29720 (char *) "self",(char *) "which", NULL
29723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29725 if (!SWIG_IsOK(res1
)) {
29726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29728 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29730 if (!SWIG_IsOK(ecode2
)) {
29731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
29733 arg2
= static_cast< int >(val2
);
29735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29736 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
29737 wxPyEndAllowThreads(__tstate
);
29738 if (PyErr_Occurred()) SWIG_fail
;
29741 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29749 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29750 PyObject
*resultobj
= 0;
29751 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29752 wxImageList
*arg2
= (wxImageList
*) 0 ;
29760 PyObject
* obj0
= 0 ;
29761 PyObject
* obj1
= 0 ;
29762 PyObject
* obj2
= 0 ;
29763 char * kwnames
[] = {
29764 (char *) "self",(char *) "imageList",(char *) "which", NULL
29767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29769 if (!SWIG_IsOK(res1
)) {
29770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29772 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29773 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
29774 if (!SWIG_IsOK(res2
)) {
29775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
29777 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
29778 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29779 if (!SWIG_IsOK(ecode3
)) {
29780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
29782 arg3
= static_cast< int >(val3
);
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 (arg1
)->SetImageList(arg2
,arg3
);
29786 wxPyEndAllowThreads(__tstate
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29789 resultobj
= SWIG_Py_Void();
29796 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29797 PyObject
*resultobj
= 0;
29798 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29799 wxImageList
*arg2
= (wxImageList
*) 0 ;
29806 PyObject
* obj0
= 0 ;
29807 PyObject
* obj1
= 0 ;
29808 PyObject
* obj2
= 0 ;
29809 char * kwnames
[] = {
29810 (char *) "self",(char *) "imageList",(char *) "which", NULL
29813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29815 if (!SWIG_IsOK(res1
)) {
29816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29818 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29819 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
29820 if (!SWIG_IsOK(res2
)) {
29821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
29823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29824 if (!SWIG_IsOK(ecode3
)) {
29825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
29827 arg3
= static_cast< int >(val3
);
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 (arg1
)->AssignImageList(arg2
,arg3
);
29831 wxPyEndAllowThreads(__tstate
);
29832 if (PyErr_Occurred()) SWIG_fail
;
29834 resultobj
= SWIG_Py_Void();
29841 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29842 PyObject
*resultobj
= 0;
29843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29847 PyObject
*swig_obj
[1] ;
29849 if (!args
) SWIG_fail
;
29850 swig_obj
[0] = args
;
29851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29852 if (!SWIG_IsOK(res1
)) {
29853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29855 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29858 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
29859 wxPyEndAllowThreads(__tstate
);
29860 if (PyErr_Occurred()) SWIG_fail
;
29863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29871 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29872 PyObject
*resultobj
= 0;
29873 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29877 PyObject
*swig_obj
[1] ;
29879 if (!args
) SWIG_fail
;
29880 swig_obj
[0] = args
;
29881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29882 if (!SWIG_IsOK(res1
)) {
29883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29885 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29888 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
29889 wxPyEndAllowThreads(__tstate
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29901 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29902 PyObject
*resultobj
= 0;
29903 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29909 PyObject
* obj0
= 0 ;
29910 PyObject
* obj1
= 0 ;
29911 char * kwnames
[] = {
29912 (char *) "self",(char *) "item", NULL
29915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29917 if (!SWIG_IsOK(res1
)) {
29918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29920 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29921 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29922 if (!SWIG_IsOK(ecode2
)) {
29923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
29925 arg2
= static_cast< long >(val2
);
29927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29928 (arg1
)->RefreshItem(arg2
);
29929 wxPyEndAllowThreads(__tstate
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29932 resultobj
= SWIG_Py_Void();
29939 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29940 PyObject
*resultobj
= 0;
29941 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29950 PyObject
* obj0
= 0 ;
29951 PyObject
* obj1
= 0 ;
29952 PyObject
* obj2
= 0 ;
29953 char * kwnames
[] = {
29954 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
29957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29959 if (!SWIG_IsOK(res1
)) {
29960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29962 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29963 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29964 if (!SWIG_IsOK(ecode2
)) {
29965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
29967 arg2
= static_cast< long >(val2
);
29968 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29969 if (!SWIG_IsOK(ecode3
)) {
29970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
29972 arg3
= static_cast< long >(val3
);
29974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29975 (arg1
)->RefreshItems(arg2
,arg3
);
29976 wxPyEndAllowThreads(__tstate
);
29977 if (PyErr_Occurred()) SWIG_fail
;
29979 resultobj
= SWIG_Py_Void();
29986 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29987 PyObject
*resultobj
= 0;
29988 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29989 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
29995 PyObject
* obj0
= 0 ;
29996 PyObject
* obj1
= 0 ;
29997 char * kwnames
[] = {
29998 (char *) "self",(char *) "flag", NULL
30001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30003 if (!SWIG_IsOK(res1
)) {
30004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30006 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30009 if (!SWIG_IsOK(ecode2
)) {
30010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30012 arg2
= static_cast< int >(val2
);
30015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30016 result
= (bool)(arg1
)->Arrange(arg2
);
30017 wxPyEndAllowThreads(__tstate
);
30018 if (PyErr_Occurred()) SWIG_fail
;
30021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30029 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30030 PyObject
*resultobj
= 0;
30031 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30038 PyObject
* obj0
= 0 ;
30039 PyObject
* obj1
= 0 ;
30040 char * kwnames
[] = {
30041 (char *) "self",(char *) "item", NULL
30044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30046 if (!SWIG_IsOK(res1
)) {
30047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30049 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30050 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30051 if (!SWIG_IsOK(ecode2
)) {
30052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30054 arg2
= static_cast< long >(val2
);
30056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30057 result
= (bool)(arg1
)->DeleteItem(arg2
);
30058 wxPyEndAllowThreads(__tstate
);
30059 if (PyErr_Occurred()) SWIG_fail
;
30062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30070 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30071 PyObject
*resultobj
= 0;
30072 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30076 PyObject
*swig_obj
[1] ;
30078 if (!args
) SWIG_fail
;
30079 swig_obj
[0] = args
;
30080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30081 if (!SWIG_IsOK(res1
)) {
30082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30084 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30087 result
= (bool)(arg1
)->DeleteAllItems();
30088 wxPyEndAllowThreads(__tstate
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30100 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30101 PyObject
*resultobj
= 0;
30102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30109 PyObject
* obj0
= 0 ;
30110 PyObject
* obj1
= 0 ;
30111 char * kwnames
[] = {
30112 (char *) "self",(char *) "col", NULL
30115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30117 if (!SWIG_IsOK(res1
)) {
30118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30120 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30122 if (!SWIG_IsOK(ecode2
)) {
30123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30125 arg2
= static_cast< int >(val2
);
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30141 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30142 PyObject
*resultobj
= 0;
30143 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30147 PyObject
*swig_obj
[1] ;
30149 if (!args
) SWIG_fail
;
30150 swig_obj
[0] = args
;
30151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30152 if (!SWIG_IsOK(res1
)) {
30153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30155 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30158 result
= (bool)(arg1
)->DeleteAllColumns();
30159 wxPyEndAllowThreads(__tstate
);
30160 if (PyErr_Occurred()) SWIG_fail
;
30163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30171 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30172 PyObject
*resultobj
= 0;
30173 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30176 PyObject
*swig_obj
[1] ;
30178 if (!args
) SWIG_fail
;
30179 swig_obj
[0] = args
;
30180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30181 if (!SWIG_IsOK(res1
)) {
30182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30184 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30187 (arg1
)->ClearAll();
30188 wxPyEndAllowThreads(__tstate
);
30189 if (PyErr_Occurred()) SWIG_fail
;
30191 resultobj
= SWIG_Py_Void();
30198 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30199 PyObject
*resultobj
= 0;
30200 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30206 PyObject
* obj0
= 0 ;
30207 PyObject
* obj1
= 0 ;
30208 char * kwnames
[] = {
30209 (char *) "self",(char *) "item", NULL
30212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30214 if (!SWIG_IsOK(res1
)) {
30215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30217 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30218 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30219 if (!SWIG_IsOK(ecode2
)) {
30220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30222 arg2
= static_cast< long >(val2
);
30224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30225 (arg1
)->EditLabel(arg2
);
30226 wxPyEndAllowThreads(__tstate
);
30227 if (PyErr_Occurred()) SWIG_fail
;
30229 resultobj
= SWIG_Py_Void();
30236 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30237 PyObject
*resultobj
= 0;
30238 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30245 PyObject
* obj0
= 0 ;
30246 PyObject
* obj1
= 0 ;
30247 char * kwnames
[] = {
30248 (char *) "self",(char *) "item", NULL
30251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30253 if (!SWIG_IsOK(res1
)) {
30254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30256 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30257 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30258 if (!SWIG_IsOK(ecode2
)) {
30259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30261 arg2
= static_cast< long >(val2
);
30263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30264 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30265 wxPyEndAllowThreads(__tstate
);
30266 if (PyErr_Occurred()) SWIG_fail
;
30269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30277 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30278 PyObject
*resultobj
= 0;
30279 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30281 wxString
*arg3
= 0 ;
30282 bool arg4
= (bool) false ;
30288 bool temp3
= false ;
30291 PyObject
* obj0
= 0 ;
30292 PyObject
* obj1
= 0 ;
30293 PyObject
* obj2
= 0 ;
30294 PyObject
* obj3
= 0 ;
30295 char * kwnames
[] = {
30296 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30301 if (!SWIG_IsOK(res1
)) {
30302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30304 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30305 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30306 if (!SWIG_IsOK(ecode2
)) {
30307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30309 arg2
= static_cast< long >(val2
);
30311 arg3
= wxString_in_helper(obj2
);
30312 if (arg3
== NULL
) SWIG_fail
;
30316 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30317 if (!SWIG_IsOK(ecode4
)) {
30318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30320 arg4
= static_cast< bool >(val4
);
30323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30324 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30325 wxPyEndAllowThreads(__tstate
);
30326 if (PyErr_Occurred()) SWIG_fail
;
30328 resultobj
= SWIG_From_long(static_cast< long >(result
));
30343 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30344 PyObject
*resultobj
= 0;
30345 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30355 PyObject
* obj0
= 0 ;
30356 PyObject
* obj1
= 0 ;
30357 PyObject
* obj2
= 0 ;
30358 char * kwnames
[] = {
30359 (char *) "self",(char *) "start",(char *) "data", NULL
30362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30364 if (!SWIG_IsOK(res1
)) {
30365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30367 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30368 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30369 if (!SWIG_IsOK(ecode2
)) {
30370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30372 arg2
= static_cast< long >(val2
);
30373 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30374 if (!SWIG_IsOK(ecode3
)) {
30375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30377 arg3
= static_cast< long >(val3
);
30379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30380 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30381 wxPyEndAllowThreads(__tstate
);
30382 if (PyErr_Occurred()) SWIG_fail
;
30384 resultobj
= SWIG_From_long(static_cast< long >(result
));
30391 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30392 PyObject
*resultobj
= 0;
30393 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30395 wxPoint
*arg3
= 0 ;
30405 PyObject
* obj0
= 0 ;
30406 PyObject
* obj1
= 0 ;
30407 PyObject
* obj2
= 0 ;
30408 PyObject
* obj3
= 0 ;
30409 char * kwnames
[] = {
30410 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30415 if (!SWIG_IsOK(res1
)) {
30416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30418 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30419 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30420 if (!SWIG_IsOK(ecode2
)) {
30421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30423 arg2
= static_cast< long >(val2
);
30426 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30428 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30429 if (!SWIG_IsOK(ecode4
)) {
30430 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30432 arg4
= static_cast< int >(val4
);
30434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30435 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30436 wxPyEndAllowThreads(__tstate
);
30437 if (PyErr_Occurred()) SWIG_fail
;
30439 resultobj
= SWIG_From_long(static_cast< long >(result
));
30446 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30447 PyObject
*resultobj
= 0;
30448 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30449 wxPoint
*arg2
= 0 ;
30456 int res3
= SWIG_TMPOBJ
;
30457 PyObject
* obj0
= 0 ;
30458 PyObject
* obj1
= 0 ;
30459 char * kwnames
[] = {
30460 (char *) "self",(char *) "point", NULL
30464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30466 if (!SWIG_IsOK(res1
)) {
30467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30469 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30472 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30476 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30477 wxPyEndAllowThreads(__tstate
);
30478 if (PyErr_Occurred()) SWIG_fail
;
30480 resultobj
= SWIG_From_long(static_cast< long >(result
));
30481 if (SWIG_IsTmpObj(res3
)) {
30482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30484 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30493 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30494 PyObject
*resultobj
= 0;
30495 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30496 wxListItem
*arg2
= 0 ;
30502 PyObject
* obj0
= 0 ;
30503 PyObject
* obj1
= 0 ;
30504 char * kwnames
[] = {
30505 (char *) "self",(char *) "info", NULL
30508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30510 if (!SWIG_IsOK(res1
)) {
30511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30513 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30515 if (!SWIG_IsOK(res2
)) {
30516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30521 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30524 result
= (long)(arg1
)->InsertItem(*arg2
);
30525 wxPyEndAllowThreads(__tstate
);
30526 if (PyErr_Occurred()) SWIG_fail
;
30528 resultobj
= SWIG_From_long(static_cast< long >(result
));
30535 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30536 PyObject
*resultobj
= 0;
30537 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30539 wxString
*arg3
= 0 ;
30540 int arg4
= (int) -1 ;
30546 bool temp3
= false ;
30549 PyObject
* obj0
= 0 ;
30550 PyObject
* obj1
= 0 ;
30551 PyObject
* obj2
= 0 ;
30552 PyObject
* obj3
= 0 ;
30553 char * kwnames
[] = {
30554 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30559 if (!SWIG_IsOK(res1
)) {
30560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30562 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30563 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30564 if (!SWIG_IsOK(ecode2
)) {
30565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30567 arg2
= static_cast< long >(val2
);
30569 arg3
= wxString_in_helper(obj2
);
30570 if (arg3
== NULL
) SWIG_fail
;
30574 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30575 if (!SWIG_IsOK(ecode4
)) {
30576 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
30578 arg4
= static_cast< int >(val4
);
30581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30582 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30583 wxPyEndAllowThreads(__tstate
);
30584 if (PyErr_Occurred()) SWIG_fail
;
30586 resultobj
= SWIG_From_long(static_cast< long >(result
));
30601 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30602 PyObject
*resultobj
= 0;
30603 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30613 PyObject
* obj0
= 0 ;
30614 PyObject
* obj1
= 0 ;
30615 PyObject
* obj2
= 0 ;
30616 char * kwnames
[] = {
30617 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
30620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30622 if (!SWIG_IsOK(res1
)) {
30623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30625 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30626 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30627 if (!SWIG_IsOK(ecode2
)) {
30628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
30630 arg2
= static_cast< long >(val2
);
30631 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30632 if (!SWIG_IsOK(ecode3
)) {
30633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
30635 arg3
= static_cast< int >(val3
);
30637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30638 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
30639 wxPyEndAllowThreads(__tstate
);
30640 if (PyErr_Occurred()) SWIG_fail
;
30642 resultobj
= SWIG_From_long(static_cast< long >(result
));
30649 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30650 PyObject
*resultobj
= 0;
30651 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30653 wxString
*arg3
= 0 ;
30660 bool temp3
= false ;
30663 PyObject
* obj0
= 0 ;
30664 PyObject
* obj1
= 0 ;
30665 PyObject
* obj2
= 0 ;
30666 PyObject
* obj3
= 0 ;
30667 char * kwnames
[] = {
30668 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30673 if (!SWIG_IsOK(res1
)) {
30674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30676 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30677 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30678 if (!SWIG_IsOK(ecode2
)) {
30679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
30681 arg2
= static_cast< long >(val2
);
30683 arg3
= wxString_in_helper(obj2
);
30684 if (arg3
== NULL
) SWIG_fail
;
30687 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30688 if (!SWIG_IsOK(ecode4
)) {
30689 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
30691 arg4
= static_cast< int >(val4
);
30693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30694 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30695 wxPyEndAllowThreads(__tstate
);
30696 if (PyErr_Occurred()) SWIG_fail
;
30698 resultobj
= SWIG_From_long(static_cast< long >(result
));
30713 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30714 PyObject
*resultobj
= 0;
30715 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30717 wxListItem
*arg3
= 0 ;
30725 PyObject
* obj0
= 0 ;
30726 PyObject
* obj1
= 0 ;
30727 PyObject
* obj2
= 0 ;
30728 char * kwnames
[] = {
30729 (char *) "self",(char *) "col",(char *) "info", NULL
30732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30734 if (!SWIG_IsOK(res1
)) {
30735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30737 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30738 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30739 if (!SWIG_IsOK(ecode2
)) {
30740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
30742 arg2
= static_cast< long >(val2
);
30743 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
30744 if (!SWIG_IsOK(res3
)) {
30745 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
30748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
30750 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
30752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30753 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
30754 wxPyEndAllowThreads(__tstate
);
30755 if (PyErr_Occurred()) SWIG_fail
;
30757 resultobj
= SWIG_From_long(static_cast< long >(result
));
30764 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30765 PyObject
*resultobj
= 0;
30766 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30768 wxString
*arg3
= 0 ;
30769 int arg4
= (int) wxLIST_FORMAT_LEFT
;
30770 int arg5
= (int) -1 ;
30776 bool temp3
= false ;
30781 PyObject
* obj0
= 0 ;
30782 PyObject
* obj1
= 0 ;
30783 PyObject
* obj2
= 0 ;
30784 PyObject
* obj3
= 0 ;
30785 PyObject
* obj4
= 0 ;
30786 char * kwnames
[] = {
30787 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
30790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30792 if (!SWIG_IsOK(res1
)) {
30793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30795 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30796 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30797 if (!SWIG_IsOK(ecode2
)) {
30798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
30800 arg2
= static_cast< long >(val2
);
30802 arg3
= wxString_in_helper(obj2
);
30803 if (arg3
== NULL
) SWIG_fail
;
30807 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30808 if (!SWIG_IsOK(ecode4
)) {
30809 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
30811 arg4
= static_cast< int >(val4
);
30814 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30815 if (!SWIG_IsOK(ecode5
)) {
30816 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
30818 arg5
= static_cast< int >(val5
);
30821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30822 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
30823 wxPyEndAllowThreads(__tstate
);
30824 if (PyErr_Occurred()) SWIG_fail
;
30826 resultobj
= SWIG_From_long(static_cast< long >(result
));
30841 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30842 PyObject
*resultobj
= 0;
30843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30849 PyObject
* obj0
= 0 ;
30850 PyObject
* obj1
= 0 ;
30851 char * kwnames
[] = {
30852 (char *) "self",(char *) "count", NULL
30855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30857 if (!SWIG_IsOK(res1
)) {
30858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30860 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30861 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30862 if (!SWIG_IsOK(ecode2
)) {
30863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
30865 arg2
= static_cast< long >(val2
);
30867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30868 (arg1
)->SetItemCount(arg2
);
30869 wxPyEndAllowThreads(__tstate
);
30870 if (PyErr_Occurred()) SWIG_fail
;
30872 resultobj
= SWIG_Py_Void();
30879 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30880 PyObject
*resultobj
= 0;
30881 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30891 PyObject
* obj0
= 0 ;
30892 PyObject
* obj1
= 0 ;
30893 PyObject
* obj2
= 0 ;
30894 char * kwnames
[] = {
30895 (char *) "self",(char *) "dx",(char *) "dy", NULL
30898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30900 if (!SWIG_IsOK(res1
)) {
30901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30903 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30905 if (!SWIG_IsOK(ecode2
)) {
30906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
30908 arg2
= static_cast< int >(val2
);
30909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30910 if (!SWIG_IsOK(ecode3
)) {
30911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
30913 arg3
= static_cast< int >(val3
);
30915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30916 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
30917 wxPyEndAllowThreads(__tstate
);
30918 if (PyErr_Occurred()) SWIG_fail
;
30921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30929 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30930 PyObject
*resultobj
= 0;
30931 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30933 wxColour
*arg3
= 0 ;
30939 PyObject
* obj0
= 0 ;
30940 PyObject
* obj1
= 0 ;
30941 PyObject
* obj2
= 0 ;
30942 char * kwnames
[] = {
30943 (char *) "self",(char *) "item",(char *) "col", NULL
30946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30948 if (!SWIG_IsOK(res1
)) {
30949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30951 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30952 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30953 if (!SWIG_IsOK(ecode2
)) {
30954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
30956 arg2
= static_cast< long >(val2
);
30959 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30963 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
30964 wxPyEndAllowThreads(__tstate
);
30965 if (PyErr_Occurred()) SWIG_fail
;
30967 resultobj
= SWIG_Py_Void();
30974 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30975 PyObject
*resultobj
= 0;
30976 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30983 PyObject
* obj0
= 0 ;
30984 PyObject
* obj1
= 0 ;
30985 char * kwnames
[] = {
30986 (char *) "self",(char *) "item", NULL
30989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30991 if (!SWIG_IsOK(res1
)) {
30992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30994 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30995 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30996 if (!SWIG_IsOK(ecode2
)) {
30997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
30999 arg2
= static_cast< long >(val2
);
31001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31002 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31003 wxPyEndAllowThreads(__tstate
);
31004 if (PyErr_Occurred()) SWIG_fail
;
31006 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31013 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31014 PyObject
*resultobj
= 0;
31015 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31017 wxColour
*arg3
= 0 ;
31023 PyObject
* obj0
= 0 ;
31024 PyObject
* obj1
= 0 ;
31025 PyObject
* obj2
= 0 ;
31026 char * kwnames
[] = {
31027 (char *) "self",(char *) "item",(char *) "col", NULL
31030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31032 if (!SWIG_IsOK(res1
)) {
31033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31035 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31036 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31037 if (!SWIG_IsOK(ecode2
)) {
31038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31040 arg2
= static_cast< long >(val2
);
31043 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31047 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31048 wxPyEndAllowThreads(__tstate
);
31049 if (PyErr_Occurred()) SWIG_fail
;
31051 resultobj
= SWIG_Py_Void();
31058 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31059 PyObject
*resultobj
= 0;
31060 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31067 PyObject
* obj0
= 0 ;
31068 PyObject
* obj1
= 0 ;
31069 char * kwnames
[] = {
31070 (char *) "self",(char *) "item", NULL
31073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31075 if (!SWIG_IsOK(res1
)) {
31076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31078 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31079 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31080 if (!SWIG_IsOK(ecode2
)) {
31081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31083 arg2
= static_cast< long >(val2
);
31085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31086 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31087 wxPyEndAllowThreads(__tstate
);
31088 if (PyErr_Occurred()) SWIG_fail
;
31090 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31097 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31098 PyObject
*resultobj
= 0;
31099 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31108 PyObject
* obj0
= 0 ;
31109 PyObject
* obj1
= 0 ;
31110 PyObject
* obj2
= 0 ;
31111 char * kwnames
[] = {
31112 (char *) "self",(char *) "item",(char *) "f", NULL
31115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31117 if (!SWIG_IsOK(res1
)) {
31118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31120 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31121 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31122 if (!SWIG_IsOK(ecode2
)) {
31123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31125 arg2
= static_cast< long >(val2
);
31126 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31127 if (!SWIG_IsOK(res3
)) {
31128 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31133 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31136 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31137 wxPyEndAllowThreads(__tstate
);
31138 if (PyErr_Occurred()) SWIG_fail
;
31140 resultobj
= SWIG_Py_Void();
31147 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31148 PyObject
*resultobj
= 0;
31149 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31156 PyObject
* obj0
= 0 ;
31157 PyObject
* obj1
= 0 ;
31158 char * kwnames
[] = {
31159 (char *) "self",(char *) "item", NULL
31162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31164 if (!SWIG_IsOK(res1
)) {
31165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31167 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31168 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31169 if (!SWIG_IsOK(ecode2
)) {
31170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31172 arg2
= static_cast< long >(val2
);
31174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31175 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31176 wxPyEndAllowThreads(__tstate
);
31177 if (PyErr_Occurred()) SWIG_fail
;
31179 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31186 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31187 PyObject
*resultobj
= 0;
31188 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31189 PyObject
*arg2
= (PyObject
*) 0 ;
31193 PyObject
* obj0
= 0 ;
31194 PyObject
* obj1
= 0 ;
31195 char * kwnames
[] = {
31196 (char *) "self",(char *) "func", NULL
31199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31201 if (!SWIG_IsOK(res1
)) {
31202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31204 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31208 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31209 wxPyEndAllowThreads(__tstate
);
31210 if (PyErr_Occurred()) SWIG_fail
;
31213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31221 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31222 PyObject
*resultobj
= 0;
31223 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31224 wxWindow
*result
= 0 ;
31227 PyObject
*swig_obj
[1] ;
31229 if (!args
) SWIG_fail
;
31230 swig_obj
[0] = args
;
31231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31232 if (!SWIG_IsOK(res1
)) {
31233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31235 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31238 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31239 wxPyEndAllowThreads(__tstate
);
31240 if (PyErr_Occurred()) SWIG_fail
;
31243 resultobj
= wxPyMake_wxObject(result
, 0);
31251 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31252 PyObject
*resultobj
= 0;
31253 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31254 SwigValueWrapper
<wxVisualAttributes
> result
;
31257 PyObject
* obj0
= 0 ;
31258 char * kwnames
[] = {
31259 (char *) "variant", NULL
31262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31264 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31265 if (!SWIG_IsOK(ecode1
)) {
31266 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31268 arg1
= static_cast< wxWindowVariant
>(val1
);
31271 if (!wxPyCheckForApp()) SWIG_fail
;
31272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31273 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31274 wxPyEndAllowThreads(__tstate
);
31275 if (PyErr_Occurred()) SWIG_fail
;
31277 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31284 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31286 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31287 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31288 return SWIG_Py_Void();
31291 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31292 return SWIG_Python_InitShadowInstance(args
);
31295 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31296 PyObject
*resultobj
= 0;
31297 wxWindow
*arg1
= (wxWindow
*) 0 ;
31298 int arg2
= (int) -1 ;
31299 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31300 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31301 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31302 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31303 long arg5
= (long) wxLC_REPORT
;
31304 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31305 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31306 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31307 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31308 wxListView
*result
= 0 ;
31319 bool temp7
= false ;
31320 PyObject
* obj0
= 0 ;
31321 PyObject
* obj1
= 0 ;
31322 PyObject
* obj2
= 0 ;
31323 PyObject
* obj3
= 0 ;
31324 PyObject
* obj4
= 0 ;
31325 PyObject
* obj5
= 0 ;
31326 PyObject
* obj6
= 0 ;
31327 char * kwnames
[] = {
31328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31333 if (!SWIG_IsOK(res1
)) {
31334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31336 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31339 if (!SWIG_IsOK(ecode2
)) {
31340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31342 arg2
= static_cast< int >(val2
);
31347 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31353 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31357 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31358 if (!SWIG_IsOK(ecode5
)) {
31359 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31361 arg5
= static_cast< long >(val5
);
31364 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31365 if (!SWIG_IsOK(res6
)) {
31366 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31371 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31375 arg7
= wxString_in_helper(obj6
);
31376 if (arg7
== NULL
) SWIG_fail
;
31381 if (!wxPyCheckForApp()) SWIG_fail
;
31382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31383 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31384 wxPyEndAllowThreads(__tstate
);
31385 if (PyErr_Occurred()) SWIG_fail
;
31387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31402 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31403 PyObject
*resultobj
= 0;
31404 wxListView
*result
= 0 ;
31406 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31408 if (!wxPyCheckForApp()) SWIG_fail
;
31409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31410 result
= (wxListView
*)new wxListView();
31411 wxPyEndAllowThreads(__tstate
);
31412 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31421 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31422 PyObject
*resultobj
= 0;
31423 wxListView
*arg1
= (wxListView
*) 0 ;
31424 wxWindow
*arg2
= (wxWindow
*) 0 ;
31425 int arg3
= (int) -1 ;
31426 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31427 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31428 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31429 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31430 long arg6
= (long) wxLC_REPORT
;
31431 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31432 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31433 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31434 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31448 bool temp8
= false ;
31449 PyObject
* obj0
= 0 ;
31450 PyObject
* obj1
= 0 ;
31451 PyObject
* obj2
= 0 ;
31452 PyObject
* obj3
= 0 ;
31453 PyObject
* obj4
= 0 ;
31454 PyObject
* obj5
= 0 ;
31455 PyObject
* obj6
= 0 ;
31456 PyObject
* obj7
= 0 ;
31457 char * kwnames
[] = {
31458 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31463 if (!SWIG_IsOK(res1
)) {
31464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31466 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31468 if (!SWIG_IsOK(res2
)) {
31469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31471 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31473 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31474 if (!SWIG_IsOK(ecode3
)) {
31475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31477 arg3
= static_cast< int >(val3
);
31482 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31488 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31492 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31493 if (!SWIG_IsOK(ecode6
)) {
31494 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31496 arg6
= static_cast< long >(val6
);
31499 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31500 if (!SWIG_IsOK(res7
)) {
31501 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31504 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31506 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31510 arg8
= wxString_in_helper(obj7
);
31511 if (arg8
== NULL
) SWIG_fail
;
31516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31517 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31518 wxPyEndAllowThreads(__tstate
);
31519 if (PyErr_Occurred()) SWIG_fail
;
31522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31538 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31539 PyObject
*resultobj
= 0;
31540 wxListView
*arg1
= (wxListView
*) 0 ;
31542 bool arg3
= (bool) true ;
31549 PyObject
* obj0
= 0 ;
31550 PyObject
* obj1
= 0 ;
31551 PyObject
* obj2
= 0 ;
31552 char * kwnames
[] = {
31553 (char *) "self",(char *) "n",(char *) "on", NULL
31556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31558 if (!SWIG_IsOK(res1
)) {
31559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31561 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31562 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31563 if (!SWIG_IsOK(ecode2
)) {
31564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31566 arg2
= static_cast< long >(val2
);
31568 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31569 if (!SWIG_IsOK(ecode3
)) {
31570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
31572 arg3
= static_cast< bool >(val3
);
31575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31576 (arg1
)->Select(arg2
,arg3
);
31577 wxPyEndAllowThreads(__tstate
);
31578 if (PyErr_Occurred()) SWIG_fail
;
31580 resultobj
= SWIG_Py_Void();
31587 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31588 PyObject
*resultobj
= 0;
31589 wxListView
*arg1
= (wxListView
*) 0 ;
31595 PyObject
* obj0
= 0 ;
31596 PyObject
* obj1
= 0 ;
31597 char * kwnames
[] = {
31598 (char *) "self",(char *) "index", NULL
31601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31603 if (!SWIG_IsOK(res1
)) {
31604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
31606 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31607 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31608 if (!SWIG_IsOK(ecode2
)) {
31609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
31611 arg2
= static_cast< long >(val2
);
31613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31614 (arg1
)->Focus(arg2
);
31615 wxPyEndAllowThreads(__tstate
);
31616 if (PyErr_Occurred()) SWIG_fail
;
31618 resultobj
= SWIG_Py_Void();
31625 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31626 PyObject
*resultobj
= 0;
31627 wxListView
*arg1
= (wxListView
*) 0 ;
31631 PyObject
*swig_obj
[1] ;
31633 if (!args
) SWIG_fail
;
31634 swig_obj
[0] = args
;
31635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31636 if (!SWIG_IsOK(res1
)) {
31637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
31639 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31642 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
31643 wxPyEndAllowThreads(__tstate
);
31644 if (PyErr_Occurred()) SWIG_fail
;
31646 resultobj
= SWIG_From_long(static_cast< long >(result
));
31653 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31654 PyObject
*resultobj
= 0;
31655 wxListView
*arg1
= (wxListView
*) 0 ;
31662 PyObject
* obj0
= 0 ;
31663 PyObject
* obj1
= 0 ;
31664 char * kwnames
[] = {
31665 (char *) "self",(char *) "item", NULL
31668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31670 if (!SWIG_IsOK(res1
)) {
31671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31673 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31674 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31675 if (!SWIG_IsOK(ecode2
)) {
31676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
31678 arg2
= static_cast< long >(val2
);
31680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31681 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
31682 wxPyEndAllowThreads(__tstate
);
31683 if (PyErr_Occurred()) SWIG_fail
;
31685 resultobj
= SWIG_From_long(static_cast< long >(result
));
31692 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31693 PyObject
*resultobj
= 0;
31694 wxListView
*arg1
= (wxListView
*) 0 ;
31698 PyObject
*swig_obj
[1] ;
31700 if (!args
) SWIG_fail
;
31701 swig_obj
[0] = args
;
31702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31703 if (!SWIG_IsOK(res1
)) {
31704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
31706 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31709 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
31710 wxPyEndAllowThreads(__tstate
);
31711 if (PyErr_Occurred()) SWIG_fail
;
31713 resultobj
= SWIG_From_long(static_cast< long >(result
));
31720 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31721 PyObject
*resultobj
= 0;
31722 wxListView
*arg1
= (wxListView
*) 0 ;
31729 PyObject
* obj0
= 0 ;
31730 PyObject
* obj1
= 0 ;
31731 char * kwnames
[] = {
31732 (char *) "self",(char *) "index", NULL
31735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31737 if (!SWIG_IsOK(res1
)) {
31738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
31740 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31741 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31742 if (!SWIG_IsOK(ecode2
)) {
31743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
31745 arg2
= static_cast< long >(val2
);
31747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31748 result
= (bool)(arg1
)->IsSelected(arg2
);
31749 wxPyEndAllowThreads(__tstate
);
31750 if (PyErr_Occurred()) SWIG_fail
;
31753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31761 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31762 PyObject
*resultobj
= 0;
31763 wxListView
*arg1
= (wxListView
*) 0 ;
31772 PyObject
* obj0
= 0 ;
31773 PyObject
* obj1
= 0 ;
31774 PyObject
* obj2
= 0 ;
31775 char * kwnames
[] = {
31776 (char *) "self",(char *) "col",(char *) "image", NULL
31779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31781 if (!SWIG_IsOK(res1
)) {
31782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
31784 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31786 if (!SWIG_IsOK(ecode2
)) {
31787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
31789 arg2
= static_cast< int >(val2
);
31790 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31791 if (!SWIG_IsOK(ecode3
)) {
31792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
31794 arg3
= static_cast< int >(val3
);
31796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31797 (arg1
)->SetColumnImage(arg2
,arg3
);
31798 wxPyEndAllowThreads(__tstate
);
31799 if (PyErr_Occurred()) SWIG_fail
;
31801 resultobj
= SWIG_Py_Void();
31808 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31809 PyObject
*resultobj
= 0;
31810 wxListView
*arg1
= (wxListView
*) 0 ;
31816 PyObject
* obj0
= 0 ;
31817 PyObject
* obj1
= 0 ;
31818 char * kwnames
[] = {
31819 (char *) "self",(char *) "col", NULL
31822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31824 if (!SWIG_IsOK(res1
)) {
31825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
31827 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31829 if (!SWIG_IsOK(ecode2
)) {
31830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
31832 arg2
= static_cast< int >(val2
);
31834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31835 (arg1
)->ClearColumnImage(arg2
);
31836 wxPyEndAllowThreads(__tstate
);
31837 if (PyErr_Occurred()) SWIG_fail
;
31839 resultobj
= SWIG_Py_Void();
31846 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31848 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31849 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
31850 return SWIG_Py_Void();
31853 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31854 return SWIG_Python_InitShadowInstance(args
);
31857 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
31858 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
31863 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
31864 PyObject
*pyobj
= 0;
31868 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
31870 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
31877 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31878 PyObject
*resultobj
= 0;
31879 wxTreeItemId
*result
= 0 ;
31881 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
31883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31884 result
= (wxTreeItemId
*)new wxTreeItemId();
31885 wxPyEndAllowThreads(__tstate
);
31886 if (PyErr_Occurred()) SWIG_fail
;
31888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
31895 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31896 PyObject
*resultobj
= 0;
31897 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
31900 PyObject
*swig_obj
[1] ;
31902 if (!args
) SWIG_fail
;
31903 swig_obj
[0] = args
;
31904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
31905 if (!SWIG_IsOK(res1
)) {
31906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
31908 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
31910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31913 wxPyEndAllowThreads(__tstate
);
31914 if (PyErr_Occurred()) SWIG_fail
;
31916 resultobj
= SWIG_Py_Void();
31923 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31924 PyObject
*resultobj
= 0;
31925 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
31929 PyObject
*swig_obj
[1] ;
31931 if (!args
) SWIG_fail
;
31932 swig_obj
[0] = args
;
31933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
31934 if (!SWIG_IsOK(res1
)) {
31935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
31937 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
31939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31940 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
31941 wxPyEndAllowThreads(__tstate
);
31942 if (PyErr_Occurred()) SWIG_fail
;
31945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31953 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31954 PyObject
*resultobj
= 0;
31955 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
31956 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
31962 PyObject
* obj0
= 0 ;
31963 PyObject
* obj1
= 0 ;
31964 char * kwnames
[] = {
31965 (char *) "self",(char *) "other", NULL
31968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
31970 if (!SWIG_IsOK(res1
)) {
31971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
31973 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
31974 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
31975 if (!SWIG_IsOK(res2
)) {
31976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
31978 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
31980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31981 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
31982 wxPyEndAllowThreads(__tstate
);
31983 if (PyErr_Occurred()) SWIG_fail
;
31986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31994 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31995 PyObject
*resultobj
= 0;
31996 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
31997 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32003 PyObject
* obj0
= 0 ;
32004 PyObject
* obj1
= 0 ;
32005 char * kwnames
[] = {
32006 (char *) "self",(char *) "other", NULL
32009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32011 if (!SWIG_IsOK(res1
)) {
32012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32014 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32015 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32016 if (!SWIG_IsOK(res2
)) {
32017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32019 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32022 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32023 wxPyEndAllowThreads(__tstate
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32035 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32036 PyObject
*resultobj
= 0;
32037 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32038 void *arg2
= (void *) 0 ;
32042 PyObject
*swig_obj
[2] ;
32044 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32046 if (!SWIG_IsOK(res1
)) {
32047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32049 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32050 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32051 if (!SWIG_IsOK(res2
)) {
32052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32054 if (arg1
) (arg1
)->m_pItem
= arg2
;
32056 resultobj
= SWIG_Py_Void();
32063 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32064 PyObject
*resultobj
= 0;
32065 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32069 PyObject
*swig_obj
[1] ;
32071 if (!args
) SWIG_fail
;
32072 swig_obj
[0] = args
;
32073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32074 if (!SWIG_IsOK(res1
)) {
32075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32077 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32078 result
= (void *) ((arg1
)->m_pItem
);
32079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32086 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32089 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32090 return SWIG_Py_Void();
32093 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32094 return SWIG_Python_InitShadowInstance(args
);
32097 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32098 PyObject
*resultobj
= 0;
32099 PyObject
*arg1
= (PyObject
*) NULL
;
32100 wxPyTreeItemData
*result
= 0 ;
32101 PyObject
* obj0
= 0 ;
32102 char * kwnames
[] = {
32103 (char *) "obj", NULL
32106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32112 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32113 wxPyEndAllowThreads(__tstate
);
32114 if (PyErr_Occurred()) SWIG_fail
;
32116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32123 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32124 PyObject
*resultobj
= 0;
32125 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32128 PyObject
*swig_obj
[1] ;
32130 if (!args
) SWIG_fail
;
32131 swig_obj
[0] = args
;
32132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32133 if (!SWIG_IsOK(res1
)) {
32134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32136 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32141 wxPyEndAllowThreads(__tstate
);
32142 if (PyErr_Occurred()) SWIG_fail
;
32144 resultobj
= SWIG_Py_Void();
32151 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32152 PyObject
*resultobj
= 0;
32153 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32154 PyObject
*result
= 0 ;
32157 PyObject
*swig_obj
[1] ;
32159 if (!args
) SWIG_fail
;
32160 swig_obj
[0] = args
;
32161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32162 if (!SWIG_IsOK(res1
)) {
32163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32165 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32168 result
= (PyObject
*)(arg1
)->GetData();
32169 wxPyEndAllowThreads(__tstate
);
32170 if (PyErr_Occurred()) SWIG_fail
;
32172 resultobj
= result
;
32179 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32180 PyObject
*resultobj
= 0;
32181 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32182 PyObject
*arg2
= (PyObject
*) 0 ;
32185 PyObject
* obj0
= 0 ;
32186 PyObject
* obj1
= 0 ;
32187 char * kwnames
[] = {
32188 (char *) "self",(char *) "obj", NULL
32191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32193 if (!SWIG_IsOK(res1
)) {
32194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32196 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32200 (arg1
)->SetData(arg2
);
32201 wxPyEndAllowThreads(__tstate
);
32202 if (PyErr_Occurred()) SWIG_fail
;
32204 resultobj
= SWIG_Py_Void();
32211 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32212 PyObject
*resultobj
= 0;
32213 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32214 wxTreeItemId
*result
= 0 ;
32217 PyObject
*swig_obj
[1] ;
32219 if (!args
) SWIG_fail
;
32220 swig_obj
[0] = args
;
32221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32222 if (!SWIG_IsOK(res1
)) {
32223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32225 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32229 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32230 result
= (wxTreeItemId
*) &_result_ref
;
32232 wxPyEndAllowThreads(__tstate
);
32233 if (PyErr_Occurred()) SWIG_fail
;
32235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32242 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32243 PyObject
*resultobj
= 0;
32244 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32245 wxTreeItemId
*arg2
= 0 ;
32250 PyObject
* obj0
= 0 ;
32251 PyObject
* obj1
= 0 ;
32252 char * kwnames
[] = {
32253 (char *) "self",(char *) "id", NULL
32256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32258 if (!SWIG_IsOK(res1
)) {
32259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32261 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32262 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32263 if (!SWIG_IsOK(res2
)) {
32264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32269 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32272 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32273 wxPyEndAllowThreads(__tstate
);
32274 if (PyErr_Occurred()) SWIG_fail
;
32276 resultobj
= SWIG_Py_Void();
32283 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32284 PyObject
*resultobj
= 0;
32285 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32288 PyObject
*swig_obj
[1] ;
32290 if (!args
) SWIG_fail
;
32291 swig_obj
[0] = args
;
32292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32293 if (!SWIG_IsOK(res1
)) {
32294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32296 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32299 wxPyTreeItemData_Destroy(arg1
);
32300 wxPyEndAllowThreads(__tstate
);
32301 if (PyErr_Occurred()) SWIG_fail
;
32303 resultobj
= SWIG_Py_Void();
32310 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32313 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32314 return SWIG_Py_Void();
32317 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32318 return SWIG_Python_InitShadowInstance(args
);
32321 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32322 PyObject
*resultobj
= 0;
32323 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32324 int arg2
= (int) 0 ;
32325 wxTreeEvent
*result
= 0 ;
32330 PyObject
* obj0
= 0 ;
32331 PyObject
* obj1
= 0 ;
32332 char * kwnames
[] = {
32333 (char *) "commandType",(char *) "id", NULL
32336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32338 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32339 if (!SWIG_IsOK(ecode1
)) {
32340 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32342 arg1
= static_cast< wxEventType
>(val1
);
32345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32346 if (!SWIG_IsOK(ecode2
)) {
32347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32349 arg2
= static_cast< int >(val2
);
32352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32353 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32354 wxPyEndAllowThreads(__tstate
);
32355 if (PyErr_Occurred()) SWIG_fail
;
32357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32364 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32365 PyObject
*resultobj
= 0;
32366 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32367 wxTreeItemId result
;
32370 PyObject
*swig_obj
[1] ;
32372 if (!args
) SWIG_fail
;
32373 swig_obj
[0] = args
;
32374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32375 if (!SWIG_IsOK(res1
)) {
32376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32378 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32381 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32382 wxPyEndAllowThreads(__tstate
);
32383 if (PyErr_Occurred()) SWIG_fail
;
32385 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32392 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32393 PyObject
*resultobj
= 0;
32394 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32395 wxTreeItemId
*arg2
= 0 ;
32400 PyObject
* obj0
= 0 ;
32401 PyObject
* obj1
= 0 ;
32402 char * kwnames
[] = {
32403 (char *) "self",(char *) "item", NULL
32406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32408 if (!SWIG_IsOK(res1
)) {
32409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32411 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32412 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32413 if (!SWIG_IsOK(res2
)) {
32414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32419 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32422 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32423 wxPyEndAllowThreads(__tstate
);
32424 if (PyErr_Occurred()) SWIG_fail
;
32426 resultobj
= SWIG_Py_Void();
32433 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32434 PyObject
*resultobj
= 0;
32435 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32436 wxTreeItemId result
;
32439 PyObject
*swig_obj
[1] ;
32441 if (!args
) SWIG_fail
;
32442 swig_obj
[0] = args
;
32443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32444 if (!SWIG_IsOK(res1
)) {
32445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32447 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32450 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32451 wxPyEndAllowThreads(__tstate
);
32452 if (PyErr_Occurred()) SWIG_fail
;
32454 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32461 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32462 PyObject
*resultobj
= 0;
32463 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32464 wxTreeItemId
*arg2
= 0 ;
32469 PyObject
* obj0
= 0 ;
32470 PyObject
* obj1
= 0 ;
32471 char * kwnames
[] = {
32472 (char *) "self",(char *) "item", NULL
32475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32477 if (!SWIG_IsOK(res1
)) {
32478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32480 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32481 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32482 if (!SWIG_IsOK(res2
)) {
32483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32488 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32491 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32492 wxPyEndAllowThreads(__tstate
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32495 resultobj
= SWIG_Py_Void();
32502 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32503 PyObject
*resultobj
= 0;
32504 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32508 PyObject
*swig_obj
[1] ;
32510 if (!args
) SWIG_fail
;
32511 swig_obj
[0] = args
;
32512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32513 if (!SWIG_IsOK(res1
)) {
32514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32516 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32519 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32520 wxPyEndAllowThreads(__tstate
);
32521 if (PyErr_Occurred()) SWIG_fail
;
32523 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32530 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32531 PyObject
*resultobj
= 0;
32532 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32533 wxPoint
*arg2
= 0 ;
32537 PyObject
* obj0
= 0 ;
32538 PyObject
* obj1
= 0 ;
32539 char * kwnames
[] = {
32540 (char *) "self",(char *) "pt", NULL
32543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32545 if (!SWIG_IsOK(res1
)) {
32546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32548 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32551 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32555 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
32556 wxPyEndAllowThreads(__tstate
);
32557 if (PyErr_Occurred()) SWIG_fail
;
32559 resultobj
= SWIG_Py_Void();
32566 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32567 PyObject
*resultobj
= 0;
32568 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32569 wxKeyEvent
*result
= 0 ;
32572 PyObject
*swig_obj
[1] ;
32574 if (!args
) SWIG_fail
;
32575 swig_obj
[0] = args
;
32576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32577 if (!SWIG_IsOK(res1
)) {
32578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32580 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32584 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
32585 result
= (wxKeyEvent
*) &_result_ref
;
32587 wxPyEndAllowThreads(__tstate
);
32588 if (PyErr_Occurred()) SWIG_fail
;
32590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
32597 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32598 PyObject
*resultobj
= 0;
32599 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32603 PyObject
*swig_obj
[1] ;
32605 if (!args
) SWIG_fail
;
32606 swig_obj
[0] = args
;
32607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32608 if (!SWIG_IsOK(res1
)) {
32609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32611 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32614 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
32615 wxPyEndAllowThreads(__tstate
);
32616 if (PyErr_Occurred()) SWIG_fail
;
32618 resultobj
= SWIG_From_int(static_cast< int >(result
));
32625 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32626 PyObject
*resultobj
= 0;
32627 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32628 wxKeyEvent
*arg2
= 0 ;
32633 PyObject
* obj0
= 0 ;
32634 PyObject
* obj1
= 0 ;
32635 char * kwnames
[] = {
32636 (char *) "self",(char *) "evt", NULL
32639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32641 if (!SWIG_IsOK(res1
)) {
32642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32644 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
32646 if (!SWIG_IsOK(res2
)) {
32647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
32652 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
32654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32655 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
32656 wxPyEndAllowThreads(__tstate
);
32657 if (PyErr_Occurred()) SWIG_fail
;
32659 resultobj
= SWIG_Py_Void();
32666 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32667 PyObject
*resultobj
= 0;
32668 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32669 wxString
*result
= 0 ;
32672 PyObject
*swig_obj
[1] ;
32674 if (!args
) SWIG_fail
;
32675 swig_obj
[0] = args
;
32676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32677 if (!SWIG_IsOK(res1
)) {
32678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32680 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32684 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
32685 result
= (wxString
*) &_result_ref
;
32687 wxPyEndAllowThreads(__tstate
);
32688 if (PyErr_Occurred()) SWIG_fail
;
32692 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32694 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32703 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32704 PyObject
*resultobj
= 0;
32705 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32706 wxString
*arg2
= 0 ;
32709 bool temp2
= false ;
32710 PyObject
* obj0
= 0 ;
32711 PyObject
* obj1
= 0 ;
32712 char * kwnames
[] = {
32713 (char *) "self",(char *) "label", NULL
32716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32718 if (!SWIG_IsOK(res1
)) {
32719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32721 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32723 arg2
= wxString_in_helper(obj1
);
32724 if (arg2
== NULL
) SWIG_fail
;
32728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32729 (arg1
)->SetLabel((wxString
const &)*arg2
);
32730 wxPyEndAllowThreads(__tstate
);
32731 if (PyErr_Occurred()) SWIG_fail
;
32733 resultobj
= SWIG_Py_Void();
32748 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32749 PyObject
*resultobj
= 0;
32750 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32754 PyObject
*swig_obj
[1] ;
32756 if (!args
) SWIG_fail
;
32757 swig_obj
[0] = args
;
32758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32759 if (!SWIG_IsOK(res1
)) {
32760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32762 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32765 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
32766 wxPyEndAllowThreads(__tstate
);
32767 if (PyErr_Occurred()) SWIG_fail
;
32770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32778 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32779 PyObject
*resultobj
= 0;
32780 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32786 PyObject
* obj0
= 0 ;
32787 PyObject
* obj1
= 0 ;
32788 char * kwnames
[] = {
32789 (char *) "self",(char *) "editCancelled", NULL
32792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32794 if (!SWIG_IsOK(res1
)) {
32795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32797 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32798 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32799 if (!SWIG_IsOK(ecode2
)) {
32800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
32802 arg2
= static_cast< bool >(val2
);
32804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32805 (arg1
)->SetEditCanceled(arg2
);
32806 wxPyEndAllowThreads(__tstate
);
32807 if (PyErr_Occurred()) SWIG_fail
;
32809 resultobj
= SWIG_Py_Void();
32816 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32817 PyObject
*resultobj
= 0;
32818 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32819 wxString
*arg2
= 0 ;
32822 bool temp2
= false ;
32823 PyObject
* obj0
= 0 ;
32824 PyObject
* obj1
= 0 ;
32825 char * kwnames
[] = {
32826 (char *) "self",(char *) "toolTip", NULL
32829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32831 if (!SWIG_IsOK(res1
)) {
32832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32834 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32836 arg2
= wxString_in_helper(obj1
);
32837 if (arg2
== NULL
) SWIG_fail
;
32841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32842 (arg1
)->SetToolTip((wxString
const &)*arg2
);
32843 wxPyEndAllowThreads(__tstate
);
32844 if (PyErr_Occurred()) SWIG_fail
;
32846 resultobj
= SWIG_Py_Void();
32861 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32862 PyObject
*resultobj
= 0;
32863 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32867 PyObject
*swig_obj
[1] ;
32869 if (!args
) SWIG_fail
;
32870 swig_obj
[0] = args
;
32871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32872 if (!SWIG_IsOK(res1
)) {
32873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32875 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32878 result
= (arg1
)->GetToolTip();
32879 wxPyEndAllowThreads(__tstate
);
32880 if (PyErr_Occurred()) SWIG_fail
;
32884 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32886 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32895 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32898 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
32899 return SWIG_Py_Void();
32902 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32903 return SWIG_Python_InitShadowInstance(args
);
32906 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32907 PyObject
*resultobj
= 0;
32908 wxWindow
*arg1
= (wxWindow
*) 0 ;
32909 int arg2
= (int) -1 ;
32910 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32911 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32912 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32913 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32914 long arg5
= (long) wxTR_DEFAULT_STYLE
;
32915 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32916 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32917 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
32918 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32919 wxPyTreeCtrl
*result
= 0 ;
32930 bool temp7
= false ;
32931 PyObject
* obj0
= 0 ;
32932 PyObject
* obj1
= 0 ;
32933 PyObject
* obj2
= 0 ;
32934 PyObject
* obj3
= 0 ;
32935 PyObject
* obj4
= 0 ;
32936 PyObject
* obj5
= 0 ;
32937 PyObject
* obj6
= 0 ;
32938 char * kwnames
[] = {
32939 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32944 if (!SWIG_IsOK(res1
)) {
32945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
32947 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32950 if (!SWIG_IsOK(ecode2
)) {
32951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
32953 arg2
= static_cast< int >(val2
);
32958 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32964 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32968 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32969 if (!SWIG_IsOK(ecode5
)) {
32970 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
32972 arg5
= static_cast< long >(val5
);
32975 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32976 if (!SWIG_IsOK(res6
)) {
32977 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
32980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
32982 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32986 arg7
= wxString_in_helper(obj6
);
32987 if (arg7
== NULL
) SWIG_fail
;
32992 if (!wxPyCheckForApp()) SWIG_fail
;
32993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32994 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32995 wxPyEndAllowThreads(__tstate
);
32996 if (PyErr_Occurred()) SWIG_fail
;
32998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33013 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33014 PyObject
*resultobj
= 0;
33015 wxPyTreeCtrl
*result
= 0 ;
33017 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33019 if (!wxPyCheckForApp()) SWIG_fail
;
33020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33021 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33022 wxPyEndAllowThreads(__tstate
);
33023 if (PyErr_Occurred()) SWIG_fail
;
33025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33032 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33033 PyObject
*resultobj
= 0;
33034 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33035 wxWindow
*arg2
= (wxWindow
*) 0 ;
33036 int arg3
= (int) -1 ;
33037 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33038 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33039 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33040 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33041 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33042 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33043 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33044 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33045 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33059 bool temp8
= false ;
33060 PyObject
* obj0
= 0 ;
33061 PyObject
* obj1
= 0 ;
33062 PyObject
* obj2
= 0 ;
33063 PyObject
* obj3
= 0 ;
33064 PyObject
* obj4
= 0 ;
33065 PyObject
* obj5
= 0 ;
33066 PyObject
* obj6
= 0 ;
33067 PyObject
* obj7
= 0 ;
33068 char * kwnames
[] = {
33069 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33074 if (!SWIG_IsOK(res1
)) {
33075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33077 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33078 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33079 if (!SWIG_IsOK(res2
)) {
33080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33082 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33085 if (!SWIG_IsOK(ecode3
)) {
33086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33088 arg3
= static_cast< int >(val3
);
33093 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33099 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33103 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33104 if (!SWIG_IsOK(ecode6
)) {
33105 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33107 arg6
= static_cast< long >(val6
);
33110 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33111 if (!SWIG_IsOK(res7
)) {
33112 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33115 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33117 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33121 arg8
= wxString_in_helper(obj7
);
33122 if (arg8
== NULL
) SWIG_fail
;
33127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33128 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33129 wxPyEndAllowThreads(__tstate
);
33130 if (PyErr_Occurred()) SWIG_fail
;
33133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33149 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33150 PyObject
*resultobj
= 0;
33151 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33152 PyObject
*arg2
= (PyObject
*) 0 ;
33153 PyObject
*arg3
= (PyObject
*) 0 ;
33156 PyObject
* obj0
= 0 ;
33157 PyObject
* obj1
= 0 ;
33158 PyObject
* obj2
= 0 ;
33159 char * kwnames
[] = {
33160 (char *) "self",(char *) "self",(char *) "_class", NULL
33163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33165 if (!SWIG_IsOK(res1
)) {
33166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33168 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33173 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33174 wxPyEndAllowThreads(__tstate
);
33175 if (PyErr_Occurred()) SWIG_fail
;
33177 resultobj
= SWIG_Py_Void();
33184 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33185 PyObject
*resultobj
= 0;
33186 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33190 PyObject
*swig_obj
[1] ;
33192 if (!args
) SWIG_fail
;
33193 swig_obj
[0] = args
;
33194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33195 if (!SWIG_IsOK(res1
)) {
33196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33198 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33201 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33202 wxPyEndAllowThreads(__tstate
);
33203 if (PyErr_Occurred()) SWIG_fail
;
33205 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33212 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33213 PyObject
*resultobj
= 0;
33214 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33215 unsigned int result
;
33218 PyObject
*swig_obj
[1] ;
33220 if (!args
) SWIG_fail
;
33221 swig_obj
[0] = args
;
33222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33223 if (!SWIG_IsOK(res1
)) {
33224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33226 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33229 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33230 wxPyEndAllowThreads(__tstate
);
33231 if (PyErr_Occurred()) SWIG_fail
;
33233 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33240 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33241 PyObject
*resultobj
= 0;
33242 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33243 unsigned int arg2
;
33246 unsigned int val2
;
33248 PyObject
* obj0
= 0 ;
33249 PyObject
* obj1
= 0 ;
33250 char * kwnames
[] = {
33251 (char *) "self",(char *) "indent", NULL
33254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33256 if (!SWIG_IsOK(res1
)) {
33257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33259 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33260 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33261 if (!SWIG_IsOK(ecode2
)) {
33262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33264 arg2
= static_cast< unsigned int >(val2
);
33266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33267 (arg1
)->SetIndent(arg2
);
33268 wxPyEndAllowThreads(__tstate
);
33269 if (PyErr_Occurred()) SWIG_fail
;
33271 resultobj
= SWIG_Py_Void();
33278 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33279 PyObject
*resultobj
= 0;
33280 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33281 unsigned int result
;
33284 PyObject
*swig_obj
[1] ;
33286 if (!args
) SWIG_fail
;
33287 swig_obj
[0] = args
;
33288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33289 if (!SWIG_IsOK(res1
)) {
33290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33292 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33295 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33296 wxPyEndAllowThreads(__tstate
);
33297 if (PyErr_Occurred()) SWIG_fail
;
33299 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33306 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33307 PyObject
*resultobj
= 0;
33308 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33309 unsigned int arg2
;
33312 unsigned int val2
;
33314 PyObject
* obj0
= 0 ;
33315 PyObject
* obj1
= 0 ;
33316 char * kwnames
[] = {
33317 (char *) "self",(char *) "spacing", NULL
33320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33322 if (!SWIG_IsOK(res1
)) {
33323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33325 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33326 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33327 if (!SWIG_IsOK(ecode2
)) {
33328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33330 arg2
= static_cast< unsigned int >(val2
);
33332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33333 (arg1
)->SetSpacing(arg2
);
33334 wxPyEndAllowThreads(__tstate
);
33335 if (PyErr_Occurred()) SWIG_fail
;
33337 resultobj
= SWIG_Py_Void();
33344 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33345 PyObject
*resultobj
= 0;
33346 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33347 wxImageList
*result
= 0 ;
33350 PyObject
*swig_obj
[1] ;
33352 if (!args
) SWIG_fail
;
33353 swig_obj
[0] = args
;
33354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33355 if (!SWIG_IsOK(res1
)) {
33356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33358 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33361 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33362 wxPyEndAllowThreads(__tstate
);
33363 if (PyErr_Occurred()) SWIG_fail
;
33366 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33374 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33375 PyObject
*resultobj
= 0;
33376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33377 wxImageList
*result
= 0 ;
33380 PyObject
*swig_obj
[1] ;
33382 if (!args
) SWIG_fail
;
33383 swig_obj
[0] = args
;
33384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33385 if (!SWIG_IsOK(res1
)) {
33386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33388 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33391 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33392 wxPyEndAllowThreads(__tstate
);
33393 if (PyErr_Occurred()) SWIG_fail
;
33396 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33404 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33405 PyObject
*resultobj
= 0;
33406 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33407 wxImageList
*arg2
= (wxImageList
*) 0 ;
33412 PyObject
* obj0
= 0 ;
33413 PyObject
* obj1
= 0 ;
33414 char * kwnames
[] = {
33415 (char *) "self",(char *) "imageList", NULL
33418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33420 if (!SWIG_IsOK(res1
)) {
33421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33423 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33424 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33425 if (!SWIG_IsOK(res2
)) {
33426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33428 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33431 (arg1
)->SetImageList(arg2
);
33432 wxPyEndAllowThreads(__tstate
);
33433 if (PyErr_Occurred()) SWIG_fail
;
33435 resultobj
= SWIG_Py_Void();
33442 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33443 PyObject
*resultobj
= 0;
33444 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33445 wxImageList
*arg2
= (wxImageList
*) 0 ;
33450 PyObject
* obj0
= 0 ;
33451 PyObject
* obj1
= 0 ;
33452 char * kwnames
[] = {
33453 (char *) "self",(char *) "imageList", NULL
33456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33458 if (!SWIG_IsOK(res1
)) {
33459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33461 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33462 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33463 if (!SWIG_IsOK(res2
)) {
33464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33466 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33469 (arg1
)->SetStateImageList(arg2
);
33470 wxPyEndAllowThreads(__tstate
);
33471 if (PyErr_Occurred()) SWIG_fail
;
33473 resultobj
= SWIG_Py_Void();
33480 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33481 PyObject
*resultobj
= 0;
33482 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33483 wxImageList
*arg2
= (wxImageList
*) 0 ;
33487 PyObject
* obj0
= 0 ;
33488 PyObject
* obj1
= 0 ;
33489 char * kwnames
[] = {
33490 (char *) "self",(char *) "imageList", NULL
33493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33495 if (!SWIG_IsOK(res1
)) {
33496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33498 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33499 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33500 if (!SWIG_IsOK(res2
)) {
33501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33505 (arg1
)->AssignImageList(arg2
);
33506 wxPyEndAllowThreads(__tstate
);
33507 if (PyErr_Occurred()) SWIG_fail
;
33509 resultobj
= SWIG_Py_Void();
33516 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33517 PyObject
*resultobj
= 0;
33518 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33519 wxImageList
*arg2
= (wxImageList
*) 0 ;
33523 PyObject
* obj0
= 0 ;
33524 PyObject
* obj1
= 0 ;
33525 char * kwnames
[] = {
33526 (char *) "self",(char *) "imageList", NULL
33529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33531 if (!SWIG_IsOK(res1
)) {
33532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33534 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33535 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33536 if (!SWIG_IsOK(res2
)) {
33537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33541 (arg1
)->AssignStateImageList(arg2
);
33542 wxPyEndAllowThreads(__tstate
);
33543 if (PyErr_Occurred()) SWIG_fail
;
33545 resultobj
= SWIG_Py_Void();
33552 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33553 PyObject
*resultobj
= 0;
33554 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33555 wxTreeItemId
*arg2
= 0 ;
33561 PyObject
* obj0
= 0 ;
33562 PyObject
* obj1
= 0 ;
33563 char * kwnames
[] = {
33564 (char *) "self",(char *) "item", NULL
33567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33569 if (!SWIG_IsOK(res1
)) {
33570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33572 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33573 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33574 if (!SWIG_IsOK(res2
)) {
33575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33580 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33583 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
33584 wxPyEndAllowThreads(__tstate
);
33585 if (PyErr_Occurred()) SWIG_fail
;
33589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33600 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33601 PyObject
*resultobj
= 0;
33602 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33603 wxTreeItemId
*arg2
= 0 ;
33604 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
33612 PyObject
* obj0
= 0 ;
33613 PyObject
* obj1
= 0 ;
33614 PyObject
* obj2
= 0 ;
33615 char * kwnames
[] = {
33616 (char *) "self",(char *) "item",(char *) "which", NULL
33619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33621 if (!SWIG_IsOK(res1
)) {
33622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33624 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33625 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33626 if (!SWIG_IsOK(res2
)) {
33627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33632 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33635 if (!SWIG_IsOK(ecode3
)) {
33636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
33638 arg3
= static_cast< wxTreeItemIcon
>(val3
);
33641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33642 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
33643 wxPyEndAllowThreads(__tstate
);
33644 if (PyErr_Occurred()) SWIG_fail
;
33646 resultobj
= SWIG_From_int(static_cast< int >(result
));
33653 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33654 PyObject
*resultobj
= 0;
33655 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33656 wxTreeItemId
*arg2
= 0 ;
33657 wxPyTreeItemData
*result
= 0 ;
33662 PyObject
* obj0
= 0 ;
33663 PyObject
* obj1
= 0 ;
33664 char * kwnames
[] = {
33665 (char *) "self",(char *) "item", NULL
33668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33670 if (!SWIG_IsOK(res1
)) {
33671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33673 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33674 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33675 if (!SWIG_IsOK(res2
)) {
33676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33681 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33684 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
33685 wxPyEndAllowThreads(__tstate
);
33686 if (PyErr_Occurred()) SWIG_fail
;
33688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33695 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33696 PyObject
*resultobj
= 0;
33697 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33698 wxTreeItemId
*arg2
= 0 ;
33699 PyObject
*result
= 0 ;
33704 PyObject
* obj0
= 0 ;
33705 PyObject
* obj1
= 0 ;
33706 char * kwnames
[] = {
33707 (char *) "self",(char *) "item", NULL
33710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33712 if (!SWIG_IsOK(res1
)) {
33713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33715 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33716 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33717 if (!SWIG_IsOK(res2
)) {
33718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33723 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33726 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
33727 wxPyEndAllowThreads(__tstate
);
33728 if (PyErr_Occurred()) SWIG_fail
;
33730 resultobj
= result
;
33737 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33738 PyObject
*resultobj
= 0;
33739 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33740 wxTreeItemId
*arg2
= 0 ;
33746 PyObject
* obj0
= 0 ;
33747 PyObject
* obj1
= 0 ;
33748 char * kwnames
[] = {
33749 (char *) "self",(char *) "item", NULL
33752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33754 if (!SWIG_IsOK(res1
)) {
33755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33757 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33758 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33759 if (!SWIG_IsOK(res2
)) {
33760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33765 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33768 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
33769 wxPyEndAllowThreads(__tstate
);
33770 if (PyErr_Occurred()) SWIG_fail
;
33772 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33779 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33780 PyObject
*resultobj
= 0;
33781 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33782 wxTreeItemId
*arg2
= 0 ;
33788 PyObject
* obj0
= 0 ;
33789 PyObject
* obj1
= 0 ;
33790 char * kwnames
[] = {
33791 (char *) "self",(char *) "item", NULL
33794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33796 if (!SWIG_IsOK(res1
)) {
33797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33799 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33800 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33801 if (!SWIG_IsOK(res2
)) {
33802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33807 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33810 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
33811 wxPyEndAllowThreads(__tstate
);
33812 if (PyErr_Occurred()) SWIG_fail
;
33814 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33821 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33822 PyObject
*resultobj
= 0;
33823 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33824 wxTreeItemId
*arg2
= 0 ;
33830 PyObject
* obj0
= 0 ;
33831 PyObject
* obj1
= 0 ;
33832 char * kwnames
[] = {
33833 (char *) "self",(char *) "item", NULL
33836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33838 if (!SWIG_IsOK(res1
)) {
33839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33841 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33842 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33843 if (!SWIG_IsOK(res2
)) {
33844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33849 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33852 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
33853 wxPyEndAllowThreads(__tstate
);
33854 if (PyErr_Occurred()) SWIG_fail
;
33856 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
33863 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33864 PyObject
*resultobj
= 0;
33865 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33866 wxTreeItemId
*arg2
= 0 ;
33867 wxString
*arg3
= 0 ;
33872 bool temp3
= false ;
33873 PyObject
* obj0
= 0 ;
33874 PyObject
* obj1
= 0 ;
33875 PyObject
* obj2
= 0 ;
33876 char * kwnames
[] = {
33877 (char *) "self",(char *) "item",(char *) "text", NULL
33880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33882 if (!SWIG_IsOK(res1
)) {
33883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33885 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33886 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33887 if (!SWIG_IsOK(res2
)) {
33888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33893 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33895 arg3
= wxString_in_helper(obj2
);
33896 if (arg3
== NULL
) SWIG_fail
;
33900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33901 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
33902 wxPyEndAllowThreads(__tstate
);
33903 if (PyErr_Occurred()) SWIG_fail
;
33905 resultobj
= SWIG_Py_Void();
33920 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33921 PyObject
*resultobj
= 0;
33922 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33923 wxTreeItemId
*arg2
= 0 ;
33925 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
33934 PyObject
* obj0
= 0 ;
33935 PyObject
* obj1
= 0 ;
33936 PyObject
* obj2
= 0 ;
33937 PyObject
* obj3
= 0 ;
33938 char * kwnames
[] = {
33939 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
33942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33944 if (!SWIG_IsOK(res1
)) {
33945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33947 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33948 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33949 if (!SWIG_IsOK(res2
)) {
33950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33955 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33957 if (!SWIG_IsOK(ecode3
)) {
33958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
33960 arg3
= static_cast< int >(val3
);
33962 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33963 if (!SWIG_IsOK(ecode4
)) {
33964 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
33966 arg4
= static_cast< wxTreeItemIcon
>(val4
);
33969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33970 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
33971 wxPyEndAllowThreads(__tstate
);
33972 if (PyErr_Occurred()) SWIG_fail
;
33974 resultobj
= SWIG_Py_Void();
33981 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33982 PyObject
*resultobj
= 0;
33983 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33984 wxTreeItemId
*arg2
= 0 ;
33985 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
33991 PyObject
* obj0
= 0 ;
33992 PyObject
* obj1
= 0 ;
33993 PyObject
* obj2
= 0 ;
33994 char * kwnames
[] = {
33995 (char *) "self",(char *) "item",(char *) "data", NULL
33998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34000 if (!SWIG_IsOK(res1
)) {
34001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34003 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34005 if (!SWIG_IsOK(res2
)) {
34006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34011 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34012 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34013 if (!SWIG_IsOK(res3
)) {
34014 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34018 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34019 wxPyEndAllowThreads(__tstate
);
34020 if (PyErr_Occurred()) SWIG_fail
;
34022 resultobj
= SWIG_Py_Void();
34029 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34030 PyObject
*resultobj
= 0;
34031 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34032 wxTreeItemId
*arg2
= 0 ;
34033 PyObject
*arg3
= (PyObject
*) 0 ;
34038 PyObject
* obj0
= 0 ;
34039 PyObject
* obj1
= 0 ;
34040 PyObject
* obj2
= 0 ;
34041 char * kwnames
[] = {
34042 (char *) "self",(char *) "item",(char *) "obj", NULL
34045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34047 if (!SWIG_IsOK(res1
)) {
34048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34050 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34051 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34052 if (!SWIG_IsOK(res2
)) {
34053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34058 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34062 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34063 wxPyEndAllowThreads(__tstate
);
34064 if (PyErr_Occurred()) SWIG_fail
;
34066 resultobj
= SWIG_Py_Void();
34073 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34074 PyObject
*resultobj
= 0;
34075 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34076 wxTreeItemId
*arg2
= 0 ;
34077 bool arg3
= (bool) true ;
34084 PyObject
* obj0
= 0 ;
34085 PyObject
* obj1
= 0 ;
34086 PyObject
* obj2
= 0 ;
34087 char * kwnames
[] = {
34088 (char *) "self",(char *) "item",(char *) "has", NULL
34091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34093 if (!SWIG_IsOK(res1
)) {
34094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34096 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34097 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34098 if (!SWIG_IsOK(res2
)) {
34099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34104 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34106 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34107 if (!SWIG_IsOK(ecode3
)) {
34108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34110 arg3
= static_cast< bool >(val3
);
34113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34114 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34115 wxPyEndAllowThreads(__tstate
);
34116 if (PyErr_Occurred()) SWIG_fail
;
34118 resultobj
= SWIG_Py_Void();
34125 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34126 PyObject
*resultobj
= 0;
34127 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34128 wxTreeItemId
*arg2
= 0 ;
34129 bool arg3
= (bool) true ;
34136 PyObject
* obj0
= 0 ;
34137 PyObject
* obj1
= 0 ;
34138 PyObject
* obj2
= 0 ;
34139 char * kwnames
[] = {
34140 (char *) "self",(char *) "item",(char *) "bold", NULL
34143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34145 if (!SWIG_IsOK(res1
)) {
34146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34148 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34149 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34150 if (!SWIG_IsOK(res2
)) {
34151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34156 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34158 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34159 if (!SWIG_IsOK(ecode3
)) {
34160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34162 arg3
= static_cast< bool >(val3
);
34165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34166 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34167 wxPyEndAllowThreads(__tstate
);
34168 if (PyErr_Occurred()) SWIG_fail
;
34170 resultobj
= SWIG_Py_Void();
34177 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34178 PyObject
*resultobj
= 0;
34179 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34180 wxTreeItemId
*arg2
= 0 ;
34181 bool arg3
= (bool) true ;
34188 PyObject
* obj0
= 0 ;
34189 PyObject
* obj1
= 0 ;
34190 PyObject
* obj2
= 0 ;
34191 char * kwnames
[] = {
34192 (char *) "self",(char *) "item",(char *) "highlight", NULL
34195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34197 if (!SWIG_IsOK(res1
)) {
34198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34200 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34202 if (!SWIG_IsOK(res2
)) {
34203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34208 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34210 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34211 if (!SWIG_IsOK(ecode3
)) {
34212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34214 arg3
= static_cast< bool >(val3
);
34217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34218 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34219 wxPyEndAllowThreads(__tstate
);
34220 if (PyErr_Occurred()) SWIG_fail
;
34222 resultobj
= SWIG_Py_Void();
34229 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34230 PyObject
*resultobj
= 0;
34231 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34232 wxTreeItemId
*arg2
= 0 ;
34233 wxColour
*arg3
= 0 ;
34239 PyObject
* obj0
= 0 ;
34240 PyObject
* obj1
= 0 ;
34241 PyObject
* obj2
= 0 ;
34242 char * kwnames
[] = {
34243 (char *) "self",(char *) "item",(char *) "col", NULL
34246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34248 if (!SWIG_IsOK(res1
)) {
34249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34251 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34253 if (!SWIG_IsOK(res2
)) {
34254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34259 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34262 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34266 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34267 wxPyEndAllowThreads(__tstate
);
34268 if (PyErr_Occurred()) SWIG_fail
;
34270 resultobj
= SWIG_Py_Void();
34277 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34278 PyObject
*resultobj
= 0;
34279 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34280 wxTreeItemId
*arg2
= 0 ;
34281 wxColour
*arg3
= 0 ;
34287 PyObject
* obj0
= 0 ;
34288 PyObject
* obj1
= 0 ;
34289 PyObject
* obj2
= 0 ;
34290 char * kwnames
[] = {
34291 (char *) "self",(char *) "item",(char *) "col", NULL
34294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34296 if (!SWIG_IsOK(res1
)) {
34297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34299 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34301 if (!SWIG_IsOK(res2
)) {
34302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34307 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34310 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34314 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34315 wxPyEndAllowThreads(__tstate
);
34316 if (PyErr_Occurred()) SWIG_fail
;
34318 resultobj
= SWIG_Py_Void();
34325 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34326 PyObject
*resultobj
= 0;
34327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34328 wxTreeItemId
*arg2
= 0 ;
34336 PyObject
* obj0
= 0 ;
34337 PyObject
* obj1
= 0 ;
34338 PyObject
* obj2
= 0 ;
34339 char * kwnames
[] = {
34340 (char *) "self",(char *) "item",(char *) "font", NULL
34343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34345 if (!SWIG_IsOK(res1
)) {
34346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34348 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34349 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34350 if (!SWIG_IsOK(res2
)) {
34351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34356 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34357 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34358 if (!SWIG_IsOK(res3
)) {
34359 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34364 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34367 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34368 wxPyEndAllowThreads(__tstate
);
34369 if (PyErr_Occurred()) SWIG_fail
;
34371 resultobj
= SWIG_Py_Void();
34378 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34379 PyObject
*resultobj
= 0;
34380 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34381 wxTreeItemId
*arg2
= 0 ;
34387 PyObject
* obj0
= 0 ;
34388 PyObject
* obj1
= 0 ;
34389 char * kwnames
[] = {
34390 (char *) "self",(char *) "item", NULL
34393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34395 if (!SWIG_IsOK(res1
)) {
34396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34398 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34399 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34400 if (!SWIG_IsOK(res2
)) {
34401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34406 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34409 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34410 wxPyEndAllowThreads(__tstate
);
34411 if (PyErr_Occurred()) SWIG_fail
;
34414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34422 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34423 PyObject
*resultobj
= 0;
34424 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34425 wxTreeItemId
*arg2
= 0 ;
34431 PyObject
* obj0
= 0 ;
34432 PyObject
* obj1
= 0 ;
34433 char * kwnames
[] = {
34434 (char *) "self",(char *) "item", NULL
34437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34439 if (!SWIG_IsOK(res1
)) {
34440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34442 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34443 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34444 if (!SWIG_IsOK(res2
)) {
34445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34450 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34453 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34454 wxPyEndAllowThreads(__tstate
);
34455 if (PyErr_Occurred()) SWIG_fail
;
34458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34466 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34467 PyObject
*resultobj
= 0;
34468 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34469 wxTreeItemId
*arg2
= 0 ;
34475 PyObject
* obj0
= 0 ;
34476 PyObject
* obj1
= 0 ;
34477 char * kwnames
[] = {
34478 (char *) "self",(char *) "item", NULL
34481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34483 if (!SWIG_IsOK(res1
)) {
34484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34486 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34487 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34488 if (!SWIG_IsOK(res2
)) {
34489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34494 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34497 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34498 wxPyEndAllowThreads(__tstate
);
34499 if (PyErr_Occurred()) SWIG_fail
;
34502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34510 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34511 PyObject
*resultobj
= 0;
34512 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34513 wxTreeItemId
*arg2
= 0 ;
34519 PyObject
* obj0
= 0 ;
34520 PyObject
* obj1
= 0 ;
34521 char * kwnames
[] = {
34522 (char *) "self",(char *) "item", NULL
34525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34527 if (!SWIG_IsOK(res1
)) {
34528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34530 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34531 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34532 if (!SWIG_IsOK(res2
)) {
34533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34538 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34541 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34542 wxPyEndAllowThreads(__tstate
);
34543 if (PyErr_Occurred()) SWIG_fail
;
34546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34554 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34555 PyObject
*resultobj
= 0;
34556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34557 wxTreeItemId
*arg2
= 0 ;
34563 PyObject
* obj0
= 0 ;
34564 PyObject
* obj1
= 0 ;
34565 char * kwnames
[] = {
34566 (char *) "self",(char *) "item", NULL
34569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34571 if (!SWIG_IsOK(res1
)) {
34572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34574 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34576 if (!SWIG_IsOK(res2
)) {
34577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34582 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34585 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
34586 wxPyEndAllowThreads(__tstate
);
34587 if (PyErr_Occurred()) SWIG_fail
;
34590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34598 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34599 PyObject
*resultobj
= 0;
34600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34601 wxTreeItemId
*arg2
= 0 ;
34602 bool arg3
= (bool) true ;
34610 PyObject
* obj0
= 0 ;
34611 PyObject
* obj1
= 0 ;
34612 PyObject
* obj2
= 0 ;
34613 char * kwnames
[] = {
34614 (char *) "self",(char *) "item",(char *) "recursively", NULL
34617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34619 if (!SWIG_IsOK(res1
)) {
34620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34622 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34623 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34624 if (!SWIG_IsOK(res2
)) {
34625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34630 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34632 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34633 if (!SWIG_IsOK(ecode3
)) {
34634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
34636 arg3
= static_cast< bool >(val3
);
34639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34640 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
34641 wxPyEndAllowThreads(__tstate
);
34642 if (PyErr_Occurred()) SWIG_fail
;
34644 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
34651 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34652 PyObject
*resultobj
= 0;
34653 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34654 wxTreeItemId result
;
34657 PyObject
*swig_obj
[1] ;
34659 if (!args
) SWIG_fail
;
34660 swig_obj
[0] = args
;
34661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34662 if (!SWIG_IsOK(res1
)) {
34663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34665 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34668 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
34669 wxPyEndAllowThreads(__tstate
);
34670 if (PyErr_Occurred()) SWIG_fail
;
34672 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34679 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34680 PyObject
*resultobj
= 0;
34681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34682 wxTreeItemId result
;
34685 PyObject
*swig_obj
[1] ;
34687 if (!args
) SWIG_fail
;
34688 swig_obj
[0] = args
;
34689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34690 if (!SWIG_IsOK(res1
)) {
34691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34693 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34696 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
34697 wxPyEndAllowThreads(__tstate
);
34698 if (PyErr_Occurred()) SWIG_fail
;
34700 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34707 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34708 PyObject
*resultobj
= 0;
34709 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34710 PyObject
*result
= 0 ;
34713 PyObject
*swig_obj
[1] ;
34715 if (!args
) SWIG_fail
;
34716 swig_obj
[0] = args
;
34717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34718 if (!SWIG_IsOK(res1
)) {
34719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34721 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34724 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
34725 wxPyEndAllowThreads(__tstate
);
34726 if (PyErr_Occurred()) SWIG_fail
;
34728 resultobj
= result
;
34735 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34736 PyObject
*resultobj
= 0;
34737 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34738 wxTreeItemId
*arg2
= 0 ;
34739 wxTreeItemId result
;
34744 PyObject
* obj0
= 0 ;
34745 PyObject
* obj1
= 0 ;
34746 char * kwnames
[] = {
34747 (char *) "self",(char *) "item", NULL
34750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34752 if (!SWIG_IsOK(res1
)) {
34753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34755 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34756 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34757 if (!SWIG_IsOK(res2
)) {
34758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34763 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34766 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
34767 wxPyEndAllowThreads(__tstate
);
34768 if (PyErr_Occurred()) SWIG_fail
;
34770 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34777 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34778 PyObject
*resultobj
= 0;
34779 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34780 wxTreeItemId
*arg2
= 0 ;
34781 PyObject
*result
= 0 ;
34786 PyObject
* obj0
= 0 ;
34787 PyObject
* obj1
= 0 ;
34788 char * kwnames
[] = {
34789 (char *) "self",(char *) "item", NULL
34792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34794 if (!SWIG_IsOK(res1
)) {
34795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34797 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34798 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34799 if (!SWIG_IsOK(res2
)) {
34800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34805 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34808 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
34809 wxPyEndAllowThreads(__tstate
);
34810 if (PyErr_Occurred()) SWIG_fail
;
34812 resultobj
= result
;
34819 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34820 PyObject
*resultobj
= 0;
34821 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34822 wxTreeItemId
*arg2
= 0 ;
34823 void *arg3
= (void *) 0 ;
34824 PyObject
*result
= 0 ;
34830 PyObject
* obj0
= 0 ;
34831 PyObject
* obj1
= 0 ;
34832 PyObject
* obj2
= 0 ;
34833 char * kwnames
[] = {
34834 (char *) "self",(char *) "item",(char *) "cookie", NULL
34837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34839 if (!SWIG_IsOK(res1
)) {
34840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34842 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34843 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34844 if (!SWIG_IsOK(res2
)) {
34845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34850 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34851 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
34852 if (!SWIG_IsOK(res3
)) {
34853 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
34856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34857 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34858 wxPyEndAllowThreads(__tstate
);
34859 if (PyErr_Occurred()) SWIG_fail
;
34861 resultobj
= result
;
34868 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34869 PyObject
*resultobj
= 0;
34870 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34871 wxTreeItemId
*arg2
= 0 ;
34872 wxTreeItemId result
;
34877 PyObject
* obj0
= 0 ;
34878 PyObject
* obj1
= 0 ;
34879 char * kwnames
[] = {
34880 (char *) "self",(char *) "item", NULL
34883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34885 if (!SWIG_IsOK(res1
)) {
34886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34888 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34889 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34890 if (!SWIG_IsOK(res2
)) {
34891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34896 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34899 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
34900 wxPyEndAllowThreads(__tstate
);
34901 if (PyErr_Occurred()) SWIG_fail
;
34903 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34910 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34911 PyObject
*resultobj
= 0;
34912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34913 wxTreeItemId
*arg2
= 0 ;
34914 wxTreeItemId result
;
34919 PyObject
* obj0
= 0 ;
34920 PyObject
* obj1
= 0 ;
34921 char * kwnames
[] = {
34922 (char *) "self",(char *) "item", NULL
34925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34927 if (!SWIG_IsOK(res1
)) {
34928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34930 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34931 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34932 if (!SWIG_IsOK(res2
)) {
34933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34938 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34941 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
34942 wxPyEndAllowThreads(__tstate
);
34943 if (PyErr_Occurred()) SWIG_fail
;
34945 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34952 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34953 PyObject
*resultobj
= 0;
34954 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34955 wxTreeItemId
*arg2
= 0 ;
34956 wxTreeItemId result
;
34961 PyObject
* obj0
= 0 ;
34962 PyObject
* obj1
= 0 ;
34963 char * kwnames
[] = {
34964 (char *) "self",(char *) "item", NULL
34967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34969 if (!SWIG_IsOK(res1
)) {
34970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34972 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34974 if (!SWIG_IsOK(res2
)) {
34975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34980 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34983 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
34984 wxPyEndAllowThreads(__tstate
);
34985 if (PyErr_Occurred()) SWIG_fail
;
34987 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
34994 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34995 PyObject
*resultobj
= 0;
34996 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34997 wxTreeItemId result
;
35000 PyObject
*swig_obj
[1] ;
35002 if (!args
) SWIG_fail
;
35003 swig_obj
[0] = args
;
35004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35005 if (!SWIG_IsOK(res1
)) {
35006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35008 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35011 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35012 wxPyEndAllowThreads(__tstate
);
35013 if (PyErr_Occurred()) SWIG_fail
;
35015 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35022 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35023 PyObject
*resultobj
= 0;
35024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35025 wxTreeItemId
*arg2
= 0 ;
35026 wxTreeItemId result
;
35031 PyObject
* obj0
= 0 ;
35032 PyObject
* obj1
= 0 ;
35033 char * kwnames
[] = {
35034 (char *) "self",(char *) "item", NULL
35037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35039 if (!SWIG_IsOK(res1
)) {
35040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35042 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35043 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35044 if (!SWIG_IsOK(res2
)) {
35045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35050 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35053 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35054 wxPyEndAllowThreads(__tstate
);
35055 if (PyErr_Occurred()) SWIG_fail
;
35057 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35064 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35065 PyObject
*resultobj
= 0;
35066 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35067 wxTreeItemId
*arg2
= 0 ;
35068 wxTreeItemId result
;
35073 PyObject
* obj0
= 0 ;
35074 PyObject
* obj1
= 0 ;
35075 char * kwnames
[] = {
35076 (char *) "self",(char *) "item", NULL
35079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35081 if (!SWIG_IsOK(res1
)) {
35082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35084 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35085 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35086 if (!SWIG_IsOK(res2
)) {
35087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35090 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35092 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35095 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35096 wxPyEndAllowThreads(__tstate
);
35097 if (PyErr_Occurred()) SWIG_fail
;
35099 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35106 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35107 PyObject
*resultobj
= 0;
35108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35109 wxString
*arg2
= 0 ;
35110 int arg3
= (int) -1 ;
35111 int arg4
= (int) -1 ;
35112 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35113 wxTreeItemId result
;
35116 bool temp2
= false ;
35122 PyObject
* obj0
= 0 ;
35123 PyObject
* obj1
= 0 ;
35124 PyObject
* obj2
= 0 ;
35125 PyObject
* obj3
= 0 ;
35126 PyObject
* obj4
= 0 ;
35127 char * kwnames
[] = {
35128 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35133 if (!SWIG_IsOK(res1
)) {
35134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35136 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35138 arg2
= wxString_in_helper(obj1
);
35139 if (arg2
== NULL
) SWIG_fail
;
35143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35144 if (!SWIG_IsOK(ecode3
)) {
35145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35147 arg3
= static_cast< int >(val3
);
35150 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35151 if (!SWIG_IsOK(ecode4
)) {
35152 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35154 arg4
= static_cast< int >(val4
);
35157 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35158 if (!SWIG_IsOK(res5
)) {
35159 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35164 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
35165 wxPyEndAllowThreads(__tstate
);
35166 if (PyErr_Occurred()) SWIG_fail
;
35168 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35183 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35184 PyObject
*resultobj
= 0;
35185 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35186 wxTreeItemId
*arg2
= 0 ;
35187 wxString
*arg3
= 0 ;
35188 int arg4
= (int) -1 ;
35189 int arg5
= (int) -1 ;
35190 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35191 wxTreeItemId result
;
35196 bool temp3
= false ;
35202 PyObject
* obj0
= 0 ;
35203 PyObject
* obj1
= 0 ;
35204 PyObject
* obj2
= 0 ;
35205 PyObject
* obj3
= 0 ;
35206 PyObject
* obj4
= 0 ;
35207 PyObject
* obj5
= 0 ;
35208 char * kwnames
[] = {
35209 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35214 if (!SWIG_IsOK(res1
)) {
35215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35217 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35219 if (!SWIG_IsOK(res2
)) {
35220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35225 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35227 arg3
= wxString_in_helper(obj2
);
35228 if (arg3
== NULL
) SWIG_fail
;
35232 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35233 if (!SWIG_IsOK(ecode4
)) {
35234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35236 arg4
= static_cast< int >(val4
);
35239 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35240 if (!SWIG_IsOK(ecode5
)) {
35241 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35243 arg5
= static_cast< int >(val5
);
35246 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35247 if (!SWIG_IsOK(res6
)) {
35248 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35253 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35254 wxPyEndAllowThreads(__tstate
);
35255 if (PyErr_Occurred()) SWIG_fail
;
35257 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35272 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35273 PyObject
*resultobj
= 0;
35274 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35275 wxTreeItemId
*arg2
= 0 ;
35276 wxTreeItemId
*arg3
= 0 ;
35277 wxString
*arg4
= 0 ;
35278 int arg5
= (int) -1 ;
35279 int arg6
= (int) -1 ;
35280 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35281 wxTreeItemId result
;
35288 bool temp4
= false ;
35294 PyObject
* obj0
= 0 ;
35295 PyObject
* obj1
= 0 ;
35296 PyObject
* obj2
= 0 ;
35297 PyObject
* obj3
= 0 ;
35298 PyObject
* obj4
= 0 ;
35299 PyObject
* obj5
= 0 ;
35300 PyObject
* obj6
= 0 ;
35301 char * kwnames
[] = {
35302 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35307 if (!SWIG_IsOK(res1
)) {
35308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35310 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35311 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35312 if (!SWIG_IsOK(res2
)) {
35313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35318 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35319 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35320 if (!SWIG_IsOK(res3
)) {
35321 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35326 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35328 arg4
= wxString_in_helper(obj3
);
35329 if (arg4
== NULL
) SWIG_fail
;
35333 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35334 if (!SWIG_IsOK(ecode5
)) {
35335 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35337 arg5
= static_cast< int >(val5
);
35340 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35341 if (!SWIG_IsOK(ecode6
)) {
35342 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35344 arg6
= static_cast< int >(val6
);
35347 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35348 if (!SWIG_IsOK(res7
)) {
35349 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35354 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35355 wxPyEndAllowThreads(__tstate
);
35356 if (PyErr_Occurred()) SWIG_fail
;
35358 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35373 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35374 PyObject
*resultobj
= 0;
35375 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35376 wxTreeItemId
*arg2
= 0 ;
35378 wxString
*arg4
= 0 ;
35379 int arg5
= (int) -1 ;
35380 int arg6
= (int) -1 ;
35381 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35382 wxTreeItemId result
;
35389 bool temp4
= false ;
35395 PyObject
* obj0
= 0 ;
35396 PyObject
* obj1
= 0 ;
35397 PyObject
* obj2
= 0 ;
35398 PyObject
* obj3
= 0 ;
35399 PyObject
* obj4
= 0 ;
35400 PyObject
* obj5
= 0 ;
35401 PyObject
* obj6
= 0 ;
35402 char * kwnames
[] = {
35403 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35408 if (!SWIG_IsOK(res1
)) {
35409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35411 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35412 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35413 if (!SWIG_IsOK(res2
)) {
35414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35419 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35420 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35421 if (!SWIG_IsOK(ecode3
)) {
35422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35424 arg3
= static_cast< size_t >(val3
);
35426 arg4
= wxString_in_helper(obj3
);
35427 if (arg4
== NULL
) SWIG_fail
;
35431 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35432 if (!SWIG_IsOK(ecode5
)) {
35433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35435 arg5
= static_cast< int >(val5
);
35438 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35439 if (!SWIG_IsOK(ecode6
)) {
35440 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35442 arg6
= static_cast< int >(val6
);
35445 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35446 if (!SWIG_IsOK(res7
)) {
35447 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35452 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35453 wxPyEndAllowThreads(__tstate
);
35454 if (PyErr_Occurred()) SWIG_fail
;
35456 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35471 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35472 PyObject
*resultobj
= 0;
35473 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35474 wxTreeItemId
*arg2
= 0 ;
35475 wxString
*arg3
= 0 ;
35476 int arg4
= (int) -1 ;
35477 int arg5
= (int) -1 ;
35478 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35479 wxTreeItemId result
;
35484 bool temp3
= false ;
35490 PyObject
* obj0
= 0 ;
35491 PyObject
* obj1
= 0 ;
35492 PyObject
* obj2
= 0 ;
35493 PyObject
* obj3
= 0 ;
35494 PyObject
* obj4
= 0 ;
35495 PyObject
* obj5
= 0 ;
35496 char * kwnames
[] = {
35497 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35502 if (!SWIG_IsOK(res1
)) {
35503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35505 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35506 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35507 if (!SWIG_IsOK(res2
)) {
35508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35513 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35515 arg3
= wxString_in_helper(obj2
);
35516 if (arg3
== NULL
) SWIG_fail
;
35520 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35521 if (!SWIG_IsOK(ecode4
)) {
35522 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35524 arg4
= static_cast< int >(val4
);
35527 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35528 if (!SWIG_IsOK(ecode5
)) {
35529 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35531 arg5
= static_cast< int >(val5
);
35534 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35535 if (!SWIG_IsOK(res6
)) {
35536 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35541 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35542 wxPyEndAllowThreads(__tstate
);
35543 if (PyErr_Occurred()) SWIG_fail
;
35545 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35560 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35561 PyObject
*resultobj
= 0;
35562 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35563 wxTreeItemId
*arg2
= 0 ;
35568 PyObject
* obj0
= 0 ;
35569 PyObject
* obj1
= 0 ;
35570 char * kwnames
[] = {
35571 (char *) "self",(char *) "item", NULL
35574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35576 if (!SWIG_IsOK(res1
)) {
35577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35579 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35581 if (!SWIG_IsOK(res2
)) {
35582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35587 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35590 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
35591 wxPyEndAllowThreads(__tstate
);
35592 if (PyErr_Occurred()) SWIG_fail
;
35594 resultobj
= SWIG_Py_Void();
35601 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35602 PyObject
*resultobj
= 0;
35603 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35604 wxTreeItemId
*arg2
= 0 ;
35609 PyObject
* obj0
= 0 ;
35610 PyObject
* obj1
= 0 ;
35611 char * kwnames
[] = {
35612 (char *) "self",(char *) "item", NULL
35615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35617 if (!SWIG_IsOK(res1
)) {
35618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35620 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35622 if (!SWIG_IsOK(res2
)) {
35623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35628 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35631 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
35632 wxPyEndAllowThreads(__tstate
);
35633 if (PyErr_Occurred()) SWIG_fail
;
35635 resultobj
= SWIG_Py_Void();
35642 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35643 PyObject
*resultobj
= 0;
35644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35647 PyObject
*swig_obj
[1] ;
35649 if (!args
) SWIG_fail
;
35650 swig_obj
[0] = args
;
35651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35652 if (!SWIG_IsOK(res1
)) {
35653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35655 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35658 (arg1
)->DeleteAllItems();
35659 wxPyEndAllowThreads(__tstate
);
35660 if (PyErr_Occurred()) SWIG_fail
;
35662 resultobj
= SWIG_Py_Void();
35669 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35670 PyObject
*resultobj
= 0;
35671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35672 wxTreeItemId
*arg2
= 0 ;
35677 PyObject
* obj0
= 0 ;
35678 PyObject
* obj1
= 0 ;
35679 char * kwnames
[] = {
35680 (char *) "self",(char *) "item", NULL
35683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35685 if (!SWIG_IsOK(res1
)) {
35686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35688 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35689 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35690 if (!SWIG_IsOK(res2
)) {
35691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35696 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35699 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
35700 wxPyEndAllowThreads(__tstate
);
35701 if (PyErr_Occurred()) SWIG_fail
;
35703 resultobj
= SWIG_Py_Void();
35710 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35711 PyObject
*resultobj
= 0;
35712 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35713 wxTreeItemId
*arg2
= 0 ;
35718 PyObject
* obj0
= 0 ;
35719 PyObject
* obj1
= 0 ;
35720 char * kwnames
[] = {
35721 (char *) "self",(char *) "item", NULL
35724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35726 if (!SWIG_IsOK(res1
)) {
35727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35729 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35730 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35731 if (!SWIG_IsOK(res2
)) {
35732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35737 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35740 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
35741 wxPyEndAllowThreads(__tstate
);
35742 if (PyErr_Occurred()) SWIG_fail
;
35744 resultobj
= SWIG_Py_Void();
35751 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35752 PyObject
*resultobj
= 0;
35753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35754 wxTreeItemId
*arg2
= 0 ;
35759 PyObject
* obj0
= 0 ;
35760 PyObject
* obj1
= 0 ;
35761 char * kwnames
[] = {
35762 (char *) "self",(char *) "item", NULL
35765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35767 if (!SWIG_IsOK(res1
)) {
35768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35770 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35771 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35772 if (!SWIG_IsOK(res2
)) {
35773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35778 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35781 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
35782 wxPyEndAllowThreads(__tstate
);
35783 if (PyErr_Occurred()) SWIG_fail
;
35785 resultobj
= SWIG_Py_Void();
35792 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35793 PyObject
*resultobj
= 0;
35794 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35795 wxTreeItemId
*arg2
= 0 ;
35800 PyObject
* obj0
= 0 ;
35801 PyObject
* obj1
= 0 ;
35802 char * kwnames
[] = {
35803 (char *) "self",(char *) "item", NULL
35806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35808 if (!SWIG_IsOK(res1
)) {
35809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35811 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35812 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35813 if (!SWIG_IsOK(res2
)) {
35814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35819 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35822 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
35823 wxPyEndAllowThreads(__tstate
);
35824 if (PyErr_Occurred()) SWIG_fail
;
35826 resultobj
= SWIG_Py_Void();
35833 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35834 PyObject
*resultobj
= 0;
35835 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35838 PyObject
*swig_obj
[1] ;
35840 if (!args
) SWIG_fail
;
35841 swig_obj
[0] = args
;
35842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35843 if (!SWIG_IsOK(res1
)) {
35844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35846 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35849 (arg1
)->Unselect();
35850 wxPyEndAllowThreads(__tstate
);
35851 if (PyErr_Occurred()) SWIG_fail
;
35853 resultobj
= SWIG_Py_Void();
35860 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35861 PyObject
*resultobj
= 0;
35862 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35863 wxTreeItemId
*arg2
= 0 ;
35868 PyObject
* obj0
= 0 ;
35869 PyObject
* obj1
= 0 ;
35870 char * kwnames
[] = {
35871 (char *) "self",(char *) "item", NULL
35874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35876 if (!SWIG_IsOK(res1
)) {
35877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35879 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35881 if (!SWIG_IsOK(res2
)) {
35882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35887 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35890 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
35891 wxPyEndAllowThreads(__tstate
);
35892 if (PyErr_Occurred()) SWIG_fail
;
35894 resultobj
= SWIG_Py_Void();
35901 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35902 PyObject
*resultobj
= 0;
35903 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35906 PyObject
*swig_obj
[1] ;
35908 if (!args
) SWIG_fail
;
35909 swig_obj
[0] = args
;
35910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35911 if (!SWIG_IsOK(res1
)) {
35912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35914 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35917 (arg1
)->UnselectAll();
35918 wxPyEndAllowThreads(__tstate
);
35919 if (PyErr_Occurred()) SWIG_fail
;
35921 resultobj
= SWIG_Py_Void();
35928 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35929 PyObject
*resultobj
= 0;
35930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35931 wxTreeItemId
*arg2
= 0 ;
35932 bool arg3
= (bool) true ;
35939 PyObject
* obj0
= 0 ;
35940 PyObject
* obj1
= 0 ;
35941 PyObject
* obj2
= 0 ;
35942 char * kwnames
[] = {
35943 (char *) "self",(char *) "item",(char *) "select", NULL
35946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35948 if (!SWIG_IsOK(res1
)) {
35949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35951 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35952 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35953 if (!SWIG_IsOK(res2
)) {
35954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35959 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35961 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35962 if (!SWIG_IsOK(ecode3
)) {
35963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
35965 arg3
= static_cast< bool >(val3
);
35968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35969 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
35970 wxPyEndAllowThreads(__tstate
);
35971 if (PyErr_Occurred()) SWIG_fail
;
35973 resultobj
= SWIG_Py_Void();
35980 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35981 PyObject
*resultobj
= 0;
35982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35983 wxTreeItemId
*arg2
= 0 ;
35988 PyObject
* obj0
= 0 ;
35989 PyObject
* obj1
= 0 ;
35990 char * kwnames
[] = {
35991 (char *) "self",(char *) "item", NULL
35994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35996 if (!SWIG_IsOK(res1
)) {
35997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35999 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36001 if (!SWIG_IsOK(res2
)) {
36002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36007 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36010 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36011 wxPyEndAllowThreads(__tstate
);
36012 if (PyErr_Occurred()) SWIG_fail
;
36014 resultobj
= SWIG_Py_Void();
36021 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36022 PyObject
*resultobj
= 0;
36023 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36024 wxTreeItemId
*arg2
= 0 ;
36029 PyObject
* obj0
= 0 ;
36030 PyObject
* obj1
= 0 ;
36031 char * kwnames
[] = {
36032 (char *) "self",(char *) "item", NULL
36035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36037 if (!SWIG_IsOK(res1
)) {
36038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36040 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36042 if (!SWIG_IsOK(res2
)) {
36043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36048 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36051 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36052 wxPyEndAllowThreads(__tstate
);
36053 if (PyErr_Occurred()) SWIG_fail
;
36055 resultobj
= SWIG_Py_Void();
36062 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36063 PyObject
*resultobj
= 0;
36064 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36065 wxTreeItemId
*arg2
= 0 ;
36070 PyObject
* obj0
= 0 ;
36071 PyObject
* obj1
= 0 ;
36072 char * kwnames
[] = {
36073 (char *) "self",(char *) "item", NULL
36076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36078 if (!SWIG_IsOK(res1
)) {
36079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36081 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36082 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36083 if (!SWIG_IsOK(res2
)) {
36084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36089 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36092 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36093 wxPyEndAllowThreads(__tstate
);
36094 if (PyErr_Occurred()) SWIG_fail
;
36096 resultobj
= SWIG_Py_Void();
36103 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36104 PyObject
*resultobj
= 0;
36105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36106 wxTreeItemId
*arg2
= 0 ;
36111 PyObject
* obj0
= 0 ;
36112 PyObject
* obj1
= 0 ;
36113 char * kwnames
[] = {
36114 (char *) "self",(char *) "item", NULL
36117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36119 if (!SWIG_IsOK(res1
)) {
36120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36122 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36123 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36124 if (!SWIG_IsOK(res2
)) {
36125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36130 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36133 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36134 wxPyEndAllowThreads(__tstate
);
36135 if (PyErr_Occurred()) SWIG_fail
;
36137 resultobj
= SWIG_Py_Void();
36144 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36145 PyObject
*resultobj
= 0;
36146 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36147 wxTextCtrl
*result
= 0 ;
36150 PyObject
*swig_obj
[1] ;
36152 if (!args
) SWIG_fail
;
36153 swig_obj
[0] = args
;
36154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36155 if (!SWIG_IsOK(res1
)) {
36156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36158 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36161 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36162 wxPyEndAllowThreads(__tstate
);
36163 if (PyErr_Occurred()) SWIG_fail
;
36166 resultobj
= wxPyMake_wxObject(result
, 0);
36174 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36175 PyObject
*resultobj
= 0;
36176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36177 wxTreeItemId
*arg2
= 0 ;
36182 PyObject
* obj0
= 0 ;
36183 PyObject
* obj1
= 0 ;
36184 char * kwnames
[] = {
36185 (char *) "self",(char *) "item", NULL
36188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36190 if (!SWIG_IsOK(res1
)) {
36191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36193 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36194 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36195 if (!SWIG_IsOK(res2
)) {
36196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36201 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36204 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36205 wxPyEndAllowThreads(__tstate
);
36206 if (PyErr_Occurred()) SWIG_fail
;
36208 resultobj
= SWIG_Py_Void();
36215 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36216 PyObject
*resultobj
= 0;
36217 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36218 wxPoint
*arg2
= 0 ;
36220 wxTreeItemId result
;
36225 int res3
= SWIG_TMPOBJ
;
36226 PyObject
* obj0
= 0 ;
36227 PyObject
* obj1
= 0 ;
36228 char * kwnames
[] = {
36229 (char *) "self",(char *) "point", NULL
36233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36235 if (!SWIG_IsOK(res1
)) {
36236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36238 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36241 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36245 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36246 wxPyEndAllowThreads(__tstate
);
36247 if (PyErr_Occurred()) SWIG_fail
;
36249 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36250 if (SWIG_IsTmpObj(res3
)) {
36251 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36253 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36254 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36262 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36263 PyObject
*resultobj
= 0;
36264 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36265 wxTreeItemId
*arg2
= 0 ;
36266 bool arg3
= (bool) false ;
36267 PyObject
*result
= 0 ;
36274 PyObject
* obj0
= 0 ;
36275 PyObject
* obj1
= 0 ;
36276 PyObject
* obj2
= 0 ;
36277 char * kwnames
[] = {
36278 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36283 if (!SWIG_IsOK(res1
)) {
36284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36286 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36287 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36288 if (!SWIG_IsOK(res2
)) {
36289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36294 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36296 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36297 if (!SWIG_IsOK(ecode3
)) {
36298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36300 arg3
= static_cast< bool >(val3
);
36303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36304 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36305 wxPyEndAllowThreads(__tstate
);
36306 if (PyErr_Occurred()) SWIG_fail
;
36308 resultobj
= result
;
36315 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36316 PyObject
*resultobj
= 0;
36317 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36318 SwigValueWrapper
<wxVisualAttributes
> result
;
36321 PyObject
* obj0
= 0 ;
36322 char * kwnames
[] = {
36323 (char *) "variant", NULL
36326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36328 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36329 if (!SWIG_IsOK(ecode1
)) {
36330 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36332 arg1
= static_cast< wxWindowVariant
>(val1
);
36335 if (!wxPyCheckForApp()) SWIG_fail
;
36336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36337 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36338 wxPyEndAllowThreads(__tstate
);
36339 if (PyErr_Occurred()) SWIG_fail
;
36341 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36348 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36351 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36352 return SWIG_Py_Void();
36355 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36356 return SWIG_Python_InitShadowInstance(args
);
36359 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36360 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36365 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36366 PyObject
*pyobj
= 0;
36370 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36372 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36379 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36380 PyObject
*resultobj
= 0;
36381 wxWindow
*arg1
= (wxWindow
*) 0 ;
36382 int arg2
= (int) (int)-1 ;
36383 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36384 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36385 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36386 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36387 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36388 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36389 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36390 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36391 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36392 int arg8
= (int) 0 ;
36393 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36394 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36395 wxGenericDirCtrl
*result
= 0 ;
36400 bool temp3
= false ;
36405 bool temp7
= false ;
36408 bool temp9
= false ;
36409 PyObject
* obj0
= 0 ;
36410 PyObject
* obj1
= 0 ;
36411 PyObject
* obj2
= 0 ;
36412 PyObject
* obj3
= 0 ;
36413 PyObject
* obj4
= 0 ;
36414 PyObject
* obj5
= 0 ;
36415 PyObject
* obj6
= 0 ;
36416 PyObject
* obj7
= 0 ;
36417 PyObject
* obj8
= 0 ;
36418 char * kwnames
[] = {
36419 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
36423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36424 if (!SWIG_IsOK(res1
)) {
36425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36427 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36430 if (!SWIG_IsOK(ecode2
)) {
36431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
36433 arg2
= static_cast< int >(val2
);
36437 arg3
= wxString_in_helper(obj2
);
36438 if (arg3
== NULL
) SWIG_fail
;
36445 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36451 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36455 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
36456 if (!SWIG_IsOK(ecode6
)) {
36457 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
36459 arg6
= static_cast< long >(val6
);
36463 arg7
= wxString_in_helper(obj6
);
36464 if (arg7
== NULL
) SWIG_fail
;
36469 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
36470 if (!SWIG_IsOK(ecode8
)) {
36471 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
36473 arg8
= static_cast< int >(val8
);
36477 arg9
= wxString_in_helper(obj8
);
36478 if (arg9
== NULL
) SWIG_fail
;
36483 if (!wxPyCheckForApp()) SWIG_fail
;
36484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36485 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
36486 wxPyEndAllowThreads(__tstate
);
36487 if (PyErr_Occurred()) SWIG_fail
;
36489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
36520 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36521 PyObject
*resultobj
= 0;
36522 wxGenericDirCtrl
*result
= 0 ;
36524 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
36526 if (!wxPyCheckForApp()) SWIG_fail
;
36527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36528 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
36529 wxPyEndAllowThreads(__tstate
);
36530 if (PyErr_Occurred()) SWIG_fail
;
36532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
36539 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36540 PyObject
*resultobj
= 0;
36541 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36542 wxWindow
*arg2
= (wxWindow
*) 0 ;
36543 int arg3
= (int) (int)-1 ;
36544 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
36545 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36546 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
36547 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
36548 wxSize
const &arg6_defvalue
= wxDefaultSize
;
36549 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
36550 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36551 wxString
const &arg8_defvalue
= wxPyEmptyString
;
36552 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36553 int arg9
= (int) 0 ;
36554 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
36555 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
36563 bool temp4
= false ;
36568 bool temp8
= false ;
36571 bool temp10
= false ;
36572 PyObject
* obj0
= 0 ;
36573 PyObject
* obj1
= 0 ;
36574 PyObject
* obj2
= 0 ;
36575 PyObject
* obj3
= 0 ;
36576 PyObject
* obj4
= 0 ;
36577 PyObject
* obj5
= 0 ;
36578 PyObject
* obj6
= 0 ;
36579 PyObject
* obj7
= 0 ;
36580 PyObject
* obj8
= 0 ;
36581 PyObject
* obj9
= 0 ;
36582 char * kwnames
[] = {
36583 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
36587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36588 if (!SWIG_IsOK(res1
)) {
36589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36591 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36593 if (!SWIG_IsOK(res2
)) {
36594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
36596 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
36598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36599 if (!SWIG_IsOK(ecode3
)) {
36600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
36602 arg3
= static_cast< int >(val3
);
36606 arg4
= wxString_in_helper(obj3
);
36607 if (arg4
== NULL
) SWIG_fail
;
36614 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
36620 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
36624 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
36625 if (!SWIG_IsOK(ecode7
)) {
36626 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
36628 arg7
= static_cast< long >(val7
);
36632 arg8
= wxString_in_helper(obj7
);
36633 if (arg8
== NULL
) SWIG_fail
;
36638 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
36639 if (!SWIG_IsOK(ecode9
)) {
36640 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
36642 arg9
= static_cast< int >(val9
);
36646 arg10
= wxString_in_helper(obj9
);
36647 if (arg10
== NULL
) SWIG_fail
;
36652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36653 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
36654 wxPyEndAllowThreads(__tstate
);
36655 if (PyErr_Occurred()) SWIG_fail
;
36658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36690 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36691 PyObject
*resultobj
= 0;
36692 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36693 wxString
*arg2
= 0 ;
36697 bool temp2
= false ;
36698 PyObject
* obj0
= 0 ;
36699 PyObject
* obj1
= 0 ;
36700 char * kwnames
[] = {
36701 (char *) "self",(char *) "path", NULL
36704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36706 if (!SWIG_IsOK(res1
)) {
36707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36709 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36711 arg2
= wxString_in_helper(obj1
);
36712 if (arg2
== NULL
) SWIG_fail
;
36716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36717 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
36718 wxPyEndAllowThreads(__tstate
);
36719 if (PyErr_Occurred()) SWIG_fail
;
36722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36738 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36739 PyObject
*resultobj
= 0;
36740 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36744 PyObject
*swig_obj
[1] ;
36746 if (!args
) SWIG_fail
;
36747 swig_obj
[0] = args
;
36748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36749 if (!SWIG_IsOK(res1
)) {
36750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
36752 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36755 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
36756 wxPyEndAllowThreads(__tstate
);
36757 if (PyErr_Occurred()) SWIG_fail
;
36761 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36763 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36772 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36773 PyObject
*resultobj
= 0;
36774 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36775 wxString
*arg2
= 0 ;
36778 bool temp2
= false ;
36779 PyObject
* obj0
= 0 ;
36780 PyObject
* obj1
= 0 ;
36781 char * kwnames
[] = {
36782 (char *) "self",(char *) "path", NULL
36785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36787 if (!SWIG_IsOK(res1
)) {
36788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36790 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36792 arg2
= wxString_in_helper(obj1
);
36793 if (arg2
== NULL
) SWIG_fail
;
36797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36798 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
36799 wxPyEndAllowThreads(__tstate
);
36800 if (PyErr_Occurred()) SWIG_fail
;
36802 resultobj
= SWIG_Py_Void();
36817 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36818 PyObject
*resultobj
= 0;
36819 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36823 PyObject
*swig_obj
[1] ;
36825 if (!args
) SWIG_fail
;
36826 swig_obj
[0] = args
;
36827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36828 if (!SWIG_IsOK(res1
)) {
36829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
36831 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36834 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
36835 wxPyEndAllowThreads(__tstate
);
36836 if (PyErr_Occurred()) SWIG_fail
;
36840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36851 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36852 PyObject
*resultobj
= 0;
36853 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36857 PyObject
*swig_obj
[1] ;
36859 if (!args
) SWIG_fail
;
36860 swig_obj
[0] = args
;
36861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36862 if (!SWIG_IsOK(res1
)) {
36863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
36865 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36868 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
36869 wxPyEndAllowThreads(__tstate
);
36870 if (PyErr_Occurred()) SWIG_fail
;
36874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36885 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36886 PyObject
*resultobj
= 0;
36887 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36888 wxString
*arg2
= 0 ;
36891 bool temp2
= false ;
36892 PyObject
* obj0
= 0 ;
36893 PyObject
* obj1
= 0 ;
36894 char * kwnames
[] = {
36895 (char *) "self",(char *) "path", NULL
36898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36900 if (!SWIG_IsOK(res1
)) {
36901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36903 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36905 arg2
= wxString_in_helper(obj1
);
36906 if (arg2
== NULL
) SWIG_fail
;
36910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36911 (arg1
)->SetPath((wxString
const &)*arg2
);
36912 wxPyEndAllowThreads(__tstate
);
36913 if (PyErr_Occurred()) SWIG_fail
;
36915 resultobj
= SWIG_Py_Void();
36930 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36931 PyObject
*resultobj
= 0;
36932 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36938 PyObject
* obj0
= 0 ;
36939 PyObject
* obj1
= 0 ;
36940 char * kwnames
[] = {
36941 (char *) "self",(char *) "show", NULL
36944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36946 if (!SWIG_IsOK(res1
)) {
36947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36949 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36950 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36951 if (!SWIG_IsOK(ecode2
)) {
36952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
36954 arg2
= static_cast< bool >(val2
);
36956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36957 (arg1
)->ShowHidden(arg2
);
36958 wxPyEndAllowThreads(__tstate
);
36959 if (PyErr_Occurred()) SWIG_fail
;
36961 resultobj
= SWIG_Py_Void();
36968 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36969 PyObject
*resultobj
= 0;
36970 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
36974 PyObject
*swig_obj
[1] ;
36976 if (!args
) SWIG_fail
;
36977 swig_obj
[0] = args
;
36978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
36979 if (!SWIG_IsOK(res1
)) {
36980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
36982 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
36984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36985 result
= (bool)(arg1
)->GetShowHidden();
36986 wxPyEndAllowThreads(__tstate
);
36987 if (PyErr_Occurred()) SWIG_fail
;
36990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36998 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36999 PyObject
*resultobj
= 0;
37000 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37004 PyObject
*swig_obj
[1] ;
37006 if (!args
) SWIG_fail
;
37007 swig_obj
[0] = args
;
37008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37009 if (!SWIG_IsOK(res1
)) {
37010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37012 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37015 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37016 wxPyEndAllowThreads(__tstate
);
37017 if (PyErr_Occurred()) SWIG_fail
;
37021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37032 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37033 PyObject
*resultobj
= 0;
37034 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37035 wxString
*arg2
= 0 ;
37038 bool temp2
= false ;
37039 PyObject
* obj0
= 0 ;
37040 PyObject
* obj1
= 0 ;
37041 char * kwnames
[] = {
37042 (char *) "self",(char *) "filter", NULL
37045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37047 if (!SWIG_IsOK(res1
)) {
37048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37050 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37052 arg2
= wxString_in_helper(obj1
);
37053 if (arg2
== NULL
) SWIG_fail
;
37057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37058 (arg1
)->SetFilter((wxString
const &)*arg2
);
37059 wxPyEndAllowThreads(__tstate
);
37060 if (PyErr_Occurred()) SWIG_fail
;
37062 resultobj
= SWIG_Py_Void();
37077 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37078 PyObject
*resultobj
= 0;
37079 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37083 PyObject
*swig_obj
[1] ;
37085 if (!args
) SWIG_fail
;
37086 swig_obj
[0] = args
;
37087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37088 if (!SWIG_IsOK(res1
)) {
37089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37091 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37094 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37095 wxPyEndAllowThreads(__tstate
);
37096 if (PyErr_Occurred()) SWIG_fail
;
37098 resultobj
= SWIG_From_int(static_cast< int >(result
));
37105 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37106 PyObject
*resultobj
= 0;
37107 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37113 PyObject
* obj0
= 0 ;
37114 PyObject
* obj1
= 0 ;
37115 char * kwnames
[] = {
37116 (char *) "self",(char *) "n", NULL
37119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37121 if (!SWIG_IsOK(res1
)) {
37122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37124 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37126 if (!SWIG_IsOK(ecode2
)) {
37127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37129 arg2
= static_cast< int >(val2
);
37131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37132 (arg1
)->SetFilterIndex(arg2
);
37133 wxPyEndAllowThreads(__tstate
);
37134 if (PyErr_Occurred()) SWIG_fail
;
37136 resultobj
= SWIG_Py_Void();
37143 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37144 PyObject
*resultobj
= 0;
37145 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37146 wxTreeItemId result
;
37149 PyObject
*swig_obj
[1] ;
37151 if (!args
) SWIG_fail
;
37152 swig_obj
[0] = args
;
37153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37154 if (!SWIG_IsOK(res1
)) {
37155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37157 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37160 result
= (arg1
)->GetRootId();
37161 wxPyEndAllowThreads(__tstate
);
37162 if (PyErr_Occurred()) SWIG_fail
;
37164 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37171 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37172 PyObject
*resultobj
= 0;
37173 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37174 wxPyTreeCtrl
*result
= 0 ;
37177 PyObject
*swig_obj
[1] ;
37179 if (!args
) SWIG_fail
;
37180 swig_obj
[0] = args
;
37181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37182 if (!SWIG_IsOK(res1
)) {
37183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37185 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37188 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37189 wxPyEndAllowThreads(__tstate
);
37190 if (PyErr_Occurred()) SWIG_fail
;
37193 resultobj
= wxPyMake_wxObject(result
, 0);
37201 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37202 PyObject
*resultobj
= 0;
37203 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37204 wxDirFilterListCtrl
*result
= 0 ;
37207 PyObject
*swig_obj
[1] ;
37209 if (!args
) SWIG_fail
;
37210 swig_obj
[0] = args
;
37211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37212 if (!SWIG_IsOK(res1
)) {
37213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37215 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37218 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37219 wxPyEndAllowThreads(__tstate
);
37220 if (PyErr_Occurred()) SWIG_fail
;
37222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37229 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37230 PyObject
*resultobj
= 0;
37231 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37232 wxTreeItemId arg2
;
37233 wxString
*arg3
= 0 ;
37235 wxTreeItemId result
;
37240 bool temp3
= false ;
37242 int res4
= SWIG_TMPOBJ
;
37243 PyObject
* obj0
= 0 ;
37244 PyObject
* obj1
= 0 ;
37245 PyObject
* obj2
= 0 ;
37246 char * kwnames
[] = {
37247 (char *) "self",(char *) "parentId",(char *) "path", NULL
37251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37253 if (!SWIG_IsOK(res1
)) {
37254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37256 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37259 if (!SWIG_IsOK(res2
)) {
37260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37265 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37267 if (SWIG_IsNewObj(res2
)) delete temp
;
37271 arg3
= wxString_in_helper(obj2
);
37272 if (arg3
== NULL
) SWIG_fail
;
37276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37277 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37278 wxPyEndAllowThreads(__tstate
);
37279 if (PyErr_Occurred()) SWIG_fail
;
37281 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37282 if (SWIG_IsTmpObj(res4
)) {
37283 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37285 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37286 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37302 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37303 PyObject
*resultobj
= 0;
37304 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37307 PyObject
*swig_obj
[1] ;
37309 if (!args
) SWIG_fail
;
37310 swig_obj
[0] = args
;
37311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37312 if (!SWIG_IsOK(res1
)) {
37313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37315 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37318 (arg1
)->DoResize();
37319 wxPyEndAllowThreads(__tstate
);
37320 if (PyErr_Occurred()) SWIG_fail
;
37322 resultobj
= SWIG_Py_Void();
37329 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37330 PyObject
*resultobj
= 0;
37331 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37334 PyObject
*swig_obj
[1] ;
37336 if (!args
) SWIG_fail
;
37337 swig_obj
[0] = args
;
37338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37339 if (!SWIG_IsOK(res1
)) {
37340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37342 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37345 (arg1
)->ReCreateTree();
37346 wxPyEndAllowThreads(__tstate
);
37347 if (PyErr_Occurred()) SWIG_fail
;
37349 resultobj
= SWIG_Py_Void();
37356 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37359 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37360 return SWIG_Py_Void();
37363 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37364 return SWIG_Python_InitShadowInstance(args
);
37367 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37368 PyObject
*resultobj
= 0;
37369 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37370 int arg2
= (int) (int)-1 ;
37371 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37372 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37373 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37374 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37375 long arg5
= (long) 0 ;
37376 wxDirFilterListCtrl
*result
= 0 ;
37385 PyObject
* obj0
= 0 ;
37386 PyObject
* obj1
= 0 ;
37387 PyObject
* obj2
= 0 ;
37388 PyObject
* obj3
= 0 ;
37389 PyObject
* obj4
= 0 ;
37390 char * kwnames
[] = {
37391 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37396 if (!SWIG_IsOK(res1
)) {
37397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37399 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37402 if (!SWIG_IsOK(ecode2
)) {
37403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
37405 arg2
= static_cast< int >(val2
);
37410 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37416 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37420 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37421 if (!SWIG_IsOK(ecode5
)) {
37422 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
37424 arg5
= static_cast< long >(val5
);
37427 if (!wxPyCheckForApp()) SWIG_fail
;
37428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37429 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
37430 wxPyEndAllowThreads(__tstate
);
37431 if (PyErr_Occurred()) SWIG_fail
;
37433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
37440 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37441 PyObject
*resultobj
= 0;
37442 wxDirFilterListCtrl
*result
= 0 ;
37444 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
37446 if (!wxPyCheckForApp()) SWIG_fail
;
37447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37448 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
37449 wxPyEndAllowThreads(__tstate
);
37450 if (PyErr_Occurred()) SWIG_fail
;
37452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
37459 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37460 PyObject
*resultobj
= 0;
37461 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37462 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
37463 int arg3
= (int) (int)-1 ;
37464 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37465 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37466 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37467 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37468 long arg6
= (long) 0 ;
37480 PyObject
* obj0
= 0 ;
37481 PyObject
* obj1
= 0 ;
37482 PyObject
* obj2
= 0 ;
37483 PyObject
* obj3
= 0 ;
37484 PyObject
* obj4
= 0 ;
37485 PyObject
* obj5
= 0 ;
37486 char * kwnames
[] = {
37487 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37492 if (!SWIG_IsOK(res1
)) {
37493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37495 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37496 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37497 if (!SWIG_IsOK(res2
)) {
37498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
37500 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
37502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37503 if (!SWIG_IsOK(ecode3
)) {
37504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37506 arg3
= static_cast< int >(val3
);
37511 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37517 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37521 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37522 if (!SWIG_IsOK(ecode6
)) {
37523 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
37525 arg6
= static_cast< long >(val6
);
37528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37529 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
37530 wxPyEndAllowThreads(__tstate
);
37531 if (PyErr_Occurred()) SWIG_fail
;
37534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37542 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37543 PyObject
*resultobj
= 0;
37544 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37545 wxString
*arg2
= 0 ;
37549 bool temp2
= false ;
37552 PyObject
* obj0
= 0 ;
37553 PyObject
* obj1
= 0 ;
37554 PyObject
* obj2
= 0 ;
37555 char * kwnames
[] = {
37556 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
37559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37561 if (!SWIG_IsOK(res1
)) {
37562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
37564 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
37566 arg2
= wxString_in_helper(obj1
);
37567 if (arg2
== NULL
) SWIG_fail
;
37570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37571 if (!SWIG_IsOK(ecode3
)) {
37572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
37574 arg3
= static_cast< int >(val3
);
37576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37577 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
37578 wxPyEndAllowThreads(__tstate
);
37579 if (PyErr_Occurred()) SWIG_fail
;
37581 resultobj
= SWIG_Py_Void();
37596 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37598 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37599 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
37600 return SWIG_Py_Void();
37603 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37604 return SWIG_Python_InitShadowInstance(args
);
37607 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37608 PyObject
*resultobj
= 0;
37609 wxWindow
*arg1
= (wxWindow
*) 0 ;
37610 int arg2
= (int) (int)-1 ;
37611 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37612 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37613 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37614 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37615 long arg5
= (long) 0 ;
37616 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37617 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37618 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37619 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37620 wxPyControl
*result
= 0 ;
37631 bool temp7
= false ;
37632 PyObject
* obj0
= 0 ;
37633 PyObject
* obj1
= 0 ;
37634 PyObject
* obj2
= 0 ;
37635 PyObject
* obj3
= 0 ;
37636 PyObject
* obj4
= 0 ;
37637 PyObject
* obj5
= 0 ;
37638 PyObject
* obj6
= 0 ;
37639 char * kwnames
[] = {
37640 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37645 if (!SWIG_IsOK(res1
)) {
37646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
37648 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37651 if (!SWIG_IsOK(ecode2
)) {
37652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
37654 arg2
= static_cast< int >(val2
);
37659 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37665 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37669 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37670 if (!SWIG_IsOK(ecode5
)) {
37671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
37673 arg5
= static_cast< long >(val5
);
37676 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
37677 if (!SWIG_IsOK(res6
)) {
37678 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
37681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
37683 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
37687 arg7
= wxString_in_helper(obj6
);
37688 if (arg7
== NULL
) SWIG_fail
;
37693 if (!wxPyCheckForApp()) SWIG_fail
;
37694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37695 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37696 wxPyEndAllowThreads(__tstate
);
37697 if (PyErr_Occurred()) SWIG_fail
;
37699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
37714 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37715 PyObject
*resultobj
= 0;
37716 wxPyControl
*result
= 0 ;
37718 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
37720 if (!wxPyCheckForApp()) SWIG_fail
;
37721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37722 result
= (wxPyControl
*)new wxPyControl();
37723 wxPyEndAllowThreads(__tstate
);
37724 if (PyErr_Occurred()) SWIG_fail
;
37726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
37733 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37734 PyObject
*resultobj
= 0;
37735 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37736 PyObject
*arg2
= (PyObject
*) 0 ;
37737 PyObject
*arg3
= (PyObject
*) 0 ;
37740 PyObject
* obj0
= 0 ;
37741 PyObject
* obj1
= 0 ;
37742 PyObject
* obj2
= 0 ;
37743 char * kwnames
[] = {
37744 (char *) "self",(char *) "self",(char *) "_class", NULL
37747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37749 if (!SWIG_IsOK(res1
)) {
37750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
37752 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37757 (arg1
)->_setCallbackInfo(arg2
,arg3
);
37758 wxPyEndAllowThreads(__tstate
);
37759 if (PyErr_Occurred()) SWIG_fail
;
37761 resultobj
= SWIG_Py_Void();
37768 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37769 PyObject
*resultobj
= 0;
37770 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37775 PyObject
* obj0
= 0 ;
37776 PyObject
* obj1
= 0 ;
37777 char * kwnames
[] = {
37778 (char *) "self",(char *) "size", NULL
37781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37783 if (!SWIG_IsOK(res1
)) {
37784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
37786 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37789 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37793 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
37794 wxPyEndAllowThreads(__tstate
);
37795 if (PyErr_Occurred()) SWIG_fail
;
37797 resultobj
= SWIG_Py_Void();
37804 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37805 PyObject
*resultobj
= 0;
37806 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37807 wxDC
*arg2
= (wxDC
*) 0 ;
37813 PyObject
* obj0
= 0 ;
37814 PyObject
* obj1
= 0 ;
37815 char * kwnames
[] = {
37816 (char *) "self",(char *) "dc", NULL
37819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37821 if (!SWIG_IsOK(res1
)) {
37822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
37824 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37825 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
37826 if (!SWIG_IsOK(res2
)) {
37827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
37829 arg2
= reinterpret_cast< wxDC
* >(argp2
);
37831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37832 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
37833 wxPyEndAllowThreads(__tstate
);
37834 if (PyErr_Occurred()) SWIG_fail
;
37837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37845 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37846 PyObject
*resultobj
= 0;
37847 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37862 PyObject
* obj0
= 0 ;
37863 PyObject
* obj1
= 0 ;
37864 PyObject
* obj2
= 0 ;
37865 PyObject
* obj3
= 0 ;
37866 PyObject
* obj4
= 0 ;
37867 char * kwnames
[] = {
37868 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37873 if (!SWIG_IsOK(res1
)) {
37874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
37876 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37878 if (!SWIG_IsOK(ecode2
)) {
37879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
37881 arg2
= static_cast< int >(val2
);
37882 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37883 if (!SWIG_IsOK(ecode3
)) {
37884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
37886 arg3
= static_cast< int >(val3
);
37887 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37888 if (!SWIG_IsOK(ecode4
)) {
37889 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
37891 arg4
= static_cast< int >(val4
);
37892 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37893 if (!SWIG_IsOK(ecode5
)) {
37894 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
37896 arg5
= static_cast< int >(val5
);
37898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37899 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
37900 wxPyEndAllowThreads(__tstate
);
37901 if (PyErr_Occurred()) SWIG_fail
;
37903 resultobj
= SWIG_Py_Void();
37910 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37911 PyObject
*resultobj
= 0;
37912 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37917 int arg6
= (int) wxSIZE_AUTO
;
37930 PyObject
* obj0
= 0 ;
37931 PyObject
* obj1
= 0 ;
37932 PyObject
* obj2
= 0 ;
37933 PyObject
* obj3
= 0 ;
37934 PyObject
* obj4
= 0 ;
37935 PyObject
* obj5
= 0 ;
37936 char * kwnames
[] = {
37937 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
37940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
37942 if (!SWIG_IsOK(res1
)) {
37943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
37945 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
37946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37947 if (!SWIG_IsOK(ecode2
)) {
37948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
37950 arg2
= static_cast< int >(val2
);
37951 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37952 if (!SWIG_IsOK(ecode3
)) {
37953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
37955 arg3
= static_cast< int >(val3
);
37956 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37957 if (!SWIG_IsOK(ecode4
)) {
37958 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
37960 arg4
= static_cast< int >(val4
);
37961 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37962 if (!SWIG_IsOK(ecode5
)) {
37963 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
37965 arg5
= static_cast< int >(val5
);
37967 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37968 if (!SWIG_IsOK(ecode6
)) {
37969 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
37971 arg6
= static_cast< int >(val6
);
37974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37975 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
37976 wxPyEndAllowThreads(__tstate
);
37977 if (PyErr_Occurred()) SWIG_fail
;
37979 resultobj
= SWIG_Py_Void();
37986 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37987 PyObject
*resultobj
= 0;
37988 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
37997 PyObject
* obj0
= 0 ;
37998 PyObject
* obj1
= 0 ;
37999 PyObject
* obj2
= 0 ;
38000 char * kwnames
[] = {
38001 (char *) "self",(char *) "width",(char *) "height", NULL
38004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38006 if (!SWIG_IsOK(res1
)) {
38007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38009 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38011 if (!SWIG_IsOK(ecode2
)) {
38012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38014 arg2
= static_cast< int >(val2
);
38015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38016 if (!SWIG_IsOK(ecode3
)) {
38017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38019 arg3
= static_cast< int >(val3
);
38021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38022 (arg1
)->DoSetClientSize(arg2
,arg3
);
38023 wxPyEndAllowThreads(__tstate
);
38024 if (PyErr_Occurred()) SWIG_fail
;
38026 resultobj
= SWIG_Py_Void();
38033 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38034 PyObject
*resultobj
= 0;
38035 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38044 PyObject
* obj0
= 0 ;
38045 PyObject
* obj1
= 0 ;
38046 PyObject
* obj2
= 0 ;
38047 char * kwnames
[] = {
38048 (char *) "self",(char *) "x",(char *) "y", NULL
38051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38053 if (!SWIG_IsOK(res1
)) {
38054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38056 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38058 if (!SWIG_IsOK(ecode2
)) {
38059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38061 arg2
= static_cast< int >(val2
);
38062 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38063 if (!SWIG_IsOK(ecode3
)) {
38064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38066 arg3
= static_cast< int >(val3
);
38068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38069 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38070 wxPyEndAllowThreads(__tstate
);
38071 if (PyErr_Occurred()) SWIG_fail
;
38073 resultobj
= SWIG_Py_Void();
38080 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38081 PyObject
*resultobj
= 0;
38082 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38083 int *arg2
= (int *) 0 ;
38084 int *arg3
= (int *) 0 ;
38088 int res2
= SWIG_TMPOBJ
;
38090 int res3
= SWIG_TMPOBJ
;
38091 PyObject
*swig_obj
[1] ;
38095 if (!args
) SWIG_fail
;
38096 swig_obj
[0] = args
;
38097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38098 if (!SWIG_IsOK(res1
)) {
38099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38101 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38104 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38105 wxPyEndAllowThreads(__tstate
);
38106 if (PyErr_Occurred()) SWIG_fail
;
38108 resultobj
= SWIG_Py_Void();
38109 if (SWIG_IsTmpObj(res2
)) {
38110 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38112 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38113 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38115 if (SWIG_IsTmpObj(res3
)) {
38116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38118 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38127 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38128 PyObject
*resultobj
= 0;
38129 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38130 int *arg2
= (int *) 0 ;
38131 int *arg3
= (int *) 0 ;
38135 int res2
= SWIG_TMPOBJ
;
38137 int res3
= SWIG_TMPOBJ
;
38138 PyObject
*swig_obj
[1] ;
38142 if (!args
) SWIG_fail
;
38143 swig_obj
[0] = args
;
38144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38145 if (!SWIG_IsOK(res1
)) {
38146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38148 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38151 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38152 wxPyEndAllowThreads(__tstate
);
38153 if (PyErr_Occurred()) SWIG_fail
;
38155 resultobj
= SWIG_Py_Void();
38156 if (SWIG_IsTmpObj(res2
)) {
38157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38159 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38162 if (SWIG_IsTmpObj(res3
)) {
38163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38165 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38174 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38175 PyObject
*resultobj
= 0;
38176 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38177 int *arg2
= (int *) 0 ;
38178 int *arg3
= (int *) 0 ;
38182 int res2
= SWIG_TMPOBJ
;
38184 int res3
= SWIG_TMPOBJ
;
38185 PyObject
*swig_obj
[1] ;
38189 if (!args
) SWIG_fail
;
38190 swig_obj
[0] = args
;
38191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38192 if (!SWIG_IsOK(res1
)) {
38193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38195 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38198 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38199 wxPyEndAllowThreads(__tstate
);
38200 if (PyErr_Occurred()) SWIG_fail
;
38202 resultobj
= SWIG_Py_Void();
38203 if (SWIG_IsTmpObj(res2
)) {
38204 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38206 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38207 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38209 if (SWIG_IsTmpObj(res3
)) {
38210 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38212 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38213 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38221 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38222 PyObject
*resultobj
= 0;
38223 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38227 PyObject
*swig_obj
[1] ;
38229 if (!args
) SWIG_fail
;
38230 swig_obj
[0] = args
;
38231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38232 if (!SWIG_IsOK(res1
)) {
38233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38235 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38238 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38239 wxPyEndAllowThreads(__tstate
);
38240 if (PyErr_Occurred()) SWIG_fail
;
38242 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38249 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38250 PyObject
*resultobj
= 0;
38251 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38255 PyObject
*swig_obj
[1] ;
38257 if (!args
) SWIG_fail
;
38258 swig_obj
[0] = args
;
38259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38260 if (!SWIG_IsOK(res1
)) {
38261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38263 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38266 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38267 wxPyEndAllowThreads(__tstate
);
38268 if (PyErr_Occurred()) SWIG_fail
;
38270 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38277 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38278 PyObject
*resultobj
= 0;
38279 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38280 SwigValueWrapper
<wxVisualAttributes
> result
;
38283 PyObject
*swig_obj
[1] ;
38285 if (!args
) SWIG_fail
;
38286 swig_obj
[0] = args
;
38287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38288 if (!SWIG_IsOK(res1
)) {
38289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38291 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38294 result
= (arg1
)->GetDefaultAttributes();
38295 wxPyEndAllowThreads(__tstate
);
38296 if (PyErr_Occurred()) SWIG_fail
;
38298 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38305 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38306 PyObject
*resultobj
= 0;
38307 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38310 PyObject
*swig_obj
[1] ;
38312 if (!args
) SWIG_fail
;
38313 swig_obj
[0] = args
;
38314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38315 if (!SWIG_IsOK(res1
)) {
38316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38318 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38321 (arg1
)->OnInternalIdle();
38322 wxPyEndAllowThreads(__tstate
);
38323 if (PyErr_Occurred()) SWIG_fail
;
38325 resultobj
= SWIG_Py_Void();
38332 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38335 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38336 return SWIG_Py_Void();
38339 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38340 return SWIG_Python_InitShadowInstance(args
);
38343 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38344 PyObject
*resultobj
= 0;
38345 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38346 int arg2
= (int) 0 ;
38347 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38348 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38349 wxHelpEvent
*result
= 0 ;
38355 PyObject
* obj0
= 0 ;
38356 PyObject
* obj1
= 0 ;
38357 PyObject
* obj2
= 0 ;
38358 char * kwnames
[] = {
38359 (char *) "type",(char *) "winid",(char *) "pt", NULL
38362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38364 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38365 if (!SWIG_IsOK(ecode1
)) {
38366 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38368 arg1
= static_cast< wxEventType
>(val1
);
38371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38372 if (!SWIG_IsOK(ecode2
)) {
38373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38375 arg2
= static_cast< int >(val2
);
38380 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38385 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
38386 wxPyEndAllowThreads(__tstate
);
38387 if (PyErr_Occurred()) SWIG_fail
;
38389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
38396 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38397 PyObject
*resultobj
= 0;
38398 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38402 PyObject
*swig_obj
[1] ;
38404 if (!args
) SWIG_fail
;
38405 swig_obj
[0] = args
;
38406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38407 if (!SWIG_IsOK(res1
)) {
38408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38410 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38413 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
38414 wxPyEndAllowThreads(__tstate
);
38415 if (PyErr_Occurred()) SWIG_fail
;
38417 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
38424 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38425 PyObject
*resultobj
= 0;
38426 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38427 wxPoint
*arg2
= 0 ;
38431 PyObject
* obj0
= 0 ;
38432 PyObject
* obj1
= 0 ;
38433 char * kwnames
[] = {
38434 (char *) "self",(char *) "pos", NULL
38437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38439 if (!SWIG_IsOK(res1
)) {
38440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38442 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38445 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38449 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
38450 wxPyEndAllowThreads(__tstate
);
38451 if (PyErr_Occurred()) SWIG_fail
;
38453 resultobj
= SWIG_Py_Void();
38460 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38461 PyObject
*resultobj
= 0;
38462 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38463 wxString
*result
= 0 ;
38466 PyObject
*swig_obj
[1] ;
38468 if (!args
) SWIG_fail
;
38469 swig_obj
[0] = args
;
38470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38471 if (!SWIG_IsOK(res1
)) {
38472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38474 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38478 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
38479 result
= (wxString
*) &_result_ref
;
38481 wxPyEndAllowThreads(__tstate
);
38482 if (PyErr_Occurred()) SWIG_fail
;
38486 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38488 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38497 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38498 PyObject
*resultobj
= 0;
38499 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38500 wxString
*arg2
= 0 ;
38503 bool temp2
= false ;
38504 PyObject
* obj0
= 0 ;
38505 PyObject
* obj1
= 0 ;
38506 char * kwnames
[] = {
38507 (char *) "self",(char *) "link", NULL
38510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38512 if (!SWIG_IsOK(res1
)) {
38513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38515 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38517 arg2
= wxString_in_helper(obj1
);
38518 if (arg2
== NULL
) SWIG_fail
;
38522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38523 (arg1
)->SetLink((wxString
const &)*arg2
);
38524 wxPyEndAllowThreads(__tstate
);
38525 if (PyErr_Occurred()) SWIG_fail
;
38527 resultobj
= SWIG_Py_Void();
38542 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38543 PyObject
*resultobj
= 0;
38544 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38545 wxString
*result
= 0 ;
38548 PyObject
*swig_obj
[1] ;
38550 if (!args
) SWIG_fail
;
38551 swig_obj
[0] = args
;
38552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38553 if (!SWIG_IsOK(res1
)) {
38554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38556 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38560 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
38561 result
= (wxString
*) &_result_ref
;
38563 wxPyEndAllowThreads(__tstate
);
38564 if (PyErr_Occurred()) SWIG_fail
;
38568 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
38570 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
38579 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38580 PyObject
*resultobj
= 0;
38581 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38582 wxString
*arg2
= 0 ;
38585 bool temp2
= false ;
38586 PyObject
* obj0
= 0 ;
38587 PyObject
* obj1
= 0 ;
38588 char * kwnames
[] = {
38589 (char *) "self",(char *) "target", NULL
38592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38594 if (!SWIG_IsOK(res1
)) {
38595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38597 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38599 arg2
= wxString_in_helper(obj1
);
38600 if (arg2
== NULL
) SWIG_fail
;
38604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38605 (arg1
)->SetTarget((wxString
const &)*arg2
);
38606 wxPyEndAllowThreads(__tstate
);
38607 if (PyErr_Occurred()) SWIG_fail
;
38609 resultobj
= SWIG_Py_Void();
38624 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38626 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38627 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
38628 return SWIG_Py_Void();
38631 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38632 return SWIG_Python_InitShadowInstance(args
);
38635 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38636 PyObject
*resultobj
= 0;
38637 wxWindow
*arg1
= (wxWindow
*) NULL
;
38638 bool arg2
= (bool) true ;
38639 wxContextHelp
*result
= 0 ;
38644 PyObject
* obj0
= 0 ;
38645 PyObject
* obj1
= 0 ;
38646 char * kwnames
[] = {
38647 (char *) "window",(char *) "doNow", NULL
38650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38653 if (!SWIG_IsOK(res1
)) {
38654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
38656 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38659 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38660 if (!SWIG_IsOK(ecode2
)) {
38661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
38663 arg2
= static_cast< bool >(val2
);
38666 if (!wxPyCheckForApp()) SWIG_fail
;
38667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38668 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
38669 wxPyEndAllowThreads(__tstate
);
38670 if (PyErr_Occurred()) SWIG_fail
;
38672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
38679 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38680 PyObject
*resultobj
= 0;
38681 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38684 PyObject
*swig_obj
[1] ;
38686 if (!args
) SWIG_fail
;
38687 swig_obj
[0] = args
;
38688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
38689 if (!SWIG_IsOK(res1
)) {
38690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38692 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38697 wxPyEndAllowThreads(__tstate
);
38698 if (PyErr_Occurred()) SWIG_fail
;
38700 resultobj
= SWIG_Py_Void();
38707 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38708 PyObject
*resultobj
= 0;
38709 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38710 wxWindow
*arg2
= (wxWindow
*) NULL
;
38716 PyObject
* obj0
= 0 ;
38717 PyObject
* obj1
= 0 ;
38718 char * kwnames
[] = {
38719 (char *) "self",(char *) "window", NULL
38722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
38724 if (!SWIG_IsOK(res1
)) {
38725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38727 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38729 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38730 if (!SWIG_IsOK(res2
)) {
38731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
38733 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38737 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
38738 wxPyEndAllowThreads(__tstate
);
38739 if (PyErr_Occurred()) SWIG_fail
;
38742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38750 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38751 PyObject
*resultobj
= 0;
38752 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
38756 PyObject
*swig_obj
[1] ;
38758 if (!args
) SWIG_fail
;
38759 swig_obj
[0] = args
;
38760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
38761 if (!SWIG_IsOK(res1
)) {
38762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
38764 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
38766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38767 result
= (bool)(arg1
)->EndContextHelp();
38768 wxPyEndAllowThreads(__tstate
);
38769 if (PyErr_Occurred()) SWIG_fail
;
38772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38780 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38783 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
38784 return SWIG_Py_Void();
38787 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38788 return SWIG_Python_InitShadowInstance(args
);
38791 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38792 PyObject
*resultobj
= 0;
38793 wxWindow
*arg1
= (wxWindow
*) 0 ;
38794 int arg2
= (int) wxID_CONTEXT_HELP
;
38795 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38796 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38797 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38798 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38799 long arg5
= (long) wxBU_AUTODRAW
;
38800 wxContextHelpButton
*result
= 0 ;
38809 PyObject
* obj0
= 0 ;
38810 PyObject
* obj1
= 0 ;
38811 PyObject
* obj2
= 0 ;
38812 PyObject
* obj3
= 0 ;
38813 PyObject
* obj4
= 0 ;
38814 char * kwnames
[] = {
38815 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38820 if (!SWIG_IsOK(res1
)) {
38821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
38823 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38826 if (!SWIG_IsOK(ecode2
)) {
38827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
38829 arg2
= static_cast< int >(val2
);
38834 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38840 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38844 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38845 if (!SWIG_IsOK(ecode5
)) {
38846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
38848 arg5
= static_cast< long >(val5
);
38851 if (!wxPyCheckForApp()) SWIG_fail
;
38852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38853 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38854 wxPyEndAllowThreads(__tstate
);
38855 if (PyErr_Occurred()) SWIG_fail
;
38857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
38864 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38867 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
38868 return SWIG_Py_Void();
38871 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38872 return SWIG_Python_InitShadowInstance(args
);
38875 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38876 PyObject
*resultobj
= 0;
38877 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
38880 PyObject
*swig_obj
[1] ;
38882 if (!args
) SWIG_fail
;
38883 swig_obj
[0] = args
;
38884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
38885 if (!SWIG_IsOK(res1
)) {
38886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
38888 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
38890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38893 wxPyEndAllowThreads(__tstate
);
38894 if (PyErr_Occurred()) SWIG_fail
;
38896 resultobj
= SWIG_Py_Void();
38903 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38904 PyObject
*resultobj
= 0;
38905 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
38906 wxHelpProvider
*result
= 0 ;
38908 PyObject
* obj0
= 0 ;
38909 char * kwnames
[] = {
38910 (char *) "helpProvider", NULL
38913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
38914 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
38915 if (!SWIG_IsOK(res1
)) {
38916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
38919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38920 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
38921 wxPyEndAllowThreads(__tstate
);
38922 if (PyErr_Occurred()) SWIG_fail
;
38924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
38931 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38932 PyObject
*resultobj
= 0;
38933 wxHelpProvider
*result
= 0 ;
38935 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
38937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38938 result
= (wxHelpProvider
*)wxHelpProvider::Get();
38939 wxPyEndAllowThreads(__tstate
);
38940 if (PyErr_Occurred()) SWIG_fail
;
38942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
38949 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38950 PyObject
*resultobj
= 0;
38951 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
38952 wxWindow
*arg2
= (wxWindow
*) 0 ;
38958 PyObject
* obj0
= 0 ;
38959 PyObject
* obj1
= 0 ;
38960 char * kwnames
[] = {
38961 (char *) "self",(char *) "window", NULL
38964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
38966 if (!SWIG_IsOK(res1
)) {
38967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
38969 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
38970 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38971 if (!SWIG_IsOK(res2
)) {
38972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
38974 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38977 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
38978 wxPyEndAllowThreads(__tstate
);
38979 if (PyErr_Occurred()) SWIG_fail
;
38983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38994 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38995 PyObject
*resultobj
= 0;
38996 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
38997 wxWindow
*arg2
= (wxWindow
*) 0 ;
39003 PyObject
* obj0
= 0 ;
39004 PyObject
* obj1
= 0 ;
39005 char * kwnames
[] = {
39006 (char *) "self",(char *) "window", NULL
39009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39011 if (!SWIG_IsOK(res1
)) {
39012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39014 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39015 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39016 if (!SWIG_IsOK(res2
)) {
39017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39019 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39022 result
= (bool)(arg1
)->ShowHelp(arg2
);
39023 wxPyEndAllowThreads(__tstate
);
39024 if (PyErr_Occurred()) SWIG_fail
;
39027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39035 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39036 PyObject
*resultobj
= 0;
39037 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39038 wxWindow
*arg2
= (wxWindow
*) 0 ;
39039 wxString
*arg3
= 0 ;
39044 bool temp3
= false ;
39045 PyObject
* obj0
= 0 ;
39046 PyObject
* obj1
= 0 ;
39047 PyObject
* obj2
= 0 ;
39048 char * kwnames
[] = {
39049 (char *) "self",(char *) "window",(char *) "text", NULL
39052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39054 if (!SWIG_IsOK(res1
)) {
39055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39057 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39058 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39059 if (!SWIG_IsOK(res2
)) {
39060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39062 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39064 arg3
= wxString_in_helper(obj2
);
39065 if (arg3
== NULL
) SWIG_fail
;
39069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39070 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39071 wxPyEndAllowThreads(__tstate
);
39072 if (PyErr_Occurred()) SWIG_fail
;
39074 resultobj
= SWIG_Py_Void();
39089 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39090 PyObject
*resultobj
= 0;
39091 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39093 wxString
*arg3
= 0 ;
39098 bool temp3
= false ;
39099 PyObject
* obj0
= 0 ;
39100 PyObject
* obj1
= 0 ;
39101 PyObject
* obj2
= 0 ;
39102 char * kwnames
[] = {
39103 (char *) "self",(char *) "id",(char *) "text", NULL
39106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39108 if (!SWIG_IsOK(res1
)) {
39109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39111 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39113 if (!SWIG_IsOK(ecode2
)) {
39114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39116 arg2
= static_cast< int >(val2
);
39118 arg3
= wxString_in_helper(obj2
);
39119 if (arg3
== NULL
) SWIG_fail
;
39123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39124 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39125 wxPyEndAllowThreads(__tstate
);
39126 if (PyErr_Occurred()) SWIG_fail
;
39128 resultobj
= SWIG_Py_Void();
39143 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39144 PyObject
*resultobj
= 0;
39145 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39146 wxWindow
*arg2
= (wxWindow
*) 0 ;
39151 PyObject
* obj0
= 0 ;
39152 PyObject
* obj1
= 0 ;
39153 char * kwnames
[] = {
39154 (char *) "self",(char *) "window", NULL
39157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39159 if (!SWIG_IsOK(res1
)) {
39160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39162 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39164 if (!SWIG_IsOK(res2
)) {
39165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39167 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39170 (arg1
)->RemoveHelp(arg2
);
39171 wxPyEndAllowThreads(__tstate
);
39172 if (PyErr_Occurred()) SWIG_fail
;
39174 resultobj
= SWIG_Py_Void();
39181 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39182 PyObject
*resultobj
= 0;
39183 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39186 PyObject
*swig_obj
[1] ;
39188 if (!args
) SWIG_fail
;
39189 swig_obj
[0] = args
;
39190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39191 if (!SWIG_IsOK(res1
)) {
39192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39194 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39197 wxHelpProvider_Destroy(arg1
);
39198 wxPyEndAllowThreads(__tstate
);
39199 if (PyErr_Occurred()) SWIG_fail
;
39201 resultobj
= SWIG_Py_Void();
39208 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39210 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39211 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39212 return SWIG_Py_Void();
39215 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39216 PyObject
*resultobj
= 0;
39217 wxSimpleHelpProvider
*result
= 0 ;
39219 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39222 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39223 wxPyEndAllowThreads(__tstate
);
39224 if (PyErr_Occurred()) SWIG_fail
;
39226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39233 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39235 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39236 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39237 return SWIG_Py_Void();
39240 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39241 return SWIG_Python_InitShadowInstance(args
);
39244 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39245 PyObject
*resultobj
= 0;
39246 wxBitmap
*arg1
= 0 ;
39247 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39248 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39249 wxGenericDragImage
*result
= 0 ;
39254 PyObject
* obj0
= 0 ;
39255 PyObject
* obj1
= 0 ;
39256 char * kwnames
[] = {
39257 (char *) "image",(char *) "cursor", NULL
39260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39261 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39262 if (!SWIG_IsOK(res1
)) {
39263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39268 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
39270 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39271 if (!SWIG_IsOK(res2
)) {
39272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39277 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39280 if (!wxPyCheckForApp()) SWIG_fail
;
39281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39282 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
39283 wxPyEndAllowThreads(__tstate
);
39284 if (PyErr_Occurred()) SWIG_fail
;
39286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
39293 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39294 PyObject
*resultobj
= 0;
39296 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39297 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39298 wxGenericDragImage
*result
= 0 ;
39303 PyObject
* obj0
= 0 ;
39304 PyObject
* obj1
= 0 ;
39305 char * kwnames
[] = {
39306 (char *) "image",(char *) "cursor", NULL
39309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39310 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
39311 if (!SWIG_IsOK(res1
)) {
39312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39317 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
39319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39320 if (!SWIG_IsOK(res2
)) {
39321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39326 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39329 if (!wxPyCheckForApp()) SWIG_fail
;
39330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39331 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
39332 wxPyEndAllowThreads(__tstate
);
39333 if (PyErr_Occurred()) SWIG_fail
;
39335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39342 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39343 PyObject
*resultobj
= 0;
39344 wxString
*arg1
= 0 ;
39345 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39346 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39347 wxGenericDragImage
*result
= 0 ;
39348 bool temp1
= false ;
39351 PyObject
* obj0
= 0 ;
39352 PyObject
* obj1
= 0 ;
39353 char * kwnames
[] = {
39354 (char *) "str",(char *) "cursor", NULL
39357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39359 arg1
= wxString_in_helper(obj0
);
39360 if (arg1
== NULL
) SWIG_fail
;
39364 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39365 if (!SWIG_IsOK(res2
)) {
39366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39371 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39374 if (!wxPyCheckForApp()) SWIG_fail
;
39375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39376 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
39377 wxPyEndAllowThreads(__tstate
);
39378 if (PyErr_Occurred()) SWIG_fail
;
39380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39395 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39396 PyObject
*resultobj
= 0;
39397 wxPyTreeCtrl
*arg1
= 0 ;
39398 wxTreeItemId
*arg2
= 0 ;
39399 wxGenericDragImage
*result
= 0 ;
39404 PyObject
* obj0
= 0 ;
39405 PyObject
* obj1
= 0 ;
39406 char * kwnames
[] = {
39407 (char *) "treeCtrl",(char *) "id", NULL
39410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39411 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
39412 if (!SWIG_IsOK(res1
)) {
39413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39418 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
39419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
39420 if (!SWIG_IsOK(res2
)) {
39421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39426 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
39428 if (!wxPyCheckForApp()) SWIG_fail
;
39429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39430 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
39431 wxPyEndAllowThreads(__tstate
);
39432 if (PyErr_Occurred()) SWIG_fail
;
39434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39441 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39442 PyObject
*resultobj
= 0;
39443 wxPyListCtrl
*arg1
= 0 ;
39445 wxGenericDragImage
*result
= 0 ;
39450 PyObject
* obj0
= 0 ;
39451 PyObject
* obj1
= 0 ;
39452 char * kwnames
[] = {
39453 (char *) "listCtrl",(char *) "id", NULL
39456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39457 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
39458 if (!SWIG_IsOK(res1
)) {
39459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39464 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
39465 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
39466 if (!SWIG_IsOK(ecode2
)) {
39467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
39469 arg2
= static_cast< long >(val2
);
39471 if (!wxPyCheckForApp()) SWIG_fail
;
39472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39473 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
39474 wxPyEndAllowThreads(__tstate
);
39475 if (PyErr_Occurred()) SWIG_fail
;
39477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39484 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39485 PyObject
*resultobj
= 0;
39486 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39489 PyObject
*swig_obj
[1] ;
39491 if (!args
) SWIG_fail
;
39492 swig_obj
[0] = args
;
39493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
39494 if (!SWIG_IsOK(res1
)) {
39495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39497 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39502 wxPyEndAllowThreads(__tstate
);
39503 if (PyErr_Occurred()) SWIG_fail
;
39505 resultobj
= SWIG_Py_Void();
39512 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39513 PyObject
*resultobj
= 0;
39514 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39515 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
39520 PyObject
* obj0
= 0 ;
39521 PyObject
* obj1
= 0 ;
39522 char * kwnames
[] = {
39523 (char *) "self",(char *) "bitmap", NULL
39526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39528 if (!SWIG_IsOK(res1
)) {
39529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39531 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39532 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
39533 if (!SWIG_IsOK(res2
)) {
39534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
39536 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
39538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39539 (arg1
)->SetBackingBitmap(arg2
);
39540 wxPyEndAllowThreads(__tstate
);
39541 if (PyErr_Occurred()) SWIG_fail
;
39543 resultobj
= SWIG_Py_Void();
39550 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39551 PyObject
*resultobj
= 0;
39552 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39553 wxPoint
*arg2
= 0 ;
39554 wxWindow
*arg3
= (wxWindow
*) 0 ;
39555 bool arg4
= (bool) false ;
39556 wxRect
*arg5
= (wxRect
*) NULL
;
39567 PyObject
* obj0
= 0 ;
39568 PyObject
* obj1
= 0 ;
39569 PyObject
* obj2
= 0 ;
39570 PyObject
* obj3
= 0 ;
39571 PyObject
* obj4
= 0 ;
39572 char * kwnames
[] = {
39573 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
39576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39578 if (!SWIG_IsOK(res1
)) {
39579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39581 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39584 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39586 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39587 if (!SWIG_IsOK(res3
)) {
39588 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
39590 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39592 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
39593 if (!SWIG_IsOK(ecode4
)) {
39594 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
39596 arg4
= static_cast< bool >(val4
);
39599 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
39600 if (!SWIG_IsOK(res5
)) {
39601 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
39603 arg5
= reinterpret_cast< wxRect
* >(argp5
);
39606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39607 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
39608 wxPyEndAllowThreads(__tstate
);
39609 if (PyErr_Occurred()) SWIG_fail
;
39612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39620 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39621 PyObject
*resultobj
= 0;
39622 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39623 wxPoint
*arg2
= 0 ;
39624 wxWindow
*arg3
= (wxWindow
*) 0 ;
39625 wxWindow
*arg4
= (wxWindow
*) 0 ;
39634 PyObject
* obj0
= 0 ;
39635 PyObject
* obj1
= 0 ;
39636 PyObject
* obj2
= 0 ;
39637 PyObject
* obj3
= 0 ;
39638 char * kwnames
[] = {
39639 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
39642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39644 if (!SWIG_IsOK(res1
)) {
39645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39647 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39650 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39652 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39653 if (!SWIG_IsOK(res3
)) {
39654 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
39656 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
39657 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39658 if (!SWIG_IsOK(res4
)) {
39659 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
39661 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
39663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39664 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
39665 wxPyEndAllowThreads(__tstate
);
39666 if (PyErr_Occurred()) SWIG_fail
;
39669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39677 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39678 PyObject
*resultobj
= 0;
39679 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39683 PyObject
*swig_obj
[1] ;
39685 if (!args
) SWIG_fail
;
39686 swig_obj
[0] = args
;
39687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39688 if (!SWIG_IsOK(res1
)) {
39689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39691 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39694 result
= (bool)(arg1
)->EndDrag();
39695 wxPyEndAllowThreads(__tstate
);
39696 if (PyErr_Occurred()) SWIG_fail
;
39699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39707 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39708 PyObject
*resultobj
= 0;
39709 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39710 wxPoint
*arg2
= 0 ;
39715 PyObject
* obj0
= 0 ;
39716 PyObject
* obj1
= 0 ;
39717 char * kwnames
[] = {
39718 (char *) "self",(char *) "pt", NULL
39721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39723 if (!SWIG_IsOK(res1
)) {
39724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39726 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39729 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39733 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
39734 wxPyEndAllowThreads(__tstate
);
39735 if (PyErr_Occurred()) SWIG_fail
;
39738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39746 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39747 PyObject
*resultobj
= 0;
39748 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39752 PyObject
*swig_obj
[1] ;
39754 if (!args
) SWIG_fail
;
39755 swig_obj
[0] = args
;
39756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39757 if (!SWIG_IsOK(res1
)) {
39758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39760 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39763 result
= (bool)(arg1
)->Show();
39764 wxPyEndAllowThreads(__tstate
);
39765 if (PyErr_Occurred()) SWIG_fail
;
39768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39776 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39777 PyObject
*resultobj
= 0;
39778 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39782 PyObject
*swig_obj
[1] ;
39784 if (!args
) SWIG_fail
;
39785 swig_obj
[0] = args
;
39786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39787 if (!SWIG_IsOK(res1
)) {
39788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39790 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39793 result
= (bool)(arg1
)->Hide();
39794 wxPyEndAllowThreads(__tstate
);
39795 if (PyErr_Occurred()) SWIG_fail
;
39798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39806 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39807 PyObject
*resultobj
= 0;
39808 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39809 wxPoint
*arg2
= 0 ;
39814 PyObject
* obj0
= 0 ;
39815 PyObject
* obj1
= 0 ;
39816 char * kwnames
[] = {
39817 (char *) "self",(char *) "pos", NULL
39820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39822 if (!SWIG_IsOK(res1
)) {
39823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
39825 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39828 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39832 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
39833 wxPyEndAllowThreads(__tstate
);
39834 if (PyErr_Occurred()) SWIG_fail
;
39836 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
39843 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39844 PyObject
*resultobj
= 0;
39845 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39847 wxPoint
*arg3
= 0 ;
39854 PyObject
* obj0
= 0 ;
39855 PyObject
* obj1
= 0 ;
39856 PyObject
* obj2
= 0 ;
39857 char * kwnames
[] = {
39858 (char *) "self",(char *) "dc",(char *) "pos", NULL
39861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39863 if (!SWIG_IsOK(res1
)) {
39864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
39866 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39867 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
39868 if (!SWIG_IsOK(res2
)) {
39869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
39872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
39874 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39877 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39881 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
39882 wxPyEndAllowThreads(__tstate
);
39883 if (PyErr_Occurred()) SWIG_fail
;
39886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39894 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39895 PyObject
*resultobj
= 0;
39896 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39898 wxMemoryDC
*arg3
= 0 ;
39910 PyObject
* obj0
= 0 ;
39911 PyObject
* obj1
= 0 ;
39912 PyObject
* obj2
= 0 ;
39913 PyObject
* obj3
= 0 ;
39914 PyObject
* obj4
= 0 ;
39915 char * kwnames
[] = {
39916 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
39919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39921 if (!SWIG_IsOK(res1
)) {
39922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
39924 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39925 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
39926 if (!SWIG_IsOK(res2
)) {
39927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
39930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
39932 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39933 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
39934 if (!SWIG_IsOK(res3
)) {
39935 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
39938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
39940 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
39943 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
39947 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
39950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39951 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
39952 wxPyEndAllowThreads(__tstate
);
39953 if (PyErr_Occurred()) SWIG_fail
;
39956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39964 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39965 PyObject
*resultobj
= 0;
39966 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
39967 wxPoint
*arg2
= 0 ;
39968 wxPoint
*arg3
= 0 ;
39980 PyObject
* obj0
= 0 ;
39981 PyObject
* obj1
= 0 ;
39982 PyObject
* obj2
= 0 ;
39983 PyObject
* obj3
= 0 ;
39984 PyObject
* obj4
= 0 ;
39985 char * kwnames
[] = {
39986 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
39989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
39991 if (!SWIG_IsOK(res1
)) {
39992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
39994 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
39997 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40001 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40003 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40004 if (!SWIG_IsOK(ecode4
)) {
40005 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40007 arg4
= static_cast< bool >(val4
);
40008 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40009 if (!SWIG_IsOK(ecode5
)) {
40010 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40012 arg5
= static_cast< bool >(val5
);
40014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40015 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40016 wxPyEndAllowThreads(__tstate
);
40017 if (PyErr_Occurred()) SWIG_fail
;
40020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40028 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40031 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40032 return SWIG_Py_Void();
40035 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40036 return SWIG_Python_InitShadowInstance(args
);
40039 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40040 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40045 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40046 PyObject
*pyobj
= 0;
40050 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40052 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40059 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40060 PyObject
*resultobj
= 0;
40061 wxWindow
*arg1
= (wxWindow
*) 0 ;
40062 int arg2
= (int) -1 ;
40063 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40064 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40065 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40066 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40067 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40068 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40069 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40070 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40071 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40072 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40073 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40074 wxDatePickerCtrl
*result
= 0 ;
40087 bool temp8
= false ;
40088 PyObject
* obj0
= 0 ;
40089 PyObject
* obj1
= 0 ;
40090 PyObject
* obj2
= 0 ;
40091 PyObject
* obj3
= 0 ;
40092 PyObject
* obj4
= 0 ;
40093 PyObject
* obj5
= 0 ;
40094 PyObject
* obj6
= 0 ;
40095 PyObject
* obj7
= 0 ;
40096 char * kwnames
[] = {
40097 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40102 if (!SWIG_IsOK(res1
)) {
40103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40105 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40108 if (!SWIG_IsOK(ecode2
)) {
40109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40111 arg2
= static_cast< int >(val2
);
40114 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40115 if (!SWIG_IsOK(res3
)) {
40116 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40121 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40126 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40132 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40136 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40137 if (!SWIG_IsOK(ecode6
)) {
40138 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40140 arg6
= static_cast< long >(val6
);
40143 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40144 if (!SWIG_IsOK(res7
)) {
40145 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40150 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40154 arg8
= wxString_in_helper(obj7
);
40155 if (arg8
== NULL
) SWIG_fail
;
40160 if (!wxPyCheckForApp()) SWIG_fail
;
40161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40162 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40163 wxPyEndAllowThreads(__tstate
);
40164 if (PyErr_Occurred()) SWIG_fail
;
40166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40181 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40182 PyObject
*resultobj
= 0;
40183 wxDatePickerCtrl
*result
= 0 ;
40185 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40187 if (!wxPyCheckForApp()) SWIG_fail
;
40188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40189 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40190 wxPyEndAllowThreads(__tstate
);
40191 if (PyErr_Occurred()) SWIG_fail
;
40193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40200 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40201 PyObject
*resultobj
= 0;
40202 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40203 wxWindow
*arg2
= (wxWindow
*) 0 ;
40204 int arg3
= (int) -1 ;
40205 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40206 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40207 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40208 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40209 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40210 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40211 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40212 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40213 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40214 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40215 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40231 bool temp9
= false ;
40232 PyObject
* obj0
= 0 ;
40233 PyObject
* obj1
= 0 ;
40234 PyObject
* obj2
= 0 ;
40235 PyObject
* obj3
= 0 ;
40236 PyObject
* obj4
= 0 ;
40237 PyObject
* obj5
= 0 ;
40238 PyObject
* obj6
= 0 ;
40239 PyObject
* obj7
= 0 ;
40240 PyObject
* obj8
= 0 ;
40241 char * kwnames
[] = {
40242 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
40246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40247 if (!SWIG_IsOK(res1
)) {
40248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40250 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40251 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40252 if (!SWIG_IsOK(res2
)) {
40253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40255 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40257 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40258 if (!SWIG_IsOK(ecode3
)) {
40259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40261 arg3
= static_cast< int >(val3
);
40264 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40265 if (!SWIG_IsOK(res4
)) {
40266 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40271 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
40276 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
40282 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
40286 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
40287 if (!SWIG_IsOK(ecode7
)) {
40288 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40290 arg7
= static_cast< long >(val7
);
40293 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
40294 if (!SWIG_IsOK(res8
)) {
40295 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40300 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
40304 arg9
= wxString_in_helper(obj8
);
40305 if (arg9
== NULL
) SWIG_fail
;
40310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40311 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
40312 wxPyEndAllowThreads(__tstate
);
40313 if (PyErr_Occurred()) SWIG_fail
;
40316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40332 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40333 PyObject
*resultobj
= 0;
40334 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40335 wxDateTime
*arg2
= 0 ;
40340 PyObject
* obj0
= 0 ;
40341 PyObject
* obj1
= 0 ;
40342 char * kwnames
[] = {
40343 (char *) "self",(char *) "dt", NULL
40346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40348 if (!SWIG_IsOK(res1
)) {
40349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40351 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40352 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40353 if (!SWIG_IsOK(res2
)) {
40354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40359 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40362 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
40363 wxPyEndAllowThreads(__tstate
);
40364 if (PyErr_Occurred()) SWIG_fail
;
40366 resultobj
= SWIG_Py_Void();
40373 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40374 PyObject
*resultobj
= 0;
40375 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40379 PyObject
*swig_obj
[1] ;
40381 if (!args
) SWIG_fail
;
40382 swig_obj
[0] = args
;
40383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40384 if (!SWIG_IsOK(res1
)) {
40385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
40387 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40390 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
40391 wxPyEndAllowThreads(__tstate
);
40392 if (PyErr_Occurred()) SWIG_fail
;
40394 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40401 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40402 PyObject
*resultobj
= 0;
40403 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40404 wxDateTime
*arg2
= 0 ;
40405 wxDateTime
*arg3
= 0 ;
40412 PyObject
* obj0
= 0 ;
40413 PyObject
* obj1
= 0 ;
40414 PyObject
* obj2
= 0 ;
40415 char * kwnames
[] = {
40416 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
40419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40421 if (!SWIG_IsOK(res1
)) {
40422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40424 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40425 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40426 if (!SWIG_IsOK(res2
)) {
40427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40432 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40433 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40434 if (!SWIG_IsOK(res3
)) {
40435 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40440 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40443 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
40444 wxPyEndAllowThreads(__tstate
);
40445 if (PyErr_Occurred()) SWIG_fail
;
40447 resultobj
= SWIG_Py_Void();
40454 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40455 PyObject
*resultobj
= 0;
40456 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40460 PyObject
*swig_obj
[1] ;
40462 if (!args
) SWIG_fail
;
40463 swig_obj
[0] = args
;
40464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40465 if (!SWIG_IsOK(res1
)) {
40466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40468 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40471 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
40472 wxPyEndAllowThreads(__tstate
);
40473 if (PyErr_Occurred()) SWIG_fail
;
40475 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40482 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40483 PyObject
*resultobj
= 0;
40484 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40488 PyObject
*swig_obj
[1] ;
40490 if (!args
) SWIG_fail
;
40491 swig_obj
[0] = args
;
40492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40493 if (!SWIG_IsOK(res1
)) {
40494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40496 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40499 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
40500 wxPyEndAllowThreads(__tstate
);
40501 if (PyErr_Occurred()) SWIG_fail
;
40503 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40510 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40512 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40513 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
40514 return SWIG_Py_Void();
40517 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40518 return SWIG_Python_InitShadowInstance(args
);
40521 static PyMethodDef SwigMethods
[] = {
40522 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40523 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
40524 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40525 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
40526 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
40527 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40528 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
40529 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
40530 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40531 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
40532 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40533 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
40534 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
40535 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
40536 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
40537 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
40538 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40539 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40540 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40541 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40542 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40543 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40544 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
40545 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
40546 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
40547 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
40548 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40549 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
40550 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40551 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
40552 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
40553 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40554 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
40555 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40556 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
40557 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
40558 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40559 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
40560 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
40561 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40562 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
40563 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40564 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
40565 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40566 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
40567 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
40568 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40569 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
40570 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40571 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
40572 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40573 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
40574 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
40575 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
40576 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40577 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
40578 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
40579 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40580 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40581 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
40582 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
40583 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40584 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40585 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
40586 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40587 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
40588 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
40589 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
40590 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
40591 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
40592 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
40593 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
40594 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
40595 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
40596 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40597 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
40598 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
40599 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40600 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
40601 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40602 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40603 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
40604 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40605 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
40606 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
40607 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40608 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
40609 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40610 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
40611 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40612 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
40613 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
40614 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40615 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
40616 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40617 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40618 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
40619 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
40620 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40621 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
40622 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40623 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
40624 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
40625 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40626 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
40627 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
40628 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40629 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
40630 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40631 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40632 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40633 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
40634 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
40635 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40636 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
40637 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40638 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
40639 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40640 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40641 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40642 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
40643 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
40644 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40645 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
40646 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40647 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40648 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40649 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40650 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40651 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40652 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40653 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40654 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40655 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40656 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
40657 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40658 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40659 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40660 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40661 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
40662 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40663 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40664 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40665 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40666 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40667 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
40668 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
40669 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40670 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
40671 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40672 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40673 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40674 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
40675 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
40676 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
40677 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40678 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
40679 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
40680 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40681 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40682 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40683 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40684 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40685 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40686 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40687 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40688 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
40689 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
40690 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
40691 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
40692 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
40693 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
40694 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
40695 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40696 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
40697 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
40698 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
40699 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
40700 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
40701 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
40702 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
40703 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
40704 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
40705 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
40706 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40707 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
40708 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
40709 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40710 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
40711 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40712 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
40713 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40714 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40715 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40716 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40717 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
40718 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
40719 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
40720 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
40721 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
40722 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
40723 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
40724 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
40725 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40726 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40727 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40728 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40729 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
40730 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
40731 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40732 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40733 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40734 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40735 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40736 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40737 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40738 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
40739 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40740 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40741 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40742 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40743 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40744 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
40745 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
40746 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
40747 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
40748 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
40749 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
40750 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
40751 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
40752 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
40753 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
40754 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40755 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
40756 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
40757 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
40758 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40759 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
40760 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40761 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40762 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40763 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40764 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
40765 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
40766 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40767 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
40768 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
40769 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
40770 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
40771 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
40772 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40773 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
40774 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40775 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
40776 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
40777 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
40778 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
40779 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
40780 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40781 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40782 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
40783 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
40784 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40785 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
40786 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40787 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
40788 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
40789 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
40790 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40791 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40792 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40793 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40794 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
40795 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40796 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
40797 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
40798 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40799 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
40800 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40801 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
40802 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40803 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40804 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40805 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
40806 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
40807 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40808 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40809 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
40810 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
40811 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40812 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
40813 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40814 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
40815 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
40816 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40817 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
40818 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40819 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40820 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
40821 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
40822 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40823 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
40824 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40825 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40826 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40827 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40828 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40829 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
40830 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
40831 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40832 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40833 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
40834 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
40835 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40836 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
40837 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40838 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
40839 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40840 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40841 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
40842 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
40843 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40844 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
40845 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40846 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
40847 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40848 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40849 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
40850 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
40851 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40852 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40853 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40854 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40855 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
40856 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
40857 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40858 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
40859 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40860 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
40861 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
40862 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40863 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
40864 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
40865 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
40866 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40867 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40868 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
40869 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
40870 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40871 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
40872 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40873 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40874 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
40875 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40876 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
40877 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
40878 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
40879 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40880 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
40881 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
40882 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40883 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40884 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40885 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40886 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
40887 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40888 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40889 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40890 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40891 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
40892 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40893 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
40894 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40895 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
40896 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40897 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40898 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
40899 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40900 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40901 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40902 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40903 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40904 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
40905 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40906 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
40907 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40908 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
40909 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40910 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
40911 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
40912 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40913 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
40914 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40915 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
40916 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40917 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40918 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40919 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
40920 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40921 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
40922 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
40923 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40924 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
40925 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
40926 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40927 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
40928 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40929 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
40930 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
40931 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
40932 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40933 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
40934 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
40935 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40936 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
40937 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40938 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
40939 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
40940 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
40941 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40942 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
40943 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
40944 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40945 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
40946 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40947 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40948 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40949 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40950 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40951 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40952 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40953 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
40954 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
40955 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
40956 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40957 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
40958 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
40959 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40960 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
40961 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40962 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
40963 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
40964 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
40965 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
40966 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40967 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
40968 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
40969 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
40970 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
40971 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
40972 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
40973 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
40974 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
40975 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
40976 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
40977 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
40978 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
40979 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
40980 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
40981 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
40982 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
40983 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
40984 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
40985 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
40986 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40987 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
40988 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40989 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40990 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40991 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40992 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40993 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40994 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
40995 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40996 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
40997 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40998 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
40999 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41000 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41001 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41002 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41003 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41004 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41005 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41006 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
41007 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41008 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41009 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41010 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41011 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
41012 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
41013 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41014 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41015 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41016 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41017 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41018 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41019 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41020 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41021 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41022 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41023 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41024 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41025 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41026 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41027 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41028 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41029 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
41030 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
41031 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
41032 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
41033 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41034 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41035 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
41036 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
41037 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41038 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
41039 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
41040 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41041 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41042 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
41043 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
41044 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
41045 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41046 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
41047 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41048 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41049 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41050 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
41051 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
41052 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41053 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
41054 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41055 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41056 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41057 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
41058 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
41059 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
41060 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
41061 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
41062 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
41063 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41064 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
41065 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
41066 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
41067 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
41068 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
41069 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
41070 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
41071 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41072 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41073 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41075 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41077 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41080 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41081 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41082 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41083 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
41085 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
41086 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
41087 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
41088 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
41089 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
41090 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
41091 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
41092 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
41093 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
41094 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
41095 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
41096 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
41097 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
41098 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
41099 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
41100 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
41101 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
41102 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
41103 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
41104 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
41105 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
41106 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
41107 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
41108 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
41109 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
41110 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
41111 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
41112 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
41113 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
41114 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
41115 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
41116 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
41117 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
41118 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
41119 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
41120 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
41122 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
41123 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
41124 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
41125 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
41126 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
41127 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
41128 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
41129 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
41130 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
41131 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
41132 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
41133 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
41134 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
41135 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
41136 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
41137 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
41138 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
41139 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
41140 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
41141 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
41142 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
41143 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
41144 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
41145 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
41147 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
41148 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41149 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
41150 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41152 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41155 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41156 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
41157 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
41158 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
41159 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41160 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41161 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41163 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41164 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41166 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41170 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41171 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41173 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
41174 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
41175 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
41176 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
41178 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
41179 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41180 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
41181 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41182 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
41187 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
41188 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
41193 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
41195 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
41196 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41198 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41204 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41205 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41207 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41211 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41212 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41213 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41215 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41216 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
41218 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
41220 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
41221 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
41223 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41226 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
41227 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41228 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
41229 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41230 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41231 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41232 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
41233 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
41234 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
41235 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
41236 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
41237 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41238 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41239 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
41240 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
41241 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
41242 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
41243 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
41245 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
41246 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
41248 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
41250 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
41251 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
41252 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
41254 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41255 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
41256 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41257 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
41258 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41259 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
41260 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
41261 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41262 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
41263 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
41265 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41267 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
41268 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
41269 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
41270 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
41272 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
41275 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
41276 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
41278 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
41280 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
41281 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41282 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41283 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41284 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41285 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41286 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41287 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41288 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41289 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41290 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41291 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41293 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41294 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41295 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41297 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41300 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41304 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41305 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41307 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41308 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
41309 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
41310 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
41311 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41313 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41315 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41316 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41317 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
41318 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41319 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41322 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41323 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41325 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41327 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
41328 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41329 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41331 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
41333 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41334 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
41335 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41336 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41337 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41339 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
41341 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41345 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
41346 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
41347 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
41349 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41350 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
41352 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
41354 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
41355 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41357 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
41358 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
41359 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41360 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
41361 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
41363 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
41364 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
41365 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
41367 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
41368 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
41369 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
41370 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41371 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
41372 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
41375 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
41376 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41377 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
41378 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41380 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41382 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41385 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
41386 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
41387 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
41388 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
41389 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
41390 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
41391 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
41392 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
41393 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
41394 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
41396 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
41398 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41399 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
41400 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
41402 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
41403 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41404 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
41405 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
41407 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
41408 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
41409 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
41411 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
41412 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
41413 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
41415 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41418 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41420 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
41421 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
41422 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
41423 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
41424 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
41425 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41430 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
41431 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
41435 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
41437 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
41438 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41439 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41441 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41442 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
41443 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
41444 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41445 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
41446 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
41449 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
41451 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
41452 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
41453 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
41454 { NULL
, NULL
, 0, NULL
}
41458 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41460 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41461 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41463 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41464 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41466 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41467 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41469 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41470 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41472 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41473 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41475 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
41476 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
41478 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
41479 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
41481 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41482 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41484 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41485 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41487 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41488 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41490 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
41491 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
41493 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41494 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41496 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41497 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41499 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
41500 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
41502 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
41503 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
41505 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
41506 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
41508 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
41509 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
41511 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
41512 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
41514 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
41515 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
41517 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
41518 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
41520 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41521 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41523 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41524 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41526 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41527 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41529 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41530 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41532 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41533 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41535 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41536 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41538 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41539 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41541 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41542 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41544 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
41545 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
41547 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41548 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41550 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41551 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41553 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41554 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41556 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41557 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41559 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41560 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41562 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41563 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41565 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41566 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41568 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41569 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41571 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41572 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41574 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41575 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41577 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41578 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41580 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41581 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41583 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41584 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41586 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41587 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41589 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41590 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41592 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41593 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41595 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41596 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41598 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
41599 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
41601 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
41602 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
41604 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
41605 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41607 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
41608 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
41610 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41611 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41613 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
41614 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
41616 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
41617 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41619 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
41620 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
41622 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
41623 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
41625 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
41626 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
41628 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
41629 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
41631 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
41632 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
41634 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
41635 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
41637 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
41638 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
41640 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
41641 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41643 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
41644 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
41646 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
41647 return (void *)((wxControl
*) ((wxComboBox
*) x
));
41649 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
41650 return (void *)((wxControl
*) ((wxPyControl
*) x
));
41652 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
41653 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
41655 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
41656 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
41658 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41659 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41661 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
41662 return (void *)((wxControl
*) ((wxGauge
*) x
));
41664 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
41665 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
41667 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
41668 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41670 static void *_p_wxListbookTo_p_wxControl(void *x
) {
41671 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
41673 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
41674 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
41676 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
41677 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
41679 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
41680 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
41682 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
41683 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
41685 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
41686 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
41688 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
41689 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41691 static void *_p_wxListViewTo_p_wxControl(void *x
) {
41692 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
41694 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
41695 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
41697 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
41698 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
41700 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
41701 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
41703 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
41704 return (void *)((wxControl
*) ((wxStaticText
*) x
));
41706 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
41707 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
41709 static void *_p_wxSliderTo_p_wxControl(void *x
) {
41710 return (void *)((wxControl
*) ((wxSlider
*) x
));
41712 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
41713 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
41715 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
41716 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
41718 static void *_p_wxButtonTo_p_wxControl(void *x
) {
41719 return (void *)((wxControl
*) ((wxButton
*) x
));
41721 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
41722 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
41724 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
41725 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
41727 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
41728 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
41730 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
41731 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
41733 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
41734 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
41736 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
41737 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41739 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
41740 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
41742 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
41743 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
41745 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
41746 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
41748 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
41749 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
41751 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
41752 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
41754 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
41755 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
41757 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
41758 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
41760 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
41761 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
41763 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
41764 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
41766 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
41767 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41769 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
41770 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
41772 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
41773 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
41775 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
41776 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
41778 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
41779 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
41781 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41782 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41784 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
41785 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
41787 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41788 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41790 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41791 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41793 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
41794 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
41796 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41797 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41799 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
41800 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
41802 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
41803 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
41805 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
41806 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
41808 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41809 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41811 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41812 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41814 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
41815 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
41817 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
41818 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
41820 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
41821 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
41823 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
41824 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41826 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
41827 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
41829 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41830 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41832 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
41833 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
41835 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
41836 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
41838 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41839 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41841 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
41842 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
41844 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
41845 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
41847 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
41848 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
41850 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
41851 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
41853 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
41854 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
41856 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
41857 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
41859 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
41860 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
41862 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
41863 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
41865 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
41866 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
41868 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
41869 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
41871 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
41872 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
41874 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
41875 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
41877 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
41878 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
41880 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
41881 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
41883 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
41884 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
41886 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
41887 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
41889 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
41890 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
41892 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
41893 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
41895 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
41896 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
41898 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
41899 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
41901 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
41902 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
41904 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
41905 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
41907 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
41908 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
41910 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
41911 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
41913 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
41914 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
41916 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
41917 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
41919 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
41920 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
41922 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
41923 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
41925 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
41926 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
41928 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41929 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41931 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
41932 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
41934 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41935 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41937 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41938 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41940 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41941 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41943 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41944 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41946 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
41947 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
41949 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41950 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41952 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41953 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41955 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41956 return (void *)((wxObject
*) ((wxSizer
*) x
));
41958 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41959 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41961 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
41962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
41964 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
41965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
41967 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41968 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41970 static void *_p_wxEventTo_p_wxObject(void *x
) {
41971 return (void *)((wxObject
*) ((wxEvent
*) x
));
41973 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41974 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41976 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41977 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41979 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41980 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41982 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
41983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
41985 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
41986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
41988 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
41989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
41991 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41992 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41994 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41995 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41997 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41998 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42000 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42001 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42003 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42004 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42006 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42007 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42009 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
42010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42012 static void *_p_wxControlTo_p_wxObject(void *x
) {
42013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42015 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
42016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42018 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
42019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42021 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
42022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42024 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
42025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42027 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
42028 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42030 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42031 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42033 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
42034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42036 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42037 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42039 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42040 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42042 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
42043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42045 static void *_p_wxListViewTo_p_wxObject(void *x
) {
42046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42048 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
42049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42051 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
42052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42054 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42055 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42057 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42060 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
42061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42063 static void *_p_wxListbookTo_p_wxObject(void *x
) {
42064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42066 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42067 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42069 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
42070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42072 static void *_p_wxSliderTo_p_wxObject(void *x
) {
42073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42075 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42076 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42078 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
42079 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
42081 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42082 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42084 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42085 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42087 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42088 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42090 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42091 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42093 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42094 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42096 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42097 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42099 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42100 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42102 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42103 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42105 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
42106 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42108 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
42109 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
42111 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
42112 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42114 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42115 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42117 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42118 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42120 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42121 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42123 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42124 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42126 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42127 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42129 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42130 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42132 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42133 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42135 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42136 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42138 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42139 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42141 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
42142 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
42144 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42145 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42147 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42148 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42150 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42151 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42153 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42154 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42156 static void *_p_wxListEventTo_p_wxObject(void *x
) {
42157 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42159 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
42160 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42162 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
42163 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42165 static void *_p_wxButtonTo_p_wxObject(void *x
) {
42166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42168 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
42169 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42171 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
42172 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42174 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
42175 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42177 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
42178 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
42180 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42181 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42183 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
42184 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42186 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
42187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42189 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
42190 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
42192 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
42193 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
42195 static void *_p_wxListItemTo_p_wxObject(void *x
) {
42196 return (void *)((wxObject
*) ((wxListItem
*) x
));
42198 static void *_p_wxImageTo_p_wxObject(void *x
) {
42199 return (void *)((wxObject
*) ((wxImage
*) x
));
42201 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42202 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42204 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
42205 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42207 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
42208 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
42210 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
42211 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42213 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
42214 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42216 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
42217 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42219 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
42220 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42222 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
42223 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42225 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
42226 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42228 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42229 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42231 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42232 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42234 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42235 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42237 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42238 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42240 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42241 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42243 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42244 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42246 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42247 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42249 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42250 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42252 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42253 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42255 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42256 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42258 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42259 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42261 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42262 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42264 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42265 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42267 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
42268 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42270 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
42271 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42273 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42274 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42276 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42277 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42279 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
42280 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42282 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42283 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42285 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42286 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42288 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42289 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42291 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
42292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42294 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42297 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
42298 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
42300 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
42301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42303 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42306 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42307 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42309 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42310 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42312 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
42313 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
42315 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
42316 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42318 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
42319 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
42321 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
42322 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
42324 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
42325 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42327 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42328 return (void *)((wxWindow
*) ((wxControl
*) x
));
42330 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
42331 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
42333 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
42334 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
42336 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
42337 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
42339 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
42340 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42342 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
42343 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
42345 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
42346 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
42348 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
42349 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
42351 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42352 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42354 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
42355 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
42357 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
42358 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
42360 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
42361 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42363 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
42364 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42366 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
42367 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
42369 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
42370 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
42372 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
42373 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
42375 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
42376 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42378 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
42379 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42381 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
42382 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42384 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
42385 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42387 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
42388 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42390 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
42391 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
42393 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
42394 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
42396 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
42397 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
42399 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
42400 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
42402 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
42403 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
42405 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
42406 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42408 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
42409 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
42411 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
42412 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
42414 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
42415 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42417 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
42418 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42420 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
42421 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
42423 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
42424 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
42426 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42427 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42429 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42430 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42432 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42433 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42435 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42436 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42438 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42439 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42441 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42442 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42444 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
42445 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42447 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42448 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42450 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42451 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42453 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42454 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42456 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42457 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42459 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
42460 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42462 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
42463 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42465 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
42466 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42468 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
42469 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42471 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
42472 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42474 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
42475 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
42477 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42478 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42480 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
42481 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
42483 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
42484 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42486 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
42487 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42489 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
42490 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42492 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
42493 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
42495 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42496 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42498 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42499 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42501 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
42502 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42504 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
42505 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
42507 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
42508 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
42510 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
42511 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
42513 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42514 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42516 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
42517 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
42518 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};
42519 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
42520 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
42521 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
42522 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
42523 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
42524 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
42525 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
42526 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
42527 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
42528 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
42529 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
42530 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
42531 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
42532 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
42533 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
42534 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
42535 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
42536 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
42537 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
42538 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
42539 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
42540 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
42541 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
42542 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
42543 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
42544 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
42545 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
42546 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
42547 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
42548 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
42549 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
42550 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
42551 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
42552 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
42553 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
42554 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
42555 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
42556 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
42557 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
42558 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
42559 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
42560 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
42561 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
42562 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
42563 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
42564 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
42565 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
42566 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
42567 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
42568 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
42569 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
42570 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
42571 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
42572 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
42573 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
42574 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
42575 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
42576 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
42577 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
42578 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
42579 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
42580 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
42581 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
42582 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
42583 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
42584 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
42585 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
42586 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
42587 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
42588 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
42589 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
42590 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
42591 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
42592 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
42593 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
42594 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
42595 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
42596 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
42597 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
42598 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
42599 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
42600 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
42601 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
42602 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
42603 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
42604 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
42605 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
42606 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
42607 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
42608 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
42609 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
42610 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
42611 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
42612 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
42613 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
42614 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
42615 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
42616 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
42617 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
42618 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
42619 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
42620 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
42621 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
42622 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
42623 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
42624 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
42625 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
42626 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
42627 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
42628 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
42629 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
42630 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
42631 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
42632 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
42633 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
42634 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
42635 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
42636 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
42637 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
42638 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
42639 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
42640 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
42641 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
42642 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
42643 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
42644 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
42645 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
42646 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
42647 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
42648 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
42649 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
42650 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
42651 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
42652 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
42653 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
42654 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
42655 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
42656 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
42657 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
42658 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
42659 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
42660 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
42661 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
42662 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
42663 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
42664 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
42665 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
42666 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
42667 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
42668 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
42669 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
42670 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
42671 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
42672 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
42673 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
42674 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
42675 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
42676 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
42677 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
42678 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
42680 static swig_type_info
*swig_type_initial
[] = {
42683 &_swigt__p_form_ops_t
,
42686 &_swigt__p_unsigned_char
,
42687 &_swigt__p_unsigned_int
,
42688 &_swigt__p_unsigned_long
,
42690 &_swigt__p_wxANIHandler
,
42691 &_swigt__p_wxAcceleratorTable
,
42692 &_swigt__p_wxActivateEvent
,
42693 &_swigt__p_wxArrayInt
,
42694 &_swigt__p_wxArrayString
,
42695 &_swigt__p_wxBMPHandler
,
42696 &_swigt__p_wxBitmap
,
42697 &_swigt__p_wxBitmapButton
,
42698 &_swigt__p_wxBookCtrlBase
,
42699 &_swigt__p_wxBookCtrlBaseEvent
,
42700 &_swigt__p_wxBoxSizer
,
42701 &_swigt__p_wxButton
,
42702 &_swigt__p_wxCURHandler
,
42703 &_swigt__p_wxCheckBox
,
42704 &_swigt__p_wxCheckListBox
,
42705 &_swigt__p_wxChildFocusEvent
,
42706 &_swigt__p_wxChoice
,
42707 &_swigt__p_wxChoicebook
,
42708 &_swigt__p_wxChoicebookEvent
,
42709 &_swigt__p_wxCloseEvent
,
42710 &_swigt__p_wxColour
,
42711 &_swigt__p_wxComboBox
,
42712 &_swigt__p_wxCommandEvent
,
42713 &_swigt__p_wxContextHelp
,
42714 &_swigt__p_wxContextHelpButton
,
42715 &_swigt__p_wxContextMenuEvent
,
42716 &_swigt__p_wxControl
,
42717 &_swigt__p_wxControlWithItems
,
42718 &_swigt__p_wxCursor
,
42720 &_swigt__p_wxDateEvent
,
42721 &_swigt__p_wxDatePickerCtrl
,
42722 &_swigt__p_wxDateTime
,
42723 &_swigt__p_wxDirFilterListCtrl
,
42724 &_swigt__p_wxDisplayChangedEvent
,
42725 &_swigt__p_wxDropFilesEvent
,
42726 &_swigt__p_wxDuplexMode
,
42727 &_swigt__p_wxEraseEvent
,
42728 &_swigt__p_wxEvent
,
42729 &_swigt__p_wxEvtHandler
,
42730 &_swigt__p_wxFSFile
,
42731 &_swigt__p_wxFileSystem
,
42732 &_swigt__p_wxFlexGridSizer
,
42733 &_swigt__p_wxFocusEvent
,
42735 &_swigt__p_wxGBSizerItem
,
42736 &_swigt__p_wxGIFHandler
,
42737 &_swigt__p_wxGauge
,
42738 &_swigt__p_wxGenericDirCtrl
,
42739 &_swigt__p_wxGenericDragImage
,
42740 &_swigt__p_wxGridBagSizer
,
42741 &_swigt__p_wxGridSizer
,
42742 &_swigt__p_wxHelpEvent
,
42743 &_swigt__p_wxHelpProvider
,
42744 &_swigt__p_wxICOHandler
,
42746 &_swigt__p_wxIconizeEvent
,
42747 &_swigt__p_wxIdleEvent
,
42748 &_swigt__p_wxImage
,
42749 &_swigt__p_wxImageHandler
,
42750 &_swigt__p_wxImageList
,
42751 &_swigt__p_wxIndividualLayoutConstraint
,
42752 &_swigt__p_wxInitDialogEvent
,
42753 &_swigt__p_wxItemContainer
,
42754 &_swigt__p_wxJPEGHandler
,
42755 &_swigt__p_wxKeyEvent
,
42756 &_swigt__p_wxLayoutConstraints
,
42757 &_swigt__p_wxListBox
,
42758 &_swigt__p_wxListEvent
,
42759 &_swigt__p_wxListItem
,
42760 &_swigt__p_wxListItemAttr
,
42761 &_swigt__p_wxListView
,
42762 &_swigt__p_wxListbook
,
42763 &_swigt__p_wxListbookEvent
,
42764 &_swigt__p_wxMaximizeEvent
,
42765 &_swigt__p_wxMemoryDC
,
42767 &_swigt__p_wxMenuBar
,
42768 &_swigt__p_wxMenuEvent
,
42769 &_swigt__p_wxMenuItem
,
42770 &_swigt__p_wxMouseCaptureChangedEvent
,
42771 &_swigt__p_wxMouseEvent
,
42772 &_swigt__p_wxMoveEvent
,
42773 &_swigt__p_wxNavigationKeyEvent
,
42774 &_swigt__p_wxNcPaintEvent
,
42775 &_swigt__p_wxNotebook
,
42776 &_swigt__p_wxNotebookEvent
,
42777 &_swigt__p_wxNotifyEvent
,
42778 &_swigt__p_wxObject
,
42779 &_swigt__p_wxPCXHandler
,
42780 &_swigt__p_wxPNGHandler
,
42781 &_swigt__p_wxPNMHandler
,
42782 &_swigt__p_wxPaintEvent
,
42783 &_swigt__p_wxPaletteChangedEvent
,
42784 &_swigt__p_wxPaperSize
,
42785 &_swigt__p_wxPoint
,
42786 &_swigt__p_wxPyApp
,
42787 &_swigt__p_wxPyCommandEvent
,
42788 &_swigt__p_wxPyControl
,
42789 &_swigt__p_wxPyEvent
,
42790 &_swigt__p_wxPyImageHandler
,
42791 &_swigt__p_wxPyListCtrl
,
42792 &_swigt__p_wxPySizer
,
42793 &_swigt__p_wxPyTreeCtrl
,
42794 &_swigt__p_wxPyTreeItemData
,
42795 &_swigt__p_wxPyValidator
,
42796 &_swigt__p_wxQueryNewPaletteEvent
,
42797 &_swigt__p_wxRadioBox
,
42798 &_swigt__p_wxRadioButton
,
42800 &_swigt__p_wxScrollBar
,
42801 &_swigt__p_wxScrollEvent
,
42802 &_swigt__p_wxScrollWinEvent
,
42803 &_swigt__p_wxSetCursorEvent
,
42804 &_swigt__p_wxShowEvent
,
42805 &_swigt__p_wxSimpleHelpProvider
,
42807 &_swigt__p_wxSizeEvent
,
42808 &_swigt__p_wxSizer
,
42809 &_swigt__p_wxSizerItem
,
42810 &_swigt__p_wxSlider
,
42811 &_swigt__p_wxSpinButton
,
42812 &_swigt__p_wxSpinCtrl
,
42813 &_swigt__p_wxSpinEvent
,
42814 &_swigt__p_wxStaticBitmap
,
42815 &_swigt__p_wxStaticBox
,
42816 &_swigt__p_wxStaticBoxSizer
,
42817 &_swigt__p_wxStaticLine
,
42818 &_swigt__p_wxStaticText
,
42819 &_swigt__p_wxStdDialogButtonSizer
,
42820 &_swigt__p_wxString
,
42821 &_swigt__p_wxSysColourChangedEvent
,
42822 &_swigt__p_wxTIFFHandler
,
42823 &_swigt__p_wxTextAttr
,
42824 &_swigt__p_wxTextCtrl
,
42825 &_swigt__p_wxTextUrlEvent
,
42826 &_swigt__p_wxToggleButton
,
42827 &_swigt__p_wxToolBar
,
42828 &_swigt__p_wxToolBarBase
,
42829 &_swigt__p_wxToolBarToolBase
,
42830 &_swigt__p_wxToolbook
,
42831 &_swigt__p_wxToolbookEvent
,
42832 &_swigt__p_wxTreeCtrl
,
42833 &_swigt__p_wxTreeEvent
,
42834 &_swigt__p_wxTreeItemId
,
42835 &_swigt__p_wxTreebook
,
42836 &_swigt__p_wxTreebookEvent
,
42837 &_swigt__p_wxUpdateUIEvent
,
42838 &_swigt__p_wxValidator
,
42839 &_swigt__p_wxVisualAttributes
,
42840 &_swigt__p_wxWindow
,
42841 &_swigt__p_wxWindowCreateEvent
,
42842 &_swigt__p_wxWindowDestroyEvent
,
42843 &_swigt__p_wxXPMHandler
,
42846 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
42847 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
42848 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
42849 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
42850 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
42851 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
42852 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
42853 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
42854 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
42855 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
42856 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
42857 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
42858 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}};
42859 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}};
42860 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}};
42861 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}};
42862 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
42863 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
42864 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}};
42865 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
42866 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
42867 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
42868 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
42869 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
42870 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
42871 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
42872 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
42873 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
42874 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
42875 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
42876 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
42877 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
42878 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
42879 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
42880 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}};
42881 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}};
42882 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
42883 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
42884 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
42885 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
42886 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
42887 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
42888 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
42889 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
42890 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
42891 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
42892 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
42893 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
42894 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
42895 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
42896 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
42897 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
42898 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
42899 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
42900 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
42901 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
42902 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
42903 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
42904 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
42905 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
42906 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
42907 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
42908 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
42909 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
42910 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
42911 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
42912 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
42913 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
42914 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
42915 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
42916 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
42917 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}};
42918 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
42919 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
42920 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
42921 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
42922 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
42923 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}};
42924 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
42925 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
42926 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}};
42927 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
42928 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}};
42929 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
42930 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
42931 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
42932 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
42933 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
42934 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
42935 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
42936 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
42937 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
42938 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
42939 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}};
42940 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
42941 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
42942 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
42943 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
42944 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
42945 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
42946 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
42947 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
42948 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
42949 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
42950 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
42951 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
42952 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
42953 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
42954 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
42955 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
42956 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
42957 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
42958 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
42959 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
42960 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
42961 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
42962 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
42963 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
42964 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
42965 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
42966 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
42967 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
42968 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
42969 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
42970 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelp
, _p_wxContextHelpTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHelpEvent
, _p_wxHelpEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListItem
, _p_wxListItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGenericDragImage
, _p_wxGenericDragImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent
, _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreeEvent
, _p_wxTreeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
42971 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
42972 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
42973 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
42974 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}};
42975 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
42976 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
42977 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
42978 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
42979 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
42980 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
42981 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
42982 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
42983 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
42984 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
42985 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
42986 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
42987 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
42988 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
42989 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
42990 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
42991 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
42992 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
42993 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
42994 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
42995 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
42996 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
42997 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}};
42998 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
42999 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
43000 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43001 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43002 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43003 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
43004 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
43005 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43006 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}};
43007 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
43008 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}};
43010 static swig_cast_info
*swig_cast_initial
[] = {
43013 _swigc__p_form_ops_t
,
43016 _swigc__p_unsigned_char
,
43017 _swigc__p_unsigned_int
,
43018 _swigc__p_unsigned_long
,
43020 _swigc__p_wxANIHandler
,
43021 _swigc__p_wxAcceleratorTable
,
43022 _swigc__p_wxActivateEvent
,
43023 _swigc__p_wxArrayInt
,
43024 _swigc__p_wxArrayString
,
43025 _swigc__p_wxBMPHandler
,
43026 _swigc__p_wxBitmap
,
43027 _swigc__p_wxBitmapButton
,
43028 _swigc__p_wxBookCtrlBase
,
43029 _swigc__p_wxBookCtrlBaseEvent
,
43030 _swigc__p_wxBoxSizer
,
43031 _swigc__p_wxButton
,
43032 _swigc__p_wxCURHandler
,
43033 _swigc__p_wxCheckBox
,
43034 _swigc__p_wxCheckListBox
,
43035 _swigc__p_wxChildFocusEvent
,
43036 _swigc__p_wxChoice
,
43037 _swigc__p_wxChoicebook
,
43038 _swigc__p_wxChoicebookEvent
,
43039 _swigc__p_wxCloseEvent
,
43040 _swigc__p_wxColour
,
43041 _swigc__p_wxComboBox
,
43042 _swigc__p_wxCommandEvent
,
43043 _swigc__p_wxContextHelp
,
43044 _swigc__p_wxContextHelpButton
,
43045 _swigc__p_wxContextMenuEvent
,
43046 _swigc__p_wxControl
,
43047 _swigc__p_wxControlWithItems
,
43048 _swigc__p_wxCursor
,
43050 _swigc__p_wxDateEvent
,
43051 _swigc__p_wxDatePickerCtrl
,
43052 _swigc__p_wxDateTime
,
43053 _swigc__p_wxDirFilterListCtrl
,
43054 _swigc__p_wxDisplayChangedEvent
,
43055 _swigc__p_wxDropFilesEvent
,
43056 _swigc__p_wxDuplexMode
,
43057 _swigc__p_wxEraseEvent
,
43059 _swigc__p_wxEvtHandler
,
43060 _swigc__p_wxFSFile
,
43061 _swigc__p_wxFileSystem
,
43062 _swigc__p_wxFlexGridSizer
,
43063 _swigc__p_wxFocusEvent
,
43065 _swigc__p_wxGBSizerItem
,
43066 _swigc__p_wxGIFHandler
,
43068 _swigc__p_wxGenericDirCtrl
,
43069 _swigc__p_wxGenericDragImage
,
43070 _swigc__p_wxGridBagSizer
,
43071 _swigc__p_wxGridSizer
,
43072 _swigc__p_wxHelpEvent
,
43073 _swigc__p_wxHelpProvider
,
43074 _swigc__p_wxICOHandler
,
43076 _swigc__p_wxIconizeEvent
,
43077 _swigc__p_wxIdleEvent
,
43079 _swigc__p_wxImageHandler
,
43080 _swigc__p_wxImageList
,
43081 _swigc__p_wxIndividualLayoutConstraint
,
43082 _swigc__p_wxInitDialogEvent
,
43083 _swigc__p_wxItemContainer
,
43084 _swigc__p_wxJPEGHandler
,
43085 _swigc__p_wxKeyEvent
,
43086 _swigc__p_wxLayoutConstraints
,
43087 _swigc__p_wxListBox
,
43088 _swigc__p_wxListEvent
,
43089 _swigc__p_wxListItem
,
43090 _swigc__p_wxListItemAttr
,
43091 _swigc__p_wxListView
,
43092 _swigc__p_wxListbook
,
43093 _swigc__p_wxListbookEvent
,
43094 _swigc__p_wxMaximizeEvent
,
43095 _swigc__p_wxMemoryDC
,
43097 _swigc__p_wxMenuBar
,
43098 _swigc__p_wxMenuEvent
,
43099 _swigc__p_wxMenuItem
,
43100 _swigc__p_wxMouseCaptureChangedEvent
,
43101 _swigc__p_wxMouseEvent
,
43102 _swigc__p_wxMoveEvent
,
43103 _swigc__p_wxNavigationKeyEvent
,
43104 _swigc__p_wxNcPaintEvent
,
43105 _swigc__p_wxNotebook
,
43106 _swigc__p_wxNotebookEvent
,
43107 _swigc__p_wxNotifyEvent
,
43108 _swigc__p_wxObject
,
43109 _swigc__p_wxPCXHandler
,
43110 _swigc__p_wxPNGHandler
,
43111 _swigc__p_wxPNMHandler
,
43112 _swigc__p_wxPaintEvent
,
43113 _swigc__p_wxPaletteChangedEvent
,
43114 _swigc__p_wxPaperSize
,
43117 _swigc__p_wxPyCommandEvent
,
43118 _swigc__p_wxPyControl
,
43119 _swigc__p_wxPyEvent
,
43120 _swigc__p_wxPyImageHandler
,
43121 _swigc__p_wxPyListCtrl
,
43122 _swigc__p_wxPySizer
,
43123 _swigc__p_wxPyTreeCtrl
,
43124 _swigc__p_wxPyTreeItemData
,
43125 _swigc__p_wxPyValidator
,
43126 _swigc__p_wxQueryNewPaletteEvent
,
43127 _swigc__p_wxRadioBox
,
43128 _swigc__p_wxRadioButton
,
43130 _swigc__p_wxScrollBar
,
43131 _swigc__p_wxScrollEvent
,
43132 _swigc__p_wxScrollWinEvent
,
43133 _swigc__p_wxSetCursorEvent
,
43134 _swigc__p_wxShowEvent
,
43135 _swigc__p_wxSimpleHelpProvider
,
43137 _swigc__p_wxSizeEvent
,
43139 _swigc__p_wxSizerItem
,
43140 _swigc__p_wxSlider
,
43141 _swigc__p_wxSpinButton
,
43142 _swigc__p_wxSpinCtrl
,
43143 _swigc__p_wxSpinEvent
,
43144 _swigc__p_wxStaticBitmap
,
43145 _swigc__p_wxStaticBox
,
43146 _swigc__p_wxStaticBoxSizer
,
43147 _swigc__p_wxStaticLine
,
43148 _swigc__p_wxStaticText
,
43149 _swigc__p_wxStdDialogButtonSizer
,
43150 _swigc__p_wxString
,
43151 _swigc__p_wxSysColourChangedEvent
,
43152 _swigc__p_wxTIFFHandler
,
43153 _swigc__p_wxTextAttr
,
43154 _swigc__p_wxTextCtrl
,
43155 _swigc__p_wxTextUrlEvent
,
43156 _swigc__p_wxToggleButton
,
43157 _swigc__p_wxToolBar
,
43158 _swigc__p_wxToolBarBase
,
43159 _swigc__p_wxToolBarToolBase
,
43160 _swigc__p_wxToolbook
,
43161 _swigc__p_wxToolbookEvent
,
43162 _swigc__p_wxTreeCtrl
,
43163 _swigc__p_wxTreeEvent
,
43164 _swigc__p_wxTreeItemId
,
43165 _swigc__p_wxTreebook
,
43166 _swigc__p_wxTreebookEvent
,
43167 _swigc__p_wxUpdateUIEvent
,
43168 _swigc__p_wxValidator
,
43169 _swigc__p_wxVisualAttributes
,
43170 _swigc__p_wxWindow
,
43171 _swigc__p_wxWindowCreateEvent
,
43172 _swigc__p_wxWindowDestroyEvent
,
43173 _swigc__p_wxXPMHandler
,
43177 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43179 static swig_const_info swig_const_table
[] = {
43180 {0, 0, 0, 0.0, 0, 0}};
43185 /* -----------------------------------------------------------------------------
43186 * Type initialization:
43187 * This problem is tough by the requirement that no dynamic
43188 * memory is used. Also, since swig_type_info structures store pointers to
43189 * swig_cast_info structures and swig_cast_info structures store pointers back
43190 * to swig_type_info structures, we need some lookup code at initialization.
43191 * The idea is that swig generates all the structures that are needed.
43192 * The runtime then collects these partially filled structures.
43193 * The SWIG_InitializeModule function takes these initial arrays out of
43194 * swig_module, and does all the lookup, filling in the swig_module.types
43195 * array with the correct data and linking the correct swig_cast_info
43196 * structures together.
43198 * The generated swig_type_info structures are assigned staticly to an initial
43199 * array. We just loop though that array, and handle each type individually.
43200 * First we lookup if this type has been already loaded, and if so, use the
43201 * loaded structure instead of the generated one. Then we have to fill in the
43202 * cast linked list. The cast data is initially stored in something like a
43203 * two-dimensional array. Each row corresponds to a type (there are the same
43204 * number of rows as there are in the swig_type_initial array). Each entry in
43205 * a column is one of the swig_cast_info structures for that type.
43206 * The cast_initial array is actually an array of arrays, because each row has
43207 * a variable number of columns. So to actually build the cast linked list,
43208 * we find the array of casts associated with the type, and loop through it
43209 * adding the casts to the list. The one last trick we need to do is making
43210 * sure the type pointer in the swig_cast_info struct is correct.
43212 * First off, we lookup the cast->type name to see if it is already loaded.
43213 * There are three cases to handle:
43214 * 1) If the cast->type has already been loaded AND the type we are adding
43215 * casting info to has not been loaded (it is in this module), THEN we
43216 * replace the cast->type pointer with the type pointer that has already
43218 * 2) If BOTH types (the one we are adding casting info to, and the
43219 * cast->type) are loaded, THEN the cast info has already been loaded by
43220 * the previous module so we just ignore it.
43221 * 3) Finally, if cast->type has not already been loaded, then we add that
43222 * swig_cast_info to the linked list (because the cast->type) pointer will
43224 * ----------------------------------------------------------------------------- */
43234 #define SWIGRUNTIME_DEBUG
43238 SWIG_InitializeModule(void *clientdata
) {
43240 swig_module_info
*module_head
;
43241 static int init_run
= 0;
43243 clientdata
= clientdata
;
43245 if (init_run
) return;
43248 /* Initialize the swig_module */
43249 swig_module
.type_initial
= swig_type_initial
;
43250 swig_module
.cast_initial
= swig_cast_initial
;
43252 /* Try and load any already created modules */
43253 module_head
= SWIG_GetModule(clientdata
);
43255 swig_module
.next
= module_head
->next
;
43256 module_head
->next
= &swig_module
;
43258 /* This is the first module loaded */
43259 swig_module
.next
= &swig_module
;
43260 SWIG_SetModule(clientdata
, &swig_module
);
43263 /* Now work on filling in swig_module.types */
43264 #ifdef SWIGRUNTIME_DEBUG
43265 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
43267 for (i
= 0; i
< swig_module
.size
; ++i
) {
43268 swig_type_info
*type
= 0;
43269 swig_type_info
*ret
;
43270 swig_cast_info
*cast
;
43272 #ifdef SWIGRUNTIME_DEBUG
43273 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43276 /* if there is another module already loaded */
43277 if (swig_module
.next
!= &swig_module
) {
43278 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
43281 /* Overwrite clientdata field */
43282 #ifdef SWIGRUNTIME_DEBUG
43283 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
43285 if (swig_module
.type_initial
[i
]->clientdata
) {
43286 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
43287 #ifdef SWIGRUNTIME_DEBUG
43288 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
43292 type
= swig_module
.type_initial
[i
];
43295 /* Insert casting types */
43296 cast
= swig_module
.cast_initial
[i
];
43297 while (cast
->type
) {
43298 /* Don't need to add information already in the list */
43300 #ifdef SWIGRUNTIME_DEBUG
43301 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
43303 if (swig_module
.next
!= &swig_module
) {
43304 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
43305 #ifdef SWIGRUNTIME_DEBUG
43306 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
43310 if (type
== swig_module
.type_initial
[i
]) {
43311 #ifdef SWIGRUNTIME_DEBUG
43312 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
43317 /* Check for casting already in the list */
43318 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
43319 #ifdef SWIGRUNTIME_DEBUG
43320 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
43322 if (!ocast
) ret
= 0;
43327 #ifdef SWIGRUNTIME_DEBUG
43328 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
43331 type
->cast
->prev
= cast
;
43332 cast
->next
= type
->cast
;
43338 /* Set entry in modules->types array equal to the type */
43339 swig_module
.types
[i
] = type
;
43341 swig_module
.types
[i
] = 0;
43343 #ifdef SWIGRUNTIME_DEBUG
43344 printf("**** SWIG_InitializeModule: Cast List ******\n");
43345 for (i
= 0; i
< swig_module
.size
; ++i
) {
43347 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
43348 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43349 while (cast
->type
) {
43350 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
43354 printf("---- Total casts: %d\n",j
);
43356 printf("**** SWIG_InitializeModule: Cast List ******\n");
43360 /* This function will propagate the clientdata field of type to
43361 * any new swig_type_info structures that have been added into the list
43362 * of equivalent types. It is like calling
43363 * SWIG_TypeClientData(type, clientdata) a second time.
43366 SWIG_PropagateClientData(void) {
43368 swig_cast_info
*equiv
;
43369 static int init_run
= 0;
43371 if (init_run
) return;
43374 for (i
= 0; i
< swig_module
.size
; i
++) {
43375 if (swig_module
.types
[i
]->clientdata
) {
43376 equiv
= swig_module
.types
[i
]->cast
;
43378 if (!equiv
->converter
) {
43379 if (equiv
->type
&& !equiv
->type
->clientdata
)
43380 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
43382 equiv
= equiv
->next
;
43402 /* Python-specific SWIG API */
43403 #define SWIG_newvarlink() SWIG_Python_newvarlink()
43404 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
43405 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
43407 /* -----------------------------------------------------------------------------
43408 * global variable support code.
43409 * ----------------------------------------------------------------------------- */
43411 typedef struct swig_globalvar
{
43412 char *name
; /* Name of global variable */
43413 PyObject
*(*get_attr
)(void); /* Return the current value */
43414 int (*set_attr
)(PyObject
*); /* Set the value */
43415 struct swig_globalvar
*next
;
43418 typedef struct swig_varlinkobject
{
43420 swig_globalvar
*vars
;
43421 } swig_varlinkobject
;
43423 SWIGINTERN PyObject
*
43424 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
43425 return PyString_FromString("<Swig global variables>");
43428 SWIGINTERN PyObject
*
43429 swig_varlink_str(swig_varlinkobject
*v
) {
43430 PyObject
*str
= PyString_FromString("(");
43431 swig_globalvar
*var
;
43432 for (var
= v
->vars
; var
; var
=var
->next
) {
43433 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
43434 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
43436 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
43441 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
43442 PyObject
*str
= swig_varlink_str(v
);
43443 fprintf(fp
,"Swig global variables ");
43444 fprintf(fp
,"%s\n", PyString_AsString(str
));
43450 swig_varlink_dealloc(swig_varlinkobject
*v
) {
43451 swig_globalvar
*var
= v
->vars
;
43453 swig_globalvar
*n
= var
->next
;
43460 SWIGINTERN PyObject
*
43461 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
43462 PyObject
*res
= NULL
;
43463 swig_globalvar
*var
= v
->vars
;
43465 if (strcmp(var
->name
,n
) == 0) {
43466 res
= (*var
->get_attr
)();
43471 if (res
== NULL
&& !PyErr_Occurred()) {
43472 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43478 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
43480 swig_globalvar
*var
= v
->vars
;
43482 if (strcmp(var
->name
,n
) == 0) {
43483 res
= (*var
->set_attr
)(p
);
43488 if (res
== 1 && !PyErr_Occurred()) {
43489 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
43494 SWIGINTERN PyTypeObject
*
43495 swig_varlink_type(void) {
43496 static char varlink__doc__
[] = "Swig var link object";
43497 static PyTypeObject varlink_type
;
43498 static int type_init
= 0;
43500 const PyTypeObject tmp
43502 PyObject_HEAD_INIT(NULL
)
43503 0, /* Number of items in variable part (ob_size) */
43504 (char *)"swigvarlink", /* Type name (tp_name) */
43505 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
43506 0, /* Itemsize (tp_itemsize) */
43507 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
43508 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
43509 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
43510 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
43511 0, /* tp_compare */
43512 (reprfunc
) swig_varlink_repr
, /* tp_repr */
43513 0, /* tp_as_number */
43514 0, /* tp_as_sequence */
43515 0, /* tp_as_mapping */
43518 (reprfunc
)swig_varlink_str
, /* tp_str */
43519 0, /* tp_getattro */
43520 0, /* tp_setattro */
43521 0, /* tp_as_buffer */
43523 varlink__doc__
, /* tp_doc */
43524 0, /* tp_traverse */
43526 0, /* tp_richcompare */
43527 0, /* tp_weaklistoffset */
43528 #if PY_VERSION_HEX >= 0x02020000
43529 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
43531 #if PY_VERSION_HEX >= 0x02030000
43534 #ifdef COUNT_ALLOCS
43535 0,0,0,0 /* tp_alloc -> tp_next */
43538 varlink_type
= tmp
;
43539 varlink_type
.ob_type
= &PyType_Type
;
43542 return &varlink_type
;
43545 /* Create a variable linking object for use later */
43546 SWIGINTERN PyObject
*
43547 SWIG_Python_newvarlink(void) {
43548 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
43552 return ((PyObject
*) result
);
43556 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
43557 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
43558 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
43560 size_t size
= strlen(name
)+1;
43561 gv
->name
= (char *)malloc(size
);
43563 strncpy(gv
->name
,name
,size
);
43564 gv
->get_attr
= get_attr
;
43565 gv
->set_attr
= set_attr
;
43566 gv
->next
= v
->vars
;
43572 SWIGINTERN PyObject
*
43574 static PyObject
*_SWIG_globals
= 0;
43575 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
43576 return _SWIG_globals
;
43579 /* -----------------------------------------------------------------------------
43580 * constants/methods manipulation
43581 * ----------------------------------------------------------------------------- */
43583 /* Install Constants */
43585 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
43588 for (i
= 0; constants
[i
].type
; ++i
) {
43589 switch(constants
[i
].type
) {
43590 case SWIG_PY_POINTER
:
43591 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
43593 case SWIG_PY_BINARY
:
43594 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
43601 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
43607 /* -----------------------------------------------------------------------------*/
43608 /* Fix SwigMethods to carry the callback ptrs when needed */
43609 /* -----------------------------------------------------------------------------*/
43612 SWIG_Python_FixMethods(PyMethodDef
*methods
,
43613 swig_const_info
*const_table
,
43614 swig_type_info
**types
,
43615 swig_type_info
**types_initial
) {
43617 for (i
= 0; methods
[i
].ml_name
; ++i
) {
43618 char *c
= methods
[i
].ml_doc
;
43619 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
43621 swig_const_info
*ci
= 0;
43622 char *name
= c
+ 10;
43623 for (j
= 0; const_table
[j
].type
; ++j
) {
43624 if (strncmp(const_table
[j
].name
, name
,
43625 strlen(const_table
[j
].name
)) == 0) {
43626 ci
= &(const_table
[j
]);
43631 size_t shift
= (ci
->ptype
) - types
;
43632 swig_type_info
*ty
= types_initial
[shift
];
43633 size_t ldoc
= (c
- methods
[i
].ml_doc
);
43634 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
43635 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
43638 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
43640 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
43642 strncpy(buff
, "swig_ptr: ", 10);
43644 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
43645 methods
[i
].ml_doc
= ndoc
;
43657 /* -----------------------------------------------------------------------------*
43658 * Partial Init method
43659 * -----------------------------------------------------------------------------*/
43664 SWIGEXPORT
void SWIG_init(void) {
43667 /* Fix SwigMethods to carry the callback ptrs when needed */
43668 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
43670 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
43671 d
= PyModule_GetDict(m
);
43673 SWIG_InitializeModule(0);
43674 SWIG_InstallConstants(d
,swig_const_table
);
43677 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
43678 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
43679 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
43680 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
43681 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
43682 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
43683 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
43684 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
43685 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
43686 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
43687 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
43688 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
43689 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
43690 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
43691 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
43692 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
43693 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
43694 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
43695 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
43696 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
43697 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
43698 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
43699 SWIG_Python_SetConstant(d
, "GA_PROGRESSBAR",SWIG_From_int(static_cast< int >(wxGA_PROGRESSBAR
)));
43700 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
43701 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
43702 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
43703 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
43704 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
43705 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
43706 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
43707 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
43708 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
43709 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
43710 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
43711 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
43712 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
43713 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
43714 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
43715 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
43716 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
43717 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
43718 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
43719 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
43720 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
43721 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
43722 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
43723 SWIG_Python_SetConstant(d
, "TE_LINEWRAP",SWIG_From_int(static_cast< int >(wxTE_LINEWRAP
)));
43724 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
43725 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
43726 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
43727 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
43728 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
43729 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
43730 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
43731 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
43732 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
43733 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
43734 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
43735 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
43736 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
43737 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
43738 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
43739 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
43740 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
43741 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
43742 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
43743 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
43744 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
43745 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
43746 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
43747 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
43748 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
43749 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
43750 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
43751 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
43752 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
43753 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
43754 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
43755 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
43756 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
43757 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
43758 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
43759 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
43760 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
43761 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
43762 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
43763 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
43764 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
43765 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
43766 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
43767 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
43768 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
43769 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
43770 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
43771 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
43772 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
43773 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
43774 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
43775 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
43776 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
43777 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
43778 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
43779 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
43780 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
43781 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
43782 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
43783 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
43784 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
43785 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
43786 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
43787 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
43788 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
43789 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
43790 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
43791 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
43792 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
43793 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
43794 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
43795 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
43796 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
43797 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
43798 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
43799 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
43800 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
43801 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
43802 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
43803 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
43804 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
43805 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
43806 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
43807 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
43808 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
43809 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
43810 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
43811 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
43812 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
43813 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
43814 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
43815 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
43816 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
43817 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
43818 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
43819 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
43820 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
43821 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
43822 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
43823 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
43824 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
43825 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
43826 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
43827 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
43828 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
43829 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
43830 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
43831 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
43832 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
43833 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
43834 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
43835 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
43836 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
43837 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
43838 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
43839 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
43840 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
43841 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
43842 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
43843 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
43844 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
43845 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
43846 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
43847 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
43848 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
43849 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
43850 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
43851 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
43852 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
43853 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
43854 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
43855 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
43856 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
43857 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
43858 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
43859 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
43860 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
43861 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
43862 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
43863 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
43864 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
43865 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
43866 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
43867 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
43868 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
43869 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
43870 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
43871 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
43872 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
43873 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
43874 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
43875 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
43876 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
43877 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
43878 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
43879 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
43880 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
43881 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
43882 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
43883 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
43884 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
43885 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
43886 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
43887 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
43888 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
43889 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
43890 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
43891 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
43892 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
43893 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
43894 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
43895 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
43896 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
43897 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
43898 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
43899 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
43900 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
43901 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
43902 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
43903 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
43904 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
43905 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
43906 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
43907 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
43908 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
43909 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
43910 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
43911 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
43912 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
43913 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
43914 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
43915 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
43916 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
43917 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
43918 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
43919 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
43920 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
43921 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
43922 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
43923 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
43924 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
43926 // Map renamed classes back to their common name for OOR
43927 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
43929 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
43930 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
43931 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
43932 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
43933 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
43934 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
43935 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
43936 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
43937 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
43938 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
43939 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
43940 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
43941 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
43942 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
43943 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
43944 SWIG_Python_SetConstant(d
, "TR_MAC_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_MAC_BUTTONS
)));
43945 SWIG_Python_SetConstant(d
, "TR_AQUA_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_AQUA_BUTTONS
)));
43946 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
43947 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
43948 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
43949 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
43950 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
43951 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
43952 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
43953 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
43954 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
43955 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
43956 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
43957 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
43958 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
43959 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
43960 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
43961 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
43962 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
43963 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
43964 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
43965 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
43966 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
43967 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
43968 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
43969 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
43970 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
43971 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
43972 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
43973 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
43974 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
43975 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
43976 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
43977 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
43978 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
43979 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
43980 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
43981 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
43982 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
43983 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
43984 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
43985 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
43987 // Map renamed classes back to their common name for OOR
43988 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
43989 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
43991 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
43992 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
43993 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
43994 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
43995 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
43996 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
43997 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
43998 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
43999 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
44000 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
44002 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
44004 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
44005 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
44006 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
44007 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
44008 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
44009 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));