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 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521 #define SWIGTYPE_p_wxFSFile swig_types[55]
2522 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524 #define SWIGTYPE_p_wxFileSystem swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGauge swig_types[66]
2533 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2537 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538 #define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544 #define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545 #define SWIGTYPE_p_wxImage swig_types[79]
2546 #define SWIGTYPE_p_wxImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxImageList swig_types[81]
2548 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550 #define SWIGTYPE_p_wxItemContainer swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554 #define SWIGTYPE_p_wxListBox swig_types[88]
2555 #define SWIGTYPE_p_wxListEvent swig_types[89]
2556 #define SWIGTYPE_p_wxListItem swig_types[90]
2557 #define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558 #define SWIGTYPE_p_wxListView swig_types[92]
2559 #define SWIGTYPE_p_wxListbook swig_types[93]
2560 #define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563 #define SWIGTYPE_p_wxMenu swig_types[97]
2564 #define SWIGTYPE_p_wxMenuBar swig_types[98]
2565 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMenuItem swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotebook swig_types[107]
2574 #define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxObject swig_types[110]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2583 #define SWIGTYPE_p_wxPickerBase swig_types[117]
2584 #define SWIGTYPE_p_wxPoint swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyControl swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRadioBox swig_types[130]
2597 #define SWIGTYPE_p_wxRadioButton swig_types[131]
2598 #define SWIGTYPE_p_wxRect swig_types[132]
2599 #define SWIGTYPE_p_wxScrollBar swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2603 #define SWIGTYPE_p_wxShowEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[138]
2605 #define SWIGTYPE_p_wxSize swig_types[139]
2606 #define SWIGTYPE_p_wxSizeEvent swig_types[140]
2607 #define SWIGTYPE_p_wxSizer swig_types[141]
2608 #define SWIGTYPE_p_wxSizerItem swig_types[142]
2609 #define SWIGTYPE_p_wxSlider swig_types[143]
2610 #define SWIGTYPE_p_wxSpinButton swig_types[144]
2611 #define SWIGTYPE_p_wxSpinCtrl swig_types[145]
2612 #define SWIGTYPE_p_wxSpinEvent swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBitmap swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBox swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStaticLine swig_types[150]
2617 #define SWIGTYPE_p_wxStaticText swig_types[151]
2618 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTextAttr swig_types[157]
2624 #define SWIGTYPE_p_wxTextCtrl swig_types[158]
2625 #define SWIGTYPE_p_wxTextUrlEvent swig_types[159]
2626 #define SWIGTYPE_p_wxToggleButton swig_types[160]
2627 #define SWIGTYPE_p_wxToolBar swig_types[161]
2628 #define SWIGTYPE_p_wxToolBarBase swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarToolBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolbook swig_types[164]
2631 #define SWIGTYPE_p_wxToolbookEvent swig_types[165]
2632 #define SWIGTYPE_p_wxTreeEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeItemId swig_types[167]
2634 #define SWIGTYPE_p_wxTreebook swig_types[168]
2635 #define SWIGTYPE_p_wxTreebookEvent swig_types[169]
2636 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[170]
2637 #define SWIGTYPE_p_wxValidator swig_types[171]
2638 #define SWIGTYPE_p_wxVisualAttributes swig_types[172]
2639 #define SWIGTYPE_p_wxWindow swig_types[173]
2640 #define SWIGTYPE_p_wxWindowBase swig_types[174]
2641 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[175]
2642 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[176]
2643 #define SWIGTYPE_p_wxXPMHandler swig_types[177]
2644 static swig_type_info
*swig_types
[179];
2645 static swig_module_info swig_module
= {swig_types
, 178, 0, 0, 0, 0};
2646 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2647 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2649 /* -------- TYPES TABLE (END) -------- */
2651 #if (PY_VERSION_HEX <= 0x02000000)
2652 # if !defined(SWIG_PYTHON_CLASSIC)
2653 # error "This python version requires to use swig with the '-classic' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodern' option"
2659 #if (PY_VERSION_HEX <= 0x02020000)
2660 # error "This python version requires to use swig with the '-nomodernargs' option"
2663 # error "This python version requires to use swig with the '-nofastunpack' option"
2666 /*-----------------------------------------------
2667 @(target):= _controls_.so
2668 ------------------------------------------------*/
2669 #define SWIG_init init_controls_
2671 #define SWIG_name "_controls_"
2673 #define SWIGVERSION 0x010329
2676 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2677 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2680 #include <stdexcept>
2684 class PyObject_ptr
{
2689 PyObject_ptr() :_obj(0)
2693 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2698 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2700 if (initial_ref
) Py_XINCREF(_obj
);
2703 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2705 Py_XINCREF(item
._obj
);
2716 operator PyObject
*() const
2721 PyObject
*operator->() const
2730 struct PyObject_var
: PyObject_ptr
{
2731 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2733 PyObject_var
& operator = (PyObject
* obj
)
2743 #include "wx/wxPython/wxPython.h"
2744 #include "wx/wxPython/pyclasses.h"
2746 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2747 static const wxString
wxPyEmptyString(wxEmptyString
);
2748 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2750 const wxArrayString wxPyEmptyStringArray
;
2752 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2754 #define SWIG_From_long PyInt_FromLong
2757 SWIGINTERNINLINE PyObject
*
2758 SWIG_From_int (int value
)
2760 return SWIG_From_long (value
);
2766 # define LLONG_MIN LONG_LONG_MIN
2769 # define LLONG_MAX LONG_LONG_MAX
2772 # define ULLONG_MAX ULONG_LONG_MAX
2777 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2779 if (PyNumber_Check(obj
)) {
2780 if (val
) *val
= PyInt_AsLong(obj
);
2783 return SWIG_TypeError
;
2788 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2791 int res
= SWIG_AsVal_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< int >(v
);
2802 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2805 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2807 if (obj
== Py_True
) {
2808 if (val
) *val
= true;
2810 } else if (obj
== Py_False
) {
2811 if (val
) *val
= false;
2815 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2816 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2821 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2822 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2823 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2824 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2825 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2826 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2828 #include <wx/checklst.h>
2830 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2831 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2834 wxPyClientData
* data
= new wxPyClientData(clientData
);
2835 self
->Insert(item
, pos
, data
);
2838 self
->Insert(item
, pos
);
2842 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2845 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2846 return SWIG_TypeError
;
2849 *val
= (unsigned long)v
;
2855 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2858 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2859 if (SWIG_IsOK(res
)) {
2860 if ((v
> UINT_MAX
)) {
2861 return SWIG_OverflowError
;
2863 if (val
) *val
= static_cast< unsigned int >(v
);
2869 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2870 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2872 self
->GetSelections(lst
);
2873 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2874 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2876 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2878 wxPyEndBlockThreads(blocked
);
2881 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2883 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2884 self
->GetItem(item
)->SetTextColour(c
);
2887 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2889 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2890 self
->GetItem(item
)->SetBackgroundColour(c
);
2893 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2895 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2896 self
->GetItem(item
)->SetFont(f
);
2899 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2900 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2901 self
->AppendText(text
);
2903 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2904 return self
->GetValue().Mid(from
, to
- from
);
2906 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2907 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2908 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2909 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2910 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2912 SWIGINTERNINLINE PyObject
*
2913 SWIG_From_unsigned_SS_long (unsigned long value
)
2915 return (value
> LONG_MAX
) ?
2916 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2920 SWIGINTERNINLINE PyObject
*
2921 SWIG_From_size_t (size_t value
)
2923 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2927 SWIGINTERNINLINE PyObject
*
2928 SWIG_From_unsigned_SS_int (unsigned int value
)
2930 return SWIG_From_unsigned_SS_long (value
);
2934 #include <wx/slider.h>
2937 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2938 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2940 #if !wxUSE_TOGGLEBTN
2941 // implement dummy items for platforms that don't have this class
2943 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2945 class wxToggleButton
: public wxControl
2948 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2949 const wxPoint
&, const wxSize
&, long,
2950 const wxValidator
&, const wxString
&)
2951 { wxPyRaiseNotImplemented(); }
2954 { wxPyRaiseNotImplemented(); }
2958 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2960 SWIGINTERNINLINE
int
2961 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2964 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2965 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2969 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2970 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2971 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2973 Py_INCREF(udata
->m_obj
);
2974 return udata
->m_obj
;
2980 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2981 self
->SetClientData(new wxPyUserData(clientData
));
2983 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
){
2984 wxPyUserData
* udata
= NULL
;
2985 if (clientData
&& clientData
!= Py_None
)
2986 udata
= new wxPyUserData(clientData
);
2987 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2988 shortHelp
, longHelp
, udata
);
2990 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
){
2991 wxPyUserData
* udata
= NULL
;
2992 if (clientData
&& clientData
!= Py_None
)
2993 udata
= new wxPyUserData(clientData
);
2994 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2995 shortHelp
, longHelp
, udata
);
2997 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2998 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3000 Py_INCREF(udata
->m_obj
);
3001 return udata
->m_obj
;
3007 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3008 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3011 #include <wx/listctrl.h>
3013 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3014 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3015 // Python aware sorting function for wxPyListCtrl
3016 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3018 PyObject
* func
= (PyObject
*)funcPtr
;
3019 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3021 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3022 PyObject
* result
= PyEval_CallObject(func
, args
);
3025 retval
= PyInt_AsLong(result
);
3029 wxPyEndBlockThreads(blocked
);
3033 // C++ Version of a Python aware class
3034 class wxPyListCtrl
: public wxListCtrl
{
3035 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3037 wxPyListCtrl() : wxListCtrl() {}
3038 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3042 const wxValidator
& validator
,
3043 const wxString
& name
) :
3044 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3046 bool Create(wxWindow
* parent
, wxWindowID id
,
3050 const wxValidator
& validator
,
3051 const wxString
& name
) {
3052 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3055 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3056 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3058 // use the virtual version to avoid a confusing assert in the base class
3059 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3060 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3065 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3067 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3068 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3069 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3070 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3073 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3075 item
.SetMask( wxLIST_MASK_STATE
|
3083 if (self
->GetColumn(col
, item
))
3084 return new wxListItem(item
);
3088 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3089 wxListItem
* info
= new wxListItem
;
3090 info
->m_itemId
= itemId
;
3092 info
->m_mask
= 0xFFFF;
3093 self
->GetItem(*info
);
3096 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3098 self
->GetItemPosition(item
, pos
);
3101 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3103 self
->GetItemRect(item
, rect
, code
);
3106 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3107 if (!PyCallable_Check(func
))
3109 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3111 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3119 #include <wx/treectrl.h>
3120 #include "wx/wxPython/pytree.h"
3122 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3123 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3124 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3125 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3127 static wxTreeItemId wxNullTreeItemId
;
3129 // C++ version of Python aware wxTreeCtrl
3130 class wxPyTreeCtrl
: public wxTreeCtrl
{
3131 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3133 wxPyTreeCtrl() : wxTreeCtrl() {}
3134 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3138 const wxValidator
& validator
,
3139 const wxString
& name
) :
3140 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3142 bool Create(wxWindow
*parent
, wxWindowID id
,
3146 const wxValidator
& validator
,
3147 const wxString
& name
) {
3148 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3152 int OnCompareItems(const wxTreeItemId
& item1
,
3153 const wxTreeItemId
& item2
) {
3156 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3157 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3158 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3159 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3160 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3164 wxPyEndBlockThreads(blocked
);
3166 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3172 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3175 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3176 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3178 data
= new wxPyTreeItemData();
3179 data
->SetId(item
); // set the id
3180 self
->SetItemData(item
, data
);
3184 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3185 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3187 data
= new wxPyTreeItemData();
3188 data
->SetId(item
); // set the id
3189 self
->SetItemData(item
, data
);
3191 return data
->GetData();
3193 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3194 data
->SetId(item
); // set the id
3195 self
->SetItemData(item
, data
);
3197 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3198 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3200 data
= new wxPyTreeItemData(obj
);
3201 data
->SetId(item
); // set the id
3202 self
->SetItemData(item
, data
);
3206 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3207 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3208 PyObject
* rval
= PyList_New(0);
3209 wxArrayTreeItemIds array
;
3211 num
= self
->GetSelections(array
);
3212 for (x
=0; x
< num
; x
++) {
3213 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3214 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3215 PyList_Append(rval
, item
);
3218 wxPyEndBlockThreads(blocked
);
3221 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3223 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3224 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3225 PyObject
* tup
= PyTuple_New(2);
3226 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3227 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3228 wxPyEndBlockThreads(blocked
);
3231 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3232 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3233 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3234 PyObject
* tup
= PyTuple_New(2);
3235 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3236 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3237 wxPyEndBlockThreads(blocked
);
3240 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3242 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3243 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3244 wxRect
* r
= new wxRect(rect
);
3245 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3246 wxPyEndBlockThreads(blocked
);
3252 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3254 SWIGINTERNINLINE PyObject
*
3255 SWIG_From_bool (bool value
)
3257 return PyBool_FromLong(value
? 1 : 0);
3260 // C++ version of Python aware wxControl
3261 class wxPyControl
: public wxControl
3263 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3265 wxPyControl() : wxControl() {}
3266 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3267 const wxPoint
& pos
= wxDefaultPosition
,
3268 const wxSize
& size
= wxDefaultSize
,
3270 const wxValidator
& validator
=wxDefaultValidator
,
3271 const wxString
& name
= wxPyControlNameStr
)
3272 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3275 bool DoEraseBackground(wxDC
* dc
) {
3277 return wxWindow::DoEraseBackground(dc
->GetHDC());
3279 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3285 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3286 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3287 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3288 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3290 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3291 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3294 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3295 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3297 DEC_PYCALLBACK__(InitDialog
);
3298 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3299 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3300 DEC_PYCALLBACK_BOOL_(Validate
);
3302 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3303 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3304 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3306 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3307 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3309 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3310 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3312 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3314 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3319 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3321 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3322 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3323 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3324 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3326 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3327 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3330 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3331 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3333 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3334 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3335 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3336 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3338 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3339 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3340 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3342 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3343 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3345 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3346 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3348 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3350 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3354 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3356 #include <wx/generic/dragimgg.h>
3358 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3359 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3361 self
->GetRange(&rv
, NULL
);
3364 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3366 self
->GetRange(NULL
, &rv
);
3369 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3370 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3371 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3372 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3373 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3374 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3375 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3376 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3377 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3381 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3382 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3387 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3388 PyObject
*pyobj
= 0;
3392 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3394 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3401 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
*resultobj
= 0;
3403 wxWindow
*arg1
= (wxWindow
*) 0 ;
3404 int arg2
= (int) -1 ;
3405 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3406 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3407 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3408 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3409 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3410 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3411 long arg6
= (long) 0 ;
3412 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3413 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3414 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3415 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3416 wxButton
*result
= 0 ;
3421 bool temp3
= false ;
3428 bool temp8
= false ;
3429 PyObject
* obj0
= 0 ;
3430 PyObject
* obj1
= 0 ;
3431 PyObject
* obj2
= 0 ;
3432 PyObject
* obj3
= 0 ;
3433 PyObject
* obj4
= 0 ;
3434 PyObject
* obj5
= 0 ;
3435 PyObject
* obj6
= 0 ;
3436 PyObject
* obj7
= 0 ;
3437 char * kwnames
[] = {
3438 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3443 if (!SWIG_IsOK(res1
)) {
3444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3446 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3449 if (!SWIG_IsOK(ecode2
)) {
3450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3452 arg2
= static_cast< int >(val2
);
3456 arg3
= wxString_in_helper(obj2
);
3457 if (arg3
== NULL
) SWIG_fail
;
3464 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3470 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3474 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3475 if (!SWIG_IsOK(ecode6
)) {
3476 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3478 arg6
= static_cast< long >(val6
);
3481 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3482 if (!SWIG_IsOK(res7
)) {
3483 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3488 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3492 arg8
= wxString_in_helper(obj7
);
3493 if (arg8
== NULL
) SWIG_fail
;
3498 if (!wxPyCheckForApp()) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3527 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3528 PyObject
*resultobj
= 0;
3529 wxButton
*result
= 0 ;
3531 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3533 if (!wxPyCheckForApp()) SWIG_fail
;
3534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3535 result
= (wxButton
*)new wxButton();
3536 wxPyEndAllowThreads(__tstate
);
3537 if (PyErr_Occurred()) SWIG_fail
;
3539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3546 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
*resultobj
= 0;
3548 wxButton
*arg1
= (wxButton
*) 0 ;
3549 wxWindow
*arg2
= (wxWindow
*) 0 ;
3550 int arg3
= (int) -1 ;
3551 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3552 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3553 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3554 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3555 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3556 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3557 long arg7
= (long) 0 ;
3558 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3559 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3560 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3561 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3569 bool temp4
= false ;
3576 bool temp9
= false ;
3577 PyObject
* obj0
= 0 ;
3578 PyObject
* obj1
= 0 ;
3579 PyObject
* obj2
= 0 ;
3580 PyObject
* obj3
= 0 ;
3581 PyObject
* obj4
= 0 ;
3582 PyObject
* obj5
= 0 ;
3583 PyObject
* obj6
= 0 ;
3584 PyObject
* obj7
= 0 ;
3585 PyObject
* obj8
= 0 ;
3586 char * kwnames
[] = {
3587 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3592 if (!SWIG_IsOK(res1
)) {
3593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3595 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3596 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3597 if (!SWIG_IsOK(res2
)) {
3598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3600 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3603 if (!SWIG_IsOK(ecode3
)) {
3604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3606 arg3
= static_cast< int >(val3
);
3610 arg4
= wxString_in_helper(obj3
);
3611 if (arg4
== NULL
) SWIG_fail
;
3618 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3624 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3628 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3629 if (!SWIG_IsOK(ecode7
)) {
3630 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3632 arg7
= static_cast< long >(val7
);
3635 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3636 if (!SWIG_IsOK(res8
)) {
3637 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3642 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3646 arg9
= wxString_in_helper(obj8
);
3647 if (arg9
== NULL
) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3682 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3683 PyObject
*resultobj
= 0;
3684 wxButton
*arg1
= (wxButton
*) 0 ;
3687 PyObject
*swig_obj
[1] ;
3689 if (!args
) SWIG_fail
;
3691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3692 if (!SWIG_IsOK(res1
)) {
3693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3695 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 (arg1
)->SetDefault();
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3702 resultobj
= SWIG_Py_Void();
3709 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3710 PyObject
*resultobj
= 0;
3713 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3716 result
= wxButton::GetDefaultSize();
3717 wxPyEndAllowThreads(__tstate
);
3718 if (PyErr_Occurred()) SWIG_fail
;
3720 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3727 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
= 0;
3729 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3730 SwigValueWrapper
<wxVisualAttributes
> result
;
3733 PyObject
* obj0
= 0 ;
3734 char * kwnames
[] = {
3735 (char *) "variant", NULL
3738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3740 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3741 if (!SWIG_IsOK(ecode1
)) {
3742 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3744 arg1
= static_cast< wxWindowVariant
>(val1
);
3747 if (!wxPyCheckForApp()) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 result
= wxButton::GetClassDefaultAttributes(arg1
);
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3760 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3763 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3764 return SWIG_Py_Void();
3767 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3768 return SWIG_Python_InitShadowInstance(args
);
3771 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
= 0;
3773 wxWindow
*arg1
= (wxWindow
*) 0 ;
3774 int arg2
= (int) -1 ;
3775 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3776 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3781 long arg6
= (long) wxBU_AUTODRAW
;
3782 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3783 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3784 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3785 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3786 wxBitmapButton
*result
= 0 ;
3799 bool temp8
= false ;
3800 PyObject
* obj0
= 0 ;
3801 PyObject
* obj1
= 0 ;
3802 PyObject
* obj2
= 0 ;
3803 PyObject
* obj3
= 0 ;
3804 PyObject
* obj4
= 0 ;
3805 PyObject
* obj5
= 0 ;
3806 PyObject
* obj6
= 0 ;
3807 PyObject
* obj7
= 0 ;
3808 char * kwnames
[] = {
3809 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3814 if (!SWIG_IsOK(res1
)) {
3815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3817 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3820 if (!SWIG_IsOK(ecode2
)) {
3821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3823 arg2
= static_cast< int >(val2
);
3826 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3827 if (!SWIG_IsOK(res3
)) {
3828 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3833 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3838 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3844 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3848 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3849 if (!SWIG_IsOK(ecode6
)) {
3850 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3852 arg6
= static_cast< long >(val6
);
3855 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3856 if (!SWIG_IsOK(res7
)) {
3857 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3862 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3866 arg8
= wxString_in_helper(obj7
);
3867 if (arg8
== NULL
) SWIG_fail
;
3872 if (!wxPyCheckForApp()) SWIG_fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3893 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3894 PyObject
*resultobj
= 0;
3895 wxBitmapButton
*result
= 0 ;
3897 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3899 if (!wxPyCheckForApp()) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (wxBitmapButton
*)new wxBitmapButton();
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3912 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
= 0;
3914 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3915 wxWindow
*arg2
= (wxWindow
*) 0 ;
3916 int arg3
= (int) -1 ;
3917 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3918 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3919 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3920 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3921 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3922 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3923 long arg7
= (long) wxBU_AUTODRAW
;
3924 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3925 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3926 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3927 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3943 bool temp9
= false ;
3944 PyObject
* obj0
= 0 ;
3945 PyObject
* obj1
= 0 ;
3946 PyObject
* obj2
= 0 ;
3947 PyObject
* obj3
= 0 ;
3948 PyObject
* obj4
= 0 ;
3949 PyObject
* obj5
= 0 ;
3950 PyObject
* obj6
= 0 ;
3951 PyObject
* obj7
= 0 ;
3952 PyObject
* obj8
= 0 ;
3953 char * kwnames
[] = {
3954 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3959 if (!SWIG_IsOK(res1
)) {
3960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3962 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3963 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3964 if (!SWIG_IsOK(res2
)) {
3965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3967 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3970 if (!SWIG_IsOK(ecode3
)) {
3971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3973 arg3
= static_cast< int >(val3
);
3976 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3977 if (!SWIG_IsOK(res4
)) {
3978 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3983 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3988 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3994 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3998 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3999 if (!SWIG_IsOK(ecode7
)) {
4000 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4002 arg7
= static_cast< long >(val7
);
4005 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4006 if (!SWIG_IsOK(res8
)) {
4007 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4012 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4016 arg9
= wxString_in_helper(obj8
);
4017 if (arg9
== NULL
) SWIG_fail
;
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4044 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4045 PyObject
*resultobj
= 0;
4046 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4050 PyObject
*swig_obj
[1] ;
4052 if (!args
) SWIG_fail
;
4054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4055 if (!SWIG_IsOK(res1
)) {
4056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4058 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 result
= (arg1
)->GetBitmapLabel();
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4072 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4073 PyObject
*resultobj
= 0;
4074 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4078 PyObject
*swig_obj
[1] ;
4080 if (!args
) SWIG_fail
;
4082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4083 if (!SWIG_IsOK(res1
)) {
4084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4086 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (arg1
)->GetBitmapDisabled();
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4100 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4101 PyObject
*resultobj
= 0;
4102 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4106 PyObject
*swig_obj
[1] ;
4108 if (!args
) SWIG_fail
;
4110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4111 if (!SWIG_IsOK(res1
)) {
4112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4114 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 result
= (arg1
)->GetBitmapFocus();
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4128 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4129 PyObject
*resultobj
= 0;
4130 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4134 PyObject
*swig_obj
[1] ;
4136 if (!args
) SWIG_fail
;
4138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4139 if (!SWIG_IsOK(res1
)) {
4140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4142 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 result
= (arg1
)->GetBitmapSelected();
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4156 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4157 PyObject
*resultobj
= 0;
4158 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4162 PyObject
*swig_obj
[1] ;
4164 if (!args
) SWIG_fail
;
4166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4167 if (!SWIG_IsOK(res1
)) {
4168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4170 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 result
= (arg1
)->GetBitmapHover();
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4184 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
= 0;
4186 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4187 wxBitmap
*arg2
= 0 ;
4192 PyObject
* obj0
= 0 ;
4193 PyObject
* obj1
= 0 ;
4194 char * kwnames
[] = {
4195 (char *) "self",(char *) "bitmap", NULL
4198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4200 if (!SWIG_IsOK(res1
)) {
4201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4203 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4205 if (!SWIG_IsOK(res2
)) {
4206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4211 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 resultobj
= SWIG_Py_Void();
4225 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
= 0;
4227 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4228 wxBitmap
*arg2
= 0 ;
4233 PyObject
* obj0
= 0 ;
4234 PyObject
* obj1
= 0 ;
4235 char * kwnames
[] = {
4236 (char *) "self",(char *) "bitmap", NULL
4239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4241 if (!SWIG_IsOK(res1
)) {
4242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4244 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4246 if (!SWIG_IsOK(res2
)) {
4247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4252 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4259 resultobj
= SWIG_Py_Void();
4266 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
*resultobj
= 0;
4268 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4269 wxBitmap
*arg2
= 0 ;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 char * kwnames
[] = {
4277 (char *) "self",(char *) "bitmap", NULL
4280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4282 if (!SWIG_IsOK(res1
)) {
4283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4285 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4286 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4287 if (!SWIG_IsOK(res2
)) {
4288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4293 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4300 resultobj
= SWIG_Py_Void();
4307 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
= 0;
4309 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4310 wxBitmap
*arg2
= 0 ;
4315 PyObject
* obj0
= 0 ;
4316 PyObject
* obj1
= 0 ;
4317 char * kwnames
[] = {
4318 (char *) "self",(char *) "bitmap", NULL
4321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4323 if (!SWIG_IsOK(res1
)) {
4324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4326 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4327 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4328 if (!SWIG_IsOK(res2
)) {
4329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4334 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4338 wxPyEndAllowThreads(__tstate
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4341 resultobj
= SWIG_Py_Void();
4348 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
= 0;
4350 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4351 wxBitmap
*arg2
= 0 ;
4356 PyObject
* obj0
= 0 ;
4357 PyObject
* obj1
= 0 ;
4358 char * kwnames
[] = {
4359 (char *) "self",(char *) "hover", NULL
4362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4364 if (!SWIG_IsOK(res1
)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4367 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4368 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4369 if (!SWIG_IsOK(res2
)) {
4370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4375 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4382 resultobj
= SWIG_Py_Void();
4389 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4390 PyObject
*resultobj
= 0;
4391 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4400 PyObject
* obj0
= 0 ;
4401 PyObject
* obj1
= 0 ;
4402 PyObject
* obj2
= 0 ;
4403 char * kwnames
[] = {
4404 (char *) "self",(char *) "x",(char *) "y", NULL
4407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4409 if (!SWIG_IsOK(res1
)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4412 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4414 if (!SWIG_IsOK(ecode2
)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4417 arg2
= static_cast< int >(val2
);
4418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4419 if (!SWIG_IsOK(ecode3
)) {
4420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4422 arg3
= static_cast< int >(val3
);
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 (arg1
)->SetMargins(arg2
,arg3
);
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4429 resultobj
= SWIG_Py_Void();
4436 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4437 PyObject
*resultobj
= 0;
4438 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4442 PyObject
*swig_obj
[1] ;
4444 if (!args
) SWIG_fail
;
4446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4447 if (!SWIG_IsOK(res1
)) {
4448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4450 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= SWIG_From_int(static_cast< int >(result
));
4464 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4465 PyObject
*resultobj
= 0;
4466 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4470 PyObject
*swig_obj
[1] ;
4472 if (!args
) SWIG_fail
;
4474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4475 if (!SWIG_IsOK(res1
)) {
4476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4478 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4481 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 resultobj
= SWIG_From_int(static_cast< int >(result
));
4492 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4495 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4496 return SWIG_Py_Void();
4499 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4500 return SWIG_Python_InitShadowInstance(args
);
4503 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4504 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4509 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4510 PyObject
*pyobj
= 0;
4514 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4516 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4523 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
= 0;
4525 wxWindow
*arg1
= (wxWindow
*) 0 ;
4526 int arg2
= (int) -1 ;
4527 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4528 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4529 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4530 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4531 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4532 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4533 long arg6
= (long) 0 ;
4534 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4535 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4536 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4537 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4538 wxCheckBox
*result
= 0 ;
4543 bool temp3
= false ;
4550 bool temp8
= false ;
4551 PyObject
* obj0
= 0 ;
4552 PyObject
* obj1
= 0 ;
4553 PyObject
* obj2
= 0 ;
4554 PyObject
* obj3
= 0 ;
4555 PyObject
* obj4
= 0 ;
4556 PyObject
* obj5
= 0 ;
4557 PyObject
* obj6
= 0 ;
4558 PyObject
* obj7
= 0 ;
4559 char * kwnames
[] = {
4560 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4565 if (!SWIG_IsOK(res1
)) {
4566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4568 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4571 if (!SWIG_IsOK(ecode2
)) {
4572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4574 arg2
= static_cast< int >(val2
);
4578 arg3
= wxString_in_helper(obj2
);
4579 if (arg3
== NULL
) SWIG_fail
;
4586 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4592 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4596 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4597 if (!SWIG_IsOK(ecode6
)) {
4598 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4600 arg6
= static_cast< long >(val6
);
4603 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4604 if (!SWIG_IsOK(res7
)) {
4605 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4610 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4614 arg8
= wxString_in_helper(obj7
);
4615 if (arg8
== NULL
) SWIG_fail
;
4620 if (!wxPyCheckForApp()) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4649 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4650 PyObject
*resultobj
= 0;
4651 wxCheckBox
*result
= 0 ;
4653 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4655 if (!wxPyCheckForApp()) SWIG_fail
;
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 result
= (wxCheckBox
*)new wxCheckBox();
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4668 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
= 0;
4670 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4671 wxWindow
*arg2
= (wxWindow
*) 0 ;
4672 int arg3
= (int) -1 ;
4673 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4674 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4675 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4676 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4677 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4678 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4679 long arg7
= (long) 0 ;
4680 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4681 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4682 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4683 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4691 bool temp4
= false ;
4698 bool temp9
= false ;
4699 PyObject
* obj0
= 0 ;
4700 PyObject
* obj1
= 0 ;
4701 PyObject
* obj2
= 0 ;
4702 PyObject
* obj3
= 0 ;
4703 PyObject
* obj4
= 0 ;
4704 PyObject
* obj5
= 0 ;
4705 PyObject
* obj6
= 0 ;
4706 PyObject
* obj7
= 0 ;
4707 PyObject
* obj8
= 0 ;
4708 char * kwnames
[] = {
4709 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4714 if (!SWIG_IsOK(res1
)) {
4715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4717 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4719 if (!SWIG_IsOK(res2
)) {
4720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4722 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4725 if (!SWIG_IsOK(ecode3
)) {
4726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4728 arg3
= static_cast< int >(val3
);
4732 arg4
= wxString_in_helper(obj3
);
4733 if (arg4
== NULL
) SWIG_fail
;
4740 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4746 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4750 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4751 if (!SWIG_IsOK(ecode7
)) {
4752 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4754 arg7
= static_cast< long >(val7
);
4757 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4758 if (!SWIG_IsOK(res8
)) {
4759 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4764 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4768 arg9
= wxString_in_helper(obj8
);
4769 if (arg9
== NULL
) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4804 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4805 PyObject
*resultobj
= 0;
4806 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4810 PyObject
*swig_obj
[1] ;
4812 if (!args
) SWIG_fail
;
4814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4815 if (!SWIG_IsOK(res1
)) {
4816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4818 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (bool)(arg1
)->GetValue();
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4834 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4835 PyObject
*resultobj
= 0;
4836 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4840 PyObject
*swig_obj
[1] ;
4842 if (!args
) SWIG_fail
;
4844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4845 if (!SWIG_IsOK(res1
)) {
4846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4848 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 result
= (bool)(arg1
)->IsChecked();
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4864 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
= 0;
4866 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4874 char * kwnames
[] = {
4875 (char *) "self",(char *) "state", NULL
4878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4880 if (!SWIG_IsOK(res1
)) {
4881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4883 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4884 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4885 if (!SWIG_IsOK(ecode2
)) {
4886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4888 arg2
= static_cast< bool >(val2
);
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 (arg1
)->SetValue(arg2
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 resultobj
= SWIG_Py_Void();
4902 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4903 PyObject
*resultobj
= 0;
4904 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4905 wxCheckBoxState result
;
4908 PyObject
*swig_obj
[1] ;
4910 if (!args
) SWIG_fail
;
4912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4913 if (!SWIG_IsOK(res1
)) {
4914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4916 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= SWIG_From_int(static_cast< int >(result
));
4930 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
*resultobj
= 0;
4932 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4933 wxCheckBoxState arg2
;
4938 PyObject
* obj0
= 0 ;
4939 PyObject
* obj1
= 0 ;
4940 char * kwnames
[] = {
4941 (char *) "self",(char *) "state", NULL
4944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4946 if (!SWIG_IsOK(res1
)) {
4947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4949 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4951 if (!SWIG_IsOK(ecode2
)) {
4952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4954 arg2
= static_cast< wxCheckBoxState
>(val2
);
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 (arg1
)->Set3StateValue(arg2
);
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4961 resultobj
= SWIG_Py_Void();
4968 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4969 PyObject
*resultobj
= 0;
4970 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4974 PyObject
*swig_obj
[1] ;
4976 if (!args
) SWIG_fail
;
4978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4979 if (!SWIG_IsOK(res1
)) {
4980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4982 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4998 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4999 PyObject
*resultobj
= 0;
5000 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5004 PyObject
*swig_obj
[1] ;
5006 if (!args
) SWIG_fail
;
5008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5009 if (!SWIG_IsOK(res1
)) {
5010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5012 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5028 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
= 0;
5030 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5031 SwigValueWrapper
<wxVisualAttributes
> result
;
5034 PyObject
* obj0
= 0 ;
5035 char * kwnames
[] = {
5036 (char *) "variant", NULL
5039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5041 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5042 if (!SWIG_IsOK(ecode1
)) {
5043 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5045 arg1
= static_cast< wxWindowVariant
>(val1
);
5048 if (!wxPyCheckForApp()) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5061 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5064 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5065 return SWIG_Py_Void();
5068 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5069 return SWIG_Python_InitShadowInstance(args
);
5072 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5073 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5078 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5079 PyObject
*pyobj
= 0;
5083 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5085 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5092 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
*resultobj
= 0;
5094 wxWindow
*arg1
= (wxWindow
*) 0 ;
5095 int arg2
= (int) -1 ;
5096 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5097 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5098 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5099 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5100 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5101 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5102 long arg6
= (long) 0 ;
5103 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5104 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5105 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5106 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5107 wxChoice
*result
= 0 ;
5114 bool temp5
= false ;
5119 bool temp8
= false ;
5120 PyObject
* obj0
= 0 ;
5121 PyObject
* obj1
= 0 ;
5122 PyObject
* obj2
= 0 ;
5123 PyObject
* obj3
= 0 ;
5124 PyObject
* obj4
= 0 ;
5125 PyObject
* obj5
= 0 ;
5126 PyObject
* obj6
= 0 ;
5127 PyObject
* obj7
= 0 ;
5128 char * kwnames
[] = {
5129 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5134 if (!SWIG_IsOK(res1
)) {
5135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5137 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5140 if (!SWIG_IsOK(ecode2
)) {
5141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5143 arg2
= static_cast< int >(val2
);
5148 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5154 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5159 if (! PySequence_Check(obj4
)) {
5160 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5163 arg5
= new wxArrayString
;
5165 int i
, len
=PySequence_Length(obj4
);
5166 for (i
=0; i
<len
; i
++) {
5167 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5168 wxString
* s
= wxString_in_helper(item
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5177 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5178 if (!SWIG_IsOK(ecode6
)) {
5179 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5181 arg6
= static_cast< long >(val6
);
5184 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5185 if (!SWIG_IsOK(res7
)) {
5186 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5191 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5195 arg8
= wxString_in_helper(obj7
);
5196 if (arg8
== NULL
) SWIG_fail
;
5201 if (!wxPyCheckForApp()) SWIG_fail
;
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5209 if (temp5
) delete arg5
;
5218 if (temp5
) delete arg5
;
5228 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5229 PyObject
*resultobj
= 0;
5230 wxChoice
*result
= 0 ;
5232 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5234 if (!wxPyCheckForApp()) SWIG_fail
;
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 result
= (wxChoice
*)new wxChoice();
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5247 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
= 0;
5249 wxChoice
*arg1
= (wxChoice
*) 0 ;
5250 wxWindow
*arg2
= (wxWindow
*) 0 ;
5251 int arg3
= (int) -1 ;
5252 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5253 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5254 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5255 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5256 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5257 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5258 long arg7
= (long) 0 ;
5259 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5260 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5261 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5262 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5272 bool temp6
= false ;
5277 bool temp9
= false ;
5278 PyObject
* obj0
= 0 ;
5279 PyObject
* obj1
= 0 ;
5280 PyObject
* obj2
= 0 ;
5281 PyObject
* obj3
= 0 ;
5282 PyObject
* obj4
= 0 ;
5283 PyObject
* obj5
= 0 ;
5284 PyObject
* obj6
= 0 ;
5285 PyObject
* obj7
= 0 ;
5286 PyObject
* obj8
= 0 ;
5287 char * kwnames
[] = {
5288 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5293 if (!SWIG_IsOK(res1
)) {
5294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5296 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5297 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5298 if (!SWIG_IsOK(res2
)) {
5299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5301 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5304 if (!SWIG_IsOK(ecode3
)) {
5305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5307 arg3
= static_cast< int >(val3
);
5312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5318 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5323 if (! PySequence_Check(obj5
)) {
5324 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5327 arg6
= new wxArrayString
;
5329 int i
, len
=PySequence_Length(obj5
);
5330 for (i
=0; i
<len
; i
++) {
5331 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5332 wxString
* s
= wxString_in_helper(item
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5341 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5342 if (!SWIG_IsOK(ecode7
)) {
5343 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5345 arg7
= static_cast< long >(val7
);
5348 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5349 if (!SWIG_IsOK(res8
)) {
5350 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5355 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5359 arg9
= wxString_in_helper(obj8
);
5360 if (arg9
== NULL
) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5374 if (temp6
) delete arg6
;
5383 if (temp6
) delete arg6
;
5393 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5394 PyObject
*resultobj
= 0;
5395 wxChoice
*arg1
= (wxChoice
*) 0 ;
5399 PyObject
*swig_obj
[1] ;
5401 if (!args
) SWIG_fail
;
5403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5404 if (!SWIG_IsOK(res1
)) {
5405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5407 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= SWIG_From_int(static_cast< int >(result
));
5421 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
= 0;
5423 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5424 SwigValueWrapper
<wxVisualAttributes
> result
;
5427 PyObject
* obj0
= 0 ;
5428 char * kwnames
[] = {
5429 (char *) "variant", NULL
5432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5434 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5435 if (!SWIG_IsOK(ecode1
)) {
5436 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5438 arg1
= static_cast< wxWindowVariant
>(val1
);
5441 if (!wxPyCheckForApp()) SWIG_fail
;
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5447 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5454 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5456 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5457 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5458 return SWIG_Py_Void();
5461 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5462 return SWIG_Python_InitShadowInstance(args
);
5465 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5466 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5471 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5472 PyObject
*pyobj
= 0;
5476 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5478 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5485 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
= 0;
5487 wxWindow
*arg1
= (wxWindow
*) 0 ;
5488 int arg2
= (int) -1 ;
5489 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5490 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5491 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5492 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5493 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5494 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5495 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5496 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5497 long arg7
= (long) 0 ;
5498 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5499 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5500 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5501 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5502 wxComboBox
*result
= 0 ;
5507 bool temp3
= false ;
5510 bool temp6
= false ;
5515 bool temp9
= false ;
5516 PyObject
* obj0
= 0 ;
5517 PyObject
* obj1
= 0 ;
5518 PyObject
* obj2
= 0 ;
5519 PyObject
* obj3
= 0 ;
5520 PyObject
* obj4
= 0 ;
5521 PyObject
* obj5
= 0 ;
5522 PyObject
* obj6
= 0 ;
5523 PyObject
* obj7
= 0 ;
5524 PyObject
* obj8
= 0 ;
5525 char * kwnames
[] = {
5526 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5531 if (!SWIG_IsOK(res1
)) {
5532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5534 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5537 if (!SWIG_IsOK(ecode2
)) {
5538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5540 arg2
= static_cast< int >(val2
);
5544 arg3
= wxString_in_helper(obj2
);
5545 if (arg3
== NULL
) SWIG_fail
;
5552 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5558 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5563 if (! PySequence_Check(obj5
)) {
5564 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5567 arg6
= new wxArrayString
;
5569 int i
, len
=PySequence_Length(obj5
);
5570 for (i
=0; i
<len
; i
++) {
5571 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5572 wxString
* s
= wxString_in_helper(item
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5581 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5582 if (!SWIG_IsOK(ecode7
)) {
5583 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5585 arg7
= static_cast< long >(val7
);
5588 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5589 if (!SWIG_IsOK(res8
)) {
5590 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5595 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5599 arg9
= wxString_in_helper(obj8
);
5600 if (arg9
== NULL
) SWIG_fail
;
5605 if (!wxPyCheckForApp()) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 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
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5617 if (temp6
) delete arg6
;
5630 if (temp6
) delete arg6
;
5640 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5641 PyObject
*resultobj
= 0;
5642 wxComboBox
*result
= 0 ;
5644 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5646 if (!wxPyCheckForApp()) SWIG_fail
;
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= (wxComboBox
*)new wxComboBox();
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5659 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
= 0;
5661 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5662 wxWindow
*arg2
= (wxWindow
*) 0 ;
5663 int arg3
= (int) -1 ;
5664 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5665 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5666 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5667 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5668 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5669 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5670 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5671 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5672 long arg8
= (long) 0 ;
5673 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5674 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5675 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5676 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5684 bool temp4
= false ;
5687 bool temp7
= false ;
5692 bool temp10
= false ;
5693 PyObject
* obj0
= 0 ;
5694 PyObject
* obj1
= 0 ;
5695 PyObject
* obj2
= 0 ;
5696 PyObject
* obj3
= 0 ;
5697 PyObject
* obj4
= 0 ;
5698 PyObject
* obj5
= 0 ;
5699 PyObject
* obj6
= 0 ;
5700 PyObject
* obj7
= 0 ;
5701 PyObject
* obj8
= 0 ;
5702 PyObject
* obj9
= 0 ;
5703 char * kwnames
[] = {
5704 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5709 if (!SWIG_IsOK(res1
)) {
5710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5712 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5714 if (!SWIG_IsOK(res2
)) {
5715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5717 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5720 if (!SWIG_IsOK(ecode3
)) {
5721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5723 arg3
= static_cast< int >(val3
);
5727 arg4
= wxString_in_helper(obj3
);
5728 if (arg4
== NULL
) SWIG_fail
;
5735 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5741 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5746 if (! PySequence_Check(obj6
)) {
5747 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5750 arg7
= new wxArrayString
;
5752 int i
, len
=PySequence_Length(obj6
);
5753 for (i
=0; i
<len
; i
++) {
5754 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5755 wxString
* s
= wxString_in_helper(item
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5764 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5765 if (!SWIG_IsOK(ecode8
)) {
5766 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5768 arg8
= static_cast< long >(val8
);
5771 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5772 if (!SWIG_IsOK(res9
)) {
5773 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5778 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5782 arg10
= wxString_in_helper(obj9
);
5783 if (arg10
== NULL
) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 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
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5801 if (temp7
) delete arg7
;
5814 if (temp7
) delete arg7
;
5824 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5825 PyObject
*resultobj
= 0;
5826 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5830 PyObject
*swig_obj
[1] ;
5832 if (!args
) SWIG_fail
;
5834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5835 if (!SWIG_IsOK(res1
)) {
5836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5838 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 result
= ((wxComboBox
const *)arg1
)->GetValue();
5842 wxPyEndAllowThreads(__tstate
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5858 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
= 0;
5860 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5861 wxString
*arg2
= 0 ;
5864 bool temp2
= false ;
5865 PyObject
* obj0
= 0 ;
5866 PyObject
* obj1
= 0 ;
5867 char * kwnames
[] = {
5868 (char *) "self",(char *) "value", NULL
5871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5873 if (!SWIG_IsOK(res1
)) {
5874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5876 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5878 arg2
= wxString_in_helper(obj1
);
5879 if (arg2
== NULL
) SWIG_fail
;
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 (arg1
)->SetValue((wxString
const &)*arg2
);
5885 wxPyEndAllowThreads(__tstate
);
5886 if (PyErr_Occurred()) SWIG_fail
;
5888 resultobj
= SWIG_Py_Void();
5903 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5904 PyObject
*resultobj
= 0;
5905 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5908 PyObject
*swig_obj
[1] ;
5910 if (!args
) SWIG_fail
;
5912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5913 if (!SWIG_IsOK(res1
)) {
5914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5916 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= SWIG_Py_Void();
5930 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5931 PyObject
*resultobj
= 0;
5932 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5935 PyObject
*swig_obj
[1] ;
5937 if (!args
) SWIG_fail
;
5939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5940 if (!SWIG_IsOK(res1
)) {
5941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5943 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= SWIG_Py_Void();
5957 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5958 PyObject
*resultobj
= 0;
5959 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5962 PyObject
*swig_obj
[1] ;
5964 if (!args
) SWIG_fail
;
5966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5967 if (!SWIG_IsOK(res1
)) {
5968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5970 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_Py_Void();
5984 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
= 0;
5986 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5992 PyObject
* obj0
= 0 ;
5993 PyObject
* obj1
= 0 ;
5994 char * kwnames
[] = {
5995 (char *) "self",(char *) "pos", NULL
5998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6000 if (!SWIG_IsOK(res1
)) {
6001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6003 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6004 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6005 if (!SWIG_IsOK(ecode2
)) {
6006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6008 arg2
= static_cast< long >(val2
);
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 (arg1
)->SetInsertionPoint(arg2
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= SWIG_Py_Void();
6022 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6023 PyObject
*resultobj
= 0;
6024 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6028 PyObject
*swig_obj
[1] ;
6030 if (!args
) SWIG_fail
;
6032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6033 if (!SWIG_IsOK(res1
)) {
6034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6036 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= SWIG_From_long(static_cast< long >(result
));
6050 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6051 PyObject
*resultobj
= 0;
6052 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6056 PyObject
*swig_obj
[1] ;
6058 if (!args
) SWIG_fail
;
6060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6061 if (!SWIG_IsOK(res1
)) {
6062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6064 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6071 resultobj
= SWIG_From_long(static_cast< long >(result
));
6078 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
*resultobj
= 0;
6080 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6083 wxString
*arg4
= 0 ;
6090 bool temp4
= false ;
6091 PyObject
* obj0
= 0 ;
6092 PyObject
* obj1
= 0 ;
6093 PyObject
* obj2
= 0 ;
6094 PyObject
* obj3
= 0 ;
6095 char * kwnames
[] = {
6096 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6101 if (!SWIG_IsOK(res1
)) {
6102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6104 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6105 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6106 if (!SWIG_IsOK(ecode2
)) {
6107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6109 arg2
= static_cast< long >(val2
);
6110 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6111 if (!SWIG_IsOK(ecode3
)) {
6112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6114 arg3
= static_cast< long >(val3
);
6116 arg4
= wxString_in_helper(obj3
);
6117 if (arg4
== NULL
) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6126 resultobj
= SWIG_Py_Void();
6141 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
*resultobj
= 0;
6143 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6154 PyObject
* obj2
= 0 ;
6155 char * kwnames
[] = {
6156 (char *) "self",(char *) "from",(char *) "to", NULL
6159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6161 if (!SWIG_IsOK(res1
)) {
6162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6164 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6165 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6166 if (!SWIG_IsOK(ecode2
)) {
6167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6169 arg2
= static_cast< long >(val2
);
6170 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6171 if (!SWIG_IsOK(ecode3
)) {
6172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6174 arg3
= static_cast< long >(val3
);
6176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 (arg1
)->SetSelection(arg2
,arg3
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= SWIG_Py_Void();
6188 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6189 PyObject
*resultobj
= 0;
6190 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6191 long *arg2
= (long *) 0 ;
6192 long *arg3
= (long *) 0 ;
6196 int res2
= SWIG_TMPOBJ
;
6198 int res3
= SWIG_TMPOBJ
;
6199 PyObject
*swig_obj
[1] ;
6203 if (!args
) SWIG_fail
;
6205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6206 if (!SWIG_IsOK(res1
)) {
6207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6209 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 (arg1
)->GetSelection(arg2
,arg3
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 resultobj
= SWIG_Py_Void();
6217 if (SWIG_IsTmpObj(res2
)) {
6218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6220 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6223 if (SWIG_IsTmpObj(res3
)) {
6224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6226 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6235 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6236 PyObject
*resultobj
= 0;
6237 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6241 PyObject
*swig_obj
[1] ;
6243 if (!args
) SWIG_fail
;
6245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6246 if (!SWIG_IsOK(res1
)) {
6247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6249 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6256 resultobj
= SWIG_From_int(static_cast< int >(result
));
6263 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
= 0;
6265 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6266 wxString
*arg2
= 0 ;
6270 bool temp2
= false ;
6271 PyObject
* obj0
= 0 ;
6272 PyObject
* obj1
= 0 ;
6273 char * kwnames
[] = {
6274 (char *) "self",(char *) "string", NULL
6277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6279 if (!SWIG_IsOK(res1
)) {
6280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6282 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6284 arg2
= wxString_in_helper(obj1
);
6285 if (arg2
== NULL
) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6311 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
*resultobj
= 0;
6313 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6315 wxString
*arg3
= 0 ;
6320 bool temp3
= false ;
6321 PyObject
* obj0
= 0 ;
6322 PyObject
* obj1
= 0 ;
6323 PyObject
* obj2
= 0 ;
6324 char * kwnames
[] = {
6325 (char *) "self",(char *) "n",(char *) "string", NULL
6328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6330 if (!SWIG_IsOK(res1
)) {
6331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6333 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6335 if (!SWIG_IsOK(ecode2
)) {
6336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6338 arg2
= static_cast< int >(val2
);
6340 arg3
= wxString_in_helper(obj2
);
6341 if (arg3
== NULL
) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 resultobj
= SWIG_Py_Void();
6365 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
= 0;
6367 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6373 PyObject
* obj0
= 0 ;
6374 PyObject
* obj1
= 0 ;
6375 char * kwnames
[] = {
6376 (char *) "self",(char *) "editable", NULL
6379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6381 if (!SWIG_IsOK(res1
)) {
6382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6384 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6385 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6386 if (!SWIG_IsOK(ecode2
)) {
6387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6389 arg2
= static_cast< bool >(val2
);
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 (arg1
)->SetEditable(arg2
);
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= SWIG_Py_Void();
6403 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6404 PyObject
*resultobj
= 0;
6405 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6408 PyObject
*swig_obj
[1] ;
6410 if (!args
) SWIG_fail
;
6412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6413 if (!SWIG_IsOK(res1
)) {
6414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6416 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 (arg1
)->SetInsertionPointEnd();
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= SWIG_Py_Void();
6430 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
= 0;
6432 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6441 PyObject
* obj0
= 0 ;
6442 PyObject
* obj1
= 0 ;
6443 PyObject
* obj2
= 0 ;
6444 char * kwnames
[] = {
6445 (char *) "self",(char *) "from",(char *) "to", NULL
6448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6450 if (!SWIG_IsOK(res1
)) {
6451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6453 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6454 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6455 if (!SWIG_IsOK(ecode2
)) {
6456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6458 arg2
= static_cast< long >(val2
);
6459 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6460 if (!SWIG_IsOK(ecode3
)) {
6461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6463 arg3
= static_cast< long >(val3
);
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 (arg1
)->Remove(arg2
,arg3
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= SWIG_Py_Void();
6477 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6478 PyObject
*resultobj
= 0;
6479 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6483 PyObject
*swig_obj
[1] ;
6485 if (!args
) SWIG_fail
;
6487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6488 if (!SWIG_IsOK(res1
)) {
6489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6491 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6507 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6508 PyObject
*resultobj
= 0;
6509 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6512 PyObject
*swig_obj
[1] ;
6514 if (!args
) SWIG_fail
;
6516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6517 if (!SWIG_IsOK(res1
)) {
6518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6520 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 resultobj
= SWIG_Py_Void();
6534 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6535 PyObject
*resultobj
= 0;
6536 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_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6547 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= SWIG_Py_Void();
6561 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6562 PyObject
*resultobj
= 0;
6563 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6566 PyObject
*swig_obj
[1] ;
6568 if (!args
) SWIG_fail
;
6570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6571 if (!SWIG_IsOK(res1
)) {
6572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6574 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 (arg1
)->SelectAll();
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 resultobj
= SWIG_Py_Void();
6588 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6589 PyObject
*resultobj
= 0;
6590 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6594 PyObject
*swig_obj
[1] ;
6596 if (!args
) SWIG_fail
;
6598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6599 if (!SWIG_IsOK(res1
)) {
6600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6602 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6618 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6619 PyObject
*resultobj
= 0;
6620 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6624 PyObject
*swig_obj
[1] ;
6626 if (!args
) SWIG_fail
;
6628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6629 if (!SWIG_IsOK(res1
)) {
6630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6632 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6648 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6649 PyObject
*resultobj
= 0;
6650 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6654 PyObject
*swig_obj
[1] ;
6656 if (!args
) SWIG_fail
;
6658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6659 if (!SWIG_IsOK(res1
)) {
6660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6662 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6678 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6679 PyObject
*resultobj
= 0;
6680 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6684 PyObject
*swig_obj
[1] ;
6686 if (!args
) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6692 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6708 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6709 PyObject
*resultobj
= 0;
6710 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6714 PyObject
*swig_obj
[1] ;
6716 if (!args
) SWIG_fail
;
6718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6719 if (!SWIG_IsOK(res1
)) {
6720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6722 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6738 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
= 0;
6740 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6741 SwigValueWrapper
<wxVisualAttributes
> result
;
6744 PyObject
* obj0
= 0 ;
6745 char * kwnames
[] = {
6746 (char *) "variant", NULL
6749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6751 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6752 if (!SWIG_IsOK(ecode1
)) {
6753 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6755 arg1
= static_cast< wxWindowVariant
>(val1
);
6758 if (!wxPyCheckForApp()) SWIG_fail
;
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6771 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6773 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6774 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6775 return SWIG_Py_Void();
6778 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6779 return SWIG_Python_InitShadowInstance(args
);
6782 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6783 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6788 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6789 PyObject
*pyobj
= 0;
6793 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6795 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6802 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
= 0;
6804 wxWindow
*arg1
= (wxWindow
*) 0 ;
6805 int arg2
= (int) -1 ;
6806 int arg3
= (int) 100 ;
6807 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6808 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6809 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6810 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6811 long arg6
= (long) wxGA_HORIZONTAL
;
6812 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6813 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6814 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6815 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6816 wxGauge
*result
= 0 ;
6829 bool temp8
= false ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6832 PyObject
* obj2
= 0 ;
6833 PyObject
* obj3
= 0 ;
6834 PyObject
* obj4
= 0 ;
6835 PyObject
* obj5
= 0 ;
6836 PyObject
* obj6
= 0 ;
6837 PyObject
* obj7
= 0 ;
6838 char * kwnames
[] = {
6839 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6844 if (!SWIG_IsOK(res1
)) {
6845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6847 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6850 if (!SWIG_IsOK(ecode2
)) {
6851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6853 arg2
= static_cast< int >(val2
);
6856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6857 if (!SWIG_IsOK(ecode3
)) {
6858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6860 arg3
= static_cast< int >(val3
);
6865 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6871 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6875 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6876 if (!SWIG_IsOK(ecode6
)) {
6877 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6879 arg6
= static_cast< long >(val6
);
6882 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6883 if (!SWIG_IsOK(res7
)) {
6884 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6889 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6893 arg8
= wxString_in_helper(obj7
);
6894 if (arg8
== NULL
) SWIG_fail
;
6899 if (!wxPyCheckForApp()) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6920 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6921 PyObject
*resultobj
= 0;
6922 wxGauge
*result
= 0 ;
6924 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6926 if (!wxPyCheckForApp()) SWIG_fail
;
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 result
= (wxGauge
*)new wxGauge();
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6939 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
= 0;
6941 wxGauge
*arg1
= (wxGauge
*) 0 ;
6942 wxWindow
*arg2
= (wxWindow
*) 0 ;
6943 int arg3
= (int) -1 ;
6944 int arg4
= (int) 100 ;
6945 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6946 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6947 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6948 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6949 long arg7
= (long) wxGA_HORIZONTAL
;
6950 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6951 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6952 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6953 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6969 bool temp9
= false ;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6972 PyObject
* obj2
= 0 ;
6973 PyObject
* obj3
= 0 ;
6974 PyObject
* obj4
= 0 ;
6975 PyObject
* obj5
= 0 ;
6976 PyObject
* obj6
= 0 ;
6977 PyObject
* obj7
= 0 ;
6978 PyObject
* obj8
= 0 ;
6979 char * kwnames
[] = {
6980 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6985 if (!SWIG_IsOK(res1
)) {
6986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6988 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6989 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6990 if (!SWIG_IsOK(res2
)) {
6991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6993 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6996 if (!SWIG_IsOK(ecode3
)) {
6997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6999 arg3
= static_cast< int >(val3
);
7002 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7003 if (!SWIG_IsOK(ecode4
)) {
7004 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7006 arg4
= static_cast< int >(val4
);
7011 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7017 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7021 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7022 if (!SWIG_IsOK(ecode7
)) {
7023 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7025 arg7
= static_cast< long >(val7
);
7028 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7029 if (!SWIG_IsOK(res8
)) {
7030 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7035 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7039 arg9
= wxString_in_helper(obj8
);
7040 if (arg9
== NULL
) SWIG_fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7067 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
= 0;
7069 wxGauge
*arg1
= (wxGauge
*) 0 ;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7077 char * kwnames
[] = {
7078 (char *) "self",(char *) "range", NULL
7081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7083 if (!SWIG_IsOK(res1
)) {
7084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7086 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7088 if (!SWIG_IsOK(ecode2
)) {
7089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7091 arg2
= static_cast< int >(val2
);
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 (arg1
)->SetRange(arg2
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= SWIG_Py_Void();
7105 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7106 PyObject
*resultobj
= 0;
7107 wxGauge
*arg1
= (wxGauge
*) 0 ;
7111 PyObject
*swig_obj
[1] ;
7113 if (!args
) SWIG_fail
;
7115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7116 if (!SWIG_IsOK(res1
)) {
7117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7119 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 resultobj
= SWIG_From_int(static_cast< int >(result
));
7133 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
= 0;
7135 wxGauge
*arg1
= (wxGauge
*) 0 ;
7141 PyObject
* obj0
= 0 ;
7142 PyObject
* obj1
= 0 ;
7143 char * kwnames
[] = {
7144 (char *) "self",(char *) "pos", NULL
7147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7149 if (!SWIG_IsOK(res1
)) {
7150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7152 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7154 if (!SWIG_IsOK(ecode2
)) {
7155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7157 arg2
= static_cast< int >(val2
);
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 (arg1
)->SetValue(arg2
);
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7164 resultobj
= SWIG_Py_Void();
7171 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7172 PyObject
*resultobj
= 0;
7173 wxGauge
*arg1
= (wxGauge
*) 0 ;
7177 PyObject
*swig_obj
[1] ;
7179 if (!args
) SWIG_fail
;
7181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7182 if (!SWIG_IsOK(res1
)) {
7183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7185 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= SWIG_From_int(static_cast< int >(result
));
7199 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7200 PyObject
*resultobj
= 0;
7201 wxGauge
*arg1
= (wxGauge
*) 0 ;
7204 PyObject
*swig_obj
[1] ;
7206 if (!args
) SWIG_fail
;
7208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7209 if (!SWIG_IsOK(res1
)) {
7210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7212 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= SWIG_Py_Void();
7226 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7227 PyObject
*resultobj
= 0;
7228 wxGauge
*arg1
= (wxGauge
*) 0 ;
7232 PyObject
*swig_obj
[1] ;
7234 if (!args
) SWIG_fail
;
7236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7237 if (!SWIG_IsOK(res1
)) {
7238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7240 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7256 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
= 0;
7258 wxGauge
*arg1
= (wxGauge
*) 0 ;
7264 PyObject
* obj0
= 0 ;
7265 PyObject
* obj1
= 0 ;
7266 char * kwnames
[] = {
7267 (char *) "self",(char *) "w", NULL
7270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7272 if (!SWIG_IsOK(res1
)) {
7273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7275 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7277 if (!SWIG_IsOK(ecode2
)) {
7278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7280 arg2
= static_cast< int >(val2
);
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 (arg1
)->SetShadowWidth(arg2
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7287 resultobj
= SWIG_Py_Void();
7294 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7295 PyObject
*resultobj
= 0;
7296 wxGauge
*arg1
= (wxGauge
*) 0 ;
7300 PyObject
*swig_obj
[1] ;
7302 if (!args
) SWIG_fail
;
7304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7305 if (!SWIG_IsOK(res1
)) {
7306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7308 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= SWIG_From_int(static_cast< int >(result
));
7322 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
= 0;
7324 wxGauge
*arg1
= (wxGauge
*) 0 ;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7332 char * kwnames
[] = {
7333 (char *) "self",(char *) "w", NULL
7336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7338 if (!SWIG_IsOK(res1
)) {
7339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7341 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7343 if (!SWIG_IsOK(ecode2
)) {
7344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7346 arg2
= static_cast< int >(val2
);
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 (arg1
)->SetBezelFace(arg2
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= SWIG_Py_Void();
7360 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7361 PyObject
*resultobj
= 0;
7362 wxGauge
*arg1
= (wxGauge
*) 0 ;
7366 PyObject
*swig_obj
[1] ;
7368 if (!args
) SWIG_fail
;
7370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7371 if (!SWIG_IsOK(res1
)) {
7372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7374 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= SWIG_From_int(static_cast< int >(result
));
7388 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
= 0;
7390 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7391 SwigValueWrapper
<wxVisualAttributes
> result
;
7394 PyObject
* obj0
= 0 ;
7395 char * kwnames
[] = {
7396 (char *) "variant", NULL
7399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7401 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7402 if (!SWIG_IsOK(ecode1
)) {
7403 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7405 arg1
= static_cast< wxWindowVariant
>(val1
);
7408 if (!wxPyCheckForApp()) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7421 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7424 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7425 return SWIG_Py_Void();
7428 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7429 return SWIG_Python_InitShadowInstance(args
);
7432 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7433 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7438 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7439 PyObject
*pyobj
= 0;
7443 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7445 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7452 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7453 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7458 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7459 PyObject
*pyobj
= 0;
7463 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7465 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7472 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7473 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7478 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7479 PyObject
*pyobj
= 0;
7483 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7485 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7492 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
= 0;
7494 wxWindow
*arg1
= (wxWindow
*) 0 ;
7495 int arg2
= (int) -1 ;
7496 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7497 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7498 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7499 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7500 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7501 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7502 long arg6
= (long) 0 ;
7503 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7504 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7505 wxStaticBox
*result
= 0 ;
7510 bool temp3
= false ;
7515 bool temp7
= false ;
7516 PyObject
* obj0
= 0 ;
7517 PyObject
* obj1
= 0 ;
7518 PyObject
* obj2
= 0 ;
7519 PyObject
* obj3
= 0 ;
7520 PyObject
* obj4
= 0 ;
7521 PyObject
* obj5
= 0 ;
7522 PyObject
* obj6
= 0 ;
7523 char * kwnames
[] = {
7524 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7529 if (!SWIG_IsOK(res1
)) {
7530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7532 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7535 if (!SWIG_IsOK(ecode2
)) {
7536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7538 arg2
= static_cast< int >(val2
);
7542 arg3
= wxString_in_helper(obj2
);
7543 if (arg3
== NULL
) SWIG_fail
;
7550 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7556 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7560 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7561 if (!SWIG_IsOK(ecode6
)) {
7562 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7564 arg6
= static_cast< long >(val6
);
7568 arg7
= wxString_in_helper(obj6
);
7569 if (arg7
== NULL
) SWIG_fail
;
7574 if (!wxPyCheckForApp()) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7603 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7604 PyObject
*resultobj
= 0;
7605 wxStaticBox
*result
= 0 ;
7607 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7609 if (!wxPyCheckForApp()) SWIG_fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 result
= (wxStaticBox
*)new wxStaticBox();
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7622 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
= 0;
7624 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7625 wxWindow
*arg2
= (wxWindow
*) 0 ;
7626 int arg3
= (int) -1 ;
7627 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7628 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7629 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7630 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7631 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7632 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7633 long arg7
= (long) 0 ;
7634 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7635 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7643 bool temp4
= false ;
7648 bool temp8
= false ;
7649 PyObject
* obj0
= 0 ;
7650 PyObject
* obj1
= 0 ;
7651 PyObject
* obj2
= 0 ;
7652 PyObject
* obj3
= 0 ;
7653 PyObject
* obj4
= 0 ;
7654 PyObject
* obj5
= 0 ;
7655 PyObject
* obj6
= 0 ;
7656 PyObject
* obj7
= 0 ;
7657 char * kwnames
[] = {
7658 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7663 if (!SWIG_IsOK(res1
)) {
7664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7666 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7667 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7668 if (!SWIG_IsOK(res2
)) {
7669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7671 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7674 if (!SWIG_IsOK(ecode3
)) {
7675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7677 arg3
= static_cast< int >(val3
);
7681 arg4
= wxString_in_helper(obj3
);
7682 if (arg4
== NULL
) SWIG_fail
;
7689 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7695 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7699 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7700 if (!SWIG_IsOK(ecode7
)) {
7701 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7703 arg7
= static_cast< long >(val7
);
7707 arg8
= wxString_in_helper(obj7
);
7708 if (arg8
== NULL
) SWIG_fail
;
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7743 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
= 0;
7745 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7746 SwigValueWrapper
<wxVisualAttributes
> result
;
7749 PyObject
* obj0
= 0 ;
7750 char * kwnames
[] = {
7751 (char *) "variant", NULL
7754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7756 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7757 if (!SWIG_IsOK(ecode1
)) {
7758 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7760 arg1
= static_cast< wxWindowVariant
>(val1
);
7763 if (!wxPyCheckForApp()) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7776 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7778 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7779 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7780 return SWIG_Py_Void();
7783 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7784 return SWIG_Python_InitShadowInstance(args
);
7787 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
= 0;
7789 wxWindow
*arg1
= (wxWindow
*) 0 ;
7790 int arg2
= (int) -1 ;
7791 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7792 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7793 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7794 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7795 long arg5
= (long) wxLI_HORIZONTAL
;
7796 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7797 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7798 wxStaticLine
*result
= 0 ;
7807 bool temp6
= false ;
7808 PyObject
* obj0
= 0 ;
7809 PyObject
* obj1
= 0 ;
7810 PyObject
* obj2
= 0 ;
7811 PyObject
* obj3
= 0 ;
7812 PyObject
* obj4
= 0 ;
7813 PyObject
* obj5
= 0 ;
7814 char * kwnames
[] = {
7815 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7820 if (!SWIG_IsOK(res1
)) {
7821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7823 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7826 if (!SWIG_IsOK(ecode2
)) {
7827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7829 arg2
= static_cast< int >(val2
);
7834 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7840 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7844 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7845 if (!SWIG_IsOK(ecode5
)) {
7846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7848 arg5
= static_cast< long >(val5
);
7852 arg6
= wxString_in_helper(obj5
);
7853 if (arg6
== NULL
) SWIG_fail
;
7858 if (!wxPyCheckForApp()) SWIG_fail
;
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7879 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7880 PyObject
*resultobj
= 0;
7881 wxStaticLine
*result
= 0 ;
7883 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7885 if (!wxPyCheckForApp()) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 result
= (wxStaticLine
*)new wxStaticLine();
7888 wxPyEndAllowThreads(__tstate
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7898 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7899 PyObject
*resultobj
= 0;
7900 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7901 wxWindow
*arg2
= (wxWindow
*) 0 ;
7902 int arg3
= (int) -1 ;
7903 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7904 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7905 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7906 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7907 long arg6
= (long) wxLI_HORIZONTAL
;
7908 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7909 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7921 bool temp7
= false ;
7922 PyObject
* obj0
= 0 ;
7923 PyObject
* obj1
= 0 ;
7924 PyObject
* obj2
= 0 ;
7925 PyObject
* obj3
= 0 ;
7926 PyObject
* obj4
= 0 ;
7927 PyObject
* obj5
= 0 ;
7928 PyObject
* obj6
= 0 ;
7929 char * kwnames
[] = {
7930 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7935 if (!SWIG_IsOK(res1
)) {
7936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7938 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7940 if (!SWIG_IsOK(res2
)) {
7941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7943 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7946 if (!SWIG_IsOK(ecode3
)) {
7947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7949 arg3
= static_cast< int >(val3
);
7954 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7960 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7964 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7965 if (!SWIG_IsOK(ecode6
)) {
7966 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7968 arg6
= static_cast< long >(val6
);
7972 arg7
= wxString_in_helper(obj6
);
7973 if (arg7
== NULL
) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8000 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8001 PyObject
*resultobj
= 0;
8002 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
8006 PyObject
*swig_obj
[1] ;
8008 if (!args
) SWIG_fail
;
8010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
8011 if (!SWIG_IsOK(res1
)) {
8012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8014 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8030 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8031 PyObject
*resultobj
= 0;
8034 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 result
= (int)wxStaticLine::GetDefaultSize();
8038 wxPyEndAllowThreads(__tstate
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= SWIG_From_int(static_cast< int >(result
));
8048 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
= 0;
8050 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8051 SwigValueWrapper
<wxVisualAttributes
> result
;
8054 PyObject
* obj0
= 0 ;
8055 char * kwnames
[] = {
8056 (char *) "variant", NULL
8059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8061 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8062 if (!SWIG_IsOK(ecode1
)) {
8063 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8065 arg1
= static_cast< wxWindowVariant
>(val1
);
8068 if (!wxPyCheckForApp()) SWIG_fail
;
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8081 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8083 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8084 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8085 return SWIG_Py_Void();
8088 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8089 return SWIG_Python_InitShadowInstance(args
);
8092 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
= 0;
8094 wxWindow
*arg1
= (wxWindow
*) 0 ;
8095 int arg2
= (int) -1 ;
8096 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8097 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8098 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8099 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8100 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8101 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8102 long arg6
= (long) 0 ;
8103 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8104 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8105 wxStaticText
*result
= 0 ;
8110 bool temp3
= false ;
8115 bool temp7
= false ;
8116 PyObject
* obj0
= 0 ;
8117 PyObject
* obj1
= 0 ;
8118 PyObject
* obj2
= 0 ;
8119 PyObject
* obj3
= 0 ;
8120 PyObject
* obj4
= 0 ;
8121 PyObject
* obj5
= 0 ;
8122 PyObject
* obj6
= 0 ;
8123 char * kwnames
[] = {
8124 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8129 if (!SWIG_IsOK(res1
)) {
8130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8132 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8135 if (!SWIG_IsOK(ecode2
)) {
8136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8138 arg2
= static_cast< int >(val2
);
8142 arg3
= wxString_in_helper(obj2
);
8143 if (arg3
== NULL
) SWIG_fail
;
8150 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8156 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8160 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8161 if (!SWIG_IsOK(ecode6
)) {
8162 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8164 arg6
= static_cast< long >(val6
);
8168 arg7
= wxString_in_helper(obj6
);
8169 if (arg7
== NULL
) SWIG_fail
;
8174 if (!wxPyCheckForApp()) SWIG_fail
;
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8203 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8204 PyObject
*resultobj
= 0;
8205 wxStaticText
*result
= 0 ;
8207 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8209 if (!wxPyCheckForApp()) SWIG_fail
;
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 result
= (wxStaticText
*)new wxStaticText();
8212 wxPyEndAllowThreads(__tstate
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8222 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
= 0;
8224 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8225 wxWindow
*arg2
= (wxWindow
*) 0 ;
8226 int arg3
= (int) -1 ;
8227 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8228 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8229 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8230 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8231 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8232 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8233 long arg7
= (long) 0 ;
8234 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8235 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8243 bool temp4
= false ;
8248 bool temp8
= false ;
8249 PyObject
* obj0
= 0 ;
8250 PyObject
* obj1
= 0 ;
8251 PyObject
* obj2
= 0 ;
8252 PyObject
* obj3
= 0 ;
8253 PyObject
* obj4
= 0 ;
8254 PyObject
* obj5
= 0 ;
8255 PyObject
* obj6
= 0 ;
8256 PyObject
* obj7
= 0 ;
8257 char * kwnames
[] = {
8258 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8263 if (!SWIG_IsOK(res1
)) {
8264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8266 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8268 if (!SWIG_IsOK(res2
)) {
8269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8271 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8274 if (!SWIG_IsOK(ecode3
)) {
8275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8277 arg3
= static_cast< int >(val3
);
8281 arg4
= wxString_in_helper(obj3
);
8282 if (arg4
== NULL
) SWIG_fail
;
8289 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8295 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8299 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8300 if (!SWIG_IsOK(ecode7
)) {
8301 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8303 arg7
= static_cast< long >(val7
);
8307 arg8
= wxString_in_helper(obj7
);
8308 if (arg8
== NULL
) SWIG_fail
;
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8343 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
= 0;
8345 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8351 PyObject
* obj0
= 0 ;
8352 PyObject
* obj1
= 0 ;
8353 char * kwnames
[] = {
8354 (char *) "self",(char *) "width", NULL
8357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8359 if (!SWIG_IsOK(res1
)) {
8360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8362 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8364 if (!SWIG_IsOK(ecode2
)) {
8365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8367 arg2
= static_cast< int >(val2
);
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8374 resultobj
= SWIG_Py_Void();
8381 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
= 0;
8383 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8384 SwigValueWrapper
<wxVisualAttributes
> result
;
8387 PyObject
* obj0
= 0 ;
8388 char * kwnames
[] = {
8389 (char *) "variant", NULL
8392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8394 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8395 if (!SWIG_IsOK(ecode1
)) {
8396 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8398 arg1
= static_cast< wxWindowVariant
>(val1
);
8401 if (!wxPyCheckForApp()) SWIG_fail
;
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8404 wxPyEndAllowThreads(__tstate
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8407 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8414 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8417 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8418 return SWIG_Py_Void();
8421 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8422 return SWIG_Python_InitShadowInstance(args
);
8425 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
= 0;
8427 wxWindow
*arg1
= (wxWindow
*) 0 ;
8428 int arg2
= (int) -1 ;
8429 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8430 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8431 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8432 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8433 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8434 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8435 long arg6
= (long) 0 ;
8436 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8437 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8438 wxStaticBitmap
*result
= 0 ;
8449 bool temp7
= false ;
8450 PyObject
* obj0
= 0 ;
8451 PyObject
* obj1
= 0 ;
8452 PyObject
* obj2
= 0 ;
8453 PyObject
* obj3
= 0 ;
8454 PyObject
* obj4
= 0 ;
8455 PyObject
* obj5
= 0 ;
8456 PyObject
* obj6
= 0 ;
8457 char * kwnames
[] = {
8458 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8463 if (!SWIG_IsOK(res1
)) {
8464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8466 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8469 if (!SWIG_IsOK(ecode2
)) {
8470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8472 arg2
= static_cast< int >(val2
);
8475 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8476 if (!SWIG_IsOK(res3
)) {
8477 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8482 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8487 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8493 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8497 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8498 if (!SWIG_IsOK(ecode6
)) {
8499 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8501 arg6
= static_cast< long >(val6
);
8505 arg7
= wxString_in_helper(obj6
);
8506 if (arg7
== NULL
) SWIG_fail
;
8511 if (!wxPyCheckForApp()) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8532 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8533 PyObject
*resultobj
= 0;
8534 wxStaticBitmap
*result
= 0 ;
8536 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8538 if (!wxPyCheckForApp()) SWIG_fail
;
8539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8540 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8551 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
*resultobj
= 0;
8553 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8554 wxWindow
*arg2
= (wxWindow
*) 0 ;
8555 int arg3
= (int) -1 ;
8556 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8557 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8558 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8559 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8560 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8561 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8562 long arg7
= (long) 0 ;
8563 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8564 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8578 bool temp8
= false ;
8579 PyObject
* obj0
= 0 ;
8580 PyObject
* obj1
= 0 ;
8581 PyObject
* obj2
= 0 ;
8582 PyObject
* obj3
= 0 ;
8583 PyObject
* obj4
= 0 ;
8584 PyObject
* obj5
= 0 ;
8585 PyObject
* obj6
= 0 ;
8586 PyObject
* obj7
= 0 ;
8587 char * kwnames
[] = {
8588 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8593 if (!SWIG_IsOK(res1
)) {
8594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8596 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8597 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8598 if (!SWIG_IsOK(res2
)) {
8599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8601 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8603 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8604 if (!SWIG_IsOK(ecode3
)) {
8605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8607 arg3
= static_cast< int >(val3
);
8610 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8611 if (!SWIG_IsOK(res4
)) {
8612 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8617 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8622 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8628 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8632 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8633 if (!SWIG_IsOK(ecode7
)) {
8634 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8636 arg7
= static_cast< long >(val7
);
8640 arg8
= wxString_in_helper(obj7
);
8641 if (arg8
== NULL
) SWIG_fail
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8648 wxPyEndAllowThreads(__tstate
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8668 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8669 PyObject
*resultobj
= 0;
8670 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8674 PyObject
*swig_obj
[1] ;
8676 if (!args
) SWIG_fail
;
8678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8679 if (!SWIG_IsOK(res1
)) {
8680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8682 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 result
= (arg1
)->GetBitmap();
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8696 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
= 0;
8698 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8699 wxBitmap
*arg2
= 0 ;
8704 PyObject
* obj0
= 0 ;
8705 PyObject
* obj1
= 0 ;
8706 char * kwnames
[] = {
8707 (char *) "self",(char *) "bitmap", NULL
8710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8712 if (!SWIG_IsOK(res1
)) {
8713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8715 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8716 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8717 if (!SWIG_IsOK(res2
)) {
8718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8723 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 resultobj
= SWIG_Py_Void();
8737 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
= 0;
8739 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 char * kwnames
[] = {
8748 (char *) "self",(char *) "icon", NULL
8751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8753 if (!SWIG_IsOK(res1
)) {
8754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8756 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8758 if (!SWIG_IsOK(res2
)) {
8759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8764 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= SWIG_Py_Void();
8778 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
= 0;
8780 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8781 SwigValueWrapper
<wxVisualAttributes
> result
;
8784 PyObject
* obj0
= 0 ;
8785 char * kwnames
[] = {
8786 (char *) "variant", NULL
8789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8791 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8792 if (!SWIG_IsOK(ecode1
)) {
8793 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8795 arg1
= static_cast< wxWindowVariant
>(val1
);
8798 if (!wxPyCheckForApp()) SWIG_fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8804 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8811 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8814 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8815 return SWIG_Py_Void();
8818 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8819 return SWIG_Python_InitShadowInstance(args
);
8822 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8823 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8828 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8829 PyObject
*pyobj
= 0;
8833 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8835 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8842 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8843 PyObject
*resultobj
= 0;
8844 wxWindow
*arg1
= (wxWindow
*) 0 ;
8845 int arg2
= (int) -1 ;
8846 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8847 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8848 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8849 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8850 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8851 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8852 long arg6
= (long) 0 ;
8853 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8854 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8855 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8856 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8857 wxListBox
*result
= 0 ;
8864 bool temp5
= false ;
8869 bool temp8
= false ;
8870 PyObject
* obj0
= 0 ;
8871 PyObject
* obj1
= 0 ;
8872 PyObject
* obj2
= 0 ;
8873 PyObject
* obj3
= 0 ;
8874 PyObject
* obj4
= 0 ;
8875 PyObject
* obj5
= 0 ;
8876 PyObject
* obj6
= 0 ;
8877 PyObject
* obj7
= 0 ;
8878 char * kwnames
[] = {
8879 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8884 if (!SWIG_IsOK(res1
)) {
8885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8887 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8890 if (!SWIG_IsOK(ecode2
)) {
8891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8893 arg2
= static_cast< int >(val2
);
8898 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8904 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8909 if (! PySequence_Check(obj4
)) {
8910 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8913 arg5
= new wxArrayString
;
8915 int i
, len
=PySequence_Length(obj4
);
8916 for (i
=0; i
<len
; i
++) {
8917 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8918 wxString
* s
= wxString_in_helper(item
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8927 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8928 if (!SWIG_IsOK(ecode6
)) {
8929 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8931 arg6
= static_cast< long >(val6
);
8934 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8935 if (!SWIG_IsOK(res7
)) {
8936 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8941 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8945 arg8
= wxString_in_helper(obj7
);
8946 if (arg8
== NULL
) SWIG_fail
;
8951 if (!wxPyCheckForApp()) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8954 wxPyEndAllowThreads(__tstate
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8959 if (temp5
) delete arg5
;
8968 if (temp5
) delete arg5
;
8978 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8979 PyObject
*resultobj
= 0;
8980 wxListBox
*result
= 0 ;
8982 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8984 if (!wxPyCheckForApp()) SWIG_fail
;
8985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 result
= (wxListBox
*)new wxListBox();
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8997 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
= 0;
8999 wxListBox
*arg1
= (wxListBox
*) 0 ;
9000 wxWindow
*arg2
= (wxWindow
*) 0 ;
9001 int arg3
= (int) -1 ;
9002 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9003 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9004 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9005 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9006 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
9007 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
9008 long arg7
= (long) 0 ;
9009 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9010 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9011 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
9012 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9022 bool temp6
= false ;
9027 bool temp9
= false ;
9028 PyObject
* obj0
= 0 ;
9029 PyObject
* obj1
= 0 ;
9030 PyObject
* obj2
= 0 ;
9031 PyObject
* obj3
= 0 ;
9032 PyObject
* obj4
= 0 ;
9033 PyObject
* obj5
= 0 ;
9034 PyObject
* obj6
= 0 ;
9035 PyObject
* obj7
= 0 ;
9036 PyObject
* obj8
= 0 ;
9037 char * kwnames
[] = {
9038 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9043 if (!SWIG_IsOK(res1
)) {
9044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9046 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9047 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9048 if (!SWIG_IsOK(res2
)) {
9049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9051 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9054 if (!SWIG_IsOK(ecode3
)) {
9055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9057 arg3
= static_cast< int >(val3
);
9062 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9068 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9073 if (! PySequence_Check(obj5
)) {
9074 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9077 arg6
= new wxArrayString
;
9079 int i
, len
=PySequence_Length(obj5
);
9080 for (i
=0; i
<len
; i
++) {
9081 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9082 wxString
* s
= wxString_in_helper(item
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9091 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9092 if (!SWIG_IsOK(ecode7
)) {
9093 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9095 arg7
= static_cast< long >(val7
);
9098 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9099 if (!SWIG_IsOK(res8
)) {
9100 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9105 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9109 arg9
= wxString_in_helper(obj8
);
9110 if (arg9
== NULL
) SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9124 if (temp6
) delete arg6
;
9133 if (temp6
) delete arg6
;
9143 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
= 0;
9145 wxListBox
*arg1
= (wxListBox
*) 0 ;
9146 wxString
*arg2
= 0 ;
9148 PyObject
*arg4
= (PyObject
*) NULL
;
9151 bool temp2
= false ;
9154 PyObject
* obj0
= 0 ;
9155 PyObject
* obj1
= 0 ;
9156 PyObject
* obj2
= 0 ;
9157 PyObject
* obj3
= 0 ;
9158 char * kwnames
[] = {
9159 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9164 if (!SWIG_IsOK(res1
)) {
9165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9167 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9169 arg2
= wxString_in_helper(obj1
);
9170 if (arg2
== NULL
) SWIG_fail
;
9173 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9174 if (!SWIG_IsOK(ecode3
)) {
9175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9177 arg3
= static_cast< int >(val3
);
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 resultobj
= SWIG_Py_Void();
9202 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9203 PyObject
*resultobj
= 0;
9204 wxListBox
*arg1
= (wxListBox
*) 0 ;
9205 wxArrayString
*arg2
= 0 ;
9209 bool temp2
= false ;
9212 PyObject
* obj0
= 0 ;
9213 PyObject
* obj1
= 0 ;
9214 PyObject
* obj2
= 0 ;
9215 char * kwnames
[] = {
9216 (char *) "self",(char *) "items",(char *) "pos", NULL
9219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9221 if (!SWIG_IsOK(res1
)) {
9222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9224 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9226 if (! PySequence_Check(obj1
)) {
9227 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9230 arg2
= new wxArrayString
;
9232 int i
, len
=PySequence_Length(obj1
);
9233 for (i
=0; i
<len
; i
++) {
9234 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9235 wxString
* s
= wxString_in_helper(item
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9242 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9243 if (!SWIG_IsOK(ecode3
)) {
9244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9246 arg3
= static_cast< unsigned int >(val3
);
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= SWIG_Py_Void();
9255 if (temp2
) delete arg2
;
9260 if (temp2
) delete arg2
;
9266 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
= 0;
9268 wxListBox
*arg1
= (wxListBox
*) 0 ;
9269 wxArrayString
*arg2
= 0 ;
9272 bool temp2
= false ;
9273 PyObject
* obj0
= 0 ;
9274 PyObject
* obj1
= 0 ;
9275 char * kwnames
[] = {
9276 (char *) "self",(char *) "items", NULL
9279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9281 if (!SWIG_IsOK(res1
)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9284 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9286 if (! PySequence_Check(obj1
)) {
9287 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9290 arg2
= new wxArrayString
;
9292 int i
, len
=PySequence_Length(obj1
);
9293 for (i
=0; i
<len
; i
++) {
9294 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9295 wxString
* s
= wxString_in_helper(item
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 (arg1
)->Set((wxArrayString
const &)*arg2
);
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= SWIG_Py_Void();
9310 if (temp2
) delete arg2
;
9315 if (temp2
) delete arg2
;
9321 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
= 0;
9323 wxListBox
*arg1
= (wxListBox
*) 0 ;
9330 PyObject
* obj0
= 0 ;
9331 PyObject
* obj1
= 0 ;
9332 char * kwnames
[] = {
9333 (char *) "self",(char *) "n", NULL
9336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9338 if (!SWIG_IsOK(res1
)) {
9339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9341 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9343 if (!SWIG_IsOK(ecode2
)) {
9344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9346 arg2
= static_cast< int >(val2
);
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9362 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
= 0;
9364 wxListBox
*arg1
= (wxListBox
*) 0 ;
9366 bool arg3
= (bool) true ;
9373 PyObject
* obj0
= 0 ;
9374 PyObject
* obj1
= 0 ;
9375 PyObject
* obj2
= 0 ;
9376 char * kwnames
[] = {
9377 (char *) "self",(char *) "n",(char *) "select", NULL
9380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9382 if (!SWIG_IsOK(res1
)) {
9383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9385 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9387 if (!SWIG_IsOK(ecode2
)) {
9388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9390 arg2
= static_cast< int >(val2
);
9392 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9393 if (!SWIG_IsOK(ecode3
)) {
9394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9396 arg3
= static_cast< bool >(val3
);
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 (arg1
)->SetSelection(arg2
,arg3
);
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9404 resultobj
= SWIG_Py_Void();
9411 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
= 0;
9413 wxListBox
*arg1
= (wxListBox
*) 0 ;
9419 PyObject
* obj0
= 0 ;
9420 PyObject
* obj1
= 0 ;
9421 char * kwnames
[] = {
9422 (char *) "self",(char *) "n", NULL
9425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9427 if (!SWIG_IsOK(res1
)) {
9428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9430 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9432 if (!SWIG_IsOK(ecode2
)) {
9433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9435 arg2
= static_cast< int >(val2
);
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 (arg1
)->Select(arg2
);
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9442 resultobj
= SWIG_Py_Void();
9449 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
= 0;
9451 wxListBox
*arg1
= (wxListBox
*) 0 ;
9457 PyObject
* obj0
= 0 ;
9458 PyObject
* obj1
= 0 ;
9459 char * kwnames
[] = {
9460 (char *) "self",(char *) "n", NULL
9463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9465 if (!SWIG_IsOK(res1
)) {
9466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9468 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9470 if (!SWIG_IsOK(ecode2
)) {
9471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9473 arg2
= static_cast< int >(val2
);
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 (arg1
)->Deselect(arg2
);
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9480 resultobj
= SWIG_Py_Void();
9487 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
= 0;
9489 wxListBox
*arg1
= (wxListBox
*) 0 ;
9490 int arg2
= (int) -1 ;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9497 char * kwnames
[] = {
9498 (char *) "self",(char *) "itemToLeaveSelected", NULL
9501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9503 if (!SWIG_IsOK(res1
)) {
9504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9506 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9509 if (!SWIG_IsOK(ecode2
)) {
9510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9512 arg2
= static_cast< int >(val2
);
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9516 (arg1
)->DeselectAll(arg2
);
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= SWIG_Py_Void();
9527 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
*resultobj
= 0;
9529 wxListBox
*arg1
= (wxListBox
*) 0 ;
9530 wxString
*arg2
= 0 ;
9531 bool arg3
= (bool) true ;
9535 bool temp2
= false ;
9538 PyObject
* obj0
= 0 ;
9539 PyObject
* obj1
= 0 ;
9540 PyObject
* obj2
= 0 ;
9541 char * kwnames
[] = {
9542 (char *) "self",(char *) "s",(char *) "select", NULL
9545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9547 if (!SWIG_IsOK(res1
)) {
9548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9550 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9552 arg2
= wxString_in_helper(obj1
);
9553 if (arg2
== NULL
) SWIG_fail
;
9557 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9558 if (!SWIG_IsOK(ecode3
)) {
9559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9561 arg3
= static_cast< bool >(val3
);
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9586 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9587 PyObject
*resultobj
= 0;
9588 wxListBox
*arg1
= (wxListBox
*) 0 ;
9589 PyObject
*result
= 0 ;
9592 PyObject
*swig_obj
[1] ;
9594 if (!args
) SWIG_fail
;
9596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9597 if (!SWIG_IsOK(res1
)) {
9598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9600 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9614 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9615 PyObject
*resultobj
= 0;
9616 wxListBox
*arg1
= (wxListBox
*) 0 ;
9622 PyObject
* obj0
= 0 ;
9623 PyObject
* obj1
= 0 ;
9624 char * kwnames
[] = {
9625 (char *) "self",(char *) "n", NULL
9628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9630 if (!SWIG_IsOK(res1
)) {
9631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9633 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9635 if (!SWIG_IsOK(ecode2
)) {
9636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9638 arg2
= static_cast< int >(val2
);
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 (arg1
)->SetFirstItem(arg2
);
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 resultobj
= SWIG_Py_Void();
9652 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
= 0;
9654 wxListBox
*arg1
= (wxListBox
*) 0 ;
9655 wxString
*arg2
= 0 ;
9658 bool temp2
= false ;
9659 PyObject
* obj0
= 0 ;
9660 PyObject
* obj1
= 0 ;
9661 char * kwnames
[] = {
9662 (char *) "self",(char *) "s", NULL
9665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9667 if (!SWIG_IsOK(res1
)) {
9668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9670 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9672 arg2
= wxString_in_helper(obj1
);
9673 if (arg2
== NULL
) SWIG_fail
;
9677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9678 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 resultobj
= SWIG_Py_Void();
9697 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
*resultobj
= 0;
9699 wxListBox
*arg1
= (wxListBox
*) 0 ;
9705 PyObject
* obj0
= 0 ;
9706 PyObject
* obj1
= 0 ;
9707 char * kwnames
[] = {
9708 (char *) "self",(char *) "n", NULL
9711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9713 if (!SWIG_IsOK(res1
)) {
9714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9716 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9718 if (!SWIG_IsOK(ecode2
)) {
9719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9721 arg2
= static_cast< int >(val2
);
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 (arg1
)->EnsureVisible(arg2
);
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9728 resultobj
= SWIG_Py_Void();
9735 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
= 0;
9737 wxListBox
*arg1
= (wxListBox
*) 0 ;
9738 wxString
*arg2
= 0 ;
9741 bool temp2
= false ;
9742 PyObject
* obj0
= 0 ;
9743 PyObject
* obj1
= 0 ;
9744 char * kwnames
[] = {
9745 (char *) "self",(char *) "s", NULL
9748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9750 if (!SWIG_IsOK(res1
)) {
9751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9753 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9755 arg2
= wxString_in_helper(obj1
);
9756 if (arg2
== NULL
) SWIG_fail
;
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= SWIG_Py_Void();
9780 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9781 PyObject
*resultobj
= 0;
9782 wxListBox
*arg1
= (wxListBox
*) 0 ;
9786 PyObject
*swig_obj
[1] ;
9788 if (!args
) SWIG_fail
;
9790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9791 if (!SWIG_IsOK(res1
)) {
9792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9794 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9798 wxPyEndAllowThreads(__tstate
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9810 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
= 0;
9812 wxListBox
*arg1
= (wxListBox
*) 0 ;
9818 PyObject
* obj0
= 0 ;
9819 PyObject
* obj1
= 0 ;
9820 char * kwnames
[] = {
9821 (char *) "self",(char *) "pt", NULL
9824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9826 if (!SWIG_IsOK(res1
)) {
9827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9829 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9832 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9840 resultobj
= SWIG_From_int(static_cast< int >(result
));
9847 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9848 PyObject
*resultobj
= 0;
9849 wxListBox
*arg1
= (wxListBox
*) 0 ;
9851 wxColour
*arg3
= 0 ;
9857 PyObject
* obj0
= 0 ;
9858 PyObject
* obj1
= 0 ;
9859 PyObject
* obj2
= 0 ;
9860 char * kwnames
[] = {
9861 (char *) "self",(char *) "item",(char *) "c", NULL
9864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9866 if (!SWIG_IsOK(res1
)) {
9867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9869 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9871 if (!SWIG_IsOK(ecode2
)) {
9872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9874 arg2
= static_cast< int >(val2
);
9877 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9885 resultobj
= SWIG_Py_Void();
9892 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
= 0;
9894 wxListBox
*arg1
= (wxListBox
*) 0 ;
9896 wxColour
*arg3
= 0 ;
9902 PyObject
* obj0
= 0 ;
9903 PyObject
* obj1
= 0 ;
9904 PyObject
* obj2
= 0 ;
9905 char * kwnames
[] = {
9906 (char *) "self",(char *) "item",(char *) "c", NULL
9909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9911 if (!SWIG_IsOK(res1
)) {
9912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9914 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9916 if (!SWIG_IsOK(ecode2
)) {
9917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9919 arg2
= static_cast< int >(val2
);
9922 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= SWIG_Py_Void();
9937 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
= 0;
9939 wxListBox
*arg1
= (wxListBox
*) 0 ;
9948 PyObject
* obj0
= 0 ;
9949 PyObject
* obj1
= 0 ;
9950 PyObject
* obj2
= 0 ;
9951 char * kwnames
[] = {
9952 (char *) "self",(char *) "item",(char *) "f", NULL
9955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9957 if (!SWIG_IsOK(res1
)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9960 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9962 if (!SWIG_IsOK(ecode2
)) {
9963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9965 arg2
= static_cast< int >(val2
);
9966 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9967 if (!SWIG_IsOK(res3
)) {
9968 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9971 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9973 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9980 resultobj
= SWIG_Py_Void();
9987 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9988 PyObject
*resultobj
= 0;
9989 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9990 SwigValueWrapper
<wxVisualAttributes
> result
;
9993 PyObject
* obj0
= 0 ;
9994 char * kwnames
[] = {
9995 (char *) "variant", NULL
9998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10000 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10001 if (!SWIG_IsOK(ecode1
)) {
10002 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10004 arg1
= static_cast< wxWindowVariant
>(val1
);
10007 if (!wxPyCheckForApp()) SWIG_fail
;
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 result
= wxListBox::GetClassDefaultAttributes(arg1
);
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10013 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10020 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10022 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10023 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
10024 return SWIG_Py_Void();
10027 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10028 return SWIG_Python_InitShadowInstance(args
);
10031 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
= 0;
10033 wxWindow
*arg1
= (wxWindow
*) 0 ;
10034 int arg2
= (int) -1 ;
10035 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10036 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10037 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10038 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10039 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10040 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10041 long arg6
= (long) 0 ;
10042 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10043 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10044 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10045 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10046 wxCheckListBox
*result
= 0 ;
10053 bool temp5
= false ;
10058 bool temp8
= false ;
10059 PyObject
* obj0
= 0 ;
10060 PyObject
* obj1
= 0 ;
10061 PyObject
* obj2
= 0 ;
10062 PyObject
* obj3
= 0 ;
10063 PyObject
* obj4
= 0 ;
10064 PyObject
* obj5
= 0 ;
10065 PyObject
* obj6
= 0 ;
10066 PyObject
* obj7
= 0 ;
10067 char * kwnames
[] = {
10068 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10073 if (!SWIG_IsOK(res1
)) {
10074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10076 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10079 if (!SWIG_IsOK(ecode2
)) {
10080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10082 arg2
= static_cast< int >(val2
);
10087 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10093 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10098 if (! PySequence_Check(obj4
)) {
10099 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10102 arg5
= new wxArrayString
;
10104 int i
, len
=PySequence_Length(obj4
);
10105 for (i
=0; i
<len
; i
++) {
10106 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10107 wxString
* s
= wxString_in_helper(item
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10116 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10117 if (!SWIG_IsOK(ecode6
)) {
10118 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10120 arg6
= static_cast< long >(val6
);
10123 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10124 if (!SWIG_IsOK(res7
)) {
10125 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10130 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10134 arg8
= wxString_in_helper(obj7
);
10135 if (arg8
== NULL
) SWIG_fail
;
10140 if (!wxPyCheckForApp()) SWIG_fail
;
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10148 if (temp5
) delete arg5
;
10157 if (temp5
) delete arg5
;
10167 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10168 PyObject
*resultobj
= 0;
10169 wxCheckListBox
*result
= 0 ;
10171 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10173 if (!wxPyCheckForApp()) SWIG_fail
;
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 result
= (wxCheckListBox
*)new wxCheckListBox();
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10186 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
= 0;
10188 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10189 wxWindow
*arg2
= (wxWindow
*) 0 ;
10190 int arg3
= (int) -1 ;
10191 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10192 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10193 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10194 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10195 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10196 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10197 long arg7
= (long) 0 ;
10198 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10199 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10200 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10201 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10211 bool temp6
= false ;
10216 bool temp9
= false ;
10217 PyObject
* obj0
= 0 ;
10218 PyObject
* obj1
= 0 ;
10219 PyObject
* obj2
= 0 ;
10220 PyObject
* obj3
= 0 ;
10221 PyObject
* obj4
= 0 ;
10222 PyObject
* obj5
= 0 ;
10223 PyObject
* obj6
= 0 ;
10224 PyObject
* obj7
= 0 ;
10225 PyObject
* obj8
= 0 ;
10226 char * kwnames
[] = {
10227 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10232 if (!SWIG_IsOK(res1
)) {
10233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10235 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10236 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10237 if (!SWIG_IsOK(res2
)) {
10238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10240 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10243 if (!SWIG_IsOK(ecode3
)) {
10244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10246 arg3
= static_cast< int >(val3
);
10251 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10257 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10262 if (! PySequence_Check(obj5
)) {
10263 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10266 arg6
= new wxArrayString
;
10268 int i
, len
=PySequence_Length(obj5
);
10269 for (i
=0; i
<len
; i
++) {
10270 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10271 wxString
* s
= wxString_in_helper(item
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10280 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10281 if (!SWIG_IsOK(ecode7
)) {
10282 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10284 arg7
= static_cast< long >(val7
);
10287 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10288 if (!SWIG_IsOK(res8
)) {
10289 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10294 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10298 arg9
= wxString_in_helper(obj8
);
10299 if (arg9
== NULL
) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10313 if (temp6
) delete arg6
;
10322 if (temp6
) delete arg6
;
10332 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
= 0;
10334 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10335 unsigned int arg2
;
10339 unsigned int val2
;
10341 PyObject
* obj0
= 0 ;
10342 PyObject
* obj1
= 0 ;
10343 char * kwnames
[] = {
10344 (char *) "self",(char *) "index", NULL
10347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10349 if (!SWIG_IsOK(res1
)) {
10350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10352 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10353 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10354 if (!SWIG_IsOK(ecode2
)) {
10355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10357 arg2
= static_cast< unsigned int >(val2
);
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 result
= (bool)(arg1
)->IsChecked(arg2
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10373 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
= 0;
10375 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10376 unsigned int arg2
;
10377 int arg3
= (int) true ;
10380 unsigned int val2
;
10384 PyObject
* obj0
= 0 ;
10385 PyObject
* obj1
= 0 ;
10386 PyObject
* obj2
= 0 ;
10387 char * kwnames
[] = {
10388 (char *) "self",(char *) "index",(char *) "check", NULL
10391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10393 if (!SWIG_IsOK(res1
)) {
10394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10396 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10397 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10398 if (!SWIG_IsOK(ecode2
)) {
10399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10401 arg2
= static_cast< unsigned int >(val2
);
10403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10404 if (!SWIG_IsOK(ecode3
)) {
10405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10407 arg3
= static_cast< int >(val3
);
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 (arg1
)->Check(arg2
,arg3
);
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 resultobj
= SWIG_Py_Void();
10422 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10423 PyObject
*resultobj
= 0;
10424 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10428 PyObject
*swig_obj
[1] ;
10430 if (!args
) SWIG_fail
;
10431 swig_obj
[0] = args
;
10432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10433 if (!SWIG_IsOK(res1
)) {
10434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10436 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (int)(arg1
)->GetItemHeight();
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 resultobj
= SWIG_From_int(static_cast< int >(result
));
10450 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10453 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10454 return SWIG_Py_Void();
10457 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10458 return SWIG_Python_InitShadowInstance(args
);
10461 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10462 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10467 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10468 PyObject
*pyobj
= 0;
10472 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10474 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10481 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
= 0;
10483 wxColour
const &arg1_defvalue
= wxNullColour
;
10484 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10485 wxColour
const &arg2_defvalue
= wxNullColour
;
10486 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10487 wxFont
const &arg3_defvalue
= wxNullFont
;
10488 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10489 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10490 wxTextAttr
*result
= 0 ;
10497 PyObject
* obj0
= 0 ;
10498 PyObject
* obj1
= 0 ;
10499 PyObject
* obj2
= 0 ;
10500 PyObject
* obj3
= 0 ;
10501 char * kwnames
[] = {
10502 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10509 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10515 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10519 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10520 if (!SWIG_IsOK(res3
)) {
10521 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10526 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10529 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10530 if (!SWIG_IsOK(ecode4
)) {
10531 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10533 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10548 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10549 PyObject
*resultobj
= 0;
10550 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10553 PyObject
*swig_obj
[1] ;
10555 if (!args
) SWIG_fail
;
10556 swig_obj
[0] = args
;
10557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10558 if (!SWIG_IsOK(res1
)) {
10559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10561 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 resultobj
= SWIG_Py_Void();
10576 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10577 PyObject
*resultobj
= 0;
10578 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10581 PyObject
*swig_obj
[1] ;
10583 if (!args
) SWIG_fail
;
10584 swig_obj
[0] = args
;
10585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10586 if (!SWIG_IsOK(res1
)) {
10587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10589 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= SWIG_Py_Void();
10603 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
= 0;
10605 wxTextAttr
*arg1
= 0 ;
10606 wxTextAttr
*arg2
= 0 ;
10612 PyObject
* obj0
= 0 ;
10613 PyObject
* obj1
= 0 ;
10614 char * kwnames
[] = {
10615 (char *) "base",(char *) "overlay", NULL
10618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10619 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10620 if (!SWIG_IsOK(res1
)) {
10621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10626 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10627 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10628 if (!SWIG_IsOK(res2
)) {
10629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10634 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10641 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10648 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
*resultobj
= 0;
10650 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10651 wxColour
*arg2
= 0 ;
10655 PyObject
* obj0
= 0 ;
10656 PyObject
* obj1
= 0 ;
10657 char * kwnames
[] = {
10658 (char *) "self",(char *) "colText", NULL
10661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10663 if (!SWIG_IsOK(res1
)) {
10664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10666 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10669 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 resultobj
= SWIG_Py_Void();
10684 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
= 0;
10686 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10687 wxColour
*arg2
= 0 ;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 char * kwnames
[] = {
10694 (char *) "self",(char *) "colBack", NULL
10697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10699 if (!SWIG_IsOK(res1
)) {
10700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10702 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10705 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10713 resultobj
= SWIG_Py_Void();
10720 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
= 0;
10722 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10724 long arg3
= (long) wxTEXT_ATTR_FONT
;
10731 PyObject
* obj0
= 0 ;
10732 PyObject
* obj1
= 0 ;
10733 PyObject
* obj2
= 0 ;
10734 char * kwnames
[] = {
10735 (char *) "self",(char *) "font",(char *) "flags", NULL
10738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10740 if (!SWIG_IsOK(res1
)) {
10741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10743 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10745 if (!SWIG_IsOK(res2
)) {
10746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10751 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10753 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10754 if (!SWIG_IsOK(ecode3
)) {
10755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10757 arg3
= static_cast< long >(val3
);
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10765 resultobj
= SWIG_Py_Void();
10772 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
*resultobj
= 0;
10774 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10775 wxTextAttrAlignment arg2
;
10780 PyObject
* obj0
= 0 ;
10781 PyObject
* obj1
= 0 ;
10782 char * kwnames
[] = {
10783 (char *) "self",(char *) "alignment", NULL
10786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10788 if (!SWIG_IsOK(res1
)) {
10789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10791 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10793 if (!SWIG_IsOK(ecode2
)) {
10794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10796 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 (arg1
)->SetAlignment(arg2
);
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10803 resultobj
= SWIG_Py_Void();
10810 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
*resultobj
= 0;
10812 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10813 wxArrayInt
*arg2
= 0 ;
10816 bool temp2
= false ;
10817 PyObject
* obj0
= 0 ;
10818 PyObject
* obj1
= 0 ;
10819 char * kwnames
[] = {
10820 (char *) "self",(char *) "tabs", NULL
10823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10825 if (!SWIG_IsOK(res1
)) {
10826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10828 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10830 if (! PySequence_Check(obj1
)) {
10831 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10834 arg2
= new wxArrayInt
;
10836 int i
, len
=PySequence_Length(obj1
);
10837 for (i
=0; i
<len
; i
++) {
10838 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10839 PyObject
* number
= PyNumber_Int(item
);
10841 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10844 arg2
->Add(PyInt_AS_LONG(number
));
10850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10852 wxPyEndAllowThreads(__tstate
);
10853 if (PyErr_Occurred()) SWIG_fail
;
10855 resultobj
= SWIG_Py_Void();
10857 if (temp2
) delete arg2
;
10862 if (temp2
) delete arg2
;
10868 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
*resultobj
= 0;
10870 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10872 int arg3
= (int) 0 ;
10879 PyObject
* obj0
= 0 ;
10880 PyObject
* obj1
= 0 ;
10881 PyObject
* obj2
= 0 ;
10882 char * kwnames
[] = {
10883 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10888 if (!SWIG_IsOK(res1
)) {
10889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10891 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10893 if (!SWIG_IsOK(ecode2
)) {
10894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10896 arg2
= static_cast< int >(val2
);
10898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10899 if (!SWIG_IsOK(ecode3
)) {
10900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10902 arg3
= static_cast< int >(val3
);
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 (arg1
)->SetLeftIndent(arg2
,arg3
);
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= SWIG_Py_Void();
10917 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
= 0;
10919 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10925 PyObject
* obj0
= 0 ;
10926 PyObject
* obj1
= 0 ;
10927 char * kwnames
[] = {
10928 (char *) "self",(char *) "indent", NULL
10931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10933 if (!SWIG_IsOK(res1
)) {
10934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10936 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10938 if (!SWIG_IsOK(ecode2
)) {
10939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10941 arg2
= static_cast< int >(val2
);
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 (arg1
)->SetRightIndent(arg2
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= SWIG_Py_Void();
10955 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
= 0;
10957 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10963 PyObject
* obj0
= 0 ;
10964 PyObject
* obj1
= 0 ;
10965 char * kwnames
[] = {
10966 (char *) "self",(char *) "flags", NULL
10969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10971 if (!SWIG_IsOK(res1
)) {
10972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10974 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10975 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10976 if (!SWIG_IsOK(ecode2
)) {
10977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10979 arg2
= static_cast< long >(val2
);
10981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10982 (arg1
)->SetFlags(arg2
);
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10986 resultobj
= SWIG_Py_Void();
10993 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10994 PyObject
*resultobj
= 0;
10995 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10999 PyObject
*swig_obj
[1] ;
11001 if (!args
) SWIG_fail
;
11002 swig_obj
[0] = args
;
11003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11004 if (!SWIG_IsOK(res1
)) {
11005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11007 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11023 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11024 PyObject
*resultobj
= 0;
11025 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11029 PyObject
*swig_obj
[1] ;
11031 if (!args
) SWIG_fail
;
11032 swig_obj
[0] = args
;
11033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11034 if (!SWIG_IsOK(res1
)) {
11035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11037 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11053 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11054 PyObject
*resultobj
= 0;
11055 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11059 PyObject
*swig_obj
[1] ;
11061 if (!args
) SWIG_fail
;
11062 swig_obj
[0] = args
;
11063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11064 if (!SWIG_IsOK(res1
)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11067 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11083 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11084 PyObject
*resultobj
= 0;
11085 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11089 PyObject
*swig_obj
[1] ;
11091 if (!args
) SWIG_fail
;
11092 swig_obj
[0] = args
;
11093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11094 if (!SWIG_IsOK(res1
)) {
11095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11097 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11113 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11114 PyObject
*resultobj
= 0;
11115 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11119 PyObject
*swig_obj
[1] ;
11121 if (!args
) SWIG_fail
;
11122 swig_obj
[0] = args
;
11123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11124 if (!SWIG_IsOK(res1
)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11127 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11143 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11144 PyObject
*resultobj
= 0;
11145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11149 PyObject
*swig_obj
[1] ;
11151 if (!args
) SWIG_fail
;
11152 swig_obj
[0] = args
;
11153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11154 if (!SWIG_IsOK(res1
)) {
11155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11157 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11173 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11174 PyObject
*resultobj
= 0;
11175 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11179 PyObject
*swig_obj
[1] ;
11181 if (!args
) SWIG_fail
;
11182 swig_obj
[0] = args
;
11183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11184 if (!SWIG_IsOK(res1
)) {
11185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11187 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11203 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
= 0;
11205 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11212 PyObject
* obj0
= 0 ;
11213 PyObject
* obj1
= 0 ;
11214 char * kwnames
[] = {
11215 (char *) "self",(char *) "flag", NULL
11218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11220 if (!SWIG_IsOK(res1
)) {
11221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11223 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11224 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11225 if (!SWIG_IsOK(ecode2
)) {
11226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11228 arg2
= static_cast< long >(val2
);
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11231 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11244 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11245 PyObject
*resultobj
= 0;
11246 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11247 wxColour
*result
= 0 ;
11250 PyObject
*swig_obj
[1] ;
11252 if (!args
) SWIG_fail
;
11253 swig_obj
[0] = args
;
11254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11255 if (!SWIG_IsOK(res1
)) {
11256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11258 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11263 result
= (wxColour
*) &_result_ref
;
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11275 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11276 PyObject
*resultobj
= 0;
11277 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11278 wxColour
*result
= 0 ;
11281 PyObject
*swig_obj
[1] ;
11283 if (!args
) SWIG_fail
;
11284 swig_obj
[0] = args
;
11285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11286 if (!SWIG_IsOK(res1
)) {
11287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11289 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11294 result
= (wxColour
*) &_result_ref
;
11296 wxPyEndAllowThreads(__tstate
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11306 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11307 PyObject
*resultobj
= 0;
11308 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11309 wxFont
*result
= 0 ;
11312 PyObject
*swig_obj
[1] ;
11314 if (!args
) SWIG_fail
;
11315 swig_obj
[0] = args
;
11316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11317 if (!SWIG_IsOK(res1
)) {
11318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11320 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11325 result
= (wxFont
*) &_result_ref
;
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11331 wxFont
* resultptr
= new wxFont(*result
);
11332 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11340 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11341 PyObject
*resultobj
= 0;
11342 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11343 wxTextAttrAlignment result
;
11346 PyObject
*swig_obj
[1] ;
11348 if (!args
) SWIG_fail
;
11349 swig_obj
[0] = args
;
11350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11351 if (!SWIG_IsOK(res1
)) {
11352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11354 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11361 resultobj
= SWIG_From_int(static_cast< int >(result
));
11368 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11369 PyObject
*resultobj
= 0;
11370 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11371 wxArrayInt
*result
= 0 ;
11374 PyObject
*swig_obj
[1] ;
11376 if (!args
) SWIG_fail
;
11377 swig_obj
[0] = args
;
11378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11379 if (!SWIG_IsOK(res1
)) {
11380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11382 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11387 result
= (wxArrayInt
*) &_result_ref
;
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11393 resultobj
= wxArrayInt2PyList_helper(*result
);
11401 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11402 PyObject
*resultobj
= 0;
11403 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11407 PyObject
*swig_obj
[1] ;
11409 if (!args
) SWIG_fail
;
11410 swig_obj
[0] = args
;
11411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11412 if (!SWIG_IsOK(res1
)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11415 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= SWIG_From_long(static_cast< long >(result
));
11429 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11430 PyObject
*resultobj
= 0;
11431 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11435 PyObject
*swig_obj
[1] ;
11437 if (!args
) SWIG_fail
;
11438 swig_obj
[0] = args
;
11439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11440 if (!SWIG_IsOK(res1
)) {
11441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11443 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= SWIG_From_long(static_cast< long >(result
));
11457 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11458 PyObject
*resultobj
= 0;
11459 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11463 PyObject
*swig_obj
[1] ;
11465 if (!args
) SWIG_fail
;
11466 swig_obj
[0] = args
;
11467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11468 if (!SWIG_IsOK(res1
)) {
11469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11471 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= SWIG_From_long(static_cast< long >(result
));
11485 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11486 PyObject
*resultobj
= 0;
11487 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11491 PyObject
*swig_obj
[1] ;
11493 if (!args
) SWIG_fail
;
11494 swig_obj
[0] = args
;
11495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11496 if (!SWIG_IsOK(res1
)) {
11497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11499 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 resultobj
= SWIG_From_long(static_cast< long >(result
));
11513 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11514 PyObject
*resultobj
= 0;
11515 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11519 PyObject
*swig_obj
[1] ;
11521 if (!args
) SWIG_fail
;
11522 swig_obj
[0] = args
;
11523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11524 if (!SWIG_IsOK(res1
)) {
11525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11527 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11543 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
= 0;
11545 wxTextAttr
*arg1
= 0 ;
11546 wxTextAttr
*arg2
= 0 ;
11547 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11555 PyObject
* obj0
= 0 ;
11556 PyObject
* obj1
= 0 ;
11557 PyObject
* obj2
= 0 ;
11558 char * kwnames
[] = {
11559 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11563 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11564 if (!SWIG_IsOK(res1
)) {
11565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11570 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11571 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11572 if (!SWIG_IsOK(res2
)) {
11573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11578 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11579 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11580 if (!SWIG_IsOK(res3
)) {
11581 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11583 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11597 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11599 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11600 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11601 return SWIG_Py_Void();
11604 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11605 return SWIG_Python_InitShadowInstance(args
);
11608 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11609 PyObject
*resultobj
= 0;
11610 wxWindow
*arg1
= (wxWindow
*) 0 ;
11611 int arg2
= (int) -1 ;
11612 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11613 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11614 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11615 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11616 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11617 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11618 long arg6
= (long) 0 ;
11619 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11620 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11621 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11622 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11623 wxTextCtrl
*result
= 0 ;
11628 bool temp3
= false ;
11635 bool temp8
= false ;
11636 PyObject
* obj0
= 0 ;
11637 PyObject
* obj1
= 0 ;
11638 PyObject
* obj2
= 0 ;
11639 PyObject
* obj3
= 0 ;
11640 PyObject
* obj4
= 0 ;
11641 PyObject
* obj5
= 0 ;
11642 PyObject
* obj6
= 0 ;
11643 PyObject
* obj7
= 0 ;
11644 char * kwnames
[] = {
11645 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11650 if (!SWIG_IsOK(res1
)) {
11651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11653 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11656 if (!SWIG_IsOK(ecode2
)) {
11657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11659 arg2
= static_cast< int >(val2
);
11663 arg3
= wxString_in_helper(obj2
);
11664 if (arg3
== NULL
) SWIG_fail
;
11671 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11677 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11681 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11682 if (!SWIG_IsOK(ecode6
)) {
11683 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11685 arg6
= static_cast< long >(val6
);
11688 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11689 if (!SWIG_IsOK(res7
)) {
11690 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11695 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11699 arg8
= wxString_in_helper(obj7
);
11700 if (arg8
== NULL
) SWIG_fail
;
11705 if (!wxPyCheckForApp()) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11734 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11735 PyObject
*resultobj
= 0;
11736 wxTextCtrl
*result
= 0 ;
11738 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11740 if (!wxPyCheckForApp()) SWIG_fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 result
= (wxTextCtrl
*)new wxTextCtrl();
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11753 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
= 0;
11755 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11756 wxWindow
*arg2
= (wxWindow
*) 0 ;
11757 int arg3
= (int) -1 ;
11758 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11759 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11760 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11761 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11762 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11763 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11764 long arg7
= (long) 0 ;
11765 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11766 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11767 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11768 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11776 bool temp4
= false ;
11783 bool temp9
= false ;
11784 PyObject
* obj0
= 0 ;
11785 PyObject
* obj1
= 0 ;
11786 PyObject
* obj2
= 0 ;
11787 PyObject
* obj3
= 0 ;
11788 PyObject
* obj4
= 0 ;
11789 PyObject
* obj5
= 0 ;
11790 PyObject
* obj6
= 0 ;
11791 PyObject
* obj7
= 0 ;
11792 PyObject
* obj8
= 0 ;
11793 char * kwnames
[] = {
11794 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11799 if (!SWIG_IsOK(res1
)) {
11800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11802 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11803 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11804 if (!SWIG_IsOK(res2
)) {
11805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11807 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11810 if (!SWIG_IsOK(ecode3
)) {
11811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11813 arg3
= static_cast< int >(val3
);
11817 arg4
= wxString_in_helper(obj3
);
11818 if (arg4
== NULL
) SWIG_fail
;
11825 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11831 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11835 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11836 if (!SWIG_IsOK(ecode7
)) {
11837 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11839 arg7
= static_cast< long >(val7
);
11842 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11843 if (!SWIG_IsOK(res8
)) {
11844 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11849 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11853 arg9
= wxString_in_helper(obj8
);
11854 if (arg9
== NULL
) SWIG_fail
;
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11860 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11889 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11890 PyObject
*resultobj
= 0;
11891 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11895 PyObject
*swig_obj
[1] ;
11897 if (!args
) SWIG_fail
;
11898 swig_obj
[0] = args
;
11899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11900 if (!SWIG_IsOK(res1
)) {
11901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11903 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11923 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
= 0;
11925 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11926 wxString
*arg2
= 0 ;
11929 bool temp2
= false ;
11930 PyObject
* obj0
= 0 ;
11931 PyObject
* obj1
= 0 ;
11932 char * kwnames
[] = {
11933 (char *) "self",(char *) "value", NULL
11936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11938 if (!SWIG_IsOK(res1
)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11941 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11943 arg2
= wxString_in_helper(obj1
);
11944 if (arg2
== NULL
) SWIG_fail
;
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 (arg1
)->SetValue((wxString
const &)*arg2
);
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= SWIG_Py_Void();
11968 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11969 PyObject
*resultobj
= 0;
11970 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11974 PyObject
*swig_obj
[1] ;
11976 if (!args
) SWIG_fail
;
11977 swig_obj
[0] = args
;
11978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11979 if (!SWIG_IsOK(res1
)) {
11980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11982 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11998 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
*resultobj
= 0;
12000 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12001 wxString
*arg2
= 0 ;
12004 bool temp2
= false ;
12005 PyObject
* obj0
= 0 ;
12006 PyObject
* obj1
= 0 ;
12007 char * kwnames
[] = {
12008 (char *) "self",(char *) "value", NULL
12011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12013 if (!SWIG_IsOK(res1
)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12016 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12018 arg2
= wxString_in_helper(obj1
);
12019 if (arg2
== NULL
) SWIG_fail
;
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 (arg1
)->ChangeValue((wxString
const &)*arg2
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 resultobj
= SWIG_Py_Void();
12043 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
= 0;
12045 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12055 PyObject
* obj0
= 0 ;
12056 PyObject
* obj1
= 0 ;
12057 PyObject
* obj2
= 0 ;
12058 char * kwnames
[] = {
12059 (char *) "self",(char *) "from",(char *) "to", NULL
12062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12064 if (!SWIG_IsOK(res1
)) {
12065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12067 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12068 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12069 if (!SWIG_IsOK(ecode2
)) {
12070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12072 arg2
= static_cast< long >(val2
);
12073 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12074 if (!SWIG_IsOK(ecode3
)) {
12075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12077 arg3
= static_cast< long >(val3
);
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12097 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
*resultobj
= 0;
12099 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12106 PyObject
* obj0
= 0 ;
12107 PyObject
* obj1
= 0 ;
12108 char * kwnames
[] = {
12109 (char *) "self",(char *) "lineNo", NULL
12112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12114 if (!SWIG_IsOK(res1
)) {
12115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12117 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12118 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12119 if (!SWIG_IsOK(ecode2
)) {
12120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12122 arg2
= static_cast< long >(val2
);
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12129 resultobj
= SWIG_From_int(static_cast< int >(result
));
12136 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
= 0;
12138 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12145 PyObject
* obj0
= 0 ;
12146 PyObject
* obj1
= 0 ;
12147 char * kwnames
[] = {
12148 (char *) "self",(char *) "lineNo", NULL
12151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12153 if (!SWIG_IsOK(res1
)) {
12154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12156 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12157 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12158 if (!SWIG_IsOK(ecode2
)) {
12159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12161 arg2
= static_cast< long >(val2
);
12163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12181 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12182 PyObject
*resultobj
= 0;
12183 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12187 PyObject
*swig_obj
[1] ;
12189 if (!args
) SWIG_fail
;
12190 swig_obj
[0] = args
;
12191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12192 if (!SWIG_IsOK(res1
)) {
12193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12195 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12202 resultobj
= SWIG_From_int(static_cast< int >(result
));
12209 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12210 PyObject
*resultobj
= 0;
12211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12215 PyObject
*swig_obj
[1] ;
12217 if (!args
) SWIG_fail
;
12218 swig_obj
[0] = args
;
12219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12220 if (!SWIG_IsOK(res1
)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12223 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12239 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12240 PyObject
*resultobj
= 0;
12241 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12245 PyObject
*swig_obj
[1] ;
12247 if (!args
) SWIG_fail
;
12248 swig_obj
[0] = args
;
12249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12250 if (!SWIG_IsOK(res1
)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12253 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12269 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12270 PyObject
*resultobj
= 0;
12271 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12275 PyObject
*swig_obj
[1] ;
12277 if (!args
) SWIG_fail
;
12278 swig_obj
[0] = args
;
12279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12280 if (!SWIG_IsOK(res1
)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12283 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12299 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12300 PyObject
*resultobj
= 0;
12301 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12305 PyObject
*swig_obj
[1] ;
12307 if (!args
) SWIG_fail
;
12308 swig_obj
[0] = args
;
12309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12310 if (!SWIG_IsOK(res1
)) {
12311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12313 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12329 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12330 PyObject
*resultobj
= 0;
12331 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12332 long *arg2
= (long *) 0 ;
12333 long *arg3
= (long *) 0 ;
12337 int res2
= SWIG_TMPOBJ
;
12339 int res3
= SWIG_TMPOBJ
;
12340 PyObject
*swig_obj
[1] ;
12344 if (!args
) SWIG_fail
;
12345 swig_obj
[0] = args
;
12346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12347 if (!SWIG_IsOK(res1
)) {
12348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12350 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 resultobj
= SWIG_Py_Void();
12358 if (SWIG_IsTmpObj(res2
)) {
12359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12361 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12364 if (SWIG_IsTmpObj(res3
)) {
12365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12367 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12376 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12377 PyObject
*resultobj
= 0;
12378 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12382 PyObject
*swig_obj
[1] ;
12384 if (!args
) SWIG_fail
;
12385 swig_obj
[0] = args
;
12386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12387 if (!SWIG_IsOK(res1
)) {
12388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12390 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12410 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12411 PyObject
*resultobj
= 0;
12412 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12415 PyObject
*swig_obj
[1] ;
12417 if (!args
) SWIG_fail
;
12418 swig_obj
[0] = args
;
12419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12420 if (!SWIG_IsOK(res1
)) {
12421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12423 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= SWIG_Py_Void();
12437 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
= 0;
12439 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12442 wxString
*arg4
= 0 ;
12449 bool temp4
= false ;
12450 PyObject
* obj0
= 0 ;
12451 PyObject
* obj1
= 0 ;
12452 PyObject
* obj2
= 0 ;
12453 PyObject
* obj3
= 0 ;
12454 char * kwnames
[] = {
12455 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12460 if (!SWIG_IsOK(res1
)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12463 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12464 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12465 if (!SWIG_IsOK(ecode2
)) {
12466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12468 arg2
= static_cast< long >(val2
);
12469 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12470 if (!SWIG_IsOK(ecode3
)) {
12471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12473 arg3
= static_cast< long >(val3
);
12475 arg4
= wxString_in_helper(obj3
);
12476 if (arg4
== NULL
) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= SWIG_Py_Void();
12500 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
= 0;
12502 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12511 PyObject
* obj0
= 0 ;
12512 PyObject
* obj1
= 0 ;
12513 PyObject
* obj2
= 0 ;
12514 char * kwnames
[] = {
12515 (char *) "self",(char *) "from",(char *) "to", NULL
12518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12520 if (!SWIG_IsOK(res1
)) {
12521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12523 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12524 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12525 if (!SWIG_IsOK(ecode2
)) {
12526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12528 arg2
= static_cast< long >(val2
);
12529 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12530 if (!SWIG_IsOK(ecode3
)) {
12531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12533 arg3
= static_cast< long >(val3
);
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 (arg1
)->Remove(arg2
,arg3
);
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12540 resultobj
= SWIG_Py_Void();
12547 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12548 PyObject
*resultobj
= 0;
12549 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12550 wxString
*arg2
= 0 ;
12551 int arg3
= (int) wxTEXT_TYPE_ANY
;
12555 bool temp2
= false ;
12558 PyObject
* obj0
= 0 ;
12559 PyObject
* obj1
= 0 ;
12560 PyObject
* obj2
= 0 ;
12561 char * kwnames
[] = {
12562 (char *) "self",(char *) "file",(char *) "fileType", NULL
12565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12567 if (!SWIG_IsOK(res1
)) {
12568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12570 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12572 arg2
= wxString_in_helper(obj1
);
12573 if (arg2
== NULL
) SWIG_fail
;
12577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12578 if (!SWIG_IsOK(ecode3
)) {
12579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12581 arg3
= static_cast< int >(val3
);
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12606 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
= 0;
12608 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12609 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12610 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12611 int arg3
= (int) wxTEXT_TYPE_ANY
;
12615 bool temp2
= false ;
12618 PyObject
* obj0
= 0 ;
12619 PyObject
* obj1
= 0 ;
12620 PyObject
* obj2
= 0 ;
12621 char * kwnames
[] = {
12622 (char *) "self",(char *) "file",(char *) "fileType", NULL
12625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12627 if (!SWIG_IsOK(res1
)) {
12628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12630 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12633 arg2
= wxString_in_helper(obj1
);
12634 if (arg2
== NULL
) SWIG_fail
;
12639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12640 if (!SWIG_IsOK(ecode3
)) {
12641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12643 arg3
= static_cast< int >(val3
);
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12668 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12669 PyObject
*resultobj
= 0;
12670 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12673 PyObject
*swig_obj
[1] ;
12675 if (!args
) SWIG_fail
;
12676 swig_obj
[0] = args
;
12677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12678 if (!SWIG_IsOK(res1
)) {
12679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12681 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 (arg1
)->MarkDirty();
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 resultobj
= SWIG_Py_Void();
12695 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12696 PyObject
*resultobj
= 0;
12697 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12700 PyObject
*swig_obj
[1] ;
12702 if (!args
) SWIG_fail
;
12703 swig_obj
[0] = args
;
12704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12705 if (!SWIG_IsOK(res1
)) {
12706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12708 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 (arg1
)->DiscardEdits();
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= SWIG_Py_Void();
12722 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12723 PyObject
*resultobj
= 0;
12724 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 PyObject
* obj1
= 0 ;
12732 char * kwnames
[] = {
12733 (char *) "self",(char *) "modified", NULL
12736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12738 if (!SWIG_IsOK(res1
)) {
12739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12741 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12742 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12743 if (!SWIG_IsOK(ecode2
)) {
12744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12746 arg2
= static_cast< bool >(val2
);
12748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 (arg1
)->SetModified(arg2
);
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12753 resultobj
= SWIG_Py_Void();
12760 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
= 0;
12762 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12763 unsigned long arg2
;
12766 unsigned long val2
;
12768 PyObject
* obj0
= 0 ;
12769 PyObject
* obj1
= 0 ;
12770 char * kwnames
[] = {
12771 (char *) "self",(char *) "len", NULL
12774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12776 if (!SWIG_IsOK(res1
)) {
12777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12779 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12780 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12781 if (!SWIG_IsOK(ecode2
)) {
12782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12784 arg2
= static_cast< unsigned long >(val2
);
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 (arg1
)->SetMaxLength(arg2
);
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 resultobj
= SWIG_Py_Void();
12798 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
= 0;
12800 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12801 wxString
*arg2
= 0 ;
12804 bool temp2
= false ;
12805 PyObject
* obj0
= 0 ;
12806 PyObject
* obj1
= 0 ;
12807 char * kwnames
[] = {
12808 (char *) "self",(char *) "text", NULL
12811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12813 if (!SWIG_IsOK(res1
)) {
12814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12816 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12818 arg2
= wxString_in_helper(obj1
);
12819 if (arg2
== NULL
) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 (arg1
)->WriteText((wxString
const &)*arg2
);
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12828 resultobj
= SWIG_Py_Void();
12843 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
= 0;
12845 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12846 wxString
*arg2
= 0 ;
12849 bool temp2
= false ;
12850 PyObject
* obj0
= 0 ;
12851 PyObject
* obj1
= 0 ;
12852 char * kwnames
[] = {
12853 (char *) "self",(char *) "text", NULL
12856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12858 if (!SWIG_IsOK(res1
)) {
12859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12861 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12863 arg2
= wxString_in_helper(obj1
);
12864 if (arg2
== NULL
) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 (arg1
)->AppendText((wxString
const &)*arg2
);
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12873 resultobj
= SWIG_Py_Void();
12888 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12889 PyObject
*resultobj
= 0;
12890 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12891 wxKeyEvent
*arg2
= 0 ;
12897 PyObject
* obj0
= 0 ;
12898 PyObject
* obj1
= 0 ;
12899 char * kwnames
[] = {
12900 (char *) "self",(char *) "event", NULL
12903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12905 if (!SWIG_IsOK(res1
)) {
12906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12908 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12910 if (!SWIG_IsOK(res2
)) {
12911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12916 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12932 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12933 PyObject
*resultobj
= 0;
12934 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12937 wxTextAttr
*arg4
= 0 ;
12947 PyObject
* obj0
= 0 ;
12948 PyObject
* obj1
= 0 ;
12949 PyObject
* obj2
= 0 ;
12950 PyObject
* obj3
= 0 ;
12951 char * kwnames
[] = {
12952 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12957 if (!SWIG_IsOK(res1
)) {
12958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12960 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12961 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12962 if (!SWIG_IsOK(ecode2
)) {
12963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12965 arg2
= static_cast< long >(val2
);
12966 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12967 if (!SWIG_IsOK(ecode3
)) {
12968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12970 arg3
= static_cast< long >(val3
);
12971 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12972 if (!SWIG_IsOK(res4
)) {
12973 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12978 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12994 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
= 0;
12996 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12998 wxTextAttr
*arg3
= 0 ;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 PyObject
* obj2
= 0 ;
13009 char * kwnames
[] = {
13010 (char *) "self",(char *) "position",(char *) "style", NULL
13013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13015 if (!SWIG_IsOK(res1
)) {
13016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13018 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13019 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13020 if (!SWIG_IsOK(ecode2
)) {
13021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13023 arg2
= static_cast< long >(val2
);
13024 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
13025 if (!SWIG_IsOK(res3
)) {
13026 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13031 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13047 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13048 PyObject
*resultobj
= 0;
13049 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13050 wxTextAttr
*arg2
= 0 ;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 char * kwnames
[] = {
13059 (char *) "self",(char *) "style", NULL
13062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13064 if (!SWIG_IsOK(res1
)) {
13065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13067 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13068 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13069 if (!SWIG_IsOK(res2
)) {
13070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13075 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13078 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13091 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13092 PyObject
*resultobj
= 0;
13093 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13094 wxTextAttr
*result
= 0 ;
13097 PyObject
*swig_obj
[1] ;
13099 if (!args
) SWIG_fail
;
13100 swig_obj
[0] = args
;
13101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13102 if (!SWIG_IsOK(res1
)) {
13103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13105 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13110 result
= (wxTextAttr
*) &_result_ref
;
13112 wxPyEndAllowThreads(__tstate
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13122 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
= 0;
13124 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13134 PyObject
* obj0
= 0 ;
13135 PyObject
* obj1
= 0 ;
13136 PyObject
* obj2
= 0 ;
13137 char * kwnames
[] = {
13138 (char *) "self",(char *) "x",(char *) "y", NULL
13141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13143 if (!SWIG_IsOK(res1
)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13146 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13147 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13148 if (!SWIG_IsOK(ecode2
)) {
13149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13151 arg2
= static_cast< long >(val2
);
13152 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13153 if (!SWIG_IsOK(ecode3
)) {
13154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13156 arg3
= static_cast< long >(val3
);
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13163 resultobj
= SWIG_From_long(static_cast< long >(result
));
13170 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
= 0;
13172 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13174 long *arg3
= (long *) 0 ;
13175 long *arg4
= (long *) 0 ;
13181 int res3
= SWIG_TMPOBJ
;
13183 int res4
= SWIG_TMPOBJ
;
13184 PyObject
* obj0
= 0 ;
13185 PyObject
* obj1
= 0 ;
13186 char * kwnames
[] = {
13187 (char *) "self",(char *) "pos", NULL
13192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13194 if (!SWIG_IsOK(res1
)) {
13195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13197 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13198 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13199 if (!SWIG_IsOK(ecode2
)) {
13200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13202 arg2
= static_cast< long >(val2
);
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 resultobj
= SWIG_Py_Void();
13210 if (SWIG_IsTmpObj(res3
)) {
13211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13213 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13216 if (SWIG_IsTmpObj(res4
)) {
13217 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13219 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13228 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13229 PyObject
*resultobj
= 0;
13230 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13236 PyObject
* obj0
= 0 ;
13237 PyObject
* obj1
= 0 ;
13238 char * kwnames
[] = {
13239 (char *) "self",(char *) "pos", NULL
13242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13244 if (!SWIG_IsOK(res1
)) {
13245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13247 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13248 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13249 if (!SWIG_IsOK(ecode2
)) {
13250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13252 arg2
= static_cast< long >(val2
);
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 (arg1
)->ShowPosition(arg2
);
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= SWIG_Py_Void();
13266 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
= 0;
13268 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13269 wxPoint
*arg2
= 0 ;
13270 long *arg3
= (long *) 0 ;
13271 long *arg4
= (long *) 0 ;
13272 wxTextCtrlHitTestResult result
;
13277 int res3
= SWIG_TMPOBJ
;
13279 int res4
= SWIG_TMPOBJ
;
13280 PyObject
* obj0
= 0 ;
13281 PyObject
* obj1
= 0 ;
13282 char * kwnames
[] = {
13283 (char *) "self",(char *) "pt", NULL
13288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13290 if (!SWIG_IsOK(res1
)) {
13291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13293 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13296 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13304 resultobj
= SWIG_From_int(static_cast< int >(result
));
13305 if (SWIG_IsTmpObj(res3
)) {
13306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13308 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13311 if (SWIG_IsTmpObj(res4
)) {
13312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13314 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13323 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
= 0;
13325 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13326 wxPoint
*arg2
= 0 ;
13327 long *arg3
= (long *) 0 ;
13328 wxTextCtrlHitTestResult result
;
13333 int res3
= SWIG_TMPOBJ
;
13334 PyObject
* obj0
= 0 ;
13335 PyObject
* obj1
= 0 ;
13336 char * kwnames
[] = {
13337 (char *) "self",(char *) "pt", NULL
13341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13343 if (!SWIG_IsOK(res1
)) {
13344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13346 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13349 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= SWIG_From_int(static_cast< int >(result
));
13358 if (SWIG_IsTmpObj(res3
)) {
13359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13361 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13370 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13371 PyObject
*resultobj
= 0;
13372 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13375 PyObject
*swig_obj
[1] ;
13377 if (!args
) SWIG_fail
;
13378 swig_obj
[0] = args
;
13379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13380 if (!SWIG_IsOK(res1
)) {
13381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13383 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13390 resultobj
= SWIG_Py_Void();
13397 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13398 PyObject
*resultobj
= 0;
13399 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13402 PyObject
*swig_obj
[1] ;
13404 if (!args
) SWIG_fail
;
13405 swig_obj
[0] = args
;
13406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13407 if (!SWIG_IsOK(res1
)) {
13408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13410 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= SWIG_Py_Void();
13424 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13425 PyObject
*resultobj
= 0;
13426 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13429 PyObject
*swig_obj
[1] ;
13431 if (!args
) SWIG_fail
;
13432 swig_obj
[0] = args
;
13433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13434 if (!SWIG_IsOK(res1
)) {
13435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13437 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 resultobj
= SWIG_Py_Void();
13451 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13452 PyObject
*resultobj
= 0;
13453 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13457 PyObject
*swig_obj
[1] ;
13459 if (!args
) SWIG_fail
;
13460 swig_obj
[0] = args
;
13461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13462 if (!SWIG_IsOK(res1
)) {
13463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13465 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13481 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13482 PyObject
*resultobj
= 0;
13483 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13487 PyObject
*swig_obj
[1] ;
13489 if (!args
) SWIG_fail
;
13490 swig_obj
[0] = args
;
13491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13492 if (!SWIG_IsOK(res1
)) {
13493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13495 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13511 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13512 PyObject
*resultobj
= 0;
13513 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13517 PyObject
*swig_obj
[1] ;
13519 if (!args
) SWIG_fail
;
13520 swig_obj
[0] = args
;
13521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13522 if (!SWIG_IsOK(res1
)) {
13523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13525 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13541 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13542 PyObject
*resultobj
= 0;
13543 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13546 PyObject
*swig_obj
[1] ;
13548 if (!args
) SWIG_fail
;
13549 swig_obj
[0] = args
;
13550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13551 if (!SWIG_IsOK(res1
)) {
13552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13554 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= SWIG_Py_Void();
13568 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13569 PyObject
*resultobj
= 0;
13570 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13573 PyObject
*swig_obj
[1] ;
13575 if (!args
) SWIG_fail
;
13576 swig_obj
[0] = args
;
13577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13578 if (!SWIG_IsOK(res1
)) {
13579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13581 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13588 resultobj
= SWIG_Py_Void();
13595 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13596 PyObject
*resultobj
= 0;
13597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13601 PyObject
*swig_obj
[1] ;
13603 if (!args
) SWIG_fail
;
13604 swig_obj
[0] = args
;
13605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13606 if (!SWIG_IsOK(res1
)) {
13607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13609 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13625 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13626 PyObject
*resultobj
= 0;
13627 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13631 PyObject
*swig_obj
[1] ;
13633 if (!args
) SWIG_fail
;
13634 swig_obj
[0] = args
;
13635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13636 if (!SWIG_IsOK(res1
)) {
13637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13639 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13655 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
= 0;
13657 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13663 PyObject
* obj0
= 0 ;
13664 PyObject
* obj1
= 0 ;
13665 char * kwnames
[] = {
13666 (char *) "self",(char *) "pos", NULL
13669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13671 if (!SWIG_IsOK(res1
)) {
13672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13674 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13675 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13676 if (!SWIG_IsOK(ecode2
)) {
13677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13679 arg2
= static_cast< long >(val2
);
13681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13682 (arg1
)->SetInsertionPoint(arg2
);
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 resultobj
= SWIG_Py_Void();
13693 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13694 PyObject
*resultobj
= 0;
13695 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13698 PyObject
*swig_obj
[1] ;
13700 if (!args
) SWIG_fail
;
13701 swig_obj
[0] = args
;
13702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13703 if (!SWIG_IsOK(res1
)) {
13704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13706 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 (arg1
)->SetInsertionPointEnd();
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= SWIG_Py_Void();
13720 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13721 PyObject
*resultobj
= 0;
13722 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13726 PyObject
*swig_obj
[1] ;
13728 if (!args
) SWIG_fail
;
13729 swig_obj
[0] = args
;
13730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13731 if (!SWIG_IsOK(res1
)) {
13732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13734 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13737 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= SWIG_From_long(static_cast< long >(result
));
13748 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13749 PyObject
*resultobj
= 0;
13750 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13754 PyObject
*swig_obj
[1] ;
13756 if (!args
) SWIG_fail
;
13757 swig_obj
[0] = args
;
13758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13759 if (!SWIG_IsOK(res1
)) {
13760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13762 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13766 wxPyEndAllowThreads(__tstate
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13769 resultobj
= SWIG_From_long(static_cast< long >(result
));
13776 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
= 0;
13778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13787 PyObject
* obj0
= 0 ;
13788 PyObject
* obj1
= 0 ;
13789 PyObject
* obj2
= 0 ;
13790 char * kwnames
[] = {
13791 (char *) "self",(char *) "from",(char *) "to", NULL
13794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13796 if (!SWIG_IsOK(res1
)) {
13797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13799 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13800 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13801 if (!SWIG_IsOK(ecode2
)) {
13802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13804 arg2
= static_cast< long >(val2
);
13805 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13806 if (!SWIG_IsOK(ecode3
)) {
13807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13809 arg3
= static_cast< long >(val3
);
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 (arg1
)->SetSelection(arg2
,arg3
);
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= SWIG_Py_Void();
13823 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13824 PyObject
*resultobj
= 0;
13825 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13828 PyObject
*swig_obj
[1] ;
13830 if (!args
) SWIG_fail
;
13831 swig_obj
[0] = args
;
13832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13833 if (!SWIG_IsOK(res1
)) {
13834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13836 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13839 (arg1
)->SelectAll();
13840 wxPyEndAllowThreads(__tstate
);
13841 if (PyErr_Occurred()) SWIG_fail
;
13843 resultobj
= SWIG_Py_Void();
13850 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13851 PyObject
*resultobj
= 0;
13852 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13858 PyObject
* obj0
= 0 ;
13859 PyObject
* obj1
= 0 ;
13860 char * kwnames
[] = {
13861 (char *) "self",(char *) "editable", NULL
13864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13866 if (!SWIG_IsOK(res1
)) {
13867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13869 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13870 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13871 if (!SWIG_IsOK(ecode2
)) {
13872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13874 arg2
= static_cast< bool >(val2
);
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 (arg1
)->SetEditable(arg2
);
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13881 resultobj
= SWIG_Py_Void();
13888 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13889 PyObject
*resultobj
= 0;
13890 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13893 PyObject
*swig_obj
[1] ;
13895 if (!args
) SWIG_fail
;
13896 swig_obj
[0] = args
;
13897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13898 if (!SWIG_IsOK(res1
)) {
13899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13901 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 (arg1
)->SendTextUpdatedEvent();
13905 wxPyEndAllowThreads(__tstate
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= SWIG_Py_Void();
13915 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13916 PyObject
*resultobj
= 0;
13917 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13918 bool arg2
= (bool) true ;
13924 PyObject
* obj0
= 0 ;
13925 PyObject
* obj1
= 0 ;
13926 char * kwnames
[] = {
13927 (char *) "self",(char *) "show", NULL
13930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13932 if (!SWIG_IsOK(res1
)) {
13933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13935 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13937 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13938 if (!SWIG_IsOK(ecode2
)) {
13939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13941 arg2
= static_cast< bool >(val2
);
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13958 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13959 PyObject
*resultobj
= 0;
13960 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13964 PyObject
*swig_obj
[1] ;
13966 if (!args
) SWIG_fail
;
13967 swig_obj
[0] = args
;
13968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13969 if (!SWIG_IsOK(res1
)) {
13970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13972 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (bool)(arg1
)->HideNativeCaret();
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13988 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13989 PyObject
*resultobj
= 0;
13990 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13991 wxString
*arg2
= 0 ;
13994 bool temp2
= false ;
13995 PyObject
* obj0
= 0 ;
13996 PyObject
* obj1
= 0 ;
13997 char * kwnames
[] = {
13998 (char *) "self",(char *) "text", NULL
14001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14003 if (!SWIG_IsOK(res1
)) {
14004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14006 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14008 arg2
= wxString_in_helper(obj1
);
14009 if (arg2
== NULL
) SWIG_fail
;
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_Py_Void();
14033 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
= 0;
14035 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14045 PyObject
* obj0
= 0 ;
14046 PyObject
* obj1
= 0 ;
14047 PyObject
* obj2
= 0 ;
14048 char * kwnames
[] = {
14049 (char *) "self",(char *) "from",(char *) "to", NULL
14052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14054 if (!SWIG_IsOK(res1
)) {
14055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14057 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14058 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14059 if (!SWIG_IsOK(ecode2
)) {
14060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14062 arg2
= static_cast< long >(val2
);
14063 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14064 if (!SWIG_IsOK(ecode3
)) {
14065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14067 arg3
= static_cast< long >(val3
);
14069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14070 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14076 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14078 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14087 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14088 PyObject
*resultobj
= 0;
14089 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14090 SwigValueWrapper
<wxVisualAttributes
> result
;
14093 PyObject
* obj0
= 0 ;
14094 char * kwnames
[] = {
14095 (char *) "variant", NULL
14098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14100 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14101 if (!SWIG_IsOK(ecode1
)) {
14102 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14104 arg1
= static_cast< wxWindowVariant
>(val1
);
14107 if (!wxPyCheckForApp()) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14110 wxPyEndAllowThreads(__tstate
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14113 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14120 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14122 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14123 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14124 return SWIG_Py_Void();
14127 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14128 return SWIG_Python_InitShadowInstance(args
);
14131 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
= 0;
14134 wxMouseEvent
*arg2
= 0 ;
14137 wxTextUrlEvent
*result
= 0 ;
14146 PyObject
* obj0
= 0 ;
14147 PyObject
* obj1
= 0 ;
14148 PyObject
* obj2
= 0 ;
14149 PyObject
* obj3
= 0 ;
14150 char * kwnames
[] = {
14151 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14155 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14156 if (!SWIG_IsOK(ecode1
)) {
14157 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14159 arg1
= static_cast< int >(val1
);
14160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14161 if (!SWIG_IsOK(res2
)) {
14162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14167 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14168 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14169 if (!SWIG_IsOK(ecode3
)) {
14170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14172 arg3
= static_cast< long >(val3
);
14173 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14174 if (!SWIG_IsOK(ecode4
)) {
14175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14177 arg4
= static_cast< long >(val4
);
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14181 wxPyEndAllowThreads(__tstate
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14191 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14192 PyObject
*resultobj
= 0;
14193 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14194 wxMouseEvent
*result
= 0 ;
14197 PyObject
*swig_obj
[1] ;
14199 if (!args
) SWIG_fail
;
14200 swig_obj
[0] = args
;
14201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14202 if (!SWIG_IsOK(res1
)) {
14203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14205 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14209 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14210 result
= (wxMouseEvent
*) &_result_ref
;
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14222 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14223 PyObject
*resultobj
= 0;
14224 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14228 PyObject
*swig_obj
[1] ;
14230 if (!args
) SWIG_fail
;
14231 swig_obj
[0] = args
;
14232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14233 if (!SWIG_IsOK(res1
)) {
14234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14236 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= SWIG_From_long(static_cast< long >(result
));
14250 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14251 PyObject
*resultobj
= 0;
14252 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14256 PyObject
*swig_obj
[1] ;
14258 if (!args
) SWIG_fail
;
14259 swig_obj
[0] = args
;
14260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14261 if (!SWIG_IsOK(res1
)) {
14262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14264 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14271 resultobj
= SWIG_From_long(static_cast< long >(result
));
14278 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14281 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14282 return SWIG_Py_Void();
14285 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14286 return SWIG_Python_InitShadowInstance(args
);
14289 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14290 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14295 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14296 PyObject
*pyobj
= 0;
14300 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14302 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14309 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14310 PyObject
*resultobj
= 0;
14311 wxWindow
*arg1
= (wxWindow
*) 0 ;
14312 int arg2
= (int) -1 ;
14313 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14314 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14315 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14316 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14317 long arg5
= (long) wxSB_HORIZONTAL
;
14318 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14319 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14320 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14321 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14322 wxScrollBar
*result
= 0 ;
14333 bool temp7
= false ;
14334 PyObject
* obj0
= 0 ;
14335 PyObject
* obj1
= 0 ;
14336 PyObject
* obj2
= 0 ;
14337 PyObject
* obj3
= 0 ;
14338 PyObject
* obj4
= 0 ;
14339 PyObject
* obj5
= 0 ;
14340 PyObject
* obj6
= 0 ;
14341 char * kwnames
[] = {
14342 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14347 if (!SWIG_IsOK(res1
)) {
14348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14350 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14353 if (!SWIG_IsOK(ecode2
)) {
14354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14356 arg2
= static_cast< int >(val2
);
14361 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14367 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14371 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14372 if (!SWIG_IsOK(ecode5
)) {
14373 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14375 arg5
= static_cast< long >(val5
);
14378 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14379 if (!SWIG_IsOK(res6
)) {
14380 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14385 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14389 arg7
= wxString_in_helper(obj6
);
14390 if (arg7
== NULL
) SWIG_fail
;
14395 if (!wxPyCheckForApp()) SWIG_fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14398 wxPyEndAllowThreads(__tstate
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14416 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14417 PyObject
*resultobj
= 0;
14418 wxScrollBar
*result
= 0 ;
14420 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14422 if (!wxPyCheckForApp()) SWIG_fail
;
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 result
= (wxScrollBar
*)new wxScrollBar();
14425 wxPyEndAllowThreads(__tstate
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14435 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
= 0;
14437 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14438 wxWindow
*arg2
= (wxWindow
*) 0 ;
14439 int arg3
= (int) -1 ;
14440 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14441 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14442 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14443 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14444 long arg6
= (long) wxSB_HORIZONTAL
;
14445 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14446 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14447 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14448 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14462 bool temp8
= false ;
14463 PyObject
* obj0
= 0 ;
14464 PyObject
* obj1
= 0 ;
14465 PyObject
* obj2
= 0 ;
14466 PyObject
* obj3
= 0 ;
14467 PyObject
* obj4
= 0 ;
14468 PyObject
* obj5
= 0 ;
14469 PyObject
* obj6
= 0 ;
14470 PyObject
* obj7
= 0 ;
14471 char * kwnames
[] = {
14472 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14477 if (!SWIG_IsOK(res1
)) {
14478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14480 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14481 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14482 if (!SWIG_IsOK(res2
)) {
14483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14485 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14487 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14488 if (!SWIG_IsOK(ecode3
)) {
14489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14491 arg3
= static_cast< int >(val3
);
14496 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14502 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14506 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14507 if (!SWIG_IsOK(ecode6
)) {
14508 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14510 arg6
= static_cast< long >(val6
);
14513 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14514 if (!SWIG_IsOK(res7
)) {
14515 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14520 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14524 arg8
= wxString_in_helper(obj7
);
14525 if (arg8
== NULL
) SWIG_fail
;
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14552 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14553 PyObject
*resultobj
= 0;
14554 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14558 PyObject
*swig_obj
[1] ;
14560 if (!args
) SWIG_fail
;
14561 swig_obj
[0] = args
;
14562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14563 if (!SWIG_IsOK(res1
)) {
14564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14566 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= SWIG_From_int(static_cast< int >(result
));
14580 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14581 PyObject
*resultobj
= 0;
14582 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14586 PyObject
*swig_obj
[1] ;
14588 if (!args
) SWIG_fail
;
14589 swig_obj
[0] = args
;
14590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14591 if (!SWIG_IsOK(res1
)) {
14592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14594 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14601 resultobj
= SWIG_From_int(static_cast< int >(result
));
14608 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14609 PyObject
*resultobj
= 0;
14610 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14614 PyObject
*swig_obj
[1] ;
14616 if (!args
) SWIG_fail
;
14617 swig_obj
[0] = args
;
14618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14619 if (!SWIG_IsOK(res1
)) {
14620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14622 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14629 resultobj
= SWIG_From_int(static_cast< int >(result
));
14636 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14637 PyObject
*resultobj
= 0;
14638 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14642 PyObject
*swig_obj
[1] ;
14644 if (!args
) SWIG_fail
;
14645 swig_obj
[0] = args
;
14646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14647 if (!SWIG_IsOK(res1
)) {
14648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14650 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= SWIG_From_int(static_cast< int >(result
));
14664 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14665 PyObject
*resultobj
= 0;
14666 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14670 PyObject
*swig_obj
[1] ;
14672 if (!args
) SWIG_fail
;
14673 swig_obj
[0] = args
;
14674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14675 if (!SWIG_IsOK(res1
)) {
14676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14678 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14694 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14695 PyObject
*resultobj
= 0;
14696 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 PyObject
* obj1
= 0 ;
14704 char * kwnames
[] = {
14705 (char *) "self",(char *) "viewStart", NULL
14708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14710 if (!SWIG_IsOK(res1
)) {
14711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14713 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14715 if (!SWIG_IsOK(ecode2
)) {
14716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14718 arg2
= static_cast< int >(val2
);
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 (arg1
)->SetThumbPosition(arg2
);
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 resultobj
= SWIG_Py_Void();
14732 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14733 PyObject
*resultobj
= 0;
14734 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14735 SwigValueWrapper
<wxVisualAttributes
> result
;
14738 PyObject
* obj0
= 0 ;
14739 char * kwnames
[] = {
14740 (char *) "variant", NULL
14743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14745 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14746 if (!SWIG_IsOK(ecode1
)) {
14747 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14749 arg1
= static_cast< wxWindowVariant
>(val1
);
14752 if (!wxPyCheckForApp()) SWIG_fail
;
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14765 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14767 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14768 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14769 return SWIG_Py_Void();
14772 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14773 return SWIG_Python_InitShadowInstance(args
);
14776 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14777 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14782 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14783 PyObject
*pyobj
= 0;
14787 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14789 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14796 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14797 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14802 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14803 PyObject
*pyobj
= 0;
14807 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14809 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14816 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
= 0;
14818 wxWindow
*arg1
= (wxWindow
*) 0 ;
14819 int arg2
= (int) -1 ;
14820 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14821 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14822 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14823 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14824 long arg5
= (long) wxSP_HORIZONTAL
;
14825 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14826 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14827 wxSpinButton
*result
= 0 ;
14836 bool temp6
= false ;
14837 PyObject
* obj0
= 0 ;
14838 PyObject
* obj1
= 0 ;
14839 PyObject
* obj2
= 0 ;
14840 PyObject
* obj3
= 0 ;
14841 PyObject
* obj4
= 0 ;
14842 PyObject
* obj5
= 0 ;
14843 char * kwnames
[] = {
14844 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14849 if (!SWIG_IsOK(res1
)) {
14850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14852 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14855 if (!SWIG_IsOK(ecode2
)) {
14856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14858 arg2
= static_cast< int >(val2
);
14863 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14869 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14873 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14874 if (!SWIG_IsOK(ecode5
)) {
14875 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14877 arg5
= static_cast< long >(val5
);
14881 arg6
= wxString_in_helper(obj5
);
14882 if (arg6
== NULL
) SWIG_fail
;
14887 if (!wxPyCheckForApp()) SWIG_fail
;
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14908 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14909 PyObject
*resultobj
= 0;
14910 wxSpinButton
*result
= 0 ;
14912 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14914 if (!wxPyCheckForApp()) SWIG_fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 result
= (wxSpinButton
*)new wxSpinButton();
14917 wxPyEndAllowThreads(__tstate
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14927 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
= 0;
14929 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14930 wxWindow
*arg2
= (wxWindow
*) 0 ;
14931 int arg3
= (int) -1 ;
14932 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14933 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14934 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14935 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14936 long arg6
= (long) wxSP_HORIZONTAL
;
14937 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14938 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14950 bool temp7
= false ;
14951 PyObject
* obj0
= 0 ;
14952 PyObject
* obj1
= 0 ;
14953 PyObject
* obj2
= 0 ;
14954 PyObject
* obj3
= 0 ;
14955 PyObject
* obj4
= 0 ;
14956 PyObject
* obj5
= 0 ;
14957 PyObject
* obj6
= 0 ;
14958 char * kwnames
[] = {
14959 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14964 if (!SWIG_IsOK(res1
)) {
14965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14967 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14968 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14969 if (!SWIG_IsOK(res2
)) {
14970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14972 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14975 if (!SWIG_IsOK(ecode3
)) {
14976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14978 arg3
= static_cast< int >(val3
);
14983 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14989 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14993 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14994 if (!SWIG_IsOK(ecode6
)) {
14995 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14997 arg6
= static_cast< long >(val6
);
15001 arg7
= wxString_in_helper(obj6
);
15002 if (arg7
== NULL
) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15009 wxPyEndAllowThreads(__tstate
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15029 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15030 PyObject
*resultobj
= 0;
15031 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15035 PyObject
*swig_obj
[1] ;
15037 if (!args
) SWIG_fail
;
15038 swig_obj
[0] = args
;
15039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15040 if (!SWIG_IsOK(res1
)) {
15041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15043 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 resultobj
= SWIG_From_int(static_cast< int >(result
));
15057 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15058 PyObject
*resultobj
= 0;
15059 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15063 PyObject
*swig_obj
[1] ;
15065 if (!args
) SWIG_fail
;
15066 swig_obj
[0] = args
;
15067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15068 if (!SWIG_IsOK(res1
)) {
15069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15071 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 resultobj
= SWIG_From_int(static_cast< int >(result
));
15085 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15086 PyObject
*resultobj
= 0;
15087 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15091 PyObject
*swig_obj
[1] ;
15093 if (!args
) SWIG_fail
;
15094 swig_obj
[0] = args
;
15095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15096 if (!SWIG_IsOK(res1
)) {
15097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15099 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15106 resultobj
= SWIG_From_int(static_cast< int >(result
));
15113 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
= 0;
15115 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15121 PyObject
* obj0
= 0 ;
15122 PyObject
* obj1
= 0 ;
15123 char * kwnames
[] = {
15124 (char *) "self",(char *) "val", NULL
15127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15129 if (!SWIG_IsOK(res1
)) {
15130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15132 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15134 if (!SWIG_IsOK(ecode2
)) {
15135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15137 arg2
= static_cast< int >(val2
);
15139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15140 (arg1
)->SetValue(arg2
);
15141 wxPyEndAllowThreads(__tstate
);
15142 if (PyErr_Occurred()) SWIG_fail
;
15144 resultobj
= SWIG_Py_Void();
15151 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
= 0;
15153 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15159 PyObject
* obj0
= 0 ;
15160 PyObject
* obj1
= 0 ;
15161 char * kwnames
[] = {
15162 (char *) "self",(char *) "minVal", NULL
15165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15167 if (!SWIG_IsOK(res1
)) {
15168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15170 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15172 if (!SWIG_IsOK(ecode2
)) {
15173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15175 arg2
= static_cast< int >(val2
);
15177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15178 (arg1
)->SetMin(arg2
);
15179 wxPyEndAllowThreads(__tstate
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= SWIG_Py_Void();
15189 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
= 0;
15191 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15197 PyObject
* obj0
= 0 ;
15198 PyObject
* obj1
= 0 ;
15199 char * kwnames
[] = {
15200 (char *) "self",(char *) "maxVal", NULL
15203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15205 if (!SWIG_IsOK(res1
)) {
15206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15208 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15210 if (!SWIG_IsOK(ecode2
)) {
15211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15213 arg2
= static_cast< int >(val2
);
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 (arg1
)->SetMax(arg2
);
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15220 resultobj
= SWIG_Py_Void();
15227 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15228 PyObject
*resultobj
= 0;
15229 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15238 PyObject
* obj0
= 0 ;
15239 PyObject
* obj1
= 0 ;
15240 PyObject
* obj2
= 0 ;
15241 char * kwnames
[] = {
15242 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15247 if (!SWIG_IsOK(res1
)) {
15248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15250 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15252 if (!SWIG_IsOK(ecode2
)) {
15253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15255 arg2
= static_cast< int >(val2
);
15256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15257 if (!SWIG_IsOK(ecode3
)) {
15258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15260 arg3
= static_cast< int >(val3
);
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 (arg1
)->SetRange(arg2
,arg3
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= SWIG_Py_Void();
15274 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15275 PyObject
*resultobj
= 0;
15276 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15280 PyObject
*swig_obj
[1] ;
15282 if (!args
) SWIG_fail
;
15283 swig_obj
[0] = args
;
15284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15285 if (!SWIG_IsOK(res1
)) {
15286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15288 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15304 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15305 PyObject
*resultobj
= 0;
15306 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15307 SwigValueWrapper
<wxVisualAttributes
> result
;
15310 PyObject
* obj0
= 0 ;
15311 char * kwnames
[] = {
15312 (char *) "variant", NULL
15315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15317 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15318 if (!SWIG_IsOK(ecode1
)) {
15319 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15321 arg1
= static_cast< wxWindowVariant
>(val1
);
15324 if (!wxPyCheckForApp()) SWIG_fail
;
15325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15330 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15337 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15340 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15341 return SWIG_Py_Void();
15344 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15345 return SWIG_Python_InitShadowInstance(args
);
15348 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
= 0;
15350 wxWindow
*arg1
= (wxWindow
*) 0 ;
15351 int arg2
= (int) -1 ;
15352 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15353 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15354 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15355 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15356 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15357 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15358 long arg6
= (long) wxSP_ARROW_KEYS
;
15359 int arg7
= (int) 0 ;
15360 int arg8
= (int) 100 ;
15361 int arg9
= (int) 0 ;
15362 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15363 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15364 wxSpinCtrl
*result
= 0 ;
15369 bool temp3
= false ;
15380 bool temp10
= false ;
15381 PyObject
* obj0
= 0 ;
15382 PyObject
* obj1
= 0 ;
15383 PyObject
* obj2
= 0 ;
15384 PyObject
* obj3
= 0 ;
15385 PyObject
* obj4
= 0 ;
15386 PyObject
* obj5
= 0 ;
15387 PyObject
* obj6
= 0 ;
15388 PyObject
* obj7
= 0 ;
15389 PyObject
* obj8
= 0 ;
15390 PyObject
* obj9
= 0 ;
15391 char * kwnames
[] = {
15392 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15397 if (!SWIG_IsOK(res1
)) {
15398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15400 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15403 if (!SWIG_IsOK(ecode2
)) {
15404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15406 arg2
= static_cast< int >(val2
);
15410 arg3
= wxString_in_helper(obj2
);
15411 if (arg3
== NULL
) SWIG_fail
;
15418 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15424 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15428 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15429 if (!SWIG_IsOK(ecode6
)) {
15430 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15432 arg6
= static_cast< long >(val6
);
15435 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15436 if (!SWIG_IsOK(ecode7
)) {
15437 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15439 arg7
= static_cast< int >(val7
);
15442 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15443 if (!SWIG_IsOK(ecode8
)) {
15444 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15446 arg8
= static_cast< int >(val8
);
15449 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15450 if (!SWIG_IsOK(ecode9
)) {
15451 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15453 arg9
= static_cast< int >(val9
);
15457 arg10
= wxString_in_helper(obj9
);
15458 if (arg10
== NULL
) SWIG_fail
;
15463 if (!wxPyCheckForApp()) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15492 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15493 PyObject
*resultobj
= 0;
15494 wxSpinCtrl
*result
= 0 ;
15496 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15498 if (!wxPyCheckForApp()) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15511 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15512 PyObject
*resultobj
= 0;
15513 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15514 wxWindow
*arg2
= (wxWindow
*) 0 ;
15515 int arg3
= (int) -1 ;
15516 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15517 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15518 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15519 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15520 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15521 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15522 long arg7
= (long) wxSP_ARROW_KEYS
;
15523 int arg8
= (int) 0 ;
15524 int arg9
= (int) 100 ;
15525 int arg10
= (int) 0 ;
15526 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15527 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15535 bool temp4
= false ;
15546 bool temp11
= false ;
15547 PyObject
* obj0
= 0 ;
15548 PyObject
* obj1
= 0 ;
15549 PyObject
* obj2
= 0 ;
15550 PyObject
* obj3
= 0 ;
15551 PyObject
* obj4
= 0 ;
15552 PyObject
* obj5
= 0 ;
15553 PyObject
* obj6
= 0 ;
15554 PyObject
* obj7
= 0 ;
15555 PyObject
* obj8
= 0 ;
15556 PyObject
* obj9
= 0 ;
15557 PyObject
* obj10
= 0 ;
15558 char * kwnames
[] = {
15559 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15564 if (!SWIG_IsOK(res1
)) {
15565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15567 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15568 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15569 if (!SWIG_IsOK(res2
)) {
15570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15572 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15575 if (!SWIG_IsOK(ecode3
)) {
15576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15578 arg3
= static_cast< int >(val3
);
15582 arg4
= wxString_in_helper(obj3
);
15583 if (arg4
== NULL
) SWIG_fail
;
15590 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15596 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15600 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15601 if (!SWIG_IsOK(ecode7
)) {
15602 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15604 arg7
= static_cast< long >(val7
);
15607 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15608 if (!SWIG_IsOK(ecode8
)) {
15609 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15611 arg8
= static_cast< int >(val8
);
15614 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15615 if (!SWIG_IsOK(ecode9
)) {
15616 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15618 arg9
= static_cast< int >(val9
);
15621 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15622 if (!SWIG_IsOK(ecode10
)) {
15623 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15625 arg10
= static_cast< int >(val10
);
15629 arg11
= wxString_in_helper(obj10
);
15630 if (arg11
== NULL
) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15665 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15666 PyObject
*resultobj
= 0;
15667 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15671 PyObject
*swig_obj
[1] ;
15673 if (!args
) SWIG_fail
;
15674 swig_obj
[0] = args
;
15675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15676 if (!SWIG_IsOK(res1
)) {
15677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15679 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15686 resultobj
= SWIG_From_int(static_cast< int >(result
));
15693 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15694 PyObject
*resultobj
= 0;
15695 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15701 PyObject
* obj0
= 0 ;
15702 PyObject
* obj1
= 0 ;
15703 char * kwnames
[] = {
15704 (char *) "self",(char *) "value", NULL
15707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15709 if (!SWIG_IsOK(res1
)) {
15710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15712 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15714 if (!SWIG_IsOK(ecode2
)) {
15715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15717 arg2
= static_cast< int >(val2
);
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 (arg1
)->SetValue(arg2
);
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15724 resultobj
= SWIG_Py_Void();
15731 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
= 0;
15733 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15734 wxString
*arg2
= 0 ;
15737 bool temp2
= false ;
15738 PyObject
* obj0
= 0 ;
15739 PyObject
* obj1
= 0 ;
15740 char * kwnames
[] = {
15741 (char *) "self",(char *) "text", NULL
15744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15746 if (!SWIG_IsOK(res1
)) {
15747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15749 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15751 arg2
= wxString_in_helper(obj1
);
15752 if (arg2
== NULL
) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 (arg1
)->SetValue((wxString
const &)*arg2
);
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= SWIG_Py_Void();
15776 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
= 0;
15778 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15787 PyObject
* obj0
= 0 ;
15788 PyObject
* obj1
= 0 ;
15789 PyObject
* obj2
= 0 ;
15790 char * kwnames
[] = {
15791 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15796 if (!SWIG_IsOK(res1
)) {
15797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15799 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15801 if (!SWIG_IsOK(ecode2
)) {
15802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15804 arg2
= static_cast< int >(val2
);
15805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15806 if (!SWIG_IsOK(ecode3
)) {
15807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15809 arg3
= static_cast< int >(val3
);
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 (arg1
)->SetRange(arg2
,arg3
);
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15816 resultobj
= SWIG_Py_Void();
15823 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15824 PyObject
*resultobj
= 0;
15825 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15829 PyObject
*swig_obj
[1] ;
15831 if (!args
) SWIG_fail
;
15832 swig_obj
[0] = args
;
15833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15834 if (!SWIG_IsOK(res1
)) {
15835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15837 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15844 resultobj
= SWIG_From_int(static_cast< int >(result
));
15851 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15852 PyObject
*resultobj
= 0;
15853 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15857 PyObject
*swig_obj
[1] ;
15859 if (!args
) SWIG_fail
;
15860 swig_obj
[0] = args
;
15861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15862 if (!SWIG_IsOK(res1
)) {
15863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15865 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15872 resultobj
= SWIG_From_int(static_cast< int >(result
));
15879 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15880 PyObject
*resultobj
= 0;
15881 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15890 PyObject
* obj0
= 0 ;
15891 PyObject
* obj1
= 0 ;
15892 PyObject
* obj2
= 0 ;
15893 char * kwnames
[] = {
15894 (char *) "self",(char *) "from",(char *) "to", NULL
15897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15899 if (!SWIG_IsOK(res1
)) {
15900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15902 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15903 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15904 if (!SWIG_IsOK(ecode2
)) {
15905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15907 arg2
= static_cast< long >(val2
);
15908 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15909 if (!SWIG_IsOK(ecode3
)) {
15910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15912 arg3
= static_cast< long >(val3
);
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 (arg1
)->SetSelection(arg2
,arg3
);
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15919 resultobj
= SWIG_Py_Void();
15926 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
= 0;
15928 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15929 SwigValueWrapper
<wxVisualAttributes
> result
;
15932 PyObject
* obj0
= 0 ;
15933 char * kwnames
[] = {
15934 (char *) "variant", NULL
15937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15939 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15940 if (!SWIG_IsOK(ecode1
)) {
15941 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15943 arg1
= static_cast< wxWindowVariant
>(val1
);
15946 if (!wxPyCheckForApp()) SWIG_fail
;
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15949 wxPyEndAllowThreads(__tstate
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15952 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15959 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15962 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15963 return SWIG_Py_Void();
15966 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15967 return SWIG_Python_InitShadowInstance(args
);
15970 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
= 0;
15972 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15973 int arg2
= (int) 0 ;
15974 wxSpinEvent
*result
= 0 ;
15979 PyObject
* obj0
= 0 ;
15980 PyObject
* obj1
= 0 ;
15981 char * kwnames
[] = {
15982 (char *) "commandType",(char *) "winid", NULL
15985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15987 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15988 if (!SWIG_IsOK(ecode1
)) {
15989 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15991 arg1
= static_cast< wxEventType
>(val1
);
15994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15995 if (!SWIG_IsOK(ecode2
)) {
15996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15998 arg2
= static_cast< int >(val2
);
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
16013 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16014 PyObject
*resultobj
= 0;
16015 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16019 PyObject
*swig_obj
[1] ;
16021 if (!args
) SWIG_fail
;
16022 swig_obj
[0] = args
;
16023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16024 if (!SWIG_IsOK(res1
)) {
16025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16027 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16034 resultobj
= SWIG_From_int(static_cast< int >(result
));
16041 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16042 PyObject
*resultobj
= 0;
16043 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16049 PyObject
* obj0
= 0 ;
16050 PyObject
* obj1
= 0 ;
16051 char * kwnames
[] = {
16052 (char *) "self",(char *) "pos", NULL
16055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16057 if (!SWIG_IsOK(res1
)) {
16058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16060 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16062 if (!SWIG_IsOK(ecode2
)) {
16063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16065 arg2
= static_cast< int >(val2
);
16067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 (arg1
)->SetPosition(arg2
);
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= SWIG_Py_Void();
16079 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16081 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16082 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16083 return SWIG_Py_Void();
16086 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16087 return SWIG_Python_InitShadowInstance(args
);
16090 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16091 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16096 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16097 PyObject
*pyobj
= 0;
16101 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16103 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16110 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16111 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16116 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16117 PyObject
*pyobj
= 0;
16121 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16123 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16130 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16131 PyObject
*resultobj
= 0;
16132 wxWindow
*arg1
= (wxWindow
*) 0 ;
16133 int arg2
= (int) -1 ;
16134 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16135 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16136 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16137 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16138 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16139 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16140 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16141 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16142 int arg7
= (int) 0 ;
16143 long arg8
= (long) wxRA_HORIZONTAL
;
16144 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16145 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16146 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16147 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16148 wxRadioBox
*result
= 0 ;
16153 bool temp3
= false ;
16156 bool temp6
= false ;
16163 bool temp10
= false ;
16164 PyObject
* obj0
= 0 ;
16165 PyObject
* obj1
= 0 ;
16166 PyObject
* obj2
= 0 ;
16167 PyObject
* obj3
= 0 ;
16168 PyObject
* obj4
= 0 ;
16169 PyObject
* obj5
= 0 ;
16170 PyObject
* obj6
= 0 ;
16171 PyObject
* obj7
= 0 ;
16172 PyObject
* obj8
= 0 ;
16173 PyObject
* obj9
= 0 ;
16174 char * kwnames
[] = {
16175 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16180 if (!SWIG_IsOK(res1
)) {
16181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16183 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16186 if (!SWIG_IsOK(ecode2
)) {
16187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16189 arg2
= static_cast< int >(val2
);
16193 arg3
= wxString_in_helper(obj2
);
16194 if (arg3
== NULL
) SWIG_fail
;
16201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16212 if (! PySequence_Check(obj5
)) {
16213 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16216 arg6
= new wxArrayString
;
16218 int i
, len
=PySequence_Length(obj5
);
16219 for (i
=0; i
<len
; i
++) {
16220 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16221 wxString
* s
= wxString_in_helper(item
);
16222 if (PyErr_Occurred()) SWIG_fail
;
16230 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16231 if (!SWIG_IsOK(ecode7
)) {
16232 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16234 arg7
= static_cast< int >(val7
);
16237 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16238 if (!SWIG_IsOK(ecode8
)) {
16239 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16241 arg8
= static_cast< long >(val8
);
16244 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16245 if (!SWIG_IsOK(res9
)) {
16246 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16251 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16255 arg10
= wxString_in_helper(obj9
);
16256 if (arg10
== NULL
) SWIG_fail
;
16261 if (!wxPyCheckForApp()) SWIG_fail
;
16262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16263 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
);
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16273 if (temp6
) delete arg6
;
16286 if (temp6
) delete arg6
;
16296 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16297 PyObject
*resultobj
= 0;
16298 wxRadioBox
*result
= 0 ;
16300 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16302 if (!wxPyCheckForApp()) SWIG_fail
;
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 result
= (wxRadioBox
*)new wxRadioBox();
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16315 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16316 PyObject
*resultobj
= 0;
16317 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16318 wxWindow
*arg2
= (wxWindow
*) 0 ;
16319 int arg3
= (int) -1 ;
16320 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16321 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16322 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16323 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16324 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16325 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16326 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16327 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16328 int arg8
= (int) 0 ;
16329 long arg9
= (long) wxRA_HORIZONTAL
;
16330 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16331 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16332 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16333 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16341 bool temp4
= false ;
16344 bool temp7
= false ;
16351 bool temp11
= false ;
16352 PyObject
* obj0
= 0 ;
16353 PyObject
* obj1
= 0 ;
16354 PyObject
* obj2
= 0 ;
16355 PyObject
* obj3
= 0 ;
16356 PyObject
* obj4
= 0 ;
16357 PyObject
* obj5
= 0 ;
16358 PyObject
* obj6
= 0 ;
16359 PyObject
* obj7
= 0 ;
16360 PyObject
* obj8
= 0 ;
16361 PyObject
* obj9
= 0 ;
16362 PyObject
* obj10
= 0 ;
16363 char * kwnames
[] = {
16364 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16369 if (!SWIG_IsOK(res1
)) {
16370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16372 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16373 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16374 if (!SWIG_IsOK(res2
)) {
16375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16377 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16380 if (!SWIG_IsOK(ecode3
)) {
16381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16383 arg3
= static_cast< int >(val3
);
16387 arg4
= wxString_in_helper(obj3
);
16388 if (arg4
== NULL
) SWIG_fail
;
16395 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16401 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16406 if (! PySequence_Check(obj6
)) {
16407 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16410 arg7
= new wxArrayString
;
16412 int i
, len
=PySequence_Length(obj6
);
16413 for (i
=0; i
<len
; i
++) {
16414 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16415 wxString
* s
= wxString_in_helper(item
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16424 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16425 if (!SWIG_IsOK(ecode8
)) {
16426 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16428 arg8
= static_cast< int >(val8
);
16431 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16432 if (!SWIG_IsOK(ecode9
)) {
16433 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16435 arg9
= static_cast< long >(val9
);
16438 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16439 if (!SWIG_IsOK(res10
)) {
16440 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16445 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16449 arg11
= wxString_in_helper(obj10
);
16450 if (arg11
== NULL
) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 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
);
16457 wxPyEndAllowThreads(__tstate
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16468 if (temp7
) delete arg7
;
16481 if (temp7
) delete arg7
;
16491 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
= 0;
16493 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16499 PyObject
* obj0
= 0 ;
16500 PyObject
* obj1
= 0 ;
16501 char * kwnames
[] = {
16502 (char *) "self",(char *) "n", NULL
16505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16507 if (!SWIG_IsOK(res1
)) {
16508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16510 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16512 if (!SWIG_IsOK(ecode2
)) {
16513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16515 arg2
= static_cast< int >(val2
);
16517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 (arg1
)->SetSelection(arg2
);
16519 wxPyEndAllowThreads(__tstate
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16522 resultobj
= SWIG_Py_Void();
16529 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16530 PyObject
*resultobj
= 0;
16531 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16535 PyObject
*swig_obj
[1] ;
16537 if (!args
) SWIG_fail
;
16538 swig_obj
[0] = args
;
16539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16540 if (!SWIG_IsOK(res1
)) {
16541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16543 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16546 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16547 wxPyEndAllowThreads(__tstate
);
16548 if (PyErr_Occurred()) SWIG_fail
;
16550 resultobj
= SWIG_From_int(static_cast< int >(result
));
16557 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16558 PyObject
*resultobj
= 0;
16559 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16563 PyObject
*swig_obj
[1] ;
16565 if (!args
) SWIG_fail
;
16566 swig_obj
[0] = args
;
16567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16568 if (!SWIG_IsOK(res1
)) {
16569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16571 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16591 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
= 0;
16593 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16594 wxString
*arg2
= 0 ;
16598 bool temp2
= false ;
16599 PyObject
* obj0
= 0 ;
16600 PyObject
* obj1
= 0 ;
16601 char * kwnames
[] = {
16602 (char *) "self",(char *) "s", NULL
16605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16607 if (!SWIG_IsOK(res1
)) {
16608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16610 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16612 arg2
= wxString_in_helper(obj1
);
16613 if (arg2
== NULL
) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16639 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16640 PyObject
*resultobj
= 0;
16641 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16645 PyObject
*swig_obj
[1] ;
16647 if (!args
) SWIG_fail
;
16648 swig_obj
[0] = args
;
16649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16650 if (!SWIG_IsOK(res1
)) {
16651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16653 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16656 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16667 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16668 PyObject
*resultobj
= 0;
16669 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16670 wxString
*arg2
= 0 ;
16674 bool temp2
= false ;
16675 PyObject
* obj0
= 0 ;
16676 PyObject
* obj1
= 0 ;
16677 char * kwnames
[] = {
16678 (char *) "self",(char *) "s", NULL
16681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16683 if (!SWIG_IsOK(res1
)) {
16684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16686 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16688 arg2
= wxString_in_helper(obj1
);
16689 if (arg2
== NULL
) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16695 wxPyEndAllowThreads(__tstate
);
16696 if (PyErr_Occurred()) SWIG_fail
;
16698 resultobj
= SWIG_From_int(static_cast< int >(result
));
16713 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
= 0;
16715 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16722 PyObject
* obj0
= 0 ;
16723 PyObject
* obj1
= 0 ;
16724 char * kwnames
[] = {
16725 (char *) "self",(char *) "n", NULL
16728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16730 if (!SWIG_IsOK(res1
)) {
16731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16733 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16735 if (!SWIG_IsOK(ecode2
)) {
16736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16738 arg2
= static_cast< int >(val2
);
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16742 wxPyEndAllowThreads(__tstate
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16758 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
= 0;
16760 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16762 wxString
*arg3
= 0 ;
16767 bool temp3
= false ;
16768 PyObject
* obj0
= 0 ;
16769 PyObject
* obj1
= 0 ;
16770 PyObject
* obj2
= 0 ;
16771 char * kwnames
[] = {
16772 (char *) "self",(char *) "n",(char *) "label", NULL
16775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16777 if (!SWIG_IsOK(res1
)) {
16778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16780 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16782 if (!SWIG_IsOK(ecode2
)) {
16783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16785 arg2
= static_cast< int >(val2
);
16787 arg3
= wxString_in_helper(obj2
);
16788 if (arg3
== NULL
) SWIG_fail
;
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16797 resultobj
= SWIG_Py_Void();
16812 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
= 0;
16814 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16815 unsigned int arg2
;
16816 bool arg3
= (bool) true ;
16819 unsigned int val2
;
16823 PyObject
* obj0
= 0 ;
16824 PyObject
* obj1
= 0 ;
16825 PyObject
* obj2
= 0 ;
16826 char * kwnames
[] = {
16827 (char *) "self",(char *) "n",(char *) "enable", NULL
16830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16832 if (!SWIG_IsOK(res1
)) {
16833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16835 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16836 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16837 if (!SWIG_IsOK(ecode2
)) {
16838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16840 arg2
= static_cast< unsigned int >(val2
);
16842 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16843 if (!SWIG_IsOK(ecode3
)) {
16844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16846 arg3
= static_cast< bool >(val3
);
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 (arg1
)->Enable(arg2
,arg3
);
16851 wxPyEndAllowThreads(__tstate
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16854 resultobj
= SWIG_Py_Void();
16861 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
= 0;
16863 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16864 unsigned int arg2
;
16865 bool arg3
= (bool) true ;
16868 unsigned int val2
;
16872 PyObject
* obj0
= 0 ;
16873 PyObject
* obj1
= 0 ;
16874 PyObject
* obj2
= 0 ;
16875 char * kwnames
[] = {
16876 (char *) "self",(char *) "n",(char *) "show", NULL
16879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16881 if (!SWIG_IsOK(res1
)) {
16882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16884 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16885 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16886 if (!SWIG_IsOK(ecode2
)) {
16887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16889 arg2
= static_cast< unsigned int >(val2
);
16891 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16892 if (!SWIG_IsOK(ecode3
)) {
16893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16895 arg3
= static_cast< bool >(val3
);
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 (arg1
)->Show(arg2
,arg3
);
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= SWIG_Py_Void();
16910 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
= 0;
16912 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16913 unsigned int arg2
;
16917 unsigned int val2
;
16919 PyObject
* obj0
= 0 ;
16920 PyObject
* obj1
= 0 ;
16921 char * kwnames
[] = {
16922 (char *) "self",(char *) "n", NULL
16925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16927 if (!SWIG_IsOK(res1
)) {
16928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16930 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16931 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16932 if (!SWIG_IsOK(ecode2
)) {
16933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16935 arg2
= static_cast< unsigned int >(val2
);
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16951 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16952 PyObject
*resultobj
= 0;
16953 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16954 unsigned int arg2
;
16958 unsigned int val2
;
16960 PyObject
* obj0
= 0 ;
16961 PyObject
* obj1
= 0 ;
16962 char * kwnames
[] = {
16963 (char *) "self",(char *) "n", NULL
16966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16968 if (!SWIG_IsOK(res1
)) {
16969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16971 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16972 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16973 if (!SWIG_IsOK(ecode2
)) {
16974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16976 arg2
= static_cast< unsigned int >(val2
);
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16980 wxPyEndAllowThreads(__tstate
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16992 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16993 PyObject
*resultobj
= 0;
16994 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16995 unsigned int result
;
16998 PyObject
*swig_obj
[1] ;
17000 if (!args
) SWIG_fail
;
17001 swig_obj
[0] = args
;
17002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17003 if (!SWIG_IsOK(res1
)) {
17004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17006 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17013 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17020 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17021 PyObject
*resultobj
= 0;
17022 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17023 unsigned int result
;
17026 PyObject
*swig_obj
[1] ;
17028 if (!args
) SWIG_fail
;
17029 swig_obj
[0] = args
;
17030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17031 if (!SWIG_IsOK(res1
)) {
17032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17034 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
17038 wxPyEndAllowThreads(__tstate
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17041 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17048 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
= 0;
17050 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17063 PyObject
* obj0
= 0 ;
17064 PyObject
* obj1
= 0 ;
17065 PyObject
* obj2
= 0 ;
17066 PyObject
* obj3
= 0 ;
17067 char * kwnames
[] = {
17068 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17073 if (!SWIG_IsOK(res1
)) {
17074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17076 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17078 if (!SWIG_IsOK(ecode2
)) {
17079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17081 arg2
= static_cast< int >(val2
);
17082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17083 if (!SWIG_IsOK(ecode3
)) {
17084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17086 arg3
= static_cast< wxDirection
>(val3
);
17087 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17088 if (!SWIG_IsOK(ecode4
)) {
17089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17091 arg4
= static_cast< long >(val4
);
17093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17094 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17098 resultobj
= SWIG_From_int(static_cast< int >(result
));
17105 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17106 PyObject
*resultobj
= 0;
17107 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17108 unsigned int arg2
;
17109 wxString
*arg3
= 0 ;
17112 unsigned int val2
;
17114 bool temp3
= false ;
17115 PyObject
* obj0
= 0 ;
17116 PyObject
* obj1
= 0 ;
17117 PyObject
* obj2
= 0 ;
17118 char * kwnames
[] = {
17119 (char *) "self",(char *) "item",(char *) "text", NULL
17122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17124 if (!SWIG_IsOK(res1
)) {
17125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17127 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17128 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17129 if (!SWIG_IsOK(ecode2
)) {
17130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17132 arg2
= static_cast< unsigned int >(val2
);
17134 arg3
= wxString_in_helper(obj2
);
17135 if (arg3
== NULL
) SWIG_fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17141 wxPyEndAllowThreads(__tstate
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17144 resultobj
= SWIG_Py_Void();
17159 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
= 0;
17161 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17162 unsigned int arg2
;
17163 wxToolTip
*result
= 0 ;
17166 unsigned int val2
;
17168 PyObject
* obj0
= 0 ;
17169 PyObject
* obj1
= 0 ;
17170 char * kwnames
[] = {
17171 (char *) "self",(char *) "item", NULL
17174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17176 if (!SWIG_IsOK(res1
)) {
17177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17179 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17180 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17181 if (!SWIG_IsOK(ecode2
)) {
17182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17184 arg2
= static_cast< unsigned int >(val2
);
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17200 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
= 0;
17202 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17203 unsigned int arg2
;
17204 wxString
*arg3
= 0 ;
17207 unsigned int val2
;
17209 bool temp3
= false ;
17210 PyObject
* obj0
= 0 ;
17211 PyObject
* obj1
= 0 ;
17212 PyObject
* obj2
= 0 ;
17213 char * kwnames
[] = {
17214 (char *) "self",(char *) "n",(char *) "helpText", NULL
17217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17219 if (!SWIG_IsOK(res1
)) {
17220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17222 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17223 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17224 if (!SWIG_IsOK(ecode2
)) {
17225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17227 arg2
= static_cast< unsigned int >(val2
);
17229 arg3
= wxString_in_helper(obj2
);
17230 if (arg3
== NULL
) SWIG_fail
;
17234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17235 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17236 wxPyEndAllowThreads(__tstate
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17239 resultobj
= SWIG_Py_Void();
17254 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
= 0;
17256 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17257 unsigned int arg2
;
17261 unsigned int val2
;
17263 PyObject
* obj0
= 0 ;
17264 PyObject
* obj1
= 0 ;
17265 char * kwnames
[] = {
17266 (char *) "self",(char *) "n", NULL
17269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17271 if (!SWIG_IsOK(res1
)) {
17272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17274 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17275 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17276 if (!SWIG_IsOK(ecode2
)) {
17277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17279 arg2
= static_cast< unsigned int >(val2
);
17281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17282 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17299 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
= 0;
17301 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17302 SwigValueWrapper
<wxVisualAttributes
> result
;
17305 PyObject
* obj0
= 0 ;
17306 char * kwnames
[] = {
17307 (char *) "variant", NULL
17310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17312 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17313 if (!SWIG_IsOK(ecode1
)) {
17314 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17316 arg1
= static_cast< wxWindowVariant
>(val1
);
17319 if (!wxPyCheckForApp()) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17322 wxPyEndAllowThreads(__tstate
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17325 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17332 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17335 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17336 return SWIG_Py_Void();
17339 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17340 return SWIG_Python_InitShadowInstance(args
);
17343 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17344 PyObject
*resultobj
= 0;
17345 wxWindow
*arg1
= (wxWindow
*) 0 ;
17346 int arg2
= (int) -1 ;
17347 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17348 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17349 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17350 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17351 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17352 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17353 long arg6
= (long) 0 ;
17354 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17355 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17356 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17357 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17358 wxRadioButton
*result
= 0 ;
17363 bool temp3
= false ;
17370 bool temp8
= false ;
17371 PyObject
* obj0
= 0 ;
17372 PyObject
* obj1
= 0 ;
17373 PyObject
* obj2
= 0 ;
17374 PyObject
* obj3
= 0 ;
17375 PyObject
* obj4
= 0 ;
17376 PyObject
* obj5
= 0 ;
17377 PyObject
* obj6
= 0 ;
17378 PyObject
* obj7
= 0 ;
17379 char * kwnames
[] = {
17380 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17385 if (!SWIG_IsOK(res1
)) {
17386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17388 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17391 if (!SWIG_IsOK(ecode2
)) {
17392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17394 arg2
= static_cast< int >(val2
);
17398 arg3
= wxString_in_helper(obj2
);
17399 if (arg3
== NULL
) SWIG_fail
;
17406 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17412 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17416 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17417 if (!SWIG_IsOK(ecode6
)) {
17418 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17420 arg6
= static_cast< long >(val6
);
17423 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17424 if (!SWIG_IsOK(res7
)) {
17425 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17430 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17434 arg8
= wxString_in_helper(obj7
);
17435 if (arg8
== NULL
) SWIG_fail
;
17440 if (!wxPyCheckForApp()) SWIG_fail
;
17441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17442 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17443 wxPyEndAllowThreads(__tstate
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17469 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17470 PyObject
*resultobj
= 0;
17471 wxRadioButton
*result
= 0 ;
17473 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17475 if (!wxPyCheckForApp()) SWIG_fail
;
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 result
= (wxRadioButton
*)new wxRadioButton();
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17488 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17489 PyObject
*resultobj
= 0;
17490 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17491 wxWindow
*arg2
= (wxWindow
*) 0 ;
17492 int arg3
= (int) -1 ;
17493 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17494 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17495 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17496 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17497 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17498 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17499 long arg7
= (long) 0 ;
17500 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17501 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17502 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17503 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17511 bool temp4
= false ;
17518 bool temp9
= false ;
17519 PyObject
* obj0
= 0 ;
17520 PyObject
* obj1
= 0 ;
17521 PyObject
* obj2
= 0 ;
17522 PyObject
* obj3
= 0 ;
17523 PyObject
* obj4
= 0 ;
17524 PyObject
* obj5
= 0 ;
17525 PyObject
* obj6
= 0 ;
17526 PyObject
* obj7
= 0 ;
17527 PyObject
* obj8
= 0 ;
17528 char * kwnames
[] = {
17529 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17534 if (!SWIG_IsOK(res1
)) {
17535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17537 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17538 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17539 if (!SWIG_IsOK(res2
)) {
17540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17542 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17545 if (!SWIG_IsOK(ecode3
)) {
17546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17548 arg3
= static_cast< int >(val3
);
17552 arg4
= wxString_in_helper(obj3
);
17553 if (arg4
== NULL
) SWIG_fail
;
17560 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17566 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17570 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17571 if (!SWIG_IsOK(ecode7
)) {
17572 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17574 arg7
= static_cast< long >(val7
);
17577 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17578 if (!SWIG_IsOK(res8
)) {
17579 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17584 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17588 arg9
= wxString_in_helper(obj8
);
17589 if (arg9
== NULL
) SWIG_fail
;
17594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17596 wxPyEndAllowThreads(__tstate
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17624 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17625 PyObject
*resultobj
= 0;
17626 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17630 PyObject
*swig_obj
[1] ;
17632 if (!args
) SWIG_fail
;
17633 swig_obj
[0] = args
;
17634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17635 if (!SWIG_IsOK(res1
)) {
17636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17638 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 result
= (bool)(arg1
)->GetValue();
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17654 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17655 PyObject
*resultobj
= 0;
17656 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17662 PyObject
* obj0
= 0 ;
17663 PyObject
* obj1
= 0 ;
17664 char * kwnames
[] = {
17665 (char *) "self",(char *) "value", NULL
17668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17670 if (!SWIG_IsOK(res1
)) {
17671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17673 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17674 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17675 if (!SWIG_IsOK(ecode2
)) {
17676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17678 arg2
= static_cast< bool >(val2
);
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 (arg1
)->SetValue(arg2
);
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17685 resultobj
= SWIG_Py_Void();
17692 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
= 0;
17694 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17695 SwigValueWrapper
<wxVisualAttributes
> result
;
17698 PyObject
* obj0
= 0 ;
17699 char * kwnames
[] = {
17700 (char *) "variant", NULL
17703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17705 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17706 if (!SWIG_IsOK(ecode1
)) {
17707 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17709 arg1
= static_cast< wxWindowVariant
>(val1
);
17712 if (!wxPyCheckForApp()) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17714 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17715 wxPyEndAllowThreads(__tstate
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17718 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17725 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17728 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17729 return SWIG_Py_Void();
17732 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17733 return SWIG_Python_InitShadowInstance(args
);
17736 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17737 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17742 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17743 PyObject
*pyobj
= 0;
17747 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17749 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17756 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
= 0;
17758 wxWindow
*arg1
= (wxWindow
*) 0 ;
17759 int arg2
= (int) -1 ;
17760 int arg3
= (int) 0 ;
17761 int arg4
= (int) 0 ;
17762 int arg5
= (int) 100 ;
17763 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17764 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17765 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17766 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17767 long arg8
= (long) wxSL_HORIZONTAL
;
17768 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17769 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17770 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17771 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17772 wxSlider
*result
= 0 ;
17789 bool temp10
= false ;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 PyObject
* obj2
= 0 ;
17793 PyObject
* obj3
= 0 ;
17794 PyObject
* obj4
= 0 ;
17795 PyObject
* obj5
= 0 ;
17796 PyObject
* obj6
= 0 ;
17797 PyObject
* obj7
= 0 ;
17798 PyObject
* obj8
= 0 ;
17799 PyObject
* obj9
= 0 ;
17800 char * kwnames
[] = {
17801 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17806 if (!SWIG_IsOK(res1
)) {
17807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17809 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17812 if (!SWIG_IsOK(ecode2
)) {
17813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17815 arg2
= static_cast< int >(val2
);
17818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17819 if (!SWIG_IsOK(ecode3
)) {
17820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17822 arg3
= static_cast< int >(val3
);
17825 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17826 if (!SWIG_IsOK(ecode4
)) {
17827 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17829 arg4
= static_cast< int >(val4
);
17832 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17833 if (!SWIG_IsOK(ecode5
)) {
17834 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17836 arg5
= static_cast< int >(val5
);
17841 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17847 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17851 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17852 if (!SWIG_IsOK(ecode8
)) {
17853 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17855 arg8
= static_cast< long >(val8
);
17858 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17859 if (!SWIG_IsOK(res9
)) {
17860 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17865 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17869 arg10
= wxString_in_helper(obj9
);
17870 if (arg10
== NULL
) SWIG_fail
;
17875 if (!wxPyCheckForApp()) SWIG_fail
;
17876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17896 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17897 PyObject
*resultobj
= 0;
17898 wxSlider
*result
= 0 ;
17900 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17902 if (!wxPyCheckForApp()) SWIG_fail
;
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17904 result
= (wxSlider
*)new wxSlider();
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17915 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
= 0;
17917 wxSlider
*arg1
= (wxSlider
*) 0 ;
17918 wxWindow
*arg2
= (wxWindow
*) 0 ;
17919 int arg3
= (int) -1 ;
17920 int arg4
= (int) 0 ;
17921 int arg5
= (int) 0 ;
17922 int arg6
= (int) 100 ;
17923 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17924 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17925 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17926 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17927 long arg9
= (long) wxSL_HORIZONTAL
;
17928 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17929 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17930 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17931 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17951 bool temp11
= false ;
17952 PyObject
* obj0
= 0 ;
17953 PyObject
* obj1
= 0 ;
17954 PyObject
* obj2
= 0 ;
17955 PyObject
* obj3
= 0 ;
17956 PyObject
* obj4
= 0 ;
17957 PyObject
* obj5
= 0 ;
17958 PyObject
* obj6
= 0 ;
17959 PyObject
* obj7
= 0 ;
17960 PyObject
* obj8
= 0 ;
17961 PyObject
* obj9
= 0 ;
17962 PyObject
* obj10
= 0 ;
17963 char * kwnames
[] = {
17964 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17969 if (!SWIG_IsOK(res1
)) {
17970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17972 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17973 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17974 if (!SWIG_IsOK(res2
)) {
17975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17977 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17980 if (!SWIG_IsOK(ecode3
)) {
17981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17983 arg3
= static_cast< int >(val3
);
17986 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17987 if (!SWIG_IsOK(ecode4
)) {
17988 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17990 arg4
= static_cast< int >(val4
);
17993 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17994 if (!SWIG_IsOK(ecode5
)) {
17995 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17997 arg5
= static_cast< int >(val5
);
18000 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18001 if (!SWIG_IsOK(ecode6
)) {
18002 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
18004 arg6
= static_cast< int >(val6
);
18009 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
18015 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
18019 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
18020 if (!SWIG_IsOK(ecode9
)) {
18021 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18023 arg9
= static_cast< long >(val9
);
18026 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
18027 if (!SWIG_IsOK(res10
)) {
18028 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18033 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
18037 arg11
= wxString_in_helper(obj10
);
18038 if (arg11
== NULL
) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18065 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18066 PyObject
*resultobj
= 0;
18067 wxSlider
*arg1
= (wxSlider
*) 0 ;
18071 PyObject
*swig_obj
[1] ;
18073 if (!args
) SWIG_fail
;
18074 swig_obj
[0] = args
;
18075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18076 if (!SWIG_IsOK(res1
)) {
18077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18079 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18082 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18083 wxPyEndAllowThreads(__tstate
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18086 resultobj
= SWIG_From_int(static_cast< int >(result
));
18093 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
= 0;
18095 wxSlider
*arg1
= (wxSlider
*) 0 ;
18101 PyObject
* obj0
= 0 ;
18102 PyObject
* obj1
= 0 ;
18103 char * kwnames
[] = {
18104 (char *) "self",(char *) "value", NULL
18107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18109 if (!SWIG_IsOK(res1
)) {
18110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18112 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18114 if (!SWIG_IsOK(ecode2
)) {
18115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18117 arg2
= static_cast< int >(val2
);
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 (arg1
)->SetValue(arg2
);
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18124 resultobj
= SWIG_Py_Void();
18131 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18132 PyObject
*resultobj
= 0;
18133 wxSlider
*arg1
= (wxSlider
*) 0 ;
18142 PyObject
* obj0
= 0 ;
18143 PyObject
* obj1
= 0 ;
18144 PyObject
* obj2
= 0 ;
18145 char * kwnames
[] = {
18146 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18151 if (!SWIG_IsOK(res1
)) {
18152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18154 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18156 if (!SWIG_IsOK(ecode2
)) {
18157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18159 arg2
= static_cast< int >(val2
);
18160 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18161 if (!SWIG_IsOK(ecode3
)) {
18162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18164 arg3
= static_cast< int >(val3
);
18166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18167 (arg1
)->SetRange(arg2
,arg3
);
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 resultobj
= SWIG_Py_Void();
18178 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18179 PyObject
*resultobj
= 0;
18180 wxSlider
*arg1
= (wxSlider
*) 0 ;
18184 PyObject
*swig_obj
[1] ;
18186 if (!args
) SWIG_fail
;
18187 swig_obj
[0] = args
;
18188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18189 if (!SWIG_IsOK(res1
)) {
18190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18192 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18195 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18196 wxPyEndAllowThreads(__tstate
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18199 resultobj
= SWIG_From_int(static_cast< int >(result
));
18206 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18207 PyObject
*resultobj
= 0;
18208 wxSlider
*arg1
= (wxSlider
*) 0 ;
18212 PyObject
*swig_obj
[1] ;
18214 if (!args
) SWIG_fail
;
18215 swig_obj
[0] = args
;
18216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18217 if (!SWIG_IsOK(res1
)) {
18218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18220 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18223 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18224 wxPyEndAllowThreads(__tstate
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18227 resultobj
= SWIG_From_int(static_cast< int >(result
));
18234 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18235 PyObject
*resultobj
= 0;
18236 wxSlider
*arg1
= (wxSlider
*) 0 ;
18242 PyObject
* obj0
= 0 ;
18243 PyObject
* obj1
= 0 ;
18244 char * kwnames
[] = {
18245 (char *) "self",(char *) "minValue", NULL
18248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18250 if (!SWIG_IsOK(res1
)) {
18251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18253 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18255 if (!SWIG_IsOK(ecode2
)) {
18256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18258 arg2
= static_cast< int >(val2
);
18260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18261 (arg1
)->SetMin(arg2
);
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18265 resultobj
= SWIG_Py_Void();
18272 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18273 PyObject
*resultobj
= 0;
18274 wxSlider
*arg1
= (wxSlider
*) 0 ;
18280 PyObject
* obj0
= 0 ;
18281 PyObject
* obj1
= 0 ;
18282 char * kwnames
[] = {
18283 (char *) "self",(char *) "maxValue", NULL
18286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18288 if (!SWIG_IsOK(res1
)) {
18289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18291 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18293 if (!SWIG_IsOK(ecode2
)) {
18294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18296 arg2
= static_cast< int >(val2
);
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 (arg1
)->SetMax(arg2
);
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18303 resultobj
= SWIG_Py_Void();
18310 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
= 0;
18312 wxSlider
*arg1
= (wxSlider
*) 0 ;
18318 PyObject
* obj0
= 0 ;
18319 PyObject
* obj1
= 0 ;
18320 char * kwnames
[] = {
18321 (char *) "self",(char *) "lineSize", NULL
18324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18326 if (!SWIG_IsOK(res1
)) {
18327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18329 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18331 if (!SWIG_IsOK(ecode2
)) {
18332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18334 arg2
= static_cast< int >(val2
);
18336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18337 (arg1
)->SetLineSize(arg2
);
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= SWIG_Py_Void();
18348 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
= 0;
18350 wxSlider
*arg1
= (wxSlider
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 PyObject
* obj1
= 0 ;
18358 char * kwnames
[] = {
18359 (char *) "self",(char *) "pageSize", NULL
18362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18364 if (!SWIG_IsOK(res1
)) {
18365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18367 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18369 if (!SWIG_IsOK(ecode2
)) {
18370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18372 arg2
= static_cast< int >(val2
);
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 (arg1
)->SetPageSize(arg2
);
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= SWIG_Py_Void();
18386 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18387 PyObject
*resultobj
= 0;
18388 wxSlider
*arg1
= (wxSlider
*) 0 ;
18392 PyObject
*swig_obj
[1] ;
18394 if (!args
) SWIG_fail
;
18395 swig_obj
[0] = args
;
18396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18397 if (!SWIG_IsOK(res1
)) {
18398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18400 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18403 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 resultobj
= SWIG_From_int(static_cast< int >(result
));
18414 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18415 PyObject
*resultobj
= 0;
18416 wxSlider
*arg1
= (wxSlider
*) 0 ;
18420 PyObject
*swig_obj
[1] ;
18422 if (!args
) SWIG_fail
;
18423 swig_obj
[0] = args
;
18424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18425 if (!SWIG_IsOK(res1
)) {
18426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18428 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18431 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18435 resultobj
= SWIG_From_int(static_cast< int >(result
));
18442 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18443 PyObject
*resultobj
= 0;
18444 wxSlider
*arg1
= (wxSlider
*) 0 ;
18450 PyObject
* obj0
= 0 ;
18451 PyObject
* obj1
= 0 ;
18452 char * kwnames
[] = {
18453 (char *) "self",(char *) "lenPixels", NULL
18456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18458 if (!SWIG_IsOK(res1
)) {
18459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18461 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18463 if (!SWIG_IsOK(ecode2
)) {
18464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18466 arg2
= static_cast< int >(val2
);
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 (arg1
)->SetThumbLength(arg2
);
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 resultobj
= SWIG_Py_Void();
18480 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18481 PyObject
*resultobj
= 0;
18482 wxSlider
*arg1
= (wxSlider
*) 0 ;
18486 PyObject
*swig_obj
[1] ;
18488 if (!args
) SWIG_fail
;
18489 swig_obj
[0] = args
;
18490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18491 if (!SWIG_IsOK(res1
)) {
18492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18494 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18497 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18501 resultobj
= SWIG_From_int(static_cast< int >(result
));
18508 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
= 0;
18510 wxSlider
*arg1
= (wxSlider
*) 0 ;
18512 int arg3
= (int) 1 ;
18519 PyObject
* obj0
= 0 ;
18520 PyObject
* obj1
= 0 ;
18521 PyObject
* obj2
= 0 ;
18522 char * kwnames
[] = {
18523 (char *) "self",(char *) "n",(char *) "pos", NULL
18526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18528 if (!SWIG_IsOK(res1
)) {
18529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18531 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18533 if (!SWIG_IsOK(ecode2
)) {
18534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18536 arg2
= static_cast< int >(val2
);
18538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18539 if (!SWIG_IsOK(ecode3
)) {
18540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18542 arg3
= static_cast< int >(val3
);
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18546 (arg1
)->SetTickFreq(arg2
,arg3
);
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_Py_Void();
18557 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18558 PyObject
*resultobj
= 0;
18559 wxSlider
*arg1
= (wxSlider
*) 0 ;
18563 PyObject
*swig_obj
[1] ;
18565 if (!args
) SWIG_fail
;
18566 swig_obj
[0] = args
;
18567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18568 if (!SWIG_IsOK(res1
)) {
18569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18571 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18574 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 resultobj
= SWIG_From_int(static_cast< int >(result
));
18585 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18586 PyObject
*resultobj
= 0;
18587 wxSlider
*arg1
= (wxSlider
*) 0 ;
18590 PyObject
*swig_obj
[1] ;
18592 if (!args
) SWIG_fail
;
18593 swig_obj
[0] = args
;
18594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18595 if (!SWIG_IsOK(res1
)) {
18596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18598 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18601 (arg1
)->ClearTicks();
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18605 resultobj
= SWIG_Py_Void();
18612 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18613 PyObject
*resultobj
= 0;
18614 wxSlider
*arg1
= (wxSlider
*) 0 ;
18620 PyObject
* obj0
= 0 ;
18621 PyObject
* obj1
= 0 ;
18622 char * kwnames
[] = {
18623 (char *) "self",(char *) "tickPos", NULL
18626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18628 if (!SWIG_IsOK(res1
)) {
18629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18631 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18633 if (!SWIG_IsOK(ecode2
)) {
18634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18636 arg2
= static_cast< int >(val2
);
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 (arg1
)->SetTick(arg2
);
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18643 resultobj
= SWIG_Py_Void();
18650 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18651 PyObject
*resultobj
= 0;
18652 wxSlider
*arg1
= (wxSlider
*) 0 ;
18655 PyObject
*swig_obj
[1] ;
18657 if (!args
) SWIG_fail
;
18658 swig_obj
[0] = args
;
18659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18660 if (!SWIG_IsOK(res1
)) {
18661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18663 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 (arg1
)->ClearSel();
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18670 resultobj
= SWIG_Py_Void();
18677 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18678 PyObject
*resultobj
= 0;
18679 wxSlider
*arg1
= (wxSlider
*) 0 ;
18683 PyObject
*swig_obj
[1] ;
18685 if (!args
) SWIG_fail
;
18686 swig_obj
[0] = args
;
18687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18688 if (!SWIG_IsOK(res1
)) {
18689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18691 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18694 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18695 wxPyEndAllowThreads(__tstate
);
18696 if (PyErr_Occurred()) SWIG_fail
;
18698 resultobj
= SWIG_From_int(static_cast< int >(result
));
18705 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18706 PyObject
*resultobj
= 0;
18707 wxSlider
*arg1
= (wxSlider
*) 0 ;
18711 PyObject
*swig_obj
[1] ;
18713 if (!args
) SWIG_fail
;
18714 swig_obj
[0] = args
;
18715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18716 if (!SWIG_IsOK(res1
)) {
18717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18719 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= SWIG_From_int(static_cast< int >(result
));
18733 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
= 0;
18735 wxSlider
*arg1
= (wxSlider
*) 0 ;
18744 PyObject
* obj0
= 0 ;
18745 PyObject
* obj1
= 0 ;
18746 PyObject
* obj2
= 0 ;
18747 char * kwnames
[] = {
18748 (char *) "self",(char *) "min",(char *) "max", NULL
18751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18753 if (!SWIG_IsOK(res1
)) {
18754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18756 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18758 if (!SWIG_IsOK(ecode2
)) {
18759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18761 arg2
= static_cast< int >(val2
);
18762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18763 if (!SWIG_IsOK(ecode3
)) {
18764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18766 arg3
= static_cast< int >(val3
);
18768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18769 (arg1
)->SetSelection(arg2
,arg3
);
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18773 resultobj
= SWIG_Py_Void();
18780 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
= 0;
18782 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18783 SwigValueWrapper
<wxVisualAttributes
> result
;
18786 PyObject
* obj0
= 0 ;
18787 char * kwnames
[] = {
18788 (char *) "variant", NULL
18791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18793 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18794 if (!SWIG_IsOK(ecode1
)) {
18795 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18797 arg1
= static_cast< wxWindowVariant
>(val1
);
18800 if (!wxPyCheckForApp()) SWIG_fail
;
18801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18802 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18806 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18813 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18816 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18817 return SWIG_Py_Void();
18820 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18821 return SWIG_Python_InitShadowInstance(args
);
18824 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18825 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18830 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18831 PyObject
*pyobj
= 0;
18835 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18837 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18844 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
= 0;
18846 wxWindow
*arg1
= (wxWindow
*) 0 ;
18847 int arg2
= (int) -1 ;
18848 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18849 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18850 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18851 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18852 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18853 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18854 long arg6
= (long) 0 ;
18855 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18856 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18857 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18858 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18859 wxToggleButton
*result
= 0 ;
18864 bool temp3
= false ;
18871 bool temp8
= false ;
18872 PyObject
* obj0
= 0 ;
18873 PyObject
* obj1
= 0 ;
18874 PyObject
* obj2
= 0 ;
18875 PyObject
* obj3
= 0 ;
18876 PyObject
* obj4
= 0 ;
18877 PyObject
* obj5
= 0 ;
18878 PyObject
* obj6
= 0 ;
18879 PyObject
* obj7
= 0 ;
18880 char * kwnames
[] = {
18881 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18886 if (!SWIG_IsOK(res1
)) {
18887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18889 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18892 if (!SWIG_IsOK(ecode2
)) {
18893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18895 arg2
= static_cast< int >(val2
);
18899 arg3
= wxString_in_helper(obj2
);
18900 if (arg3
== NULL
) SWIG_fail
;
18907 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18913 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18917 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18918 if (!SWIG_IsOK(ecode6
)) {
18919 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18921 arg6
= static_cast< long >(val6
);
18924 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18925 if (!SWIG_IsOK(res7
)) {
18926 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18931 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18935 arg8
= wxString_in_helper(obj7
);
18936 if (arg8
== NULL
) SWIG_fail
;
18941 if (!wxPyCheckForApp()) SWIG_fail
;
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18970 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18971 PyObject
*resultobj
= 0;
18972 wxToggleButton
*result
= 0 ;
18974 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18976 if (!wxPyCheckForApp()) SWIG_fail
;
18977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18978 result
= (wxToggleButton
*)new wxToggleButton();
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18989 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
= 0;
18991 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18992 wxWindow
*arg2
= (wxWindow
*) 0 ;
18993 int arg3
= (int) -1 ;
18994 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18995 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18996 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18997 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18998 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18999 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
19000 long arg7
= (long) 0 ;
19001 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
19002 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
19003 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
19004 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19012 bool temp4
= false ;
19019 bool temp9
= false ;
19020 PyObject
* obj0
= 0 ;
19021 PyObject
* obj1
= 0 ;
19022 PyObject
* obj2
= 0 ;
19023 PyObject
* obj3
= 0 ;
19024 PyObject
* obj4
= 0 ;
19025 PyObject
* obj5
= 0 ;
19026 PyObject
* obj6
= 0 ;
19027 PyObject
* obj7
= 0 ;
19028 PyObject
* obj8
= 0 ;
19029 char * kwnames
[] = {
19030 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
19034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19035 if (!SWIG_IsOK(res1
)) {
19036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19038 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19039 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19040 if (!SWIG_IsOK(res2
)) {
19041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19043 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19046 if (!SWIG_IsOK(ecode3
)) {
19047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19049 arg3
= static_cast< int >(val3
);
19053 arg4
= wxString_in_helper(obj3
);
19054 if (arg4
== NULL
) SWIG_fail
;
19061 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19067 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19071 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19072 if (!SWIG_IsOK(ecode7
)) {
19073 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19075 arg7
= static_cast< long >(val7
);
19078 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19079 if (!SWIG_IsOK(res8
)) {
19080 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19085 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19089 arg9
= wxString_in_helper(obj8
);
19090 if (arg9
== NULL
) SWIG_fail
;
19095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19096 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19125 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
= 0;
19127 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 char * kwnames
[] = {
19136 (char *) "self",(char *) "value", NULL
19139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19141 if (!SWIG_IsOK(res1
)) {
19142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19144 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19145 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19146 if (!SWIG_IsOK(ecode2
)) {
19147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19149 arg2
= static_cast< bool >(val2
);
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 (arg1
)->SetValue(arg2
);
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 resultobj
= SWIG_Py_Void();
19163 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19164 PyObject
*resultobj
= 0;
19165 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19169 PyObject
*swig_obj
[1] ;
19171 if (!args
) SWIG_fail
;
19172 swig_obj
[0] = args
;
19173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19174 if (!SWIG_IsOK(res1
)) {
19175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19177 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19193 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19194 PyObject
*resultobj
= 0;
19195 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19196 SwigValueWrapper
<wxVisualAttributes
> result
;
19199 PyObject
* obj0
= 0 ;
19200 char * kwnames
[] = {
19201 (char *) "variant", NULL
19204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19206 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19207 if (!SWIG_IsOK(ecode1
)) {
19208 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19210 arg1
= static_cast< wxWindowVariant
>(val1
);
19213 if (!wxPyCheckForApp()) SWIG_fail
;
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19219 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19226 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19229 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19230 return SWIG_Py_Void();
19233 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19234 return SWIG_Python_InitShadowInstance(args
);
19237 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19238 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19243 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19244 PyObject
*pyobj
= 0;
19248 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19250 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19257 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19258 PyObject
*resultobj
= 0;
19259 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19263 PyObject
*swig_obj
[1] ;
19265 if (!args
) SWIG_fail
;
19266 swig_obj
[0] = args
;
19267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19268 if (!SWIG_IsOK(res1
)) {
19269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19271 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19274 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19285 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
= 0;
19287 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19289 wxWindow
*result
= 0 ;
19294 PyObject
* obj0
= 0 ;
19295 PyObject
* obj1
= 0 ;
19296 char * kwnames
[] = {
19297 (char *) "self",(char *) "n", NULL
19300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19302 if (!SWIG_IsOK(res1
)) {
19303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19305 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19306 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19307 if (!SWIG_IsOK(ecode2
)) {
19308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19310 arg2
= static_cast< size_t >(val2
);
19312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19313 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19318 resultobj
= wxPyMake_wxObject(result
, 0);
19326 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19327 PyObject
*resultobj
= 0;
19328 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19329 wxWindow
*result
= 0 ;
19332 PyObject
*swig_obj
[1] ;
19334 if (!args
) SWIG_fail
;
19335 swig_obj
[0] = args
;
19336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19337 if (!SWIG_IsOK(res1
)) {
19338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19340 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19344 wxPyEndAllowThreads(__tstate
);
19345 if (PyErr_Occurred()) SWIG_fail
;
19348 resultobj
= wxPyMake_wxObject(result
, 0);
19356 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19357 PyObject
*resultobj
= 0;
19358 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19362 PyObject
*swig_obj
[1] ;
19364 if (!args
) SWIG_fail
;
19365 swig_obj
[0] = args
;
19366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19367 if (!SWIG_IsOK(res1
)) {
19368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19370 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 resultobj
= SWIG_From_int(static_cast< int >(result
));
19384 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19385 PyObject
*resultobj
= 0;
19386 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19388 wxString
*arg3
= 0 ;
19394 bool temp3
= false ;
19395 PyObject
* obj0
= 0 ;
19396 PyObject
* obj1
= 0 ;
19397 PyObject
* obj2
= 0 ;
19398 char * kwnames
[] = {
19399 (char *) "self",(char *) "n",(char *) "strText", NULL
19402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19404 if (!SWIG_IsOK(res1
)) {
19405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19407 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19408 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19409 if (!SWIG_IsOK(ecode2
)) {
19410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19412 arg2
= static_cast< size_t >(val2
);
19414 arg3
= wxString_in_helper(obj2
);
19415 if (arg3
== NULL
) SWIG_fail
;
19419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19420 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19421 wxPyEndAllowThreads(__tstate
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19441 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19442 PyObject
*resultobj
= 0;
19443 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj1
= 0 ;
19452 char * kwnames
[] = {
19453 (char *) "self",(char *) "n", NULL
19456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19458 if (!SWIG_IsOK(res1
)) {
19459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19461 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19462 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19463 if (!SWIG_IsOK(ecode2
)) {
19464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19466 arg2
= static_cast< size_t >(val2
);
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19469 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19486 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
= 0;
19488 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19489 wxImageList
*arg2
= (wxImageList
*) 0 ;
19494 PyObject
* obj0
= 0 ;
19495 PyObject
* obj1
= 0 ;
19496 char * kwnames
[] = {
19497 (char *) "self",(char *) "imageList", NULL
19500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19502 if (!SWIG_IsOK(res1
)) {
19503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19505 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19506 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19507 if (!SWIG_IsOK(res2
)) {
19508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19510 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19513 (arg1
)->SetImageList(arg2
);
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 resultobj
= SWIG_Py_Void();
19524 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
= 0;
19526 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19527 wxImageList
*arg2
= (wxImageList
*) 0 ;
19531 PyObject
* obj0
= 0 ;
19532 PyObject
* obj1
= 0 ;
19533 char * kwnames
[] = {
19534 (char *) "self",(char *) "imageList", NULL
19537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19539 if (!SWIG_IsOK(res1
)) {
19540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19542 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19543 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19544 if (!SWIG_IsOK(res2
)) {
19545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 (arg1
)->AssignImageList(arg2
);
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19553 resultobj
= SWIG_Py_Void();
19560 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19561 PyObject
*resultobj
= 0;
19562 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19563 wxImageList
*result
= 0 ;
19566 PyObject
*swig_obj
[1] ;
19568 if (!args
) SWIG_fail
;
19569 swig_obj
[0] = args
;
19570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19571 if (!SWIG_IsOK(res1
)) {
19572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19574 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19577 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19582 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19590 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19591 PyObject
*resultobj
= 0;
19592 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19599 PyObject
* obj0
= 0 ;
19600 PyObject
* obj1
= 0 ;
19601 char * kwnames
[] = {
19602 (char *) "self",(char *) "n", NULL
19605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19607 if (!SWIG_IsOK(res1
)) {
19608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19610 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19611 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19612 if (!SWIG_IsOK(ecode2
)) {
19613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19615 arg2
= static_cast< size_t >(val2
);
19617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19618 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19622 resultobj
= SWIG_From_int(static_cast< int >(result
));
19629 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19630 PyObject
*resultobj
= 0;
19631 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19641 PyObject
* obj0
= 0 ;
19642 PyObject
* obj1
= 0 ;
19643 PyObject
* obj2
= 0 ;
19644 char * kwnames
[] = {
19645 (char *) "self",(char *) "n",(char *) "imageId", NULL
19648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19650 if (!SWIG_IsOK(res1
)) {
19651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19653 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19654 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19655 if (!SWIG_IsOK(ecode2
)) {
19656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19658 arg2
= static_cast< size_t >(val2
);
19659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19660 if (!SWIG_IsOK(ecode3
)) {
19661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19663 arg3
= static_cast< int >(val3
);
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19679 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
= 0;
19681 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19686 PyObject
* obj0
= 0 ;
19687 PyObject
* obj1
= 0 ;
19688 char * kwnames
[] = {
19689 (char *) "self",(char *) "size", NULL
19692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19694 if (!SWIG_IsOK(res1
)) {
19695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19697 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19700 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= SWIG_Py_Void();
19715 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
= 0;
19717 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19723 PyObject
* obj0
= 0 ;
19724 PyObject
* obj1
= 0 ;
19725 char * kwnames
[] = {
19726 (char *) "self",(char *) "sizePage", NULL
19729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19731 if (!SWIG_IsOK(res1
)) {
19732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19734 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19737 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19752 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19753 PyObject
*resultobj
= 0;
19754 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19755 unsigned int result
;
19758 PyObject
*swig_obj
[1] ;
19760 if (!args
) SWIG_fail
;
19761 swig_obj
[0] = args
;
19762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19763 if (!SWIG_IsOK(res1
)) {
19764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19766 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19773 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19780 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19781 PyObject
*resultobj
= 0;
19782 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19783 unsigned int arg2
;
19786 unsigned int val2
;
19788 PyObject
* obj0
= 0 ;
19789 PyObject
* obj1
= 0 ;
19790 char * kwnames
[] = {
19791 (char *) "self",(char *) "internalBorder", NULL
19794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19796 if (!SWIG_IsOK(res1
)) {
19797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19799 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19800 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19801 if (!SWIG_IsOK(ecode2
)) {
19802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19804 arg2
= static_cast< unsigned int >(val2
);
19806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19807 (arg1
)->SetInternalBorder(arg2
);
19808 wxPyEndAllowThreads(__tstate
);
19809 if (PyErr_Occurred()) SWIG_fail
;
19811 resultobj
= SWIG_Py_Void();
19818 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19819 PyObject
*resultobj
= 0;
19820 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19824 PyObject
*swig_obj
[1] ;
19826 if (!args
) SWIG_fail
;
19827 swig_obj
[0] = args
;
19828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19829 if (!SWIG_IsOK(res1
)) {
19830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19832 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19848 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19849 PyObject
*resultobj
= 0;
19850 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19856 PyObject
* obj0
= 0 ;
19857 PyObject
* obj1
= 0 ;
19858 char * kwnames
[] = {
19859 (char *) "self",(char *) "margin", NULL
19862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19864 if (!SWIG_IsOK(res1
)) {
19865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19867 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19869 if (!SWIG_IsOK(ecode2
)) {
19870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19872 arg2
= static_cast< int >(val2
);
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 (arg1
)->SetControlMargin(arg2
);
19876 wxPyEndAllowThreads(__tstate
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19879 resultobj
= SWIG_Py_Void();
19886 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19887 PyObject
*resultobj
= 0;
19888 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19892 PyObject
*swig_obj
[1] ;
19894 if (!args
) SWIG_fail
;
19895 swig_obj
[0] = args
;
19896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19897 if (!SWIG_IsOK(res1
)) {
19898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19900 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= SWIG_From_int(static_cast< int >(result
));
19914 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19915 PyObject
*resultobj
= 0;
19916 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19922 PyObject
* obj0
= 0 ;
19923 PyObject
* obj1
= 0 ;
19924 char * kwnames
[] = {
19925 (char *) "self",(char *) "fit", NULL
19928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19930 if (!SWIG_IsOK(res1
)) {
19931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19933 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19934 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19935 if (!SWIG_IsOK(ecode2
)) {
19936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19938 arg2
= static_cast< bool >(val2
);
19940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19941 (arg1
)->SetFitToCurrentPage(arg2
);
19942 wxPyEndAllowThreads(__tstate
);
19943 if (PyErr_Occurred()) SWIG_fail
;
19945 resultobj
= SWIG_Py_Void();
19952 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19953 PyObject
*resultobj
= 0;
19954 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19958 PyObject
*swig_obj
[1] ;
19960 if (!args
) SWIG_fail
;
19961 swig_obj
[0] = args
;
19962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19963 if (!SWIG_IsOK(res1
)) {
19964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19966 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19969 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19982 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19983 PyObject
*resultobj
= 0;
19984 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19985 wxSizer
*result
= 0 ;
19988 PyObject
*swig_obj
[1] ;
19990 if (!args
) SWIG_fail
;
19991 swig_obj
[0] = args
;
19992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19993 if (!SWIG_IsOK(res1
)) {
19994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19996 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20004 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20012 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
= 0;
20014 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20021 PyObject
* obj0
= 0 ;
20022 PyObject
* obj1
= 0 ;
20023 char * kwnames
[] = {
20024 (char *) "self",(char *) "n", NULL
20027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20029 if (!SWIG_IsOK(res1
)) {
20030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20032 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20033 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20034 if (!SWIG_IsOK(ecode2
)) {
20035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20037 arg2
= static_cast< size_t >(val2
);
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 result
= (bool)(arg1
)->DeletePage(arg2
);
20041 wxPyEndAllowThreads(__tstate
);
20042 if (PyErr_Occurred()) SWIG_fail
;
20045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20053 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20054 PyObject
*resultobj
= 0;
20055 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20062 PyObject
* obj0
= 0 ;
20063 PyObject
* obj1
= 0 ;
20064 char * kwnames
[] = {
20065 (char *) "self",(char *) "n", NULL
20068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20070 if (!SWIG_IsOK(res1
)) {
20071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20073 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20074 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20075 if (!SWIG_IsOK(ecode2
)) {
20076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20078 arg2
= static_cast< size_t >(val2
);
20080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20081 result
= (bool)(arg1
)->RemovePage(arg2
);
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20094 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20095 PyObject
*resultobj
= 0;
20096 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20100 PyObject
*swig_obj
[1] ;
20102 if (!args
) SWIG_fail
;
20103 swig_obj
[0] = args
;
20104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20105 if (!SWIG_IsOK(res1
)) {
20106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20108 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 result
= (bool)(arg1
)->DeleteAllPages();
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20124 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20125 PyObject
*resultobj
= 0;
20126 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20127 wxWindow
*arg2
= (wxWindow
*) 0 ;
20128 wxString
*arg3
= 0 ;
20129 bool arg4
= (bool) false ;
20130 int arg5
= (int) -1 ;
20136 bool temp3
= false ;
20141 PyObject
* obj0
= 0 ;
20142 PyObject
* obj1
= 0 ;
20143 PyObject
* obj2
= 0 ;
20144 PyObject
* obj3
= 0 ;
20145 PyObject
* obj4
= 0 ;
20146 char * kwnames
[] = {
20147 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20152 if (!SWIG_IsOK(res1
)) {
20153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20155 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20156 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20157 if (!SWIG_IsOK(res2
)) {
20158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20160 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20162 arg3
= wxString_in_helper(obj2
);
20163 if (arg3
== NULL
) SWIG_fail
;
20167 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20168 if (!SWIG_IsOK(ecode4
)) {
20169 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20171 arg4
= static_cast< bool >(val4
);
20174 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20175 if (!SWIG_IsOK(ecode5
)) {
20176 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20178 arg5
= static_cast< int >(val5
);
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20203 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
= 0;
20205 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20207 wxWindow
*arg3
= (wxWindow
*) 0 ;
20208 wxString
*arg4
= 0 ;
20209 bool arg5
= (bool) false ;
20210 int arg6
= (int) -1 ;
20218 bool temp4
= false ;
20223 PyObject
* obj0
= 0 ;
20224 PyObject
* obj1
= 0 ;
20225 PyObject
* obj2
= 0 ;
20226 PyObject
* obj3
= 0 ;
20227 PyObject
* obj4
= 0 ;
20228 PyObject
* obj5
= 0 ;
20229 char * kwnames
[] = {
20230 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20235 if (!SWIG_IsOK(res1
)) {
20236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20238 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20239 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20240 if (!SWIG_IsOK(ecode2
)) {
20241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20243 arg2
= static_cast< size_t >(val2
);
20244 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20245 if (!SWIG_IsOK(res3
)) {
20246 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20248 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20250 arg4
= wxString_in_helper(obj3
);
20251 if (arg4
== NULL
) SWIG_fail
;
20255 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20256 if (!SWIG_IsOK(ecode5
)) {
20257 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20259 arg5
= static_cast< bool >(val5
);
20262 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20263 if (!SWIG_IsOK(ecode6
)) {
20264 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20266 arg6
= static_cast< int >(val6
);
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20291 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20292 PyObject
*resultobj
= 0;
20293 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20300 PyObject
* obj0
= 0 ;
20301 PyObject
* obj1
= 0 ;
20302 char * kwnames
[] = {
20303 (char *) "self",(char *) "n", NULL
20306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20308 if (!SWIG_IsOK(res1
)) {
20309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20311 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20312 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20313 if (!SWIG_IsOK(ecode2
)) {
20314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20316 arg2
= static_cast< size_t >(val2
);
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 result
= (int)(arg1
)->SetSelection(arg2
);
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 resultobj
= SWIG_From_int(static_cast< int >(result
));
20330 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
= 0;
20332 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20339 PyObject
* obj0
= 0 ;
20340 PyObject
* obj1
= 0 ;
20341 char * kwnames
[] = {
20342 (char *) "self",(char *) "n", NULL
20345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20347 if (!SWIG_IsOK(res1
)) {
20348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20350 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20351 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20352 if (!SWIG_IsOK(ecode2
)) {
20353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20355 arg2
= static_cast< size_t >(val2
);
20357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 result
= (int)(arg1
)->ChangeSelection(arg2
);
20359 wxPyEndAllowThreads(__tstate
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20362 resultobj
= SWIG_From_int(static_cast< int >(result
));
20369 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20370 PyObject
*resultobj
= 0;
20371 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20372 bool arg2
= (bool) true ;
20377 PyObject
* obj0
= 0 ;
20378 PyObject
* obj1
= 0 ;
20379 char * kwnames
[] = {
20380 (char *) "self",(char *) "forward", NULL
20383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20385 if (!SWIG_IsOK(res1
)) {
20386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20388 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20390 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20391 if (!SWIG_IsOK(ecode2
)) {
20392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20394 arg2
= static_cast< bool >(val2
);
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 (arg1
)->AdvanceSelection(arg2
);
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20402 resultobj
= SWIG_Py_Void();
20409 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20410 PyObject
*resultobj
= 0;
20411 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20412 wxPoint
*arg2
= 0 ;
20413 long *arg3
= (long *) 0 ;
20419 int res3
= SWIG_TMPOBJ
;
20420 PyObject
* obj0
= 0 ;
20421 PyObject
* obj1
= 0 ;
20422 char * kwnames
[] = {
20423 (char *) "self",(char *) "pt", NULL
20427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20429 if (!SWIG_IsOK(res1
)) {
20430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20432 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20435 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20439 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20443 resultobj
= SWIG_From_int(static_cast< int >(result
));
20444 if (SWIG_IsTmpObj(res3
)) {
20445 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20447 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20448 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20456 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
= 0;
20458 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20459 SwigValueWrapper
<wxVisualAttributes
> result
;
20462 PyObject
* obj0
= 0 ;
20463 char * kwnames
[] = {
20464 (char *) "variant", NULL
20467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20469 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20470 if (!SWIG_IsOK(ecode1
)) {
20471 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20473 arg1
= static_cast< wxWindowVariant
>(val1
);
20476 if (!wxPyCheckForApp()) SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20489 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20492 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20493 return SWIG_Py_Void();
20496 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
= 0;
20498 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20499 int arg2
= (int) 0 ;
20500 int arg3
= (int) -1 ;
20501 int arg4
= (int) -1 ;
20502 wxBookCtrlBaseEvent
*result
= 0 ;
20511 PyObject
* obj0
= 0 ;
20512 PyObject
* obj1
= 0 ;
20513 PyObject
* obj2
= 0 ;
20514 PyObject
* obj3
= 0 ;
20515 char * kwnames
[] = {
20516 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20521 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20522 if (!SWIG_IsOK(ecode1
)) {
20523 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20525 arg1
= static_cast< wxEventType
>(val1
);
20528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20529 if (!SWIG_IsOK(ecode2
)) {
20530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20532 arg2
= static_cast< int >(val2
);
20535 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20536 if (!SWIG_IsOK(ecode3
)) {
20537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20539 arg3
= static_cast< int >(val3
);
20542 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20543 if (!SWIG_IsOK(ecode4
)) {
20544 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20546 arg4
= static_cast< int >(val4
);
20549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20550 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20561 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20562 PyObject
*resultobj
= 0;
20563 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20567 PyObject
*swig_obj
[1] ;
20569 if (!args
) SWIG_fail
;
20570 swig_obj
[0] = args
;
20571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20572 if (!SWIG_IsOK(res1
)) {
20573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20575 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20579 wxPyEndAllowThreads(__tstate
);
20580 if (PyErr_Occurred()) SWIG_fail
;
20582 resultobj
= SWIG_From_int(static_cast< int >(result
));
20589 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20590 PyObject
*resultobj
= 0;
20591 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20597 PyObject
* obj0
= 0 ;
20598 PyObject
* obj1
= 0 ;
20599 char * kwnames
[] = {
20600 (char *) "self",(char *) "nSel", NULL
20603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20605 if (!SWIG_IsOK(res1
)) {
20606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20608 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20610 if (!SWIG_IsOK(ecode2
)) {
20611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20613 arg2
= static_cast< int >(val2
);
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 (arg1
)->SetSelection(arg2
);
20617 wxPyEndAllowThreads(__tstate
);
20618 if (PyErr_Occurred()) SWIG_fail
;
20620 resultobj
= SWIG_Py_Void();
20627 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20628 PyObject
*resultobj
= 0;
20629 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20633 PyObject
*swig_obj
[1] ;
20635 if (!args
) SWIG_fail
;
20636 swig_obj
[0] = args
;
20637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20638 if (!SWIG_IsOK(res1
)) {
20639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20641 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20644 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= SWIG_From_int(static_cast< int >(result
));
20655 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
= 0;
20657 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20663 PyObject
* obj0
= 0 ;
20664 PyObject
* obj1
= 0 ;
20665 char * kwnames
[] = {
20666 (char *) "self",(char *) "nOldSel", NULL
20669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20671 if (!SWIG_IsOK(res1
)) {
20672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20674 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20676 if (!SWIG_IsOK(ecode2
)) {
20677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20679 arg2
= static_cast< int >(val2
);
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 (arg1
)->SetOldSelection(arg2
);
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= SWIG_Py_Void();
20693 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20696 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20697 return SWIG_Py_Void();
20700 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20701 return SWIG_Python_InitShadowInstance(args
);
20704 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20705 PyObject
*resultobj
= 0;
20706 wxWindow
*arg1
= (wxWindow
*) 0 ;
20707 int arg2
= (int) -1 ;
20708 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20709 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20710 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20711 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20712 long arg5
= (long) 0 ;
20713 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20714 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20715 wxNotebook
*result
= 0 ;
20724 bool temp6
= false ;
20725 PyObject
* obj0
= 0 ;
20726 PyObject
* obj1
= 0 ;
20727 PyObject
* obj2
= 0 ;
20728 PyObject
* obj3
= 0 ;
20729 PyObject
* obj4
= 0 ;
20730 PyObject
* obj5
= 0 ;
20731 char * kwnames
[] = {
20732 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20737 if (!SWIG_IsOK(res1
)) {
20738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20740 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20743 if (!SWIG_IsOK(ecode2
)) {
20744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20746 arg2
= static_cast< int >(val2
);
20751 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20757 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20761 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20762 if (!SWIG_IsOK(ecode5
)) {
20763 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20765 arg5
= static_cast< long >(val5
);
20769 arg6
= wxString_in_helper(obj5
);
20770 if (arg6
== NULL
) SWIG_fail
;
20775 if (!wxPyCheckForApp()) SWIG_fail
;
20776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20777 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20796 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20797 PyObject
*resultobj
= 0;
20798 wxNotebook
*result
= 0 ;
20800 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20802 if (!wxPyCheckForApp()) SWIG_fail
;
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 result
= (wxNotebook
*)new wxNotebook();
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20815 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20816 PyObject
*resultobj
= 0;
20817 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20818 wxWindow
*arg2
= (wxWindow
*) 0 ;
20819 int arg3
= (int) -1 ;
20820 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20821 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20822 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20823 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20824 long arg6
= (long) 0 ;
20825 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20826 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20838 bool temp7
= false ;
20839 PyObject
* obj0
= 0 ;
20840 PyObject
* obj1
= 0 ;
20841 PyObject
* obj2
= 0 ;
20842 PyObject
* obj3
= 0 ;
20843 PyObject
* obj4
= 0 ;
20844 PyObject
* obj5
= 0 ;
20845 PyObject
* obj6
= 0 ;
20846 char * kwnames
[] = {
20847 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20852 if (!SWIG_IsOK(res1
)) {
20853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20855 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20856 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20857 if (!SWIG_IsOK(res2
)) {
20858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20860 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20862 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20863 if (!SWIG_IsOK(ecode3
)) {
20864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20866 arg3
= static_cast< int >(val3
);
20871 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20877 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20881 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20882 if (!SWIG_IsOK(ecode6
)) {
20883 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20885 arg6
= static_cast< long >(val6
);
20889 arg7
= wxString_in_helper(obj6
);
20890 if (arg7
== NULL
) SWIG_fail
;
20895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20917 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20918 PyObject
*resultobj
= 0;
20919 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20923 PyObject
*swig_obj
[1] ;
20925 if (!args
) SWIG_fail
;
20926 swig_obj
[0] = args
;
20927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20928 if (!SWIG_IsOK(res1
)) {
20929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20931 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20934 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20935 wxPyEndAllowThreads(__tstate
);
20936 if (PyErr_Occurred()) SWIG_fail
;
20938 resultobj
= SWIG_From_int(static_cast< int >(result
));
20945 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20946 PyObject
*resultobj
= 0;
20947 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20952 PyObject
* obj0
= 0 ;
20953 PyObject
* obj1
= 0 ;
20954 char * kwnames
[] = {
20955 (char *) "self",(char *) "padding", NULL
20958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20960 if (!SWIG_IsOK(res1
)) {
20961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20963 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20966 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 resultobj
= SWIG_Py_Void();
20981 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
= 0;
20983 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20988 PyObject
* obj0
= 0 ;
20989 PyObject
* obj1
= 0 ;
20990 char * kwnames
[] = {
20991 (char *) "self",(char *) "sz", NULL
20994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20996 if (!SWIG_IsOK(res1
)) {
20997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20999 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21002 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
21007 wxPyEndAllowThreads(__tstate
);
21008 if (PyErr_Occurred()) SWIG_fail
;
21010 resultobj
= SWIG_Py_Void();
21017 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21018 PyObject
*resultobj
= 0;
21019 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21023 PyObject
*swig_obj
[1] ;
21025 if (!args
) SWIG_fail
;
21026 swig_obj
[0] = args
;
21027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21028 if (!SWIG_IsOK(res1
)) {
21029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21031 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21038 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21045 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
= 0;
21047 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21048 SwigValueWrapper
<wxVisualAttributes
> result
;
21051 PyObject
* obj0
= 0 ;
21052 char * kwnames
[] = {
21053 (char *) "variant", NULL
21056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
21058 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21059 if (!SWIG_IsOK(ecode1
)) {
21060 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21062 arg1
= static_cast< wxWindowVariant
>(val1
);
21065 if (!wxPyCheckForApp()) SWIG_fail
;
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21071 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21078 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
= 0;
21080 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21087 PyObject
* obj0
= 0 ;
21088 PyObject
* obj1
= 0 ;
21089 char * kwnames
[] = {
21090 (char *) "self",(char *) "nPage", NULL
21093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21095 if (!SWIG_IsOK(res1
)) {
21096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21098 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21100 if (!SWIG_IsOK(ecode2
)) {
21101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21103 arg2
= static_cast< int >(val2
);
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21106 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21107 wxPyEndAllowThreads(__tstate
);
21108 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21119 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21120 PyObject
*resultobj
= 0;
21121 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21123 int arg3
= (int) -1 ;
21130 PyObject
* obj0
= 0 ;
21131 PyObject
* obj1
= 0 ;
21132 PyObject
* obj2
= 0 ;
21133 char * kwnames
[] = {
21134 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21139 if (!SWIG_IsOK(res1
)) {
21140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21142 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21144 if (!SWIG_IsOK(ecode2
)) {
21145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21147 arg2
= static_cast< int >(val2
);
21149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21150 if (!SWIG_IsOK(ecode3
)) {
21151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21153 arg3
= static_cast< int >(val3
);
21156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21157 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21161 resultobj
= SWIG_Py_Void();
21168 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21170 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21171 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21172 return SWIG_Py_Void();
21175 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21176 return SWIG_Python_InitShadowInstance(args
);
21179 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21180 PyObject
*resultobj
= 0;
21181 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21182 int arg2
= (int) 0 ;
21183 int arg3
= (int) -1 ;
21184 int arg4
= (int) -1 ;
21185 wxNotebookEvent
*result
= 0 ;
21194 PyObject
* obj0
= 0 ;
21195 PyObject
* obj1
= 0 ;
21196 PyObject
* obj2
= 0 ;
21197 PyObject
* obj3
= 0 ;
21198 char * kwnames
[] = {
21199 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21204 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21205 if (!SWIG_IsOK(ecode1
)) {
21206 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21208 arg1
= static_cast< wxEventType
>(val1
);
21211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21212 if (!SWIG_IsOK(ecode2
)) {
21213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21215 arg2
= static_cast< int >(val2
);
21218 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21219 if (!SWIG_IsOK(ecode3
)) {
21220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21222 arg3
= static_cast< int >(val3
);
21225 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21226 if (!SWIG_IsOK(ecode4
)) {
21227 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21229 arg4
= static_cast< int >(val4
);
21232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21234 wxPyEndAllowThreads(__tstate
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21244 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21246 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21247 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21248 return SWIG_Py_Void();
21251 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21252 return SWIG_Python_InitShadowInstance(args
);
21255 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
= 0;
21257 wxWindow
*arg1
= (wxWindow
*) 0 ;
21258 int arg2
= (int) -1 ;
21259 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21260 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21261 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21262 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21263 long arg5
= (long) 0 ;
21264 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21265 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21266 wxListbook
*result
= 0 ;
21275 bool temp6
= false ;
21276 PyObject
* obj0
= 0 ;
21277 PyObject
* obj1
= 0 ;
21278 PyObject
* obj2
= 0 ;
21279 PyObject
* obj3
= 0 ;
21280 PyObject
* obj4
= 0 ;
21281 PyObject
* obj5
= 0 ;
21282 char * kwnames
[] = {
21283 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21288 if (!SWIG_IsOK(res1
)) {
21289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21291 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21294 if (!SWIG_IsOK(ecode2
)) {
21295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21297 arg2
= static_cast< int >(val2
);
21302 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21308 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21312 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21313 if (!SWIG_IsOK(ecode5
)) {
21314 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21316 arg5
= static_cast< long >(val5
);
21320 arg6
= wxString_in_helper(obj5
);
21321 if (arg6
== NULL
) SWIG_fail
;
21326 if (!wxPyCheckForApp()) SWIG_fail
;
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21347 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21348 PyObject
*resultobj
= 0;
21349 wxListbook
*result
= 0 ;
21351 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21353 if (!wxPyCheckForApp()) SWIG_fail
;
21354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21355 result
= (wxListbook
*)new wxListbook();
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21366 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
= 0;
21368 wxListbook
*arg1
= (wxListbook
*) 0 ;
21369 wxWindow
*arg2
= (wxWindow
*) 0 ;
21370 int arg3
= (int) -1 ;
21371 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21372 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21373 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21374 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21375 long arg6
= (long) 0 ;
21376 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21377 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21389 bool temp7
= false ;
21390 PyObject
* obj0
= 0 ;
21391 PyObject
* obj1
= 0 ;
21392 PyObject
* obj2
= 0 ;
21393 PyObject
* obj3
= 0 ;
21394 PyObject
* obj4
= 0 ;
21395 PyObject
* obj5
= 0 ;
21396 PyObject
* obj6
= 0 ;
21397 char * kwnames
[] = {
21398 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21403 if (!SWIG_IsOK(res1
)) {
21404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21406 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21407 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21408 if (!SWIG_IsOK(res2
)) {
21409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21411 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21413 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21414 if (!SWIG_IsOK(ecode3
)) {
21415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21417 arg3
= static_cast< int >(val3
);
21422 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21428 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21432 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21433 if (!SWIG_IsOK(ecode6
)) {
21434 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21436 arg6
= static_cast< long >(val6
);
21440 arg7
= wxString_in_helper(obj6
);
21441 if (arg7
== NULL
) SWIG_fail
;
21446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21447 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21468 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21469 PyObject
*resultobj
= 0;
21470 wxListbook
*arg1
= (wxListbook
*) 0 ;
21471 wxListView
*result
= 0 ;
21474 PyObject
*swig_obj
[1] ;
21476 if (!args
) SWIG_fail
;
21477 swig_obj
[0] = args
;
21478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21479 if (!SWIG_IsOK(res1
)) {
21480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21482 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 result
= (wxListView
*)(arg1
)->GetListView();
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21496 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21498 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21499 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21500 return SWIG_Py_Void();
21503 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21504 return SWIG_Python_InitShadowInstance(args
);
21507 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
= 0;
21509 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21510 int arg2
= (int) 0 ;
21511 int arg3
= (int) -1 ;
21512 int arg4
= (int) -1 ;
21513 wxListbookEvent
*result
= 0 ;
21522 PyObject
* obj0
= 0 ;
21523 PyObject
* obj1
= 0 ;
21524 PyObject
* obj2
= 0 ;
21525 PyObject
* obj3
= 0 ;
21526 char * kwnames
[] = {
21527 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21532 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21533 if (!SWIG_IsOK(ecode1
)) {
21534 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21536 arg1
= static_cast< wxEventType
>(val1
);
21539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21540 if (!SWIG_IsOK(ecode2
)) {
21541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21543 arg2
= static_cast< int >(val2
);
21546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21547 if (!SWIG_IsOK(ecode3
)) {
21548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21550 arg3
= static_cast< int >(val3
);
21553 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21554 if (!SWIG_IsOK(ecode4
)) {
21555 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21557 arg4
= static_cast< int >(val4
);
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21572 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21575 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21576 return SWIG_Py_Void();
21579 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21580 return SWIG_Python_InitShadowInstance(args
);
21583 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21584 PyObject
*resultobj
= 0;
21585 wxWindow
*arg1
= (wxWindow
*) 0 ;
21587 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21588 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21589 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21590 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21591 long arg5
= (long) 0 ;
21592 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21593 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21594 wxChoicebook
*result
= 0 ;
21603 bool temp6
= false ;
21604 PyObject
* obj0
= 0 ;
21605 PyObject
* obj1
= 0 ;
21606 PyObject
* obj2
= 0 ;
21607 PyObject
* obj3
= 0 ;
21608 PyObject
* obj4
= 0 ;
21609 PyObject
* obj5
= 0 ;
21610 char * kwnames
[] = {
21611 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21616 if (!SWIG_IsOK(res1
)) {
21617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21619 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21621 if (!SWIG_IsOK(ecode2
)) {
21622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21624 arg2
= static_cast< int >(val2
);
21628 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21634 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21638 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21639 if (!SWIG_IsOK(ecode5
)) {
21640 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21642 arg5
= static_cast< long >(val5
);
21646 arg6
= wxString_in_helper(obj5
);
21647 if (arg6
== NULL
) SWIG_fail
;
21652 if (!wxPyCheckForApp()) SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21655 wxPyEndAllowThreads(__tstate
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21673 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21674 PyObject
*resultobj
= 0;
21675 wxChoicebook
*result
= 0 ;
21677 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21679 if (!wxPyCheckForApp()) SWIG_fail
;
21680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21681 result
= (wxChoicebook
*)new wxChoicebook();
21682 wxPyEndAllowThreads(__tstate
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21692 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21693 PyObject
*resultobj
= 0;
21694 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21695 wxWindow
*arg2
= (wxWindow
*) 0 ;
21697 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21698 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21699 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21700 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21701 long arg6
= (long) 0 ;
21702 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21703 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21715 bool temp7
= false ;
21716 PyObject
* obj0
= 0 ;
21717 PyObject
* obj1
= 0 ;
21718 PyObject
* obj2
= 0 ;
21719 PyObject
* obj3
= 0 ;
21720 PyObject
* obj4
= 0 ;
21721 PyObject
* obj5
= 0 ;
21722 PyObject
* obj6
= 0 ;
21723 char * kwnames
[] = {
21724 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21729 if (!SWIG_IsOK(res1
)) {
21730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21732 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21733 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21734 if (!SWIG_IsOK(res2
)) {
21735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21737 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21738 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21739 if (!SWIG_IsOK(ecode3
)) {
21740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21742 arg3
= static_cast< int >(val3
);
21746 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21752 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21756 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21757 if (!SWIG_IsOK(ecode6
)) {
21758 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21760 arg6
= static_cast< long >(val6
);
21764 arg7
= wxString_in_helper(obj6
);
21765 if (arg7
== NULL
) SWIG_fail
;
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21792 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21793 PyObject
*resultobj
= 0;
21794 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21795 wxChoice
*result
= 0 ;
21798 PyObject
*swig_obj
[1] ;
21800 if (!args
) SWIG_fail
;
21801 swig_obj
[0] = args
;
21802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21803 if (!SWIG_IsOK(res1
)) {
21804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21806 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21820 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21823 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21824 return SWIG_Py_Void();
21827 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21828 return SWIG_Python_InitShadowInstance(args
);
21831 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21832 PyObject
*resultobj
= 0;
21833 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21834 int arg2
= (int) 0 ;
21835 int arg3
= (int) -1 ;
21836 int arg4
= (int) -1 ;
21837 wxChoicebookEvent
*result
= 0 ;
21846 PyObject
* obj0
= 0 ;
21847 PyObject
* obj1
= 0 ;
21848 PyObject
* obj2
= 0 ;
21849 PyObject
* obj3
= 0 ;
21850 char * kwnames
[] = {
21851 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21856 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21857 if (!SWIG_IsOK(ecode1
)) {
21858 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21860 arg1
= static_cast< wxEventType
>(val1
);
21863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21864 if (!SWIG_IsOK(ecode2
)) {
21865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21867 arg2
= static_cast< int >(val2
);
21870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21871 if (!SWIG_IsOK(ecode3
)) {
21872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21874 arg3
= static_cast< int >(val3
);
21877 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21878 if (!SWIG_IsOK(ecode4
)) {
21879 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21881 arg4
= static_cast< int >(val4
);
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21896 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21898 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21899 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21900 return SWIG_Py_Void();
21903 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21904 return SWIG_Python_InitShadowInstance(args
);
21907 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21908 PyObject
*resultobj
= 0;
21909 wxWindow
*arg1
= (wxWindow
*) 0 ;
21911 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21912 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21913 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21914 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21915 long arg5
= (long) wxBK_DEFAULT
;
21916 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21917 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21918 wxTreebook
*result
= 0 ;
21927 bool temp6
= false ;
21928 PyObject
* obj0
= 0 ;
21929 PyObject
* obj1
= 0 ;
21930 PyObject
* obj2
= 0 ;
21931 PyObject
* obj3
= 0 ;
21932 PyObject
* obj4
= 0 ;
21933 PyObject
* obj5
= 0 ;
21934 char * kwnames
[] = {
21935 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21940 if (!SWIG_IsOK(res1
)) {
21941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21943 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21945 if (!SWIG_IsOK(ecode2
)) {
21946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21948 arg2
= static_cast< int >(val2
);
21952 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21958 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21962 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21963 if (!SWIG_IsOK(ecode5
)) {
21964 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21966 arg5
= static_cast< long >(val5
);
21970 arg6
= wxString_in_helper(obj5
);
21971 if (arg6
== NULL
) SWIG_fail
;
21976 if (!wxPyCheckForApp()) SWIG_fail
;
21977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21978 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21997 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21998 PyObject
*resultobj
= 0;
21999 wxTreebook
*result
= 0 ;
22001 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
22003 if (!wxPyCheckForApp()) SWIG_fail
;
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 result
= (wxTreebook
*)new wxTreebook();
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
22016 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22017 PyObject
*resultobj
= 0;
22018 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22019 wxWindow
*arg2
= (wxWindow
*) 0 ;
22021 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22022 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22023 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22024 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22025 long arg6
= (long) wxBK_DEFAULT
;
22026 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22027 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22039 bool temp7
= false ;
22040 PyObject
* obj0
= 0 ;
22041 PyObject
* obj1
= 0 ;
22042 PyObject
* obj2
= 0 ;
22043 PyObject
* obj3
= 0 ;
22044 PyObject
* obj4
= 0 ;
22045 PyObject
* obj5
= 0 ;
22046 PyObject
* obj6
= 0 ;
22047 char * kwnames
[] = {
22048 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22053 if (!SWIG_IsOK(res1
)) {
22054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22056 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22057 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22058 if (!SWIG_IsOK(res2
)) {
22059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22061 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22062 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22063 if (!SWIG_IsOK(ecode3
)) {
22064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22066 arg3
= static_cast< int >(val3
);
22070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22076 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22080 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22081 if (!SWIG_IsOK(ecode6
)) {
22082 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22084 arg6
= static_cast< long >(val6
);
22088 arg7
= wxString_in_helper(obj6
);
22089 if (arg7
== NULL
) SWIG_fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22096 wxPyEndAllowThreads(__tstate
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22116 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22117 PyObject
*resultobj
= 0;
22118 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22120 wxWindow
*arg3
= (wxWindow
*) 0 ;
22121 wxString
*arg4
= 0 ;
22122 bool arg5
= (bool) false ;
22123 int arg6
= (int) wxNOT_FOUND
;
22131 bool temp4
= false ;
22136 PyObject
* obj0
= 0 ;
22137 PyObject
* obj1
= 0 ;
22138 PyObject
* obj2
= 0 ;
22139 PyObject
* obj3
= 0 ;
22140 PyObject
* obj4
= 0 ;
22141 PyObject
* obj5
= 0 ;
22142 char * kwnames
[] = {
22143 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22148 if (!SWIG_IsOK(res1
)) {
22149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22151 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22152 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22153 if (!SWIG_IsOK(ecode2
)) {
22154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22156 arg2
= static_cast< size_t >(val2
);
22157 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22158 if (!SWIG_IsOK(res3
)) {
22159 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22161 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22163 arg4
= wxString_in_helper(obj3
);
22164 if (arg4
== NULL
) SWIG_fail
;
22168 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22169 if (!SWIG_IsOK(ecode5
)) {
22170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22172 arg5
= static_cast< bool >(val5
);
22175 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22176 if (!SWIG_IsOK(ecode6
)) {
22177 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22179 arg6
= static_cast< int >(val6
);
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22184 wxPyEndAllowThreads(__tstate
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22204 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22205 PyObject
*resultobj
= 0;
22206 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22207 wxWindow
*arg2
= (wxWindow
*) 0 ;
22208 wxString
*arg3
= 0 ;
22209 bool arg4
= (bool) false ;
22210 int arg5
= (int) wxNOT_FOUND
;
22216 bool temp3
= false ;
22221 PyObject
* obj0
= 0 ;
22222 PyObject
* obj1
= 0 ;
22223 PyObject
* obj2
= 0 ;
22224 PyObject
* obj3
= 0 ;
22225 PyObject
* obj4
= 0 ;
22226 char * kwnames
[] = {
22227 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22232 if (!SWIG_IsOK(res1
)) {
22233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22235 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22236 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22237 if (!SWIG_IsOK(res2
)) {
22238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22240 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22242 arg3
= wxString_in_helper(obj2
);
22243 if (arg3
== NULL
) SWIG_fail
;
22247 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22248 if (!SWIG_IsOK(ecode4
)) {
22249 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22251 arg4
= static_cast< bool >(val4
);
22254 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22255 if (!SWIG_IsOK(ecode5
)) {
22256 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22258 arg5
= static_cast< int >(val5
);
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22283 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22284 PyObject
*resultobj
= 0;
22285 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22292 PyObject
* obj0
= 0 ;
22293 PyObject
* obj1
= 0 ;
22294 char * kwnames
[] = {
22295 (char *) "self",(char *) "pos", NULL
22298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22300 if (!SWIG_IsOK(res1
)) {
22301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22303 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22304 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22305 if (!SWIG_IsOK(ecode2
)) {
22306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22308 arg2
= static_cast< size_t >(val2
);
22310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22311 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22312 wxPyEndAllowThreads(__tstate
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22324 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22325 PyObject
*resultobj
= 0;
22326 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22328 bool arg3
= (bool) true ;
22336 PyObject
* obj0
= 0 ;
22337 PyObject
* obj1
= 0 ;
22338 PyObject
* obj2
= 0 ;
22339 char * kwnames
[] = {
22340 (char *) "self",(char *) "pos",(char *) "expand", NULL
22343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22345 if (!SWIG_IsOK(res1
)) {
22346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22348 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22349 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22350 if (!SWIG_IsOK(ecode2
)) {
22351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22353 arg2
= static_cast< size_t >(val2
);
22355 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22356 if (!SWIG_IsOK(ecode3
)) {
22357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22359 arg3
= static_cast< bool >(val3
);
22362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22363 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22376 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22377 PyObject
*resultobj
= 0;
22378 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22385 PyObject
* obj0
= 0 ;
22386 PyObject
* obj1
= 0 ;
22387 char * kwnames
[] = {
22388 (char *) "self",(char *) "pos", NULL
22391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22393 if (!SWIG_IsOK(res1
)) {
22394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22396 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22397 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22398 if (!SWIG_IsOK(ecode2
)) {
22399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22401 arg2
= static_cast< size_t >(val2
);
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22404 result
= (bool)(arg1
)->CollapseNode(arg2
);
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22417 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22418 PyObject
*resultobj
= 0;
22419 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22426 PyObject
* obj0
= 0 ;
22427 PyObject
* obj1
= 0 ;
22428 char * kwnames
[] = {
22429 (char *) "self",(char *) "pos", NULL
22432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22434 if (!SWIG_IsOK(res1
)) {
22435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22437 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22438 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22439 if (!SWIG_IsOK(ecode2
)) {
22440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22442 arg2
= static_cast< size_t >(val2
);
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22449 resultobj
= SWIG_From_int(static_cast< int >(result
));
22456 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22457 PyObject
*resultobj
= 0;
22458 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22459 wxPyTreeCtrl
*result
= 0 ;
22462 PyObject
*swig_obj
[1] ;
22464 if (!args
) SWIG_fail
;
22465 swig_obj
[0] = args
;
22466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22467 if (!SWIG_IsOK(res1
)) {
22468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22470 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22474 wxPyEndAllowThreads(__tstate
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22478 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22486 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22489 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22490 return SWIG_Py_Void();
22493 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22494 return SWIG_Python_InitShadowInstance(args
);
22497 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22498 PyObject
*resultobj
= 0;
22499 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22500 int arg2
= (int) 0 ;
22501 int arg3
= (int) wxNOT_FOUND
;
22502 int arg4
= (int) wxNOT_FOUND
;
22503 wxTreebookEvent
*result
= 0 ;
22512 PyObject
* obj0
= 0 ;
22513 PyObject
* obj1
= 0 ;
22514 PyObject
* obj2
= 0 ;
22515 PyObject
* obj3
= 0 ;
22516 char * kwnames
[] = {
22517 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22522 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22523 if (!SWIG_IsOK(ecode1
)) {
22524 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22526 arg1
= static_cast< wxEventType
>(val1
);
22529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22530 if (!SWIG_IsOK(ecode2
)) {
22531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22533 arg2
= static_cast< int >(val2
);
22536 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22537 if (!SWIG_IsOK(ecode3
)) {
22538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22540 arg3
= static_cast< int >(val3
);
22543 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22544 if (!SWIG_IsOK(ecode4
)) {
22545 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22547 arg4
= static_cast< int >(val4
);
22550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22562 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22564 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22565 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22566 return SWIG_Py_Void();
22569 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22570 return SWIG_Python_InitShadowInstance(args
);
22573 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22574 PyObject
*resultobj
= 0;
22575 wxWindow
*arg1
= (wxWindow
*) 0 ;
22577 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22578 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22579 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22580 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22581 long arg5
= (long) wxBK_DEFAULT
;
22582 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22583 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22584 wxToolbook
*result
= 0 ;
22593 bool temp6
= false ;
22594 PyObject
* obj0
= 0 ;
22595 PyObject
* obj1
= 0 ;
22596 PyObject
* obj2
= 0 ;
22597 PyObject
* obj3
= 0 ;
22598 PyObject
* obj4
= 0 ;
22599 PyObject
* obj5
= 0 ;
22600 char * kwnames
[] = {
22601 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22606 if (!SWIG_IsOK(res1
)) {
22607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22609 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22611 if (!SWIG_IsOK(ecode2
)) {
22612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22614 arg2
= static_cast< int >(val2
);
22618 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22624 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22628 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22629 if (!SWIG_IsOK(ecode5
)) {
22630 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22632 arg5
= static_cast< long >(val5
);
22636 arg6
= wxString_in_helper(obj5
);
22637 if (arg6
== NULL
) SWIG_fail
;
22642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22643 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22662 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22663 PyObject
*resultobj
= 0;
22664 wxToolbook
*result
= 0 ;
22666 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 result
= (wxToolbook
*)new wxToolbook();
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22680 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
= 0;
22682 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22683 wxWindow
*arg2
= (wxWindow
*) 0 ;
22685 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22686 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22687 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22688 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22689 long arg6
= (long) 0 ;
22690 wxString
const &arg7_defvalue
= wxEmptyString
;
22691 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22703 bool temp7
= false ;
22704 PyObject
* obj0
= 0 ;
22705 PyObject
* obj1
= 0 ;
22706 PyObject
* obj2
= 0 ;
22707 PyObject
* obj3
= 0 ;
22708 PyObject
* obj4
= 0 ;
22709 PyObject
* obj5
= 0 ;
22710 PyObject
* obj6
= 0 ;
22711 char * kwnames
[] = {
22712 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22717 if (!SWIG_IsOK(res1
)) {
22718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22720 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22721 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22722 if (!SWIG_IsOK(res2
)) {
22723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22725 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22726 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22727 if (!SWIG_IsOK(ecode3
)) {
22728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22730 arg3
= static_cast< int >(val3
);
22734 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22740 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22744 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22745 if (!SWIG_IsOK(ecode6
)) {
22746 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22748 arg6
= static_cast< long >(val6
);
22752 arg7
= wxString_in_helper(obj6
);
22753 if (arg7
== NULL
) SWIG_fail
;
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22780 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22781 PyObject
*resultobj
= 0;
22782 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22783 wxToolBarBase
*result
= 0 ;
22786 PyObject
*swig_obj
[1] ;
22788 if (!args
) SWIG_fail
;
22789 swig_obj
[0] = args
;
22790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22791 if (!SWIG_IsOK(res1
)) {
22792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22794 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22797 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22798 wxPyEndAllowThreads(__tstate
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22802 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22810 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22811 PyObject
*resultobj
= 0;
22812 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22815 PyObject
*swig_obj
[1] ;
22817 if (!args
) SWIG_fail
;
22818 swig_obj
[0] = args
;
22819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22820 if (!SWIG_IsOK(res1
)) {
22821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22823 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 resultobj
= SWIG_Py_Void();
22837 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22839 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22840 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22841 return SWIG_Py_Void();
22844 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22845 return SWIG_Python_InitShadowInstance(args
);
22848 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22849 PyObject
*resultobj
= 0;
22850 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22851 int arg2
= (int) 0 ;
22852 int arg3
= (int) wxNOT_FOUND
;
22853 int arg4
= (int) wxNOT_FOUND
;
22854 wxToolbookEvent
*result
= 0 ;
22863 PyObject
* obj0
= 0 ;
22864 PyObject
* obj1
= 0 ;
22865 PyObject
* obj2
= 0 ;
22866 PyObject
* obj3
= 0 ;
22867 char * kwnames
[] = {
22868 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22873 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22874 if (!SWIG_IsOK(ecode1
)) {
22875 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22877 arg1
= static_cast< wxEventType
>(val1
);
22880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22881 if (!SWIG_IsOK(ecode2
)) {
22882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22884 arg2
= static_cast< int >(val2
);
22887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22888 if (!SWIG_IsOK(ecode3
)) {
22889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22891 arg3
= static_cast< int >(val3
);
22894 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22895 if (!SWIG_IsOK(ecode4
)) {
22896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22898 arg4
= static_cast< int >(val4
);
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22913 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22916 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22917 return SWIG_Py_Void();
22920 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22921 return SWIG_Python_InitShadowInstance(args
);
22924 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22925 PyObject
*resultobj
= 0;
22926 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22930 PyObject
*swig_obj
[1] ;
22932 if (!args
) SWIG_fail
;
22933 swig_obj
[0] = args
;
22934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22935 if (!SWIG_IsOK(res1
)) {
22936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22938 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 result
= (int)(arg1
)->GetId();
22942 wxPyEndAllowThreads(__tstate
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22945 resultobj
= SWIG_From_int(static_cast< int >(result
));
22952 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22953 PyObject
*resultobj
= 0;
22954 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22955 wxControl
*result
= 0 ;
22958 PyObject
*swig_obj
[1] ;
22960 if (!args
) SWIG_fail
;
22961 swig_obj
[0] = args
;
22962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22963 if (!SWIG_IsOK(res1
)) {
22964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22966 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 result
= (wxControl
*)(arg1
)->GetControl();
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22974 resultobj
= wxPyMake_wxObject(result
, 0);
22982 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22983 PyObject
*resultobj
= 0;
22984 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22985 wxToolBarBase
*result
= 0 ;
22988 PyObject
*swig_obj
[1] ;
22990 if (!args
) SWIG_fail
;
22991 swig_obj
[0] = args
;
22992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22993 if (!SWIG_IsOK(res1
)) {
22994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22996 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22999 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23004 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23012 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23013 PyObject
*resultobj
= 0;
23014 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23018 PyObject
*swig_obj
[1] ;
23020 if (!args
) SWIG_fail
;
23021 swig_obj
[0] = args
;
23022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23023 if (!SWIG_IsOK(res1
)) {
23024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23026 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 result
= (int)(arg1
)->IsButton();
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 resultobj
= SWIG_From_int(static_cast< int >(result
));
23040 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23041 PyObject
*resultobj
= 0;
23042 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23046 PyObject
*swig_obj
[1] ;
23048 if (!args
) SWIG_fail
;
23049 swig_obj
[0] = args
;
23050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23051 if (!SWIG_IsOK(res1
)) {
23052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23054 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 result
= (int)(arg1
)->IsControl();
23058 wxPyEndAllowThreads(__tstate
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= SWIG_From_int(static_cast< int >(result
));
23068 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23069 PyObject
*resultobj
= 0;
23070 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23074 PyObject
*swig_obj
[1] ;
23076 if (!args
) SWIG_fail
;
23077 swig_obj
[0] = args
;
23078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23079 if (!SWIG_IsOK(res1
)) {
23080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23082 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 result
= (int)(arg1
)->IsSeparator();
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= SWIG_From_int(static_cast< int >(result
));
23096 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23097 PyObject
*resultobj
= 0;
23098 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23102 PyObject
*swig_obj
[1] ;
23104 if (!args
) SWIG_fail
;
23105 swig_obj
[0] = args
;
23106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23107 if (!SWIG_IsOK(res1
)) {
23108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23110 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 result
= (int)(arg1
)->GetStyle();
23114 wxPyEndAllowThreads(__tstate
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23117 resultobj
= SWIG_From_int(static_cast< int >(result
));
23124 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23125 PyObject
*resultobj
= 0;
23126 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23130 PyObject
*swig_obj
[1] ;
23132 if (!args
) SWIG_fail
;
23133 swig_obj
[0] = args
;
23134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23135 if (!SWIG_IsOK(res1
)) {
23136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23138 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (wxItemKind
)(arg1
)->GetKind();
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 resultobj
= SWIG_From_int(static_cast< int >(result
));
23152 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23153 PyObject
*resultobj
= 0;
23154 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23158 PyObject
*swig_obj
[1] ;
23160 if (!args
) SWIG_fail
;
23161 swig_obj
[0] = args
;
23162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23163 if (!SWIG_IsOK(res1
)) {
23164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23166 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 result
= (bool)(arg1
)->IsEnabled();
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23182 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23183 PyObject
*resultobj
= 0;
23184 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23188 PyObject
*swig_obj
[1] ;
23190 if (!args
) SWIG_fail
;
23191 swig_obj
[0] = args
;
23192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23193 if (!SWIG_IsOK(res1
)) {
23194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23196 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 result
= (bool)(arg1
)->IsToggled();
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23212 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23213 PyObject
*resultobj
= 0;
23214 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23218 PyObject
*swig_obj
[1] ;
23220 if (!args
) SWIG_fail
;
23221 swig_obj
[0] = args
;
23222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23223 if (!SWIG_IsOK(res1
)) {
23224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23226 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23229 result
= (bool)(arg1
)->CanBeToggled();
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23242 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23243 PyObject
*resultobj
= 0;
23244 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23245 wxBitmap
*result
= 0 ;
23248 PyObject
*swig_obj
[1] ;
23250 if (!args
) SWIG_fail
;
23251 swig_obj
[0] = args
;
23252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23253 if (!SWIG_IsOK(res1
)) {
23254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23256 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23261 result
= (wxBitmap
*) &_result_ref
;
23263 wxPyEndAllowThreads(__tstate
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23267 wxBitmap
* resultptr
= new wxBitmap(*result
);
23268 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23276 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23277 PyObject
*resultobj
= 0;
23278 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23279 wxBitmap
*result
= 0 ;
23282 PyObject
*swig_obj
[1] ;
23284 if (!args
) SWIG_fail
;
23285 swig_obj
[0] = args
;
23286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23287 if (!SWIG_IsOK(res1
)) {
23288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23290 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23294 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23295 result
= (wxBitmap
*) &_result_ref
;
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23301 wxBitmap
* resultptr
= new wxBitmap(*result
);
23302 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23310 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23311 PyObject
*resultobj
= 0;
23312 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23316 PyObject
*swig_obj
[1] ;
23318 if (!args
) SWIG_fail
;
23319 swig_obj
[0] = args
;
23320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23321 if (!SWIG_IsOK(res1
)) {
23322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23324 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 result
= (arg1
)->GetBitmap();
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23338 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23339 PyObject
*resultobj
= 0;
23340 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23344 PyObject
*swig_obj
[1] ;
23346 if (!args
) SWIG_fail
;
23347 swig_obj
[0] = args
;
23348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23349 if (!SWIG_IsOK(res1
)) {
23350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23352 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23355 result
= (arg1
)->GetLabel();
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23372 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23373 PyObject
*resultobj
= 0;
23374 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23378 PyObject
*swig_obj
[1] ;
23380 if (!args
) SWIG_fail
;
23381 swig_obj
[0] = args
;
23382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23383 if (!SWIG_IsOK(res1
)) {
23384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23386 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 result
= (arg1
)->GetShortHelp();
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23406 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23407 PyObject
*resultobj
= 0;
23408 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23412 PyObject
*swig_obj
[1] ;
23414 if (!args
) SWIG_fail
;
23415 swig_obj
[0] = args
;
23416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23417 if (!SWIG_IsOK(res1
)) {
23418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23420 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23423 result
= (arg1
)->GetLongHelp();
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23440 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23441 PyObject
*resultobj
= 0;
23442 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23449 PyObject
* obj0
= 0 ;
23450 PyObject
* obj1
= 0 ;
23451 char * kwnames
[] = {
23452 (char *) "self",(char *) "enable", NULL
23455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23457 if (!SWIG_IsOK(res1
)) {
23458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23460 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23461 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23462 if (!SWIG_IsOK(ecode2
)) {
23463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23465 arg2
= static_cast< bool >(val2
);
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (bool)(arg1
)->Enable(arg2
);
23469 wxPyEndAllowThreads(__tstate
);
23470 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23481 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23482 PyObject
*resultobj
= 0;
23483 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23486 PyObject
*swig_obj
[1] ;
23488 if (!args
) SWIG_fail
;
23489 swig_obj
[0] = args
;
23490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23491 if (!SWIG_IsOK(res1
)) {
23492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23494 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23501 resultobj
= SWIG_Py_Void();
23508 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
= 0;
23510 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23517 PyObject
* obj0
= 0 ;
23518 PyObject
* obj1
= 0 ;
23519 char * kwnames
[] = {
23520 (char *) "self",(char *) "toggle", NULL
23523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23525 if (!SWIG_IsOK(res1
)) {
23526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23528 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23529 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23530 if (!SWIG_IsOK(ecode2
)) {
23531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23533 arg2
= static_cast< bool >(val2
);
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 result
= (bool)(arg1
)->SetToggle(arg2
);
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23549 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
= 0;
23551 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23552 wxString
*arg2
= 0 ;
23556 bool temp2
= false ;
23557 PyObject
* obj0
= 0 ;
23558 PyObject
* obj1
= 0 ;
23559 char * kwnames
[] = {
23560 (char *) "self",(char *) "help", NULL
23563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23565 if (!SWIG_IsOK(res1
)) {
23566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23568 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23570 arg2
= wxString_in_helper(obj1
);
23571 if (arg2
== NULL
) SWIG_fail
;
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23577 wxPyEndAllowThreads(__tstate
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23597 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23598 PyObject
*resultobj
= 0;
23599 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23600 wxString
*arg2
= 0 ;
23604 bool temp2
= false ;
23605 PyObject
* obj0
= 0 ;
23606 PyObject
* obj1
= 0 ;
23607 char * kwnames
[] = {
23608 (char *) "self",(char *) "help", NULL
23611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23613 if (!SWIG_IsOK(res1
)) {
23614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23616 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23618 arg2
= wxString_in_helper(obj1
);
23619 if (arg2
== NULL
) SWIG_fail
;
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23645 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23646 PyObject
*resultobj
= 0;
23647 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23648 wxBitmap
*arg2
= 0 ;
23653 PyObject
* obj0
= 0 ;
23654 PyObject
* obj1
= 0 ;
23655 char * kwnames
[] = {
23656 (char *) "self",(char *) "bmp", NULL
23659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23661 if (!SWIG_IsOK(res1
)) {
23662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23664 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23666 if (!SWIG_IsOK(res2
)) {
23667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23672 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23676 wxPyEndAllowThreads(__tstate
);
23677 if (PyErr_Occurred()) SWIG_fail
;
23679 resultobj
= SWIG_Py_Void();
23686 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
= 0;
23688 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23689 wxBitmap
*arg2
= 0 ;
23694 PyObject
* obj0
= 0 ;
23695 PyObject
* obj1
= 0 ;
23696 char * kwnames
[] = {
23697 (char *) "self",(char *) "bmp", NULL
23700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23702 if (!SWIG_IsOK(res1
)) {
23703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23705 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23706 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23707 if (!SWIG_IsOK(res2
)) {
23708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23713 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= SWIG_Py_Void();
23727 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
= 0;
23729 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23730 wxString
*arg2
= 0 ;
23733 bool temp2
= false ;
23734 PyObject
* obj0
= 0 ;
23735 PyObject
* obj1
= 0 ;
23736 char * kwnames
[] = {
23737 (char *) "self",(char *) "label", NULL
23740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23742 if (!SWIG_IsOK(res1
)) {
23743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23745 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23747 arg2
= wxString_in_helper(obj1
);
23748 if (arg2
== NULL
) SWIG_fail
;
23752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23753 (arg1
)->SetLabel((wxString
const &)*arg2
);
23754 wxPyEndAllowThreads(__tstate
);
23755 if (PyErr_Occurred()) SWIG_fail
;
23757 resultobj
= SWIG_Py_Void();
23772 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23773 PyObject
*resultobj
= 0;
23774 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23777 PyObject
*swig_obj
[1] ;
23779 if (!args
) SWIG_fail
;
23780 swig_obj
[0] = args
;
23781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23782 if (!SWIG_IsOK(res1
)) {
23783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23785 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 resultobj
= SWIG_Py_Void();
23799 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23800 PyObject
*resultobj
= 0;
23801 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23802 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23807 PyObject
* obj0
= 0 ;
23808 PyObject
* obj1
= 0 ;
23809 char * kwnames
[] = {
23810 (char *) "self",(char *) "tbar", NULL
23813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23815 if (!SWIG_IsOK(res1
)) {
23816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23818 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23819 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23820 if (!SWIG_IsOK(res2
)) {
23821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23823 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23826 (arg1
)->Attach(arg2
);
23827 wxPyEndAllowThreads(__tstate
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23830 resultobj
= SWIG_Py_Void();
23837 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23838 PyObject
*resultobj
= 0;
23839 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23840 PyObject
*result
= 0 ;
23843 PyObject
*swig_obj
[1] ;
23845 if (!args
) SWIG_fail
;
23846 swig_obj
[0] = args
;
23847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23848 if (!SWIG_IsOK(res1
)) {
23849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23851 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23858 resultobj
= result
;
23865 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23866 PyObject
*resultobj
= 0;
23867 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23868 PyObject
*arg2
= (PyObject
*) 0 ;
23871 PyObject
* obj0
= 0 ;
23872 PyObject
* obj1
= 0 ;
23873 char * kwnames
[] = {
23874 (char *) "self",(char *) "clientData", NULL
23877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23879 if (!SWIG_IsOK(res1
)) {
23880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23882 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 resultobj
= SWIG_Py_Void();
23897 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23900 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23901 return SWIG_Py_Void();
23904 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23905 PyObject
*resultobj
= 0;
23906 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23908 wxString
*arg3
= 0 ;
23909 wxBitmap
*arg4
= 0 ;
23910 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23911 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23912 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23913 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23914 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23915 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23916 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23917 PyObject
*arg9
= (PyObject
*) NULL
;
23918 wxToolBarToolBase
*result
= 0 ;
23923 bool temp3
= false ;
23930 bool temp7
= false ;
23931 bool temp8
= false ;
23932 PyObject
* obj0
= 0 ;
23933 PyObject
* obj1
= 0 ;
23934 PyObject
* obj2
= 0 ;
23935 PyObject
* obj3
= 0 ;
23936 PyObject
* obj4
= 0 ;
23937 PyObject
* obj5
= 0 ;
23938 PyObject
* obj6
= 0 ;
23939 PyObject
* obj7
= 0 ;
23940 PyObject
* obj8
= 0 ;
23941 char * kwnames
[] = {
23942 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23947 if (!SWIG_IsOK(res1
)) {
23948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23950 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23952 if (!SWIG_IsOK(ecode2
)) {
23953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23955 arg2
= static_cast< int >(val2
);
23957 arg3
= wxString_in_helper(obj2
);
23958 if (arg3
== NULL
) SWIG_fail
;
23961 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23962 if (!SWIG_IsOK(res4
)) {
23963 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23968 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23970 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23971 if (!SWIG_IsOK(res5
)) {
23972 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23977 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23980 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23981 if (!SWIG_IsOK(ecode6
)) {
23982 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23984 arg6
= static_cast< wxItemKind
>(val6
);
23988 arg7
= wxString_in_helper(obj6
);
23989 if (arg7
== NULL
) SWIG_fail
;
23995 arg8
= wxString_in_helper(obj7
);
23996 if (arg8
== NULL
) SWIG_fail
;
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
24006 wxPyEndAllowThreads(__tstate
);
24007 if (PyErr_Occurred()) SWIG_fail
;
24010 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24042 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24043 PyObject
*resultobj
= 0;
24044 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24047 wxString
*arg4
= 0 ;
24048 wxBitmap
*arg5
= 0 ;
24049 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
24050 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
24051 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
24052 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24053 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24054 wxString
const &arg9_defvalue
= wxPyEmptyString
;
24055 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
24056 PyObject
*arg10
= (PyObject
*) NULL
;
24057 wxToolBarToolBase
*result
= 0 ;
24064 bool temp4
= false ;
24071 bool temp8
= false ;
24072 bool temp9
= false ;
24073 PyObject
* obj0
= 0 ;
24074 PyObject
* obj1
= 0 ;
24075 PyObject
* obj2
= 0 ;
24076 PyObject
* obj3
= 0 ;
24077 PyObject
* obj4
= 0 ;
24078 PyObject
* obj5
= 0 ;
24079 PyObject
* obj6
= 0 ;
24080 PyObject
* obj7
= 0 ;
24081 PyObject
* obj8
= 0 ;
24082 PyObject
* obj9
= 0 ;
24083 char * kwnames
[] = {
24084 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24089 if (!SWIG_IsOK(res1
)) {
24090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24092 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24093 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24094 if (!SWIG_IsOK(ecode2
)) {
24095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24097 arg2
= static_cast< size_t >(val2
);
24098 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24099 if (!SWIG_IsOK(ecode3
)) {
24100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24102 arg3
= static_cast< int >(val3
);
24104 arg4
= wxString_in_helper(obj3
);
24105 if (arg4
== NULL
) SWIG_fail
;
24108 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24109 if (!SWIG_IsOK(res5
)) {
24110 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24115 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24117 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24118 if (!SWIG_IsOK(res6
)) {
24119 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24124 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24127 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24128 if (!SWIG_IsOK(ecode7
)) {
24129 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24131 arg7
= static_cast< wxItemKind
>(val7
);
24135 arg8
= wxString_in_helper(obj7
);
24136 if (arg8
== NULL
) SWIG_fail
;
24142 arg9
= wxString_in_helper(obj8
);
24143 if (arg9
== NULL
) SWIG_fail
;
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24157 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24189 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24190 PyObject
*resultobj
= 0;
24191 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24192 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24193 wxToolBarToolBase
*result
= 0 ;
24198 PyObject
* obj0
= 0 ;
24199 PyObject
* obj1
= 0 ;
24200 char * kwnames
[] = {
24201 (char *) "self",(char *) "tool", NULL
24204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24206 if (!SWIG_IsOK(res1
)) {
24207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24209 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24210 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24211 if (!SWIG_IsOK(res2
)) {
24212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24214 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24218 wxPyEndAllowThreads(__tstate
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24222 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24230 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24231 PyObject
*resultobj
= 0;
24232 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24234 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24235 wxToolBarToolBase
*result
= 0 ;
24242 PyObject
* obj0
= 0 ;
24243 PyObject
* obj1
= 0 ;
24244 PyObject
* obj2
= 0 ;
24245 char * kwnames
[] = {
24246 (char *) "self",(char *) "pos",(char *) "tool", NULL
24249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24251 if (!SWIG_IsOK(res1
)) {
24252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24254 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24255 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24256 if (!SWIG_IsOK(ecode2
)) {
24257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24259 arg2
= static_cast< size_t >(val2
);
24260 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24261 if (!SWIG_IsOK(res3
)) {
24262 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24264 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24280 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24281 PyObject
*resultobj
= 0;
24282 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24283 wxControl
*arg2
= (wxControl
*) 0 ;
24284 wxToolBarToolBase
*result
= 0 ;
24289 PyObject
* obj0
= 0 ;
24290 PyObject
* obj1
= 0 ;
24291 char * kwnames
[] = {
24292 (char *) "self",(char *) "control", NULL
24295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24297 if (!SWIG_IsOK(res1
)) {
24298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24300 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24301 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24302 if (!SWIG_IsOK(res2
)) {
24303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24305 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24309 wxPyEndAllowThreads(__tstate
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24313 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24321 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
= 0;
24323 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24325 wxControl
*arg3
= (wxControl
*) 0 ;
24326 wxToolBarToolBase
*result
= 0 ;
24333 PyObject
* obj0
= 0 ;
24334 PyObject
* obj1
= 0 ;
24335 PyObject
* obj2
= 0 ;
24336 char * kwnames
[] = {
24337 (char *) "self",(char *) "pos",(char *) "control", NULL
24340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24342 if (!SWIG_IsOK(res1
)) {
24343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24345 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24346 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24347 if (!SWIG_IsOK(ecode2
)) {
24348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24350 arg2
= static_cast< size_t >(val2
);
24351 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24352 if (!SWIG_IsOK(res3
)) {
24353 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24355 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24358 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24359 wxPyEndAllowThreads(__tstate
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24371 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
= 0;
24373 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24375 wxControl
*result
= 0 ;
24380 PyObject
* obj0
= 0 ;
24381 PyObject
* obj1
= 0 ;
24382 char * kwnames
[] = {
24383 (char *) "self",(char *) "id", NULL
24386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24388 if (!SWIG_IsOK(res1
)) {
24389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24391 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24393 if (!SWIG_IsOK(ecode2
)) {
24394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24396 arg2
= static_cast< int >(val2
);
24398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24399 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24400 wxPyEndAllowThreads(__tstate
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24404 resultobj
= wxPyMake_wxObject(result
, 0);
24412 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24413 PyObject
*resultobj
= 0;
24414 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24415 wxToolBarToolBase
*result
= 0 ;
24418 PyObject
*swig_obj
[1] ;
24420 if (!args
) SWIG_fail
;
24421 swig_obj
[0] = args
;
24422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24423 if (!SWIG_IsOK(res1
)) {
24424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24426 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24430 wxPyEndAllowThreads(__tstate
);
24431 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24442 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24443 PyObject
*resultobj
= 0;
24444 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24446 wxToolBarToolBase
*result
= 0 ;
24451 PyObject
* obj0
= 0 ;
24452 PyObject
* obj1
= 0 ;
24453 char * kwnames
[] = {
24454 (char *) "self",(char *) "pos", NULL
24457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24459 if (!SWIG_IsOK(res1
)) {
24460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24462 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24463 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24464 if (!SWIG_IsOK(ecode2
)) {
24465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24467 arg2
= static_cast< size_t >(val2
);
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24471 wxPyEndAllowThreads(__tstate
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24483 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
= 0;
24485 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24487 wxToolBarToolBase
*result
= 0 ;
24492 PyObject
* obj0
= 0 ;
24493 PyObject
* obj1
= 0 ;
24494 char * kwnames
[] = {
24495 (char *) "self",(char *) "id", NULL
24498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24500 if (!SWIG_IsOK(res1
)) {
24501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24503 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24505 if (!SWIG_IsOK(ecode2
)) {
24506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24508 arg2
= static_cast< int >(val2
);
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24512 wxPyEndAllowThreads(__tstate
);
24513 if (PyErr_Occurred()) SWIG_fail
;
24516 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24524 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
= 0;
24526 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24533 PyObject
* obj0
= 0 ;
24534 PyObject
* obj1
= 0 ;
24535 char * kwnames
[] = {
24536 (char *) "self",(char *) "pos", NULL
24539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24541 if (!SWIG_IsOK(res1
)) {
24542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24544 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24545 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24546 if (!SWIG_IsOK(ecode2
)) {
24547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24549 arg2
= static_cast< size_t >(val2
);
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24565 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
= 0;
24567 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24574 PyObject
* obj0
= 0 ;
24575 PyObject
* obj1
= 0 ;
24576 char * kwnames
[] = {
24577 (char *) "self",(char *) "id", NULL
24580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24582 if (!SWIG_IsOK(res1
)) {
24583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24585 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24587 if (!SWIG_IsOK(ecode2
)) {
24588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24590 arg2
= static_cast< int >(val2
);
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 result
= (bool)(arg1
)->DeleteTool(arg2
);
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24606 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24607 PyObject
*resultobj
= 0;
24608 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24611 PyObject
*swig_obj
[1] ;
24613 if (!args
) SWIG_fail
;
24614 swig_obj
[0] = args
;
24615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24616 if (!SWIG_IsOK(res1
)) {
24617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24619 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24622 (arg1
)->ClearTools();
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24626 resultobj
= SWIG_Py_Void();
24633 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24634 PyObject
*resultobj
= 0;
24635 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24639 PyObject
*swig_obj
[1] ;
24641 if (!args
) SWIG_fail
;
24642 swig_obj
[0] = args
;
24643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24644 if (!SWIG_IsOK(res1
)) {
24645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24647 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24650 result
= (bool)(arg1
)->Realize();
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24663 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24664 PyObject
*resultobj
= 0;
24665 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24674 PyObject
* obj0
= 0 ;
24675 PyObject
* obj1
= 0 ;
24676 PyObject
* obj2
= 0 ;
24677 char * kwnames
[] = {
24678 (char *) "self",(char *) "id",(char *) "enable", NULL
24681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24683 if (!SWIG_IsOK(res1
)) {
24684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24686 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24688 if (!SWIG_IsOK(ecode2
)) {
24689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24691 arg2
= static_cast< int >(val2
);
24692 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24693 if (!SWIG_IsOK(ecode3
)) {
24694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24696 arg3
= static_cast< bool >(val3
);
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 (arg1
)->EnableTool(arg2
,arg3
);
24700 wxPyEndAllowThreads(__tstate
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24703 resultobj
= SWIG_Py_Void();
24710 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
= 0;
24712 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24721 PyObject
* obj0
= 0 ;
24722 PyObject
* obj1
= 0 ;
24723 PyObject
* obj2
= 0 ;
24724 char * kwnames
[] = {
24725 (char *) "self",(char *) "id",(char *) "toggle", NULL
24728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24730 if (!SWIG_IsOK(res1
)) {
24731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24733 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24735 if (!SWIG_IsOK(ecode2
)) {
24736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24738 arg2
= static_cast< int >(val2
);
24739 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24740 if (!SWIG_IsOK(ecode3
)) {
24741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24743 arg3
= static_cast< bool >(val3
);
24745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24746 (arg1
)->ToggleTool(arg2
,arg3
);
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24750 resultobj
= SWIG_Py_Void();
24757 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24758 PyObject
*resultobj
= 0;
24759 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24768 PyObject
* obj0
= 0 ;
24769 PyObject
* obj1
= 0 ;
24770 PyObject
* obj2
= 0 ;
24771 char * kwnames
[] = {
24772 (char *) "self",(char *) "id",(char *) "toggle", NULL
24775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24777 if (!SWIG_IsOK(res1
)) {
24778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24780 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24782 if (!SWIG_IsOK(ecode2
)) {
24783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24785 arg2
= static_cast< int >(val2
);
24786 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24787 if (!SWIG_IsOK(ecode3
)) {
24788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24790 arg3
= static_cast< bool >(val3
);
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 (arg1
)->SetToggle(arg2
,arg3
);
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24797 resultobj
= SWIG_Py_Void();
24804 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
= 0;
24806 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24808 PyObject
*result
= 0 ;
24813 PyObject
* obj0
= 0 ;
24814 PyObject
* obj1
= 0 ;
24815 char * kwnames
[] = {
24816 (char *) "self",(char *) "id", NULL
24819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24821 if (!SWIG_IsOK(res1
)) {
24822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24824 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24826 if (!SWIG_IsOK(ecode2
)) {
24827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24829 arg2
= static_cast< int >(val2
);
24831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24832 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= result
;
24843 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
= 0;
24845 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24847 PyObject
*arg3
= (PyObject
*) 0 ;
24852 PyObject
* obj0
= 0 ;
24853 PyObject
* obj1
= 0 ;
24854 PyObject
* obj2
= 0 ;
24855 char * kwnames
[] = {
24856 (char *) "self",(char *) "id",(char *) "clientData", NULL
24859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24861 if (!SWIG_IsOK(res1
)) {
24862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24864 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24866 if (!SWIG_IsOK(ecode2
)) {
24867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24869 arg2
= static_cast< int >(val2
);
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24877 resultobj
= SWIG_Py_Void();
24884 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
= 0;
24886 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24893 PyObject
* obj0
= 0 ;
24894 PyObject
* obj1
= 0 ;
24895 char * kwnames
[] = {
24896 (char *) "self",(char *) "id", NULL
24899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24901 if (!SWIG_IsOK(res1
)) {
24902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24904 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24906 if (!SWIG_IsOK(ecode2
)) {
24907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24909 arg2
= static_cast< int >(val2
);
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24916 resultobj
= SWIG_From_int(static_cast< int >(result
));
24923 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
= 0;
24925 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24932 PyObject
* obj0
= 0 ;
24933 PyObject
* obj1
= 0 ;
24934 char * kwnames
[] = {
24935 (char *) "self",(char *) "id", NULL
24938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24940 if (!SWIG_IsOK(res1
)) {
24941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24943 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24945 if (!SWIG_IsOK(ecode2
)) {
24946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24948 arg2
= static_cast< int >(val2
);
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 result
= (bool)(arg1
)->GetToolState(arg2
);
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24964 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
= 0;
24966 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24973 PyObject
* obj0
= 0 ;
24974 PyObject
* obj1
= 0 ;
24975 char * kwnames
[] = {
24976 (char *) "self",(char *) "id", NULL
24979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24981 if (!SWIG_IsOK(res1
)) {
24982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24984 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24986 if (!SWIG_IsOK(ecode2
)) {
24987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24989 arg2
= static_cast< int >(val2
);
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25005 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
= 0;
25007 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25009 wxString
*arg3
= 0 ;
25014 bool temp3
= false ;
25015 PyObject
* obj0
= 0 ;
25016 PyObject
* obj1
= 0 ;
25017 PyObject
* obj2
= 0 ;
25018 char * kwnames
[] = {
25019 (char *) "self",(char *) "id",(char *) "helpString", NULL
25022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25024 if (!SWIG_IsOK(res1
)) {
25025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25027 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25029 if (!SWIG_IsOK(ecode2
)) {
25030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25032 arg2
= static_cast< int >(val2
);
25034 arg3
= wxString_in_helper(obj2
);
25035 if (arg3
== NULL
) SWIG_fail
;
25039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25040 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
25041 wxPyEndAllowThreads(__tstate
);
25042 if (PyErr_Occurred()) SWIG_fail
;
25044 resultobj
= SWIG_Py_Void();
25059 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25060 PyObject
*resultobj
= 0;
25061 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25068 PyObject
* obj0
= 0 ;
25069 PyObject
* obj1
= 0 ;
25070 char * kwnames
[] = {
25071 (char *) "self",(char *) "id", NULL
25074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25076 if (!SWIG_IsOK(res1
)) {
25077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25079 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25081 if (!SWIG_IsOK(ecode2
)) {
25082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25084 arg2
= static_cast< int >(val2
);
25086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25087 result
= (arg1
)->GetToolShortHelp(arg2
);
25088 wxPyEndAllowThreads(__tstate
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25104 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25105 PyObject
*resultobj
= 0;
25106 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25108 wxString
*arg3
= 0 ;
25113 bool temp3
= false ;
25114 PyObject
* obj0
= 0 ;
25115 PyObject
* obj1
= 0 ;
25116 PyObject
* obj2
= 0 ;
25117 char * kwnames
[] = {
25118 (char *) "self",(char *) "id",(char *) "helpString", NULL
25121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25123 if (!SWIG_IsOK(res1
)) {
25124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25126 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25128 if (!SWIG_IsOK(ecode2
)) {
25129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25131 arg2
= static_cast< int >(val2
);
25133 arg3
= wxString_in_helper(obj2
);
25134 if (arg3
== NULL
) SWIG_fail
;
25138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25139 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25140 wxPyEndAllowThreads(__tstate
);
25141 if (PyErr_Occurred()) SWIG_fail
;
25143 resultobj
= SWIG_Py_Void();
25158 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
= 0;
25160 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25167 PyObject
* obj0
= 0 ;
25168 PyObject
* obj1
= 0 ;
25169 char * kwnames
[] = {
25170 (char *) "self",(char *) "id", NULL
25173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25175 if (!SWIG_IsOK(res1
)) {
25176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25178 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25180 if (!SWIG_IsOK(ecode2
)) {
25181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25183 arg2
= static_cast< int >(val2
);
25185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25186 result
= (arg1
)->GetToolLongHelp(arg2
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25203 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25204 PyObject
*resultobj
= 0;
25205 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25214 PyObject
* obj0
= 0 ;
25215 PyObject
* obj1
= 0 ;
25216 PyObject
* obj2
= 0 ;
25217 char * kwnames
[] = {
25218 (char *) "self",(char *) "x",(char *) "y", NULL
25221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25223 if (!SWIG_IsOK(res1
)) {
25224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25226 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25228 if (!SWIG_IsOK(ecode2
)) {
25229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25231 arg2
= static_cast< int >(val2
);
25232 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25233 if (!SWIG_IsOK(ecode3
)) {
25234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25236 arg3
= static_cast< int >(val3
);
25238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25239 (arg1
)->SetMargins(arg2
,arg3
);
25240 wxPyEndAllowThreads(__tstate
);
25241 if (PyErr_Occurred()) SWIG_fail
;
25243 resultobj
= SWIG_Py_Void();
25250 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25251 PyObject
*resultobj
= 0;
25252 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25257 PyObject
* obj0
= 0 ;
25258 PyObject
* obj1
= 0 ;
25259 char * kwnames
[] = {
25260 (char *) "self",(char *) "size", NULL
25263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25265 if (!SWIG_IsOK(res1
)) {
25266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25268 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25271 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25275 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25276 wxPyEndAllowThreads(__tstate
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25279 resultobj
= SWIG_Py_Void();
25286 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25287 PyObject
*resultobj
= 0;
25288 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25294 PyObject
* obj0
= 0 ;
25295 PyObject
* obj1
= 0 ;
25296 char * kwnames
[] = {
25297 (char *) "self",(char *) "packing", NULL
25300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25302 if (!SWIG_IsOK(res1
)) {
25303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25305 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25307 if (!SWIG_IsOK(ecode2
)) {
25308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25310 arg2
= static_cast< int >(val2
);
25312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 (arg1
)->SetToolPacking(arg2
);
25314 wxPyEndAllowThreads(__tstate
);
25315 if (PyErr_Occurred()) SWIG_fail
;
25317 resultobj
= SWIG_Py_Void();
25324 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25325 PyObject
*resultobj
= 0;
25326 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25332 PyObject
* obj0
= 0 ;
25333 PyObject
* obj1
= 0 ;
25334 char * kwnames
[] = {
25335 (char *) "self",(char *) "separation", NULL
25338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25340 if (!SWIG_IsOK(res1
)) {
25341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25343 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25345 if (!SWIG_IsOK(ecode2
)) {
25346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25348 arg2
= static_cast< int >(val2
);
25350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25351 (arg1
)->SetToolSeparation(arg2
);
25352 wxPyEndAllowThreads(__tstate
);
25353 if (PyErr_Occurred()) SWIG_fail
;
25355 resultobj
= SWIG_Py_Void();
25362 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25363 PyObject
*resultobj
= 0;
25364 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25368 PyObject
*swig_obj
[1] ;
25370 if (!args
) SWIG_fail
;
25371 swig_obj
[0] = args
;
25372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25373 if (!SWIG_IsOK(res1
)) {
25374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25376 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25379 result
= (arg1
)->GetToolMargins();
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25383 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25390 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25391 PyObject
*resultobj
= 0;
25392 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25396 PyObject
*swig_obj
[1] ;
25398 if (!args
) SWIG_fail
;
25399 swig_obj
[0] = args
;
25400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25401 if (!SWIG_IsOK(res1
)) {
25402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25404 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25407 result
= (arg1
)->GetMargins();
25408 wxPyEndAllowThreads(__tstate
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25411 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25418 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25419 PyObject
*resultobj
= 0;
25420 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25424 PyObject
*swig_obj
[1] ;
25426 if (!args
) SWIG_fail
;
25427 swig_obj
[0] = args
;
25428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25429 if (!SWIG_IsOK(res1
)) {
25430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25432 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25435 result
= (int)(arg1
)->GetToolPacking();
25436 wxPyEndAllowThreads(__tstate
);
25437 if (PyErr_Occurred()) SWIG_fail
;
25439 resultobj
= SWIG_From_int(static_cast< int >(result
));
25446 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25447 PyObject
*resultobj
= 0;
25448 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25452 PyObject
*swig_obj
[1] ;
25454 if (!args
) SWIG_fail
;
25455 swig_obj
[0] = args
;
25456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25457 if (!SWIG_IsOK(res1
)) {
25458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25460 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 result
= (int)(arg1
)->GetToolSeparation();
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25467 resultobj
= SWIG_From_int(static_cast< int >(result
));
25474 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
= 0;
25476 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25482 PyObject
* obj0
= 0 ;
25483 PyObject
* obj1
= 0 ;
25484 char * kwnames
[] = {
25485 (char *) "self",(char *) "nRows", NULL
25488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25490 if (!SWIG_IsOK(res1
)) {
25491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25493 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25495 if (!SWIG_IsOK(ecode2
)) {
25496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25498 arg2
= static_cast< int >(val2
);
25500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25501 (arg1
)->SetRows(arg2
);
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 resultobj
= SWIG_Py_Void();
25512 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25513 PyObject
*resultobj
= 0;
25514 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25523 PyObject
* obj0
= 0 ;
25524 PyObject
* obj1
= 0 ;
25525 PyObject
* obj2
= 0 ;
25526 char * kwnames
[] = {
25527 (char *) "self",(char *) "rows",(char *) "cols", NULL
25530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25532 if (!SWIG_IsOK(res1
)) {
25533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25535 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25537 if (!SWIG_IsOK(ecode2
)) {
25538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25540 arg2
= static_cast< int >(val2
);
25541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25542 if (!SWIG_IsOK(ecode3
)) {
25543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25545 arg3
= static_cast< int >(val3
);
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25549 wxPyEndAllowThreads(__tstate
);
25550 if (PyErr_Occurred()) SWIG_fail
;
25552 resultobj
= SWIG_Py_Void();
25559 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25560 PyObject
*resultobj
= 0;
25561 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25565 PyObject
*swig_obj
[1] ;
25567 if (!args
) SWIG_fail
;
25568 swig_obj
[0] = args
;
25569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25570 if (!SWIG_IsOK(res1
)) {
25571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25573 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 result
= (int)(arg1
)->GetMaxRows();
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25580 resultobj
= SWIG_From_int(static_cast< int >(result
));
25587 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25588 PyObject
*resultobj
= 0;
25589 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25593 PyObject
*swig_obj
[1] ;
25595 if (!args
) SWIG_fail
;
25596 swig_obj
[0] = args
;
25597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25598 if (!SWIG_IsOK(res1
)) {
25599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25601 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25604 result
= (int)(arg1
)->GetMaxCols();
25605 wxPyEndAllowThreads(__tstate
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25608 resultobj
= SWIG_From_int(static_cast< int >(result
));
25615 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25616 PyObject
*resultobj
= 0;
25617 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25622 PyObject
* obj0
= 0 ;
25623 PyObject
* obj1
= 0 ;
25624 char * kwnames
[] = {
25625 (char *) "self",(char *) "size", NULL
25628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25630 if (!SWIG_IsOK(res1
)) {
25631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25633 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25636 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25640 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25641 wxPyEndAllowThreads(__tstate
);
25642 if (PyErr_Occurred()) SWIG_fail
;
25644 resultobj
= SWIG_Py_Void();
25651 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25652 PyObject
*resultobj
= 0;
25653 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25657 PyObject
*swig_obj
[1] ;
25659 if (!args
) SWIG_fail
;
25660 swig_obj
[0] = args
;
25661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25662 if (!SWIG_IsOK(res1
)) {
25663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25665 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25668 result
= (arg1
)->GetToolBitmapSize();
25669 wxPyEndAllowThreads(__tstate
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25672 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25679 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25680 PyObject
*resultobj
= 0;
25681 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25685 PyObject
*swig_obj
[1] ;
25687 if (!args
) SWIG_fail
;
25688 swig_obj
[0] = args
;
25689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25690 if (!SWIG_IsOK(res1
)) {
25691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25693 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25696 result
= (arg1
)->GetToolSize();
25697 wxPyEndAllowThreads(__tstate
);
25698 if (PyErr_Occurred()) SWIG_fail
;
25700 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25707 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25708 PyObject
*resultobj
= 0;
25709 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25712 wxToolBarToolBase
*result
= 0 ;
25719 PyObject
* obj0
= 0 ;
25720 PyObject
* obj1
= 0 ;
25721 PyObject
* obj2
= 0 ;
25722 char * kwnames
[] = {
25723 (char *) "self",(char *) "x",(char *) "y", NULL
25726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25728 if (!SWIG_IsOK(res1
)) {
25729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25731 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25733 if (!SWIG_IsOK(ecode2
)) {
25734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25736 arg2
= static_cast< int >(val2
);
25737 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25738 if (!SWIG_IsOK(ecode3
)) {
25739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25741 arg3
= static_cast< int >(val3
);
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25749 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25757 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25758 PyObject
*resultobj
= 0;
25759 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25761 wxToolBarToolBase
*result
= 0 ;
25766 PyObject
* obj0
= 0 ;
25767 PyObject
* obj1
= 0 ;
25768 char * kwnames
[] = {
25769 (char *) "self",(char *) "toolid", NULL
25772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25774 if (!SWIG_IsOK(res1
)) {
25775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25777 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25779 if (!SWIG_IsOK(ecode2
)) {
25780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25782 arg2
= static_cast< int >(val2
);
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25786 wxPyEndAllowThreads(__tstate
);
25787 if (PyErr_Occurred()) SWIG_fail
;
25790 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25798 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25799 PyObject
*resultobj
= 0;
25800 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25804 PyObject
*swig_obj
[1] ;
25806 if (!args
) SWIG_fail
;
25807 swig_obj
[0] = args
;
25808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25809 if (!SWIG_IsOK(res1
)) {
25810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25812 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25815 result
= (bool)(arg1
)->IsVertical();
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25828 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25829 PyObject
*resultobj
= 0;
25830 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25834 PyObject
*swig_obj
[1] ;
25836 if (!args
) SWIG_fail
;
25837 swig_obj
[0] = args
;
25838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25839 if (!SWIG_IsOK(res1
)) {
25840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25842 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25845 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25856 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25859 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25860 return SWIG_Py_Void();
25863 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25864 PyObject
*resultobj
= 0;
25865 wxWindow
*arg1
= (wxWindow
*) 0 ;
25866 int arg2
= (int) -1 ;
25867 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25868 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25869 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25870 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25871 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25872 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25873 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25874 wxToolBar
*result
= 0 ;
25883 bool temp6
= false ;
25884 PyObject
* obj0
= 0 ;
25885 PyObject
* obj1
= 0 ;
25886 PyObject
* obj2
= 0 ;
25887 PyObject
* obj3
= 0 ;
25888 PyObject
* obj4
= 0 ;
25889 PyObject
* obj5
= 0 ;
25890 char * kwnames
[] = {
25891 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25896 if (!SWIG_IsOK(res1
)) {
25897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25899 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25902 if (!SWIG_IsOK(ecode2
)) {
25903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25905 arg2
= static_cast< int >(val2
);
25910 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25916 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25920 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25921 if (!SWIG_IsOK(ecode5
)) {
25922 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25924 arg5
= static_cast< long >(val5
);
25928 arg6
= wxString_in_helper(obj5
);
25929 if (arg6
== NULL
) SWIG_fail
;
25934 if (!wxPyCheckForApp()) SWIG_fail
;
25935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25936 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25937 wxPyEndAllowThreads(__tstate
);
25938 if (PyErr_Occurred()) SWIG_fail
;
25940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25955 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25956 PyObject
*resultobj
= 0;
25957 wxToolBar
*result
= 0 ;
25959 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25961 if (!wxPyCheckForApp()) SWIG_fail
;
25962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25963 result
= (wxToolBar
*)new wxToolBar();
25964 wxPyEndAllowThreads(__tstate
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25974 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25975 PyObject
*resultobj
= 0;
25976 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25977 wxWindow
*arg2
= (wxWindow
*) 0 ;
25978 int arg3
= (int) -1 ;
25979 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25980 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25981 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25982 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25983 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25984 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25985 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25997 bool temp7
= false ;
25998 PyObject
* obj0
= 0 ;
25999 PyObject
* obj1
= 0 ;
26000 PyObject
* obj2
= 0 ;
26001 PyObject
* obj3
= 0 ;
26002 PyObject
* obj4
= 0 ;
26003 PyObject
* obj5
= 0 ;
26004 PyObject
* obj6
= 0 ;
26005 char * kwnames
[] = {
26006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26011 if (!SWIG_IsOK(res1
)) {
26012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26014 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26015 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26016 if (!SWIG_IsOK(res2
)) {
26017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26019 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26022 if (!SWIG_IsOK(ecode3
)) {
26023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26025 arg3
= static_cast< int >(val3
);
26030 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26036 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26040 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
26041 if (!SWIG_IsOK(ecode6
)) {
26042 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26044 arg6
= static_cast< long >(val6
);
26048 arg7
= wxString_in_helper(obj6
);
26049 if (arg7
== NULL
) SWIG_fail
;
26054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26055 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26056 wxPyEndAllowThreads(__tstate
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26076 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
= 0;
26078 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26079 SwigValueWrapper
<wxVisualAttributes
> result
;
26082 PyObject
* obj0
= 0 ;
26083 char * kwnames
[] = {
26084 (char *) "variant", NULL
26087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26089 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26090 if (!SWIG_IsOK(ecode1
)) {
26091 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26093 arg1
= static_cast< wxWindowVariant
>(val1
);
26096 if (!wxPyCheckForApp()) SWIG_fail
;
26097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26098 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26109 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26112 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26113 return SWIG_Py_Void();
26116 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26117 return SWIG_Python_InitShadowInstance(args
);
26120 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26121 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26126 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26127 PyObject
*pyobj
= 0;
26131 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26133 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26140 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26141 PyObject
*resultobj
= 0;
26142 wxColour
const &arg1_defvalue
= wxNullColour
;
26143 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26144 wxColour
const &arg2_defvalue
= wxNullColour
;
26145 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26146 wxFont
const &arg3_defvalue
= wxNullFont
;
26147 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26148 wxListItemAttr
*result
= 0 ;
26153 PyObject
* obj0
= 0 ;
26154 PyObject
* obj1
= 0 ;
26155 PyObject
* obj2
= 0 ;
26156 char * kwnames
[] = {
26157 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26164 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26170 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26174 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26175 if (!SWIG_IsOK(res3
)) {
26176 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26181 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26185 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26186 wxPyEndAllowThreads(__tstate
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26196 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26197 PyObject
*resultobj
= 0;
26198 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26201 PyObject
*swig_obj
[1] ;
26203 if (!args
) SWIG_fail
;
26204 swig_obj
[0] = args
;
26205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26206 if (!SWIG_IsOK(res1
)) {
26207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26209 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26214 wxPyEndAllowThreads(__tstate
);
26215 if (PyErr_Occurred()) SWIG_fail
;
26217 resultobj
= SWIG_Py_Void();
26224 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26225 PyObject
*resultobj
= 0;
26226 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26227 wxColour
*arg2
= 0 ;
26231 PyObject
* obj0
= 0 ;
26232 PyObject
* obj1
= 0 ;
26233 char * kwnames
[] = {
26234 (char *) "self",(char *) "colText", NULL
26237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26239 if (!SWIG_IsOK(res1
)) {
26240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26242 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26245 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26249 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 resultobj
= SWIG_Py_Void();
26260 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
= 0;
26262 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26263 wxColour
*arg2
= 0 ;
26267 PyObject
* obj0
= 0 ;
26268 PyObject
* obj1
= 0 ;
26269 char * kwnames
[] = {
26270 (char *) "self",(char *) "colBack", NULL
26273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26275 if (!SWIG_IsOK(res1
)) {
26276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26278 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26281 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 resultobj
= SWIG_Py_Void();
26296 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26297 PyObject
*resultobj
= 0;
26298 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26304 PyObject
* obj0
= 0 ;
26305 PyObject
* obj1
= 0 ;
26306 char * kwnames
[] = {
26307 (char *) "self",(char *) "font", NULL
26310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26312 if (!SWIG_IsOK(res1
)) {
26313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26315 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26316 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26317 if (!SWIG_IsOK(res2
)) {
26318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26323 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26326 (arg1
)->SetFont((wxFont
const &)*arg2
);
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26330 resultobj
= SWIG_Py_Void();
26337 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26338 PyObject
*resultobj
= 0;
26339 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26343 PyObject
*swig_obj
[1] ;
26345 if (!args
) SWIG_fail
;
26346 swig_obj
[0] = args
;
26347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26348 if (!SWIG_IsOK(res1
)) {
26349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26351 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26354 result
= (bool)(arg1
)->HasTextColour();
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26367 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26368 PyObject
*resultobj
= 0;
26369 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26373 PyObject
*swig_obj
[1] ;
26375 if (!args
) SWIG_fail
;
26376 swig_obj
[0] = args
;
26377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26378 if (!SWIG_IsOK(res1
)) {
26379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26381 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 result
= (bool)(arg1
)->HasBackgroundColour();
26385 wxPyEndAllowThreads(__tstate
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26397 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26398 PyObject
*resultobj
= 0;
26399 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26403 PyObject
*swig_obj
[1] ;
26405 if (!args
) SWIG_fail
;
26406 swig_obj
[0] = args
;
26407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26408 if (!SWIG_IsOK(res1
)) {
26409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26411 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26414 result
= (bool)(arg1
)->HasFont();
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26427 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26428 PyObject
*resultobj
= 0;
26429 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26433 PyObject
*swig_obj
[1] ;
26435 if (!args
) SWIG_fail
;
26436 swig_obj
[0] = args
;
26437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26438 if (!SWIG_IsOK(res1
)) {
26439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26441 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26444 result
= (arg1
)->GetTextColour();
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26455 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26456 PyObject
*resultobj
= 0;
26457 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26461 PyObject
*swig_obj
[1] ;
26463 if (!args
) SWIG_fail
;
26464 swig_obj
[0] = args
;
26465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26466 if (!SWIG_IsOK(res1
)) {
26467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26469 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26472 result
= (arg1
)->GetBackgroundColour();
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26476 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26483 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26484 PyObject
*resultobj
= 0;
26485 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26489 PyObject
*swig_obj
[1] ;
26491 if (!args
) SWIG_fail
;
26492 swig_obj
[0] = args
;
26493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26494 if (!SWIG_IsOK(res1
)) {
26495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26497 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26500 result
= (arg1
)->GetFont();
26501 wxPyEndAllowThreads(__tstate
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26504 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26511 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26512 PyObject
*resultobj
= 0;
26513 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26514 wxListItemAttr
*arg2
= 0 ;
26519 PyObject
* obj0
= 0 ;
26520 PyObject
* obj1
= 0 ;
26521 char * kwnames
[] = {
26522 (char *) "self",(char *) "source", NULL
26525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26527 if (!SWIG_IsOK(res1
)) {
26528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26530 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26531 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26532 if (!SWIG_IsOK(res2
)) {
26533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26538 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26541 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26542 wxPyEndAllowThreads(__tstate
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26545 resultobj
= SWIG_Py_Void();
26552 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26553 PyObject
*resultobj
= 0;
26554 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26557 PyObject
*swig_obj
[1] ;
26559 if (!args
) SWIG_fail
;
26560 swig_obj
[0] = args
;
26561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26562 if (!SWIG_IsOK(res1
)) {
26563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26565 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26568 wxListItemAttr_Destroy(arg1
);
26569 wxPyEndAllowThreads(__tstate
);
26570 if (PyErr_Occurred()) SWIG_fail
;
26572 resultobj
= SWIG_Py_Void();
26579 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26581 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26582 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26583 return SWIG_Py_Void();
26586 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26587 return SWIG_Python_InitShadowInstance(args
);
26590 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26591 PyObject
*resultobj
= 0;
26592 wxListItem
*result
= 0 ;
26594 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 result
= (wxListItem
*)new wxListItem();
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26608 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26609 PyObject
*resultobj
= 0;
26610 wxListItem
*arg1
= (wxListItem
*) 0 ;
26613 PyObject
*swig_obj
[1] ;
26615 if (!args
) SWIG_fail
;
26616 swig_obj
[0] = args
;
26617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26618 if (!SWIG_IsOK(res1
)) {
26619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26621 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_Py_Void();
26636 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26637 PyObject
*resultobj
= 0;
26638 wxListItem
*arg1
= (wxListItem
*) 0 ;
26641 PyObject
*swig_obj
[1] ;
26643 if (!args
) SWIG_fail
;
26644 swig_obj
[0] = args
;
26645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26646 if (!SWIG_IsOK(res1
)) {
26647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26649 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 wxPyEndAllowThreads(__tstate
);
26654 if (PyErr_Occurred()) SWIG_fail
;
26656 resultobj
= SWIG_Py_Void();
26663 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26664 PyObject
*resultobj
= 0;
26665 wxListItem
*arg1
= (wxListItem
*) 0 ;
26668 PyObject
*swig_obj
[1] ;
26670 if (!args
) SWIG_fail
;
26671 swig_obj
[0] = args
;
26672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26673 if (!SWIG_IsOK(res1
)) {
26674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26676 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26679 (arg1
)->ClearAttributes();
26680 wxPyEndAllowThreads(__tstate
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26683 resultobj
= SWIG_Py_Void();
26690 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26691 PyObject
*resultobj
= 0;
26692 wxListItem
*arg1
= (wxListItem
*) 0 ;
26698 PyObject
* obj0
= 0 ;
26699 PyObject
* obj1
= 0 ;
26700 char * kwnames
[] = {
26701 (char *) "self",(char *) "mask", NULL
26704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26706 if (!SWIG_IsOK(res1
)) {
26707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26709 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26710 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26711 if (!SWIG_IsOK(ecode2
)) {
26712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26714 arg2
= static_cast< long >(val2
);
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 (arg1
)->SetMask(arg2
);
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26721 resultobj
= SWIG_Py_Void();
26728 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26729 PyObject
*resultobj
= 0;
26730 wxListItem
*arg1
= (wxListItem
*) 0 ;
26736 PyObject
* obj0
= 0 ;
26737 PyObject
* obj1
= 0 ;
26738 char * kwnames
[] = {
26739 (char *) "self",(char *) "id", NULL
26742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26744 if (!SWIG_IsOK(res1
)) {
26745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26747 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26748 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26749 if (!SWIG_IsOK(ecode2
)) {
26750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26752 arg2
= static_cast< long >(val2
);
26754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26755 (arg1
)->SetId(arg2
);
26756 wxPyEndAllowThreads(__tstate
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26759 resultobj
= SWIG_Py_Void();
26766 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26767 PyObject
*resultobj
= 0;
26768 wxListItem
*arg1
= (wxListItem
*) 0 ;
26774 PyObject
* obj0
= 0 ;
26775 PyObject
* obj1
= 0 ;
26776 char * kwnames
[] = {
26777 (char *) "self",(char *) "col", NULL
26780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26782 if (!SWIG_IsOK(res1
)) {
26783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26785 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26787 if (!SWIG_IsOK(ecode2
)) {
26788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26790 arg2
= static_cast< int >(val2
);
26792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26793 (arg1
)->SetColumn(arg2
);
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26797 resultobj
= SWIG_Py_Void();
26804 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26805 PyObject
*resultobj
= 0;
26806 wxListItem
*arg1
= (wxListItem
*) 0 ;
26812 PyObject
* obj0
= 0 ;
26813 PyObject
* obj1
= 0 ;
26814 char * kwnames
[] = {
26815 (char *) "self",(char *) "state", NULL
26818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26820 if (!SWIG_IsOK(res1
)) {
26821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26823 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26824 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26825 if (!SWIG_IsOK(ecode2
)) {
26826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26828 arg2
= static_cast< long >(val2
);
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 (arg1
)->SetState(arg2
);
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26835 resultobj
= SWIG_Py_Void();
26842 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26843 PyObject
*resultobj
= 0;
26844 wxListItem
*arg1
= (wxListItem
*) 0 ;
26850 PyObject
* obj0
= 0 ;
26851 PyObject
* obj1
= 0 ;
26852 char * kwnames
[] = {
26853 (char *) "self",(char *) "stateMask", NULL
26856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26858 if (!SWIG_IsOK(res1
)) {
26859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26861 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26862 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26863 if (!SWIG_IsOK(ecode2
)) {
26864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26866 arg2
= static_cast< long >(val2
);
26868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26869 (arg1
)->SetStateMask(arg2
);
26870 wxPyEndAllowThreads(__tstate
);
26871 if (PyErr_Occurred()) SWIG_fail
;
26873 resultobj
= SWIG_Py_Void();
26880 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26881 PyObject
*resultobj
= 0;
26882 wxListItem
*arg1
= (wxListItem
*) 0 ;
26883 wxString
*arg2
= 0 ;
26886 bool temp2
= false ;
26887 PyObject
* obj0
= 0 ;
26888 PyObject
* obj1
= 0 ;
26889 char * kwnames
[] = {
26890 (char *) "self",(char *) "text", NULL
26893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26895 if (!SWIG_IsOK(res1
)) {
26896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26898 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26900 arg2
= wxString_in_helper(obj1
);
26901 if (arg2
== NULL
) SWIG_fail
;
26905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26906 (arg1
)->SetText((wxString
const &)*arg2
);
26907 wxPyEndAllowThreads(__tstate
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26910 resultobj
= SWIG_Py_Void();
26925 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26926 PyObject
*resultobj
= 0;
26927 wxListItem
*arg1
= (wxListItem
*) 0 ;
26933 PyObject
* obj0
= 0 ;
26934 PyObject
* obj1
= 0 ;
26935 char * kwnames
[] = {
26936 (char *) "self",(char *) "image", NULL
26939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26941 if (!SWIG_IsOK(res1
)) {
26942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26944 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26946 if (!SWIG_IsOK(ecode2
)) {
26947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26949 arg2
= static_cast< int >(val2
);
26951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26952 (arg1
)->SetImage(arg2
);
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26956 resultobj
= SWIG_Py_Void();
26963 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26964 PyObject
*resultobj
= 0;
26965 wxListItem
*arg1
= (wxListItem
*) 0 ;
26971 PyObject
* obj0
= 0 ;
26972 PyObject
* obj1
= 0 ;
26973 char * kwnames
[] = {
26974 (char *) "self",(char *) "data", NULL
26977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26979 if (!SWIG_IsOK(res1
)) {
26980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26982 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26983 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26984 if (!SWIG_IsOK(ecode2
)) {
26985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26987 arg2
= static_cast< long >(val2
);
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 (arg1
)->SetData(arg2
);
26991 wxPyEndAllowThreads(__tstate
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26994 resultobj
= SWIG_Py_Void();
27001 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27002 PyObject
*resultobj
= 0;
27003 wxListItem
*arg1
= (wxListItem
*) 0 ;
27009 PyObject
* obj0
= 0 ;
27010 PyObject
* obj1
= 0 ;
27011 char * kwnames
[] = {
27012 (char *) "self",(char *) "width", NULL
27015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27017 if (!SWIG_IsOK(res1
)) {
27018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27020 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27022 if (!SWIG_IsOK(ecode2
)) {
27023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27025 arg2
= static_cast< int >(val2
);
27027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27028 (arg1
)->SetWidth(arg2
);
27029 wxPyEndAllowThreads(__tstate
);
27030 if (PyErr_Occurred()) SWIG_fail
;
27032 resultobj
= SWIG_Py_Void();
27039 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27040 PyObject
*resultobj
= 0;
27041 wxListItem
*arg1
= (wxListItem
*) 0 ;
27042 wxListColumnFormat arg2
;
27047 PyObject
* obj0
= 0 ;
27048 PyObject
* obj1
= 0 ;
27049 char * kwnames
[] = {
27050 (char *) "self",(char *) "align", NULL
27053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27055 if (!SWIG_IsOK(res1
)) {
27056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27058 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27060 if (!SWIG_IsOK(ecode2
)) {
27061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27063 arg2
= static_cast< wxListColumnFormat
>(val2
);
27065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27066 (arg1
)->SetAlign(arg2
);
27067 wxPyEndAllowThreads(__tstate
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27070 resultobj
= SWIG_Py_Void();
27077 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27078 PyObject
*resultobj
= 0;
27079 wxListItem
*arg1
= (wxListItem
*) 0 ;
27080 wxColour
*arg2
= 0 ;
27084 PyObject
* obj0
= 0 ;
27085 PyObject
* obj1
= 0 ;
27086 char * kwnames
[] = {
27087 (char *) "self",(char *) "colText", NULL
27090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27092 if (!SWIG_IsOK(res1
)) {
27093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27095 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27098 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27102 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27103 wxPyEndAllowThreads(__tstate
);
27104 if (PyErr_Occurred()) SWIG_fail
;
27106 resultobj
= SWIG_Py_Void();
27113 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27114 PyObject
*resultobj
= 0;
27115 wxListItem
*arg1
= (wxListItem
*) 0 ;
27116 wxColour
*arg2
= 0 ;
27120 PyObject
* obj0
= 0 ;
27121 PyObject
* obj1
= 0 ;
27122 char * kwnames
[] = {
27123 (char *) "self",(char *) "colBack", NULL
27126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27128 if (!SWIG_IsOK(res1
)) {
27129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27131 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27134 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27138 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27139 wxPyEndAllowThreads(__tstate
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27142 resultobj
= SWIG_Py_Void();
27149 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27150 PyObject
*resultobj
= 0;
27151 wxListItem
*arg1
= (wxListItem
*) 0 ;
27157 PyObject
* obj0
= 0 ;
27158 PyObject
* obj1
= 0 ;
27159 char * kwnames
[] = {
27160 (char *) "self",(char *) "font", NULL
27163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27165 if (!SWIG_IsOK(res1
)) {
27166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27168 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27170 if (!SWIG_IsOK(res2
)) {
27171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27176 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27179 (arg1
)->SetFont((wxFont
const &)*arg2
);
27180 wxPyEndAllowThreads(__tstate
);
27181 if (PyErr_Occurred()) SWIG_fail
;
27183 resultobj
= SWIG_Py_Void();
27190 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27191 PyObject
*resultobj
= 0;
27192 wxListItem
*arg1
= (wxListItem
*) 0 ;
27196 PyObject
*swig_obj
[1] ;
27198 if (!args
) SWIG_fail
;
27199 swig_obj
[0] = args
;
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_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27204 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= (long)(arg1
)->GetMask();
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27211 resultobj
= SWIG_From_long(static_cast< long >(result
));
27218 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27219 PyObject
*resultobj
= 0;
27220 wxListItem
*arg1
= (wxListItem
*) 0 ;
27224 PyObject
*swig_obj
[1] ;
27226 if (!args
) SWIG_fail
;
27227 swig_obj
[0] = args
;
27228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27229 if (!SWIG_IsOK(res1
)) {
27230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27232 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27235 result
= (long)(arg1
)->GetId();
27236 wxPyEndAllowThreads(__tstate
);
27237 if (PyErr_Occurred()) SWIG_fail
;
27239 resultobj
= SWIG_From_long(static_cast< long >(result
));
27246 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27247 PyObject
*resultobj
= 0;
27248 wxListItem
*arg1
= (wxListItem
*) 0 ;
27252 PyObject
*swig_obj
[1] ;
27254 if (!args
) SWIG_fail
;
27255 swig_obj
[0] = args
;
27256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27257 if (!SWIG_IsOK(res1
)) {
27258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27260 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27263 result
= (int)(arg1
)->GetColumn();
27264 wxPyEndAllowThreads(__tstate
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27267 resultobj
= SWIG_From_int(static_cast< int >(result
));
27274 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27275 PyObject
*resultobj
= 0;
27276 wxListItem
*arg1
= (wxListItem
*) 0 ;
27280 PyObject
*swig_obj
[1] ;
27282 if (!args
) SWIG_fail
;
27283 swig_obj
[0] = args
;
27284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27285 if (!SWIG_IsOK(res1
)) {
27286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27288 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27291 result
= (long)(arg1
)->GetState();
27292 wxPyEndAllowThreads(__tstate
);
27293 if (PyErr_Occurred()) SWIG_fail
;
27295 resultobj
= SWIG_From_long(static_cast< long >(result
));
27302 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27303 PyObject
*resultobj
= 0;
27304 wxListItem
*arg1
= (wxListItem
*) 0 ;
27305 wxString
*result
= 0 ;
27308 PyObject
*swig_obj
[1] ;
27310 if (!args
) SWIG_fail
;
27311 swig_obj
[0] = args
;
27312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27313 if (!SWIG_IsOK(res1
)) {
27314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27316 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27320 wxString
const &_result_ref
= (arg1
)->GetText();
27321 result
= (wxString
*) &_result_ref
;
27323 wxPyEndAllowThreads(__tstate
);
27324 if (PyErr_Occurred()) SWIG_fail
;
27328 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27330 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27339 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27340 PyObject
*resultobj
= 0;
27341 wxListItem
*arg1
= (wxListItem
*) 0 ;
27345 PyObject
*swig_obj
[1] ;
27347 if (!args
) SWIG_fail
;
27348 swig_obj
[0] = args
;
27349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27350 if (!SWIG_IsOK(res1
)) {
27351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27353 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27356 result
= (int)(arg1
)->GetImage();
27357 wxPyEndAllowThreads(__tstate
);
27358 if (PyErr_Occurred()) SWIG_fail
;
27360 resultobj
= SWIG_From_int(static_cast< int >(result
));
27367 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27368 PyObject
*resultobj
= 0;
27369 wxListItem
*arg1
= (wxListItem
*) 0 ;
27373 PyObject
*swig_obj
[1] ;
27375 if (!args
) SWIG_fail
;
27376 swig_obj
[0] = args
;
27377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27378 if (!SWIG_IsOK(res1
)) {
27379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27381 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27384 result
= (long)(arg1
)->GetData();
27385 wxPyEndAllowThreads(__tstate
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27388 resultobj
= SWIG_From_long(static_cast< long >(result
));
27395 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27396 PyObject
*resultobj
= 0;
27397 wxListItem
*arg1
= (wxListItem
*) 0 ;
27401 PyObject
*swig_obj
[1] ;
27403 if (!args
) SWIG_fail
;
27404 swig_obj
[0] = args
;
27405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27406 if (!SWIG_IsOK(res1
)) {
27407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27409 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27412 result
= (int)(arg1
)->GetWidth();
27413 wxPyEndAllowThreads(__tstate
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27416 resultobj
= SWIG_From_int(static_cast< int >(result
));
27423 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27424 PyObject
*resultobj
= 0;
27425 wxListItem
*arg1
= (wxListItem
*) 0 ;
27426 wxListColumnFormat result
;
27429 PyObject
*swig_obj
[1] ;
27431 if (!args
) SWIG_fail
;
27432 swig_obj
[0] = args
;
27433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27434 if (!SWIG_IsOK(res1
)) {
27435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27437 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27441 wxPyEndAllowThreads(__tstate
);
27442 if (PyErr_Occurred()) SWIG_fail
;
27444 resultobj
= SWIG_From_int(static_cast< int >(result
));
27451 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27452 PyObject
*resultobj
= 0;
27453 wxListItem
*arg1
= (wxListItem
*) 0 ;
27454 wxListItemAttr
*result
= 0 ;
27457 PyObject
*swig_obj
[1] ;
27459 if (!args
) SWIG_fail
;
27460 swig_obj
[0] = args
;
27461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27462 if (!SWIG_IsOK(res1
)) {
27463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27465 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27469 wxPyEndAllowThreads(__tstate
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27479 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27480 PyObject
*resultobj
= 0;
27481 wxListItem
*arg1
= (wxListItem
*) 0 ;
27485 PyObject
*swig_obj
[1] ;
27487 if (!args
) SWIG_fail
;
27488 swig_obj
[0] = args
;
27489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27490 if (!SWIG_IsOK(res1
)) {
27491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27493 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27496 result
= (bool)(arg1
)->HasAttributes();
27497 wxPyEndAllowThreads(__tstate
);
27498 if (PyErr_Occurred()) SWIG_fail
;
27501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27509 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27510 PyObject
*resultobj
= 0;
27511 wxListItem
*arg1
= (wxListItem
*) 0 ;
27515 PyObject
*swig_obj
[1] ;
27517 if (!args
) SWIG_fail
;
27518 swig_obj
[0] = args
;
27519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27520 if (!SWIG_IsOK(res1
)) {
27521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27523 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27537 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27538 PyObject
*resultobj
= 0;
27539 wxListItem
*arg1
= (wxListItem
*) 0 ;
27543 PyObject
*swig_obj
[1] ;
27545 if (!args
) SWIG_fail
;
27546 swig_obj
[0] = args
;
27547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27548 if (!SWIG_IsOK(res1
)) {
27549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27551 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27554 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27555 wxPyEndAllowThreads(__tstate
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27558 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27565 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27566 PyObject
*resultobj
= 0;
27567 wxListItem
*arg1
= (wxListItem
*) 0 ;
27571 PyObject
*swig_obj
[1] ;
27573 if (!args
) SWIG_fail
;
27574 swig_obj
[0] = args
;
27575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27576 if (!SWIG_IsOK(res1
)) {
27577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27579 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27582 result
= ((wxListItem
const *)arg1
)->GetFont();
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27593 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27594 PyObject
*resultobj
= 0;
27595 wxListItem
*arg1
= (wxListItem
*) 0 ;
27601 PyObject
*swig_obj
[2] ;
27603 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27605 if (!SWIG_IsOK(res1
)) {
27606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27608 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27609 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27610 if (!SWIG_IsOK(ecode2
)) {
27611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27613 arg2
= static_cast< long >(val2
);
27614 if (arg1
) (arg1
)->m_mask
= arg2
;
27616 resultobj
= SWIG_Py_Void();
27623 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27624 PyObject
*resultobj
= 0;
27625 wxListItem
*arg1
= (wxListItem
*) 0 ;
27629 PyObject
*swig_obj
[1] ;
27631 if (!args
) SWIG_fail
;
27632 swig_obj
[0] = args
;
27633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27634 if (!SWIG_IsOK(res1
)) {
27635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27637 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27638 result
= (long) ((arg1
)->m_mask
);
27639 resultobj
= SWIG_From_long(static_cast< long >(result
));
27646 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27647 PyObject
*resultobj
= 0;
27648 wxListItem
*arg1
= (wxListItem
*) 0 ;
27654 PyObject
*swig_obj
[2] ;
27656 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27658 if (!SWIG_IsOK(res1
)) {
27659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27661 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27662 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27663 if (!SWIG_IsOK(ecode2
)) {
27664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27666 arg2
= static_cast< long >(val2
);
27667 if (arg1
) (arg1
)->m_itemId
= arg2
;
27669 resultobj
= SWIG_Py_Void();
27676 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27677 PyObject
*resultobj
= 0;
27678 wxListItem
*arg1
= (wxListItem
*) 0 ;
27682 PyObject
*swig_obj
[1] ;
27684 if (!args
) SWIG_fail
;
27685 swig_obj
[0] = args
;
27686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27687 if (!SWIG_IsOK(res1
)) {
27688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27690 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27691 result
= (long) ((arg1
)->m_itemId
);
27692 resultobj
= SWIG_From_long(static_cast< long >(result
));
27699 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27700 PyObject
*resultobj
= 0;
27701 wxListItem
*arg1
= (wxListItem
*) 0 ;
27707 PyObject
*swig_obj
[2] ;
27709 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27711 if (!SWIG_IsOK(res1
)) {
27712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27714 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27715 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27716 if (!SWIG_IsOK(ecode2
)) {
27717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27719 arg2
= static_cast< int >(val2
);
27720 if (arg1
) (arg1
)->m_col
= arg2
;
27722 resultobj
= SWIG_Py_Void();
27729 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27730 PyObject
*resultobj
= 0;
27731 wxListItem
*arg1
= (wxListItem
*) 0 ;
27735 PyObject
*swig_obj
[1] ;
27737 if (!args
) SWIG_fail
;
27738 swig_obj
[0] = args
;
27739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27740 if (!SWIG_IsOK(res1
)) {
27741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27743 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27744 result
= (int) ((arg1
)->m_col
);
27745 resultobj
= SWIG_From_int(static_cast< int >(result
));
27752 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27753 PyObject
*resultobj
= 0;
27754 wxListItem
*arg1
= (wxListItem
*) 0 ;
27760 PyObject
*swig_obj
[2] ;
27762 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27764 if (!SWIG_IsOK(res1
)) {
27765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27767 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27768 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27769 if (!SWIG_IsOK(ecode2
)) {
27770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27772 arg2
= static_cast< long >(val2
);
27773 if (arg1
) (arg1
)->m_state
= arg2
;
27775 resultobj
= SWIG_Py_Void();
27782 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27783 PyObject
*resultobj
= 0;
27784 wxListItem
*arg1
= (wxListItem
*) 0 ;
27788 PyObject
*swig_obj
[1] ;
27790 if (!args
) SWIG_fail
;
27791 swig_obj
[0] = args
;
27792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27793 if (!SWIG_IsOK(res1
)) {
27794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27796 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27797 result
= (long) ((arg1
)->m_state
);
27798 resultobj
= SWIG_From_long(static_cast< long >(result
));
27805 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27806 PyObject
*resultobj
= 0;
27807 wxListItem
*arg1
= (wxListItem
*) 0 ;
27813 PyObject
*swig_obj
[2] ;
27815 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27817 if (!SWIG_IsOK(res1
)) {
27818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27820 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27821 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27822 if (!SWIG_IsOK(ecode2
)) {
27823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27825 arg2
= static_cast< long >(val2
);
27826 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27828 resultobj
= SWIG_Py_Void();
27835 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27836 PyObject
*resultobj
= 0;
27837 wxListItem
*arg1
= (wxListItem
*) 0 ;
27841 PyObject
*swig_obj
[1] ;
27843 if (!args
) SWIG_fail
;
27844 swig_obj
[0] = args
;
27845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27846 if (!SWIG_IsOK(res1
)) {
27847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27849 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27850 result
= (long) ((arg1
)->m_stateMask
);
27851 resultobj
= SWIG_From_long(static_cast< long >(result
));
27858 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27859 PyObject
*resultobj
= 0;
27860 wxListItem
*arg1
= (wxListItem
*) 0 ;
27861 wxString
*arg2
= (wxString
*) 0 ;
27864 bool temp2
= false ;
27865 PyObject
*swig_obj
[2] ;
27867 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27869 if (!SWIG_IsOK(res1
)) {
27870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27872 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27874 arg2
= wxString_in_helper(swig_obj
[1]);
27875 if (arg2
== NULL
) SWIG_fail
;
27878 if (arg1
) (arg1
)->m_text
= *arg2
;
27880 resultobj
= SWIG_Py_Void();
27895 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27896 PyObject
*resultobj
= 0;
27897 wxListItem
*arg1
= (wxListItem
*) 0 ;
27898 wxString
*result
= 0 ;
27901 PyObject
*swig_obj
[1] ;
27903 if (!args
) SWIG_fail
;
27904 swig_obj
[0] = args
;
27905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27906 if (!SWIG_IsOK(res1
)) {
27907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27909 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27910 result
= (wxString
*)& ((arg1
)->m_text
);
27913 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27915 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27924 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27925 PyObject
*resultobj
= 0;
27926 wxListItem
*arg1
= (wxListItem
*) 0 ;
27932 PyObject
*swig_obj
[2] ;
27934 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27936 if (!SWIG_IsOK(res1
)) {
27937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27939 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27940 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27941 if (!SWIG_IsOK(ecode2
)) {
27942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27944 arg2
= static_cast< int >(val2
);
27945 if (arg1
) (arg1
)->m_image
= arg2
;
27947 resultobj
= SWIG_Py_Void();
27954 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27955 PyObject
*resultobj
= 0;
27956 wxListItem
*arg1
= (wxListItem
*) 0 ;
27960 PyObject
*swig_obj
[1] ;
27962 if (!args
) SWIG_fail
;
27963 swig_obj
[0] = args
;
27964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27965 if (!SWIG_IsOK(res1
)) {
27966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27968 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27969 result
= (int) ((arg1
)->m_image
);
27970 resultobj
= SWIG_From_int(static_cast< int >(result
));
27977 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27978 PyObject
*resultobj
= 0;
27979 wxListItem
*arg1
= (wxListItem
*) 0 ;
27985 PyObject
*swig_obj
[2] ;
27987 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27989 if (!SWIG_IsOK(res1
)) {
27990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27992 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27993 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27994 if (!SWIG_IsOK(ecode2
)) {
27995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27997 arg2
= static_cast< long >(val2
);
27998 if (arg1
) (arg1
)->m_data
= arg2
;
28000 resultobj
= SWIG_Py_Void();
28007 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28008 PyObject
*resultobj
= 0;
28009 wxListItem
*arg1
= (wxListItem
*) 0 ;
28013 PyObject
*swig_obj
[1] ;
28015 if (!args
) SWIG_fail
;
28016 swig_obj
[0] = args
;
28017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28018 if (!SWIG_IsOK(res1
)) {
28019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28021 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28022 result
= (long) ((arg1
)->m_data
);
28023 resultobj
= SWIG_From_long(static_cast< long >(result
));
28030 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28031 PyObject
*resultobj
= 0;
28032 wxListItem
*arg1
= (wxListItem
*) 0 ;
28038 PyObject
*swig_obj
[2] ;
28040 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
28041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28042 if (!SWIG_IsOK(res1
)) {
28043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28045 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28046 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28047 if (!SWIG_IsOK(ecode2
)) {
28048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28050 arg2
= static_cast< int >(val2
);
28051 if (arg1
) (arg1
)->m_format
= arg2
;
28053 resultobj
= SWIG_Py_Void();
28060 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28061 PyObject
*resultobj
= 0;
28062 wxListItem
*arg1
= (wxListItem
*) 0 ;
28066 PyObject
*swig_obj
[1] ;
28068 if (!args
) SWIG_fail
;
28069 swig_obj
[0] = args
;
28070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28071 if (!SWIG_IsOK(res1
)) {
28072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28074 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28075 result
= (int) ((arg1
)->m_format
);
28076 resultobj
= SWIG_From_int(static_cast< int >(result
));
28083 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28084 PyObject
*resultobj
= 0;
28085 wxListItem
*arg1
= (wxListItem
*) 0 ;
28091 PyObject
*swig_obj
[2] ;
28093 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28095 if (!SWIG_IsOK(res1
)) {
28096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28098 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28099 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28100 if (!SWIG_IsOK(ecode2
)) {
28101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28103 arg2
= static_cast< int >(val2
);
28104 if (arg1
) (arg1
)->m_width
= arg2
;
28106 resultobj
= SWIG_Py_Void();
28113 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28114 PyObject
*resultobj
= 0;
28115 wxListItem
*arg1
= (wxListItem
*) 0 ;
28119 PyObject
*swig_obj
[1] ;
28121 if (!args
) SWIG_fail
;
28122 swig_obj
[0] = args
;
28123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28124 if (!SWIG_IsOK(res1
)) {
28125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28127 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28128 result
= (int) ((arg1
)->m_width
);
28129 resultobj
= SWIG_From_int(static_cast< int >(result
));
28136 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28138 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28139 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28140 return SWIG_Py_Void();
28143 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28144 return SWIG_Python_InitShadowInstance(args
);
28147 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28148 PyObject
*resultobj
= 0;
28149 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28150 int arg2
= (int) 0 ;
28151 wxListEvent
*result
= 0 ;
28156 PyObject
* obj0
= 0 ;
28157 PyObject
* obj1
= 0 ;
28158 char * kwnames
[] = {
28159 (char *) "commandType",(char *) "id", NULL
28162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28164 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28165 if (!SWIG_IsOK(ecode1
)) {
28166 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28168 arg1
= static_cast< wxEventType
>(val1
);
28171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28172 if (!SWIG_IsOK(ecode2
)) {
28173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28175 arg2
= static_cast< int >(val2
);
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28180 wxPyEndAllowThreads(__tstate
);
28181 if (PyErr_Occurred()) SWIG_fail
;
28183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28190 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28191 PyObject
*resultobj
= 0;
28192 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28198 PyObject
*swig_obj
[2] ;
28200 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28202 if (!SWIG_IsOK(res1
)) {
28203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28205 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28206 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28207 if (!SWIG_IsOK(ecode2
)) {
28208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28210 arg2
= static_cast< int >(val2
);
28211 if (arg1
) (arg1
)->m_code
= arg2
;
28213 resultobj
= SWIG_Py_Void();
28220 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28221 PyObject
*resultobj
= 0;
28222 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28226 PyObject
*swig_obj
[1] ;
28228 if (!args
) SWIG_fail
;
28229 swig_obj
[0] = args
;
28230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28231 if (!SWIG_IsOK(res1
)) {
28232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28234 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28235 result
= (int) ((arg1
)->m_code
);
28236 resultobj
= SWIG_From_int(static_cast< int >(result
));
28243 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28244 PyObject
*resultobj
= 0;
28245 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28251 PyObject
*swig_obj
[2] ;
28253 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28255 if (!SWIG_IsOK(res1
)) {
28256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28258 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28259 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28260 if (!SWIG_IsOK(ecode2
)) {
28261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28263 arg2
= static_cast< long >(val2
);
28264 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28266 resultobj
= SWIG_Py_Void();
28273 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28274 PyObject
*resultobj
= 0;
28275 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28279 PyObject
*swig_obj
[1] ;
28281 if (!args
) SWIG_fail
;
28282 swig_obj
[0] = args
;
28283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28284 if (!SWIG_IsOK(res1
)) {
28285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28287 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28288 result
= (long) ((arg1
)->m_oldItemIndex
);
28289 resultobj
= SWIG_From_long(static_cast< long >(result
));
28296 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28297 PyObject
*resultobj
= 0;
28298 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28304 PyObject
*swig_obj
[2] ;
28306 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28308 if (!SWIG_IsOK(res1
)) {
28309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28311 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28312 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28313 if (!SWIG_IsOK(ecode2
)) {
28314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28316 arg2
= static_cast< long >(val2
);
28317 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28319 resultobj
= SWIG_Py_Void();
28326 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28327 PyObject
*resultobj
= 0;
28328 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28332 PyObject
*swig_obj
[1] ;
28334 if (!args
) SWIG_fail
;
28335 swig_obj
[0] = args
;
28336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28337 if (!SWIG_IsOK(res1
)) {
28338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28340 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28341 result
= (long) ((arg1
)->m_itemIndex
);
28342 resultobj
= SWIG_From_long(static_cast< long >(result
));
28349 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28350 PyObject
*resultobj
= 0;
28351 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28357 PyObject
*swig_obj
[2] ;
28359 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28361 if (!SWIG_IsOK(res1
)) {
28362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28364 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28365 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28366 if (!SWIG_IsOK(ecode2
)) {
28367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28369 arg2
= static_cast< int >(val2
);
28370 if (arg1
) (arg1
)->m_col
= arg2
;
28372 resultobj
= SWIG_Py_Void();
28379 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28380 PyObject
*resultobj
= 0;
28381 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28385 PyObject
*swig_obj
[1] ;
28387 if (!args
) SWIG_fail
;
28388 swig_obj
[0] = args
;
28389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28390 if (!SWIG_IsOK(res1
)) {
28391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28393 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28394 result
= (int) ((arg1
)->m_col
);
28395 resultobj
= SWIG_From_int(static_cast< int >(result
));
28402 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28403 PyObject
*resultobj
= 0;
28404 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28405 wxPoint
*arg2
= (wxPoint
*) 0 ;
28410 PyObject
*swig_obj
[2] ;
28412 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28414 if (!SWIG_IsOK(res1
)) {
28415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28417 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28418 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28419 if (!SWIG_IsOK(res2
)) {
28420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28422 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28423 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28425 resultobj
= SWIG_Py_Void();
28432 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28433 PyObject
*resultobj
= 0;
28434 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28435 wxPoint
*result
= 0 ;
28438 PyObject
*swig_obj
[1] ;
28440 if (!args
) SWIG_fail
;
28441 swig_obj
[0] = args
;
28442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28443 if (!SWIG_IsOK(res1
)) {
28444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28446 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28447 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28455 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28456 PyObject
*resultobj
= 0;
28457 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28458 wxListItem
*result
= 0 ;
28461 PyObject
*swig_obj
[1] ;
28463 if (!args
) SWIG_fail
;
28464 swig_obj
[0] = args
;
28465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28466 if (!SWIG_IsOK(res1
)) {
28467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28469 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28470 result
= (wxListItem
*)& ((arg1
)->m_item
);
28472 resultobj
= wxPyMake_wxObject(result
, 0);
28480 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28481 PyObject
*resultobj
= 0;
28482 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28486 PyObject
*swig_obj
[1] ;
28488 if (!args
) SWIG_fail
;
28489 swig_obj
[0] = args
;
28490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28491 if (!SWIG_IsOK(res1
)) {
28492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28494 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28497 result
= (int)(arg1
)->GetKeyCode();
28498 wxPyEndAllowThreads(__tstate
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28501 resultobj
= SWIG_From_int(static_cast< int >(result
));
28508 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28509 PyObject
*resultobj
= 0;
28510 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28514 PyObject
*swig_obj
[1] ;
28516 if (!args
) SWIG_fail
;
28517 swig_obj
[0] = args
;
28518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28519 if (!SWIG_IsOK(res1
)) {
28520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28522 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28525 result
= (long)(arg1
)->GetIndex();
28526 wxPyEndAllowThreads(__tstate
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28529 resultobj
= SWIG_From_long(static_cast< long >(result
));
28536 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28537 PyObject
*resultobj
= 0;
28538 wxListEvent
*arg1
= (wxListEvent
*) 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_wxListEvent
, 0 | 0 );
28547 if (!SWIG_IsOK(res1
)) {
28548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28550 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28553 result
= (int)(arg1
)->GetColumn();
28554 wxPyEndAllowThreads(__tstate
);
28555 if (PyErr_Occurred()) SWIG_fail
;
28557 resultobj
= SWIG_From_int(static_cast< int >(result
));
28564 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28565 PyObject
*resultobj
= 0;
28566 wxListEvent
*arg1
= (wxListEvent
*) 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_wxListEvent
, 0 | 0 );
28575 if (!SWIG_IsOK(res1
)) {
28576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28578 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28581 result
= (arg1
)->GetPoint();
28582 wxPyEndAllowThreads(__tstate
);
28583 if (PyErr_Occurred()) SWIG_fail
;
28585 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28592 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28593 PyObject
*resultobj
= 0;
28594 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28595 wxString
*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_wxListEvent
, 0 | 0 );
28603 if (!SWIG_IsOK(res1
)) {
28604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28606 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28610 wxString
const &_result_ref
= (arg1
)->GetLabel();
28611 result
= (wxString
*) &_result_ref
;
28613 wxPyEndAllowThreads(__tstate
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28618 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28620 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28629 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28630 PyObject
*resultobj
= 0;
28631 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28632 wxString
*result
= 0 ;
28635 PyObject
*swig_obj
[1] ;
28637 if (!args
) SWIG_fail
;
28638 swig_obj
[0] = args
;
28639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28640 if (!SWIG_IsOK(res1
)) {
28641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28643 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28647 wxString
const &_result_ref
= (arg1
)->GetText();
28648 result
= (wxString
*) &_result_ref
;
28650 wxPyEndAllowThreads(__tstate
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28655 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28657 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28666 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28667 PyObject
*resultobj
= 0;
28668 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28672 PyObject
*swig_obj
[1] ;
28674 if (!args
) SWIG_fail
;
28675 swig_obj
[0] = args
;
28676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28677 if (!SWIG_IsOK(res1
)) {
28678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28680 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28683 result
= (int)(arg1
)->GetImage();
28684 wxPyEndAllowThreads(__tstate
);
28685 if (PyErr_Occurred()) SWIG_fail
;
28687 resultobj
= SWIG_From_int(static_cast< int >(result
));
28694 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28695 PyObject
*resultobj
= 0;
28696 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28700 PyObject
*swig_obj
[1] ;
28702 if (!args
) SWIG_fail
;
28703 swig_obj
[0] = args
;
28704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28705 if (!SWIG_IsOK(res1
)) {
28706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28708 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28711 result
= (long)(arg1
)->GetData();
28712 wxPyEndAllowThreads(__tstate
);
28713 if (PyErr_Occurred()) SWIG_fail
;
28715 resultobj
= SWIG_From_long(static_cast< long >(result
));
28722 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28723 PyObject
*resultobj
= 0;
28724 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28728 PyObject
*swig_obj
[1] ;
28730 if (!args
) SWIG_fail
;
28731 swig_obj
[0] = args
;
28732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28733 if (!SWIG_IsOK(res1
)) {
28734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28736 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28739 result
= (long)(arg1
)->GetMask();
28740 wxPyEndAllowThreads(__tstate
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28743 resultobj
= SWIG_From_long(static_cast< long >(result
));
28750 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28751 PyObject
*resultobj
= 0;
28752 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28753 wxListItem
*result
= 0 ;
28756 PyObject
*swig_obj
[1] ;
28758 if (!args
) SWIG_fail
;
28759 swig_obj
[0] = args
;
28760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28761 if (!SWIG_IsOK(res1
)) {
28762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28764 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28768 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28769 result
= (wxListItem
*) &_result_ref
;
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28781 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28782 PyObject
*resultobj
= 0;
28783 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28787 PyObject
*swig_obj
[1] ;
28789 if (!args
) SWIG_fail
;
28790 swig_obj
[0] = args
;
28791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28792 if (!SWIG_IsOK(res1
)) {
28793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28795 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28798 result
= (long)(arg1
)->GetCacheFrom();
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28802 resultobj
= SWIG_From_long(static_cast< long >(result
));
28809 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28810 PyObject
*resultobj
= 0;
28811 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28815 PyObject
*swig_obj
[1] ;
28817 if (!args
) SWIG_fail
;
28818 swig_obj
[0] = args
;
28819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28820 if (!SWIG_IsOK(res1
)) {
28821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28823 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28826 result
= (long)(arg1
)->GetCacheTo();
28827 wxPyEndAllowThreads(__tstate
);
28828 if (PyErr_Occurred()) SWIG_fail
;
28830 resultobj
= SWIG_From_long(static_cast< long >(result
));
28837 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28838 PyObject
*resultobj
= 0;
28839 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28843 PyObject
*swig_obj
[1] ;
28845 if (!args
) SWIG_fail
;
28846 swig_obj
[0] = args
;
28847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28848 if (!SWIG_IsOK(res1
)) {
28849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28851 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28854 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28855 wxPyEndAllowThreads(__tstate
);
28856 if (PyErr_Occurred()) SWIG_fail
;
28859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28867 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28868 PyObject
*resultobj
= 0;
28869 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28875 PyObject
* obj0
= 0 ;
28876 PyObject
* obj1
= 0 ;
28877 char * kwnames
[] = {
28878 (char *) "self",(char *) "editCancelled", NULL
28881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28883 if (!SWIG_IsOK(res1
)) {
28884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28886 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28887 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28888 if (!SWIG_IsOK(ecode2
)) {
28889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28891 arg2
= static_cast< bool >(val2
);
28893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28894 (arg1
)->SetEditCanceled(arg2
);
28895 wxPyEndAllowThreads(__tstate
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28898 resultobj
= SWIG_Py_Void();
28905 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28908 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28909 return SWIG_Py_Void();
28912 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28913 return SWIG_Python_InitShadowInstance(args
);
28916 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28917 PyObject
*resultobj
= 0;
28918 wxWindow
*arg1
= (wxWindow
*) 0 ;
28919 int arg2
= (int) -1 ;
28920 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28921 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28922 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28923 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28924 long arg5
= (long) wxLC_ICON
;
28925 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28926 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28927 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28928 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28929 wxPyListCtrl
*result
= 0 ;
28940 bool temp7
= false ;
28941 PyObject
* obj0
= 0 ;
28942 PyObject
* obj1
= 0 ;
28943 PyObject
* obj2
= 0 ;
28944 PyObject
* obj3
= 0 ;
28945 PyObject
* obj4
= 0 ;
28946 PyObject
* obj5
= 0 ;
28947 PyObject
* obj6
= 0 ;
28948 char * kwnames
[] = {
28949 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28954 if (!SWIG_IsOK(res1
)) {
28955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28957 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28960 if (!SWIG_IsOK(ecode2
)) {
28961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28963 arg2
= static_cast< int >(val2
);
28968 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28974 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28978 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28979 if (!SWIG_IsOK(ecode5
)) {
28980 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28982 arg5
= static_cast< long >(val5
);
28985 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28986 if (!SWIG_IsOK(res6
)) {
28987 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28992 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28996 arg7
= wxString_in_helper(obj6
);
28997 if (arg7
== NULL
) SWIG_fail
;
29002 if (!wxPyCheckForApp()) SWIG_fail
;
29003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29004 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29005 wxPyEndAllowThreads(__tstate
);
29006 if (PyErr_Occurred()) SWIG_fail
;
29008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
29023 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29024 PyObject
*resultobj
= 0;
29025 wxPyListCtrl
*result
= 0 ;
29027 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
29029 if (!wxPyCheckForApp()) SWIG_fail
;
29030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29031 result
= (wxPyListCtrl
*)new wxPyListCtrl();
29032 wxPyEndAllowThreads(__tstate
);
29033 if (PyErr_Occurred()) SWIG_fail
;
29035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
29042 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29043 PyObject
*resultobj
= 0;
29044 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29045 wxWindow
*arg2
= (wxWindow
*) 0 ;
29046 int arg3
= (int) -1 ;
29047 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29048 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29049 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29050 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29051 long arg6
= (long) wxLC_ICON
;
29052 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29053 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29054 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
29055 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29069 bool temp8
= false ;
29070 PyObject
* obj0
= 0 ;
29071 PyObject
* obj1
= 0 ;
29072 PyObject
* obj2
= 0 ;
29073 PyObject
* obj3
= 0 ;
29074 PyObject
* obj4
= 0 ;
29075 PyObject
* obj5
= 0 ;
29076 PyObject
* obj6
= 0 ;
29077 PyObject
* obj7
= 0 ;
29078 char * kwnames
[] = {
29079 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) 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_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29087 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29088 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29089 if (!SWIG_IsOK(res2
)) {
29090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29092 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29095 if (!SWIG_IsOK(ecode3
)) {
29096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29098 arg3
= static_cast< int >(val3
);
29103 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29109 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29113 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29114 if (!SWIG_IsOK(ecode6
)) {
29115 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29117 arg6
= static_cast< long >(val6
);
29120 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29121 if (!SWIG_IsOK(res7
)) {
29122 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29127 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29131 arg8
= wxString_in_helper(obj7
);
29132 if (arg8
== NULL
) SWIG_fail
;
29137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29138 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29139 wxPyEndAllowThreads(__tstate
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29159 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29160 PyObject
*resultobj
= 0;
29161 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29162 PyObject
*arg2
= (PyObject
*) 0 ;
29163 PyObject
*arg3
= (PyObject
*) 0 ;
29166 PyObject
* obj0
= 0 ;
29167 PyObject
* obj1
= 0 ;
29168 PyObject
* obj2
= 0 ;
29169 char * kwnames
[] = {
29170 (char *) "self",(char *) "self",(char *) "_class", NULL
29173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29175 if (!SWIG_IsOK(res1
)) {
29176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29178 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29183 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29184 wxPyEndAllowThreads(__tstate
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29187 resultobj
= SWIG_Py_Void();
29194 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
= 0;
29196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29198 wxListItem
*result
= 0 ;
29203 PyObject
* obj0
= 0 ;
29204 PyObject
* obj1
= 0 ;
29205 char * kwnames
[] = {
29206 (char *) "self",(char *) "col", NULL
29209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29211 if (!SWIG_IsOK(res1
)) {
29212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29214 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29216 if (!SWIG_IsOK(ecode2
)) {
29217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29219 arg2
= static_cast< int >(val2
);
29221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29222 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29223 wxPyEndAllowThreads(__tstate
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29227 resultobj
= wxPyMake_wxObject(result
, 0);
29235 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29236 PyObject
*resultobj
= 0;
29237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29239 wxListItem
*arg3
= 0 ;
29247 PyObject
* obj0
= 0 ;
29248 PyObject
* obj1
= 0 ;
29249 PyObject
* obj2
= 0 ;
29250 char * kwnames
[] = {
29251 (char *) "self",(char *) "col",(char *) "item", NULL
29254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29256 if (!SWIG_IsOK(res1
)) {
29257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29259 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29261 if (!SWIG_IsOK(ecode2
)) {
29262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29264 arg2
= static_cast< int >(val2
);
29265 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29266 if (!SWIG_IsOK(res3
)) {
29267 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29272 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29275 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29276 wxPyEndAllowThreads(__tstate
);
29277 if (PyErr_Occurred()) SWIG_fail
;
29280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29288 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29289 PyObject
*resultobj
= 0;
29290 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29297 PyObject
* obj0
= 0 ;
29298 PyObject
* obj1
= 0 ;
29299 char * kwnames
[] = {
29300 (char *) "self",(char *) "col", NULL
29303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29305 if (!SWIG_IsOK(res1
)) {
29306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29308 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29310 if (!SWIG_IsOK(ecode2
)) {
29311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29313 arg2
= static_cast< int >(val2
);
29315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29316 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29317 wxPyEndAllowThreads(__tstate
);
29318 if (PyErr_Occurred()) SWIG_fail
;
29320 resultobj
= SWIG_From_int(static_cast< int >(result
));
29327 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29328 PyObject
*resultobj
= 0;
29329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29339 PyObject
* obj0
= 0 ;
29340 PyObject
* obj1
= 0 ;
29341 PyObject
* obj2
= 0 ;
29342 char * kwnames
[] = {
29343 (char *) "self",(char *) "col",(char *) "width", NULL
29346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29348 if (!SWIG_IsOK(res1
)) {
29349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29351 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29353 if (!SWIG_IsOK(ecode2
)) {
29354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29356 arg2
= static_cast< int >(val2
);
29357 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29358 if (!SWIG_IsOK(ecode3
)) {
29359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29361 arg3
= static_cast< int >(val3
);
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29365 wxPyEndAllowThreads(__tstate
);
29366 if (PyErr_Occurred()) SWIG_fail
;
29369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29377 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29378 PyObject
*resultobj
= 0;
29379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29383 PyObject
*swig_obj
[1] ;
29385 if (!args
) SWIG_fail
;
29386 swig_obj
[0] = args
;
29387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29388 if (!SWIG_IsOK(res1
)) {
29389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29391 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29394 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29395 wxPyEndAllowThreads(__tstate
);
29396 if (PyErr_Occurred()) SWIG_fail
;
29398 resultobj
= SWIG_From_int(static_cast< int >(result
));
29405 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29406 PyObject
*resultobj
= 0;
29407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29411 PyObject
*swig_obj
[1] ;
29413 if (!args
) SWIG_fail
;
29414 swig_obj
[0] = args
;
29415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29416 if (!SWIG_IsOK(res1
)) {
29417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29419 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29422 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29423 wxPyEndAllowThreads(__tstate
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29426 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29433 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29434 PyObject
*resultobj
= 0;
29435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29436 wxTextCtrl
*result
= 0 ;
29439 PyObject
*swig_obj
[1] ;
29441 if (!args
) SWIG_fail
;
29442 swig_obj
[0] = args
;
29443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29444 if (!SWIG_IsOK(res1
)) {
29445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29447 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29450 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29451 wxPyEndAllowThreads(__tstate
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29455 resultobj
= wxPyMake_wxObject(result
, 0);
29463 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29464 PyObject
*resultobj
= 0;
29465 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29467 int arg3
= (int) 0 ;
29468 wxListItem
*result
= 0 ;
29475 PyObject
* obj0
= 0 ;
29476 PyObject
* obj1
= 0 ;
29477 PyObject
* obj2
= 0 ;
29478 char * kwnames
[] = {
29479 (char *) "self",(char *) "itemId",(char *) "col", NULL
29482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29484 if (!SWIG_IsOK(res1
)) {
29485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29487 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29488 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29489 if (!SWIG_IsOK(ecode2
)) {
29490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29492 arg2
= static_cast< long >(val2
);
29494 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29495 if (!SWIG_IsOK(ecode3
)) {
29496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29498 arg3
= static_cast< int >(val3
);
29501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29502 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29503 wxPyEndAllowThreads(__tstate
);
29504 if (PyErr_Occurred()) SWIG_fail
;
29507 resultobj
= wxPyMake_wxObject(result
, 0);
29515 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29516 PyObject
*resultobj
= 0;
29517 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29518 wxListItem
*arg2
= 0 ;
29524 PyObject
* obj0
= 0 ;
29525 PyObject
* obj1
= 0 ;
29526 char * kwnames
[] = {
29527 (char *) "self",(char *) "info", NULL
29530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29532 if (!SWIG_IsOK(res1
)) {
29533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29535 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29536 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29537 if (!SWIG_IsOK(res2
)) {
29538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29543 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29546 result
= (bool)(arg1
)->SetItem(*arg2
);
29547 wxPyEndAllowThreads(__tstate
);
29548 if (PyErr_Occurred()) SWIG_fail
;
29551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29559 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29560 PyObject
*resultobj
= 0;
29561 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29564 wxString
*arg4
= 0 ;
29565 int arg5
= (int) -1 ;
29573 bool temp4
= false ;
29576 PyObject
* obj0
= 0 ;
29577 PyObject
* obj1
= 0 ;
29578 PyObject
* obj2
= 0 ;
29579 PyObject
* obj3
= 0 ;
29580 PyObject
* obj4
= 0 ;
29581 char * kwnames
[] = {
29582 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29587 if (!SWIG_IsOK(res1
)) {
29588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29590 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29591 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29592 if (!SWIG_IsOK(ecode2
)) {
29593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29595 arg2
= static_cast< long >(val2
);
29596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29597 if (!SWIG_IsOK(ecode3
)) {
29598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29600 arg3
= static_cast< int >(val3
);
29602 arg4
= wxString_in_helper(obj3
);
29603 if (arg4
== NULL
) SWIG_fail
;
29607 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29608 if (!SWIG_IsOK(ecode5
)) {
29609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29611 arg5
= static_cast< int >(val5
);
29614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29615 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29616 wxPyEndAllowThreads(__tstate
);
29617 if (PyErr_Occurred()) SWIG_fail
;
29619 resultobj
= SWIG_From_long(static_cast< long >(result
));
29634 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29635 PyObject
*resultobj
= 0;
29636 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29646 PyObject
* obj0
= 0 ;
29647 PyObject
* obj1
= 0 ;
29648 PyObject
* obj2
= 0 ;
29649 char * kwnames
[] = {
29650 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29655 if (!SWIG_IsOK(res1
)) {
29656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29658 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29659 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29660 if (!SWIG_IsOK(ecode2
)) {
29661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29663 arg2
= static_cast< long >(val2
);
29664 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29665 if (!SWIG_IsOK(ecode3
)) {
29666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29668 arg3
= static_cast< long >(val3
);
29670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29671 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29672 wxPyEndAllowThreads(__tstate
);
29673 if (PyErr_Occurred()) SWIG_fail
;
29675 resultobj
= SWIG_From_int(static_cast< int >(result
));
29682 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29683 PyObject
*resultobj
= 0;
29684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29697 PyObject
* obj0
= 0 ;
29698 PyObject
* obj1
= 0 ;
29699 PyObject
* obj2
= 0 ;
29700 PyObject
* obj3
= 0 ;
29701 char * kwnames
[] = {
29702 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29707 if (!SWIG_IsOK(res1
)) {
29708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29710 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29711 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29712 if (!SWIG_IsOK(ecode2
)) {
29713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29715 arg2
= static_cast< long >(val2
);
29716 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29717 if (!SWIG_IsOK(ecode3
)) {
29718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29720 arg3
= static_cast< long >(val3
);
29721 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29722 if (!SWIG_IsOK(ecode4
)) {
29723 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29725 arg4
= static_cast< long >(val4
);
29727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29729 wxPyEndAllowThreads(__tstate
);
29730 if (PyErr_Occurred()) SWIG_fail
;
29733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29741 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29742 PyObject
*resultobj
= 0;
29743 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29746 int arg4
= (int) -1 ;
29756 PyObject
* obj0
= 0 ;
29757 PyObject
* obj1
= 0 ;
29758 PyObject
* obj2
= 0 ;
29759 PyObject
* obj3
= 0 ;
29760 char * kwnames
[] = {
29761 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29766 if (!SWIG_IsOK(res1
)) {
29767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29769 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29770 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29771 if (!SWIG_IsOK(ecode2
)) {
29772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29774 arg2
= static_cast< long >(val2
);
29775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29776 if (!SWIG_IsOK(ecode3
)) {
29777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29779 arg3
= static_cast< int >(val3
);
29781 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29782 if (!SWIG_IsOK(ecode4
)) {
29783 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29785 arg4
= static_cast< int >(val4
);
29788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29789 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29790 wxPyEndAllowThreads(__tstate
);
29791 if (PyErr_Occurred()) SWIG_fail
;
29794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29802 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29803 PyObject
*resultobj
= 0;
29804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29817 PyObject
* obj0
= 0 ;
29818 PyObject
* obj1
= 0 ;
29819 PyObject
* obj2
= 0 ;
29820 PyObject
* obj3
= 0 ;
29821 char * kwnames
[] = {
29822 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29827 if (!SWIG_IsOK(res1
)) {
29828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29830 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29831 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29832 if (!SWIG_IsOK(ecode2
)) {
29833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29835 arg2
= static_cast< long >(val2
);
29836 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29837 if (!SWIG_IsOK(ecode3
)) {
29838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29840 arg3
= static_cast< long >(val3
);
29841 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29842 if (!SWIG_IsOK(ecode4
)) {
29843 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29845 arg4
= static_cast< int >(val4
);
29847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29848 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29849 wxPyEndAllowThreads(__tstate
);
29850 if (PyErr_Occurred()) SWIG_fail
;
29853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29861 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29862 PyObject
*resultobj
= 0;
29863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29870 PyObject
* obj0
= 0 ;
29871 PyObject
* obj1
= 0 ;
29872 char * kwnames
[] = {
29873 (char *) "self",(char *) "item", NULL
29876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29878 if (!SWIG_IsOK(res1
)) {
29879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29881 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29882 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29883 if (!SWIG_IsOK(ecode2
)) {
29884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29886 arg2
= static_cast< long >(val2
);
29888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29889 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29890 wxPyEndAllowThreads(__tstate
);
29891 if (PyErr_Occurred()) SWIG_fail
;
29895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29906 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29907 PyObject
*resultobj
= 0;
29908 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29910 wxString
*arg3
= 0 ;
29915 bool temp3
= false ;
29916 PyObject
* obj0
= 0 ;
29917 PyObject
* obj1
= 0 ;
29918 PyObject
* obj2
= 0 ;
29919 char * kwnames
[] = {
29920 (char *) "self",(char *) "item",(char *) "str", NULL
29923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29925 if (!SWIG_IsOK(res1
)) {
29926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29928 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29929 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29930 if (!SWIG_IsOK(ecode2
)) {
29931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29933 arg2
= static_cast< long >(val2
);
29935 arg3
= wxString_in_helper(obj2
);
29936 if (arg3
== NULL
) SWIG_fail
;
29940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29941 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29942 wxPyEndAllowThreads(__tstate
);
29943 if (PyErr_Occurred()) SWIG_fail
;
29945 resultobj
= SWIG_Py_Void();
29960 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29961 PyObject
*resultobj
= 0;
29962 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29969 PyObject
* obj0
= 0 ;
29970 PyObject
* obj1
= 0 ;
29971 char * kwnames
[] = {
29972 (char *) "self",(char *) "item", NULL
29975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29977 if (!SWIG_IsOK(res1
)) {
29978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29980 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29981 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29982 if (!SWIG_IsOK(ecode2
)) {
29983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29985 arg2
= static_cast< long >(val2
);
29987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29988 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29989 wxPyEndAllowThreads(__tstate
);
29990 if (PyErr_Occurred()) SWIG_fail
;
29992 resultobj
= SWIG_From_long(static_cast< long >(result
));
29999 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30000 PyObject
*resultobj
= 0;
30001 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30011 PyObject
* obj0
= 0 ;
30012 PyObject
* obj1
= 0 ;
30013 PyObject
* obj2
= 0 ;
30014 char * kwnames
[] = {
30015 (char *) "self",(char *) "item",(char *) "data", NULL
30018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30020 if (!SWIG_IsOK(res1
)) {
30021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30023 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30024 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30025 if (!SWIG_IsOK(ecode2
)) {
30026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30028 arg2
= static_cast< long >(val2
);
30029 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30030 if (!SWIG_IsOK(ecode3
)) {
30031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30033 arg3
= static_cast< long >(val3
);
30035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30036 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
30037 wxPyEndAllowThreads(__tstate
);
30038 if (PyErr_Occurred()) SWIG_fail
;
30041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30049 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30050 PyObject
*resultobj
= 0;
30051 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30058 PyObject
* obj0
= 0 ;
30059 PyObject
* obj1
= 0 ;
30060 char * kwnames
[] = {
30061 (char *) "self",(char *) "item", NULL
30064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30066 if (!SWIG_IsOK(res1
)) {
30067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30069 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30070 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30071 if (!SWIG_IsOK(ecode2
)) {
30072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30074 arg2
= static_cast< long >(val2
);
30076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30077 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30078 wxPyEndAllowThreads(__tstate
);
30079 if (PyErr_Occurred()) SWIG_fail
;
30081 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30088 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30089 PyObject
*resultobj
= 0;
30090 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30092 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30100 PyObject
* obj0
= 0 ;
30101 PyObject
* obj1
= 0 ;
30102 PyObject
* obj2
= 0 ;
30103 char * kwnames
[] = {
30104 (char *) "self",(char *) "item",(char *) "code", NULL
30107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30109 if (!SWIG_IsOK(res1
)) {
30110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30112 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30113 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30114 if (!SWIG_IsOK(ecode2
)) {
30115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30117 arg2
= static_cast< long >(val2
);
30119 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30120 if (!SWIG_IsOK(ecode3
)) {
30121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30123 arg3
= static_cast< int >(val3
);
30126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30127 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30128 wxPyEndAllowThreads(__tstate
);
30129 if (PyErr_Occurred()) SWIG_fail
;
30131 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30138 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30139 PyObject
*resultobj
= 0;
30140 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30142 wxPoint
*arg3
= 0 ;
30149 PyObject
* obj0
= 0 ;
30150 PyObject
* obj1
= 0 ;
30151 PyObject
* obj2
= 0 ;
30152 char * kwnames
[] = {
30153 (char *) "self",(char *) "item",(char *) "pos", NULL
30156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30158 if (!SWIG_IsOK(res1
)) {
30159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30161 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30162 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30163 if (!SWIG_IsOK(ecode2
)) {
30164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30166 arg2
= static_cast< long >(val2
);
30169 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30173 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30174 wxPyEndAllowThreads(__tstate
);
30175 if (PyErr_Occurred()) SWIG_fail
;
30178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30186 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30187 PyObject
*resultobj
= 0;
30188 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30192 PyObject
*swig_obj
[1] ;
30194 if (!args
) SWIG_fail
;
30195 swig_obj
[0] = args
;
30196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30197 if (!SWIG_IsOK(res1
)) {
30198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30200 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30203 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30204 wxPyEndAllowThreads(__tstate
);
30205 if (PyErr_Occurred()) SWIG_fail
;
30207 resultobj
= SWIG_From_int(static_cast< int >(result
));
30214 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30215 PyObject
*resultobj
= 0;
30216 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30220 PyObject
*swig_obj
[1] ;
30222 if (!args
) SWIG_fail
;
30223 swig_obj
[0] = args
;
30224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30225 if (!SWIG_IsOK(res1
)) {
30226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30228 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30231 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30232 wxPyEndAllowThreads(__tstate
);
30233 if (PyErr_Occurred()) SWIG_fail
;
30235 resultobj
= SWIG_From_int(static_cast< int >(result
));
30242 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30243 PyObject
*resultobj
= 0;
30244 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30248 PyObject
*swig_obj
[1] ;
30250 if (!args
) SWIG_fail
;
30251 swig_obj
[0] = args
;
30252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30253 if (!SWIG_IsOK(res1
)) {
30254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30256 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30259 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30260 wxPyEndAllowThreads(__tstate
);
30261 if (PyErr_Occurred()) SWIG_fail
;
30263 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30270 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30271 PyObject
*resultobj
= 0;
30272 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30276 PyObject
*swig_obj
[1] ;
30278 if (!args
) SWIG_fail
;
30279 swig_obj
[0] = args
;
30280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30281 if (!SWIG_IsOK(res1
)) {
30282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30284 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30287 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30288 wxPyEndAllowThreads(__tstate
);
30289 if (PyErr_Occurred()) SWIG_fail
;
30291 resultobj
= SWIG_From_int(static_cast< int >(result
));
30298 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30299 PyObject
*resultobj
= 0;
30300 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30304 PyObject
*swig_obj
[1] ;
30306 if (!args
) SWIG_fail
;
30307 swig_obj
[0] = args
;
30308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30309 if (!SWIG_IsOK(res1
)) {
30310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30312 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30315 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30316 wxPyEndAllowThreads(__tstate
);
30317 if (PyErr_Occurred()) SWIG_fail
;
30319 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30326 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30327 PyObject
*resultobj
= 0;
30328 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30329 wxColour
*arg2
= 0 ;
30333 PyObject
* obj0
= 0 ;
30334 PyObject
* obj1
= 0 ;
30335 char * kwnames
[] = {
30336 (char *) "self",(char *) "col", NULL
30339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30341 if (!SWIG_IsOK(res1
)) {
30342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30344 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30347 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30351 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30352 wxPyEndAllowThreads(__tstate
);
30353 if (PyErr_Occurred()) SWIG_fail
;
30355 resultobj
= SWIG_Py_Void();
30362 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30363 PyObject
*resultobj
= 0;
30364 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30368 PyObject
*swig_obj
[1] ;
30370 if (!args
) SWIG_fail
;
30371 swig_obj
[0] = args
;
30372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30373 if (!SWIG_IsOK(res1
)) {
30374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30376 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30379 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30380 wxPyEndAllowThreads(__tstate
);
30381 if (PyErr_Occurred()) SWIG_fail
;
30383 resultobj
= SWIG_From_long(static_cast< long >(result
));
30390 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30391 PyObject
*resultobj
= 0;
30392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30394 bool arg3
= (bool) true ;
30401 PyObject
* obj0
= 0 ;
30402 PyObject
* obj1
= 0 ;
30403 PyObject
* obj2
= 0 ;
30404 char * kwnames
[] = {
30405 (char *) "self",(char *) "style",(char *) "add", NULL
30408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30410 if (!SWIG_IsOK(res1
)) {
30411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30413 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30414 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30415 if (!SWIG_IsOK(ecode2
)) {
30416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30418 arg2
= static_cast< long >(val2
);
30420 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30421 if (!SWIG_IsOK(ecode3
)) {
30422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30424 arg3
= static_cast< bool >(val3
);
30427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30428 (arg1
)->SetSingleStyle(arg2
,arg3
);
30429 wxPyEndAllowThreads(__tstate
);
30430 if (PyErr_Occurred()) SWIG_fail
;
30432 resultobj
= SWIG_Py_Void();
30439 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30440 PyObject
*resultobj
= 0;
30441 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30443 int arg3
= (int) wxLIST_NEXT_ALL
;
30444 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30454 PyObject
* obj0
= 0 ;
30455 PyObject
* obj1
= 0 ;
30456 PyObject
* obj2
= 0 ;
30457 PyObject
* obj3
= 0 ;
30458 char * kwnames
[] = {
30459 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30464 if (!SWIG_IsOK(res1
)) {
30465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30467 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30468 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30469 if (!SWIG_IsOK(ecode2
)) {
30470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30472 arg2
= static_cast< long >(val2
);
30474 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30475 if (!SWIG_IsOK(ecode3
)) {
30476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30478 arg3
= static_cast< int >(val3
);
30481 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30482 if (!SWIG_IsOK(ecode4
)) {
30483 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30485 arg4
= static_cast< int >(val4
);
30488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30489 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30490 wxPyEndAllowThreads(__tstate
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30493 resultobj
= SWIG_From_long(static_cast< long >(result
));
30500 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30501 PyObject
*resultobj
= 0;
30502 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30504 wxImageList
*result
= 0 ;
30509 PyObject
* obj0
= 0 ;
30510 PyObject
* obj1
= 0 ;
30511 char * kwnames
[] = {
30512 (char *) "self",(char *) "which", NULL
30515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30517 if (!SWIG_IsOK(res1
)) {
30518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30520 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30522 if (!SWIG_IsOK(ecode2
)) {
30523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30525 arg2
= static_cast< int >(val2
);
30527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30528 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30529 wxPyEndAllowThreads(__tstate
);
30530 if (PyErr_Occurred()) SWIG_fail
;
30533 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30541 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30542 PyObject
*resultobj
= 0;
30543 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30544 wxImageList
*arg2
= (wxImageList
*) 0 ;
30552 PyObject
* obj0
= 0 ;
30553 PyObject
* obj1
= 0 ;
30554 PyObject
* obj2
= 0 ;
30555 char * kwnames
[] = {
30556 (char *) "self",(char *) "imageList",(char *) "which", NULL
30559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30561 if (!SWIG_IsOK(res1
)) {
30562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30564 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30565 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30566 if (!SWIG_IsOK(res2
)) {
30567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30569 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30571 if (!SWIG_IsOK(ecode3
)) {
30572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30574 arg3
= static_cast< int >(val3
);
30576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30577 (arg1
)->SetImageList(arg2
,arg3
);
30578 wxPyEndAllowThreads(__tstate
);
30579 if (PyErr_Occurred()) SWIG_fail
;
30581 resultobj
= SWIG_Py_Void();
30588 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30589 PyObject
*resultobj
= 0;
30590 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30591 wxImageList
*arg2
= (wxImageList
*) 0 ;
30598 PyObject
* obj0
= 0 ;
30599 PyObject
* obj1
= 0 ;
30600 PyObject
* obj2
= 0 ;
30601 char * kwnames
[] = {
30602 (char *) "self",(char *) "imageList",(char *) "which", NULL
30605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30607 if (!SWIG_IsOK(res1
)) {
30608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30610 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30611 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30612 if (!SWIG_IsOK(res2
)) {
30613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30615 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30616 if (!SWIG_IsOK(ecode3
)) {
30617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30619 arg3
= static_cast< int >(val3
);
30621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30622 (arg1
)->AssignImageList(arg2
,arg3
);
30623 wxPyEndAllowThreads(__tstate
);
30624 if (PyErr_Occurred()) SWIG_fail
;
30626 resultobj
= SWIG_Py_Void();
30633 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30634 PyObject
*resultobj
= 0;
30635 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30639 PyObject
*swig_obj
[1] ;
30641 if (!args
) SWIG_fail
;
30642 swig_obj
[0] = args
;
30643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30644 if (!SWIG_IsOK(res1
)) {
30645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30647 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30650 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30651 wxPyEndAllowThreads(__tstate
);
30652 if (PyErr_Occurred()) SWIG_fail
;
30655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30663 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30664 PyObject
*resultobj
= 0;
30665 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30669 PyObject
*swig_obj
[1] ;
30671 if (!args
) SWIG_fail
;
30672 swig_obj
[0] = args
;
30673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30674 if (!SWIG_IsOK(res1
)) {
30675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30677 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30680 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30681 wxPyEndAllowThreads(__tstate
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30693 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30694 PyObject
*resultobj
= 0;
30695 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30701 PyObject
* obj0
= 0 ;
30702 PyObject
* obj1
= 0 ;
30703 char * kwnames
[] = {
30704 (char *) "self",(char *) "item", NULL
30707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30709 if (!SWIG_IsOK(res1
)) {
30710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30712 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30713 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30714 if (!SWIG_IsOK(ecode2
)) {
30715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30717 arg2
= static_cast< long >(val2
);
30719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30720 (arg1
)->RefreshItem(arg2
);
30721 wxPyEndAllowThreads(__tstate
);
30722 if (PyErr_Occurred()) SWIG_fail
;
30724 resultobj
= SWIG_Py_Void();
30731 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30732 PyObject
*resultobj
= 0;
30733 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30742 PyObject
* obj0
= 0 ;
30743 PyObject
* obj1
= 0 ;
30744 PyObject
* obj2
= 0 ;
30745 char * kwnames
[] = {
30746 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30751 if (!SWIG_IsOK(res1
)) {
30752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30754 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30755 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30756 if (!SWIG_IsOK(ecode2
)) {
30757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30759 arg2
= static_cast< long >(val2
);
30760 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30761 if (!SWIG_IsOK(ecode3
)) {
30762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30764 arg3
= static_cast< long >(val3
);
30766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30767 (arg1
)->RefreshItems(arg2
,arg3
);
30768 wxPyEndAllowThreads(__tstate
);
30769 if (PyErr_Occurred()) SWIG_fail
;
30771 resultobj
= SWIG_Py_Void();
30778 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30779 PyObject
*resultobj
= 0;
30780 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30781 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30787 PyObject
* obj0
= 0 ;
30788 PyObject
* obj1
= 0 ;
30789 char * kwnames
[] = {
30790 (char *) "self",(char *) "flag", NULL
30793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30795 if (!SWIG_IsOK(res1
)) {
30796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30798 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30801 if (!SWIG_IsOK(ecode2
)) {
30802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30804 arg2
= static_cast< int >(val2
);
30807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30808 result
= (bool)(arg1
)->Arrange(arg2
);
30809 wxPyEndAllowThreads(__tstate
);
30810 if (PyErr_Occurred()) SWIG_fail
;
30813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30821 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30822 PyObject
*resultobj
= 0;
30823 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30830 PyObject
* obj0
= 0 ;
30831 PyObject
* obj1
= 0 ;
30832 char * kwnames
[] = {
30833 (char *) "self",(char *) "item", NULL
30836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30838 if (!SWIG_IsOK(res1
)) {
30839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30841 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30842 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30843 if (!SWIG_IsOK(ecode2
)) {
30844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30846 arg2
= static_cast< long >(val2
);
30848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30849 result
= (bool)(arg1
)->DeleteItem(arg2
);
30850 wxPyEndAllowThreads(__tstate
);
30851 if (PyErr_Occurred()) SWIG_fail
;
30854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30862 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30863 PyObject
*resultobj
= 0;
30864 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30868 PyObject
*swig_obj
[1] ;
30870 if (!args
) SWIG_fail
;
30871 swig_obj
[0] = args
;
30872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30873 if (!SWIG_IsOK(res1
)) {
30874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30876 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30879 result
= (bool)(arg1
)->DeleteAllItems();
30880 wxPyEndAllowThreads(__tstate
);
30881 if (PyErr_Occurred()) SWIG_fail
;
30884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30892 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30893 PyObject
*resultobj
= 0;
30894 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30901 PyObject
* obj0
= 0 ;
30902 PyObject
* obj1
= 0 ;
30903 char * kwnames
[] = {
30904 (char *) "self",(char *) "col", NULL
30907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30909 if (!SWIG_IsOK(res1
)) {
30910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30912 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30914 if (!SWIG_IsOK(ecode2
)) {
30915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30917 arg2
= static_cast< int >(val2
);
30919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30920 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30921 wxPyEndAllowThreads(__tstate
);
30922 if (PyErr_Occurred()) SWIG_fail
;
30925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30933 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30934 PyObject
*resultobj
= 0;
30935 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30939 PyObject
*swig_obj
[1] ;
30941 if (!args
) SWIG_fail
;
30942 swig_obj
[0] = args
;
30943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30944 if (!SWIG_IsOK(res1
)) {
30945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30947 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 result
= (bool)(arg1
)->DeleteAllColumns();
30951 wxPyEndAllowThreads(__tstate
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30963 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30964 PyObject
*resultobj
= 0;
30965 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30968 PyObject
*swig_obj
[1] ;
30970 if (!args
) SWIG_fail
;
30971 swig_obj
[0] = args
;
30972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30973 if (!SWIG_IsOK(res1
)) {
30974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30976 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30979 (arg1
)->ClearAll();
30980 wxPyEndAllowThreads(__tstate
);
30981 if (PyErr_Occurred()) SWIG_fail
;
30983 resultobj
= SWIG_Py_Void();
30990 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30991 PyObject
*resultobj
= 0;
30992 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30994 wxTextCtrl
*result
= 0 ;
30999 PyObject
* obj0
= 0 ;
31000 PyObject
* obj1
= 0 ;
31001 char * kwnames
[] = {
31002 (char *) "self",(char *) "item", NULL
31005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31007 if (!SWIG_IsOK(res1
)) {
31008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31010 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31011 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31012 if (!SWIG_IsOK(ecode2
)) {
31013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31015 arg2
= static_cast< long >(val2
);
31017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31018 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
31019 wxPyEndAllowThreads(__tstate
);
31020 if (PyErr_Occurred()) SWIG_fail
;
31023 resultobj
= wxPyMake_wxObject(result
, 0);
31031 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31032 PyObject
*resultobj
= 0;
31033 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31040 PyObject
* obj0
= 0 ;
31041 PyObject
* obj1
= 0 ;
31042 char * kwnames
[] = {
31043 (char *) "self",(char *) "cancel", NULL
31046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31048 if (!SWIG_IsOK(res1
)) {
31049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31051 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31052 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31053 if (!SWIG_IsOK(ecode2
)) {
31054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
31056 arg2
= static_cast< bool >(val2
);
31058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31059 result
= (bool)(arg1
)->EndEditLabel(arg2
);
31060 wxPyEndAllowThreads(__tstate
);
31061 if (PyErr_Occurred()) SWIG_fail
;
31064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31072 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31073 PyObject
*resultobj
= 0;
31074 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31081 PyObject
* obj0
= 0 ;
31082 PyObject
* obj1
= 0 ;
31083 char * kwnames
[] = {
31084 (char *) "self",(char *) "item", NULL
31087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31089 if (!SWIG_IsOK(res1
)) {
31090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31092 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31093 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31094 if (!SWIG_IsOK(ecode2
)) {
31095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31097 arg2
= static_cast< long >(val2
);
31099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31100 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31101 wxPyEndAllowThreads(__tstate
);
31102 if (PyErr_Occurred()) SWIG_fail
;
31105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31113 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31114 PyObject
*resultobj
= 0;
31115 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31117 wxString
*arg3
= 0 ;
31118 bool arg4
= (bool) false ;
31124 bool temp3
= false ;
31127 PyObject
* obj0
= 0 ;
31128 PyObject
* obj1
= 0 ;
31129 PyObject
* obj2
= 0 ;
31130 PyObject
* obj3
= 0 ;
31131 char * kwnames
[] = {
31132 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31137 if (!SWIG_IsOK(res1
)) {
31138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31140 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31141 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31142 if (!SWIG_IsOK(ecode2
)) {
31143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31145 arg2
= static_cast< long >(val2
);
31147 arg3
= wxString_in_helper(obj2
);
31148 if (arg3
== NULL
) SWIG_fail
;
31152 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31153 if (!SWIG_IsOK(ecode4
)) {
31154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31156 arg4
= static_cast< bool >(val4
);
31159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31160 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31161 wxPyEndAllowThreads(__tstate
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31164 resultobj
= SWIG_From_long(static_cast< long >(result
));
31179 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31180 PyObject
*resultobj
= 0;
31181 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31191 PyObject
* obj0
= 0 ;
31192 PyObject
* obj1
= 0 ;
31193 PyObject
* obj2
= 0 ;
31194 char * kwnames
[] = {
31195 (char *) "self",(char *) "start",(char *) "data", NULL
31198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31200 if (!SWIG_IsOK(res1
)) {
31201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31203 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31204 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31205 if (!SWIG_IsOK(ecode2
)) {
31206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31208 arg2
= static_cast< long >(val2
);
31209 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31210 if (!SWIG_IsOK(ecode3
)) {
31211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31213 arg3
= static_cast< long >(val3
);
31215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31216 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31217 wxPyEndAllowThreads(__tstate
);
31218 if (PyErr_Occurred()) SWIG_fail
;
31220 resultobj
= SWIG_From_long(static_cast< long >(result
));
31227 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31228 PyObject
*resultobj
= 0;
31229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31231 wxPoint
*arg3
= 0 ;
31241 PyObject
* obj0
= 0 ;
31242 PyObject
* obj1
= 0 ;
31243 PyObject
* obj2
= 0 ;
31244 PyObject
* obj3
= 0 ;
31245 char * kwnames
[] = {
31246 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31251 if (!SWIG_IsOK(res1
)) {
31252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31254 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31255 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31256 if (!SWIG_IsOK(ecode2
)) {
31257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31259 arg2
= static_cast< long >(val2
);
31262 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31264 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31265 if (!SWIG_IsOK(ecode4
)) {
31266 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31268 arg4
= static_cast< int >(val4
);
31270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31271 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31272 wxPyEndAllowThreads(__tstate
);
31273 if (PyErr_Occurred()) SWIG_fail
;
31275 resultobj
= SWIG_From_long(static_cast< long >(result
));
31282 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31283 PyObject
*resultobj
= 0;
31284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31285 wxPoint
*arg2
= 0 ;
31292 int res3
= SWIG_TMPOBJ
;
31293 PyObject
* obj0
= 0 ;
31294 PyObject
* obj1
= 0 ;
31295 char * kwnames
[] = {
31296 (char *) "self",(char *) "point", NULL
31300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31302 if (!SWIG_IsOK(res1
)) {
31303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31305 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31308 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31312 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31313 wxPyEndAllowThreads(__tstate
);
31314 if (PyErr_Occurred()) SWIG_fail
;
31316 resultobj
= SWIG_From_long(static_cast< long >(result
));
31317 if (SWIG_IsTmpObj(res3
)) {
31318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31320 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31321 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31329 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31330 PyObject
*resultobj
= 0;
31331 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31332 wxPoint
*arg2
= 0 ;
31334 long *arg4
= (long *) 0 ;
31340 int res3
= SWIG_TMPOBJ
;
31342 int res4
= SWIG_TMPOBJ
;
31343 PyObject
* obj0
= 0 ;
31344 PyObject
* obj1
= 0 ;
31345 char * kwnames
[] = {
31346 (char *) "self",(char *) "point", NULL
31351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31353 if (!SWIG_IsOK(res1
)) {
31354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31356 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31359 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31363 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31364 wxPyEndAllowThreads(__tstate
);
31365 if (PyErr_Occurred()) SWIG_fail
;
31367 resultobj
= SWIG_From_long(static_cast< long >(result
));
31368 if (SWIG_IsTmpObj(res3
)) {
31369 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31371 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31374 if (SWIG_IsTmpObj(res4
)) {
31375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31377 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31386 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31387 PyObject
*resultobj
= 0;
31388 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31389 wxListItem
*arg2
= 0 ;
31395 PyObject
* obj0
= 0 ;
31396 PyObject
* obj1
= 0 ;
31397 char * kwnames
[] = {
31398 (char *) "self",(char *) "info", NULL
31401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31403 if (!SWIG_IsOK(res1
)) {
31404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31406 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31407 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31408 if (!SWIG_IsOK(res2
)) {
31409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31412 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31414 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31417 result
= (long)(arg1
)->InsertItem(*arg2
);
31418 wxPyEndAllowThreads(__tstate
);
31419 if (PyErr_Occurred()) SWIG_fail
;
31421 resultobj
= SWIG_From_long(static_cast< long >(result
));
31428 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31429 PyObject
*resultobj
= 0;
31430 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31432 wxString
*arg3
= 0 ;
31433 int arg4
= (int) -1 ;
31439 bool temp3
= false ;
31442 PyObject
* obj0
= 0 ;
31443 PyObject
* obj1
= 0 ;
31444 PyObject
* obj2
= 0 ;
31445 PyObject
* obj3
= 0 ;
31446 char * kwnames
[] = {
31447 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31452 if (!SWIG_IsOK(res1
)) {
31453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31455 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31456 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31457 if (!SWIG_IsOK(ecode2
)) {
31458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31460 arg2
= static_cast< long >(val2
);
31462 arg3
= wxString_in_helper(obj2
);
31463 if (arg3
== NULL
) SWIG_fail
;
31467 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31468 if (!SWIG_IsOK(ecode4
)) {
31469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31471 arg4
= static_cast< int >(val4
);
31474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31475 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31476 wxPyEndAllowThreads(__tstate
);
31477 if (PyErr_Occurred()) SWIG_fail
;
31479 resultobj
= SWIG_From_long(static_cast< long >(result
));
31494 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31495 PyObject
*resultobj
= 0;
31496 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31506 PyObject
* obj0
= 0 ;
31507 PyObject
* obj1
= 0 ;
31508 PyObject
* obj2
= 0 ;
31509 char * kwnames
[] = {
31510 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31515 if (!SWIG_IsOK(res1
)) {
31516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31518 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31519 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31520 if (!SWIG_IsOK(ecode2
)) {
31521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31523 arg2
= static_cast< long >(val2
);
31524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31525 if (!SWIG_IsOK(ecode3
)) {
31526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31528 arg3
= static_cast< int >(val3
);
31530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31531 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31532 wxPyEndAllowThreads(__tstate
);
31533 if (PyErr_Occurred()) SWIG_fail
;
31535 resultobj
= SWIG_From_long(static_cast< long >(result
));
31542 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31543 PyObject
*resultobj
= 0;
31544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31546 wxString
*arg3
= 0 ;
31553 bool temp3
= false ;
31556 PyObject
* obj0
= 0 ;
31557 PyObject
* obj1
= 0 ;
31558 PyObject
* obj2
= 0 ;
31559 PyObject
* obj3
= 0 ;
31560 char * kwnames
[] = {
31561 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31566 if (!SWIG_IsOK(res1
)) {
31567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31569 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31570 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31571 if (!SWIG_IsOK(ecode2
)) {
31572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31574 arg2
= static_cast< long >(val2
);
31576 arg3
= wxString_in_helper(obj2
);
31577 if (arg3
== NULL
) SWIG_fail
;
31580 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31581 if (!SWIG_IsOK(ecode4
)) {
31582 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31584 arg4
= static_cast< int >(val4
);
31586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31587 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31588 wxPyEndAllowThreads(__tstate
);
31589 if (PyErr_Occurred()) SWIG_fail
;
31591 resultobj
= SWIG_From_long(static_cast< long >(result
));
31606 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31607 PyObject
*resultobj
= 0;
31608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31610 wxListItem
*arg3
= 0 ;
31618 PyObject
* obj0
= 0 ;
31619 PyObject
* obj1
= 0 ;
31620 PyObject
* obj2
= 0 ;
31621 char * kwnames
[] = {
31622 (char *) "self",(char *) "col",(char *) "info", NULL
31625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31627 if (!SWIG_IsOK(res1
)) {
31628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31630 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31631 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31632 if (!SWIG_IsOK(ecode2
)) {
31633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31635 arg2
= static_cast< long >(val2
);
31636 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31637 if (!SWIG_IsOK(res3
)) {
31638 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31643 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31646 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31647 wxPyEndAllowThreads(__tstate
);
31648 if (PyErr_Occurred()) SWIG_fail
;
31650 resultobj
= SWIG_From_long(static_cast< long >(result
));
31657 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31658 PyObject
*resultobj
= 0;
31659 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31661 wxString
*arg3
= 0 ;
31662 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31663 int arg5
= (int) -1 ;
31669 bool temp3
= false ;
31674 PyObject
* obj0
= 0 ;
31675 PyObject
* obj1
= 0 ;
31676 PyObject
* obj2
= 0 ;
31677 PyObject
* obj3
= 0 ;
31678 PyObject
* obj4
= 0 ;
31679 char * kwnames
[] = {
31680 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31685 if (!SWIG_IsOK(res1
)) {
31686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31688 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31689 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31690 if (!SWIG_IsOK(ecode2
)) {
31691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31693 arg2
= static_cast< long >(val2
);
31695 arg3
= wxString_in_helper(obj2
);
31696 if (arg3
== NULL
) SWIG_fail
;
31700 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31701 if (!SWIG_IsOK(ecode4
)) {
31702 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31704 arg4
= static_cast< int >(val4
);
31707 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31708 if (!SWIG_IsOK(ecode5
)) {
31709 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31711 arg5
= static_cast< int >(val5
);
31714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31715 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31719 resultobj
= SWIG_From_long(static_cast< long >(result
));
31734 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31735 PyObject
*resultobj
= 0;
31736 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31742 PyObject
* obj0
= 0 ;
31743 PyObject
* obj1
= 0 ;
31744 char * kwnames
[] = {
31745 (char *) "self",(char *) "count", NULL
31748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31750 if (!SWIG_IsOK(res1
)) {
31751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31753 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31754 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31755 if (!SWIG_IsOK(ecode2
)) {
31756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31758 arg2
= static_cast< long >(val2
);
31760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31761 (arg1
)->SetItemCount(arg2
);
31762 wxPyEndAllowThreads(__tstate
);
31763 if (PyErr_Occurred()) SWIG_fail
;
31765 resultobj
= SWIG_Py_Void();
31772 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31773 PyObject
*resultobj
= 0;
31774 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31784 PyObject
* obj0
= 0 ;
31785 PyObject
* obj1
= 0 ;
31786 PyObject
* obj2
= 0 ;
31787 char * kwnames
[] = {
31788 (char *) "self",(char *) "dx",(char *) "dy", NULL
31791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31793 if (!SWIG_IsOK(res1
)) {
31794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31796 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31798 if (!SWIG_IsOK(ecode2
)) {
31799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31801 arg2
= static_cast< int >(val2
);
31802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31803 if (!SWIG_IsOK(ecode3
)) {
31804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31806 arg3
= static_cast< int >(val3
);
31808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31809 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31810 wxPyEndAllowThreads(__tstate
);
31811 if (PyErr_Occurred()) SWIG_fail
;
31814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31822 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31823 PyObject
*resultobj
= 0;
31824 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31826 wxColour
*arg3
= 0 ;
31832 PyObject
* obj0
= 0 ;
31833 PyObject
* obj1
= 0 ;
31834 PyObject
* obj2
= 0 ;
31835 char * kwnames
[] = {
31836 (char *) "self",(char *) "item",(char *) "col", NULL
31839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31841 if (!SWIG_IsOK(res1
)) {
31842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31844 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31845 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31846 if (!SWIG_IsOK(ecode2
)) {
31847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31849 arg2
= static_cast< long >(val2
);
31852 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31856 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31857 wxPyEndAllowThreads(__tstate
);
31858 if (PyErr_Occurred()) SWIG_fail
;
31860 resultobj
= SWIG_Py_Void();
31867 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31868 PyObject
*resultobj
= 0;
31869 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31876 PyObject
* obj0
= 0 ;
31877 PyObject
* obj1
= 0 ;
31878 char * kwnames
[] = {
31879 (char *) "self",(char *) "item", NULL
31882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31884 if (!SWIG_IsOK(res1
)) {
31885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31887 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31888 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31889 if (!SWIG_IsOK(ecode2
)) {
31890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31892 arg2
= static_cast< long >(val2
);
31894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31895 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31896 wxPyEndAllowThreads(__tstate
);
31897 if (PyErr_Occurred()) SWIG_fail
;
31899 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31906 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31907 PyObject
*resultobj
= 0;
31908 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31910 wxColour
*arg3
= 0 ;
31916 PyObject
* obj0
= 0 ;
31917 PyObject
* obj1
= 0 ;
31918 PyObject
* obj2
= 0 ;
31919 char * kwnames
[] = {
31920 (char *) "self",(char *) "item",(char *) "col", NULL
31923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31925 if (!SWIG_IsOK(res1
)) {
31926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31928 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31929 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31930 if (!SWIG_IsOK(ecode2
)) {
31931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31933 arg2
= static_cast< long >(val2
);
31936 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31940 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31941 wxPyEndAllowThreads(__tstate
);
31942 if (PyErr_Occurred()) SWIG_fail
;
31944 resultobj
= SWIG_Py_Void();
31951 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31952 PyObject
*resultobj
= 0;
31953 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31960 PyObject
* obj0
= 0 ;
31961 PyObject
* obj1
= 0 ;
31962 char * kwnames
[] = {
31963 (char *) "self",(char *) "item", NULL
31966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31968 if (!SWIG_IsOK(res1
)) {
31969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31971 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31972 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31973 if (!SWIG_IsOK(ecode2
)) {
31974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31976 arg2
= static_cast< long >(val2
);
31978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31979 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31980 wxPyEndAllowThreads(__tstate
);
31981 if (PyErr_Occurred()) SWIG_fail
;
31983 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31990 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31991 PyObject
*resultobj
= 0;
31992 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32001 PyObject
* obj0
= 0 ;
32002 PyObject
* obj1
= 0 ;
32003 PyObject
* obj2
= 0 ;
32004 char * kwnames
[] = {
32005 (char *) "self",(char *) "item",(char *) "f", NULL
32008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32010 if (!SWIG_IsOK(res1
)) {
32011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32013 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32014 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32015 if (!SWIG_IsOK(ecode2
)) {
32016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32018 arg2
= static_cast< long >(val2
);
32019 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
32020 if (!SWIG_IsOK(res3
)) {
32021 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32026 arg3
= reinterpret_cast< wxFont
* >(argp3
);
32028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32029 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
32030 wxPyEndAllowThreads(__tstate
);
32031 if (PyErr_Occurred()) SWIG_fail
;
32033 resultobj
= SWIG_Py_Void();
32040 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32041 PyObject
*resultobj
= 0;
32042 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32049 PyObject
* obj0
= 0 ;
32050 PyObject
* obj1
= 0 ;
32051 char * kwnames
[] = {
32052 (char *) "self",(char *) "item", NULL
32055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32057 if (!SWIG_IsOK(res1
)) {
32058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32060 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32061 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32062 if (!SWIG_IsOK(ecode2
)) {
32063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32065 arg2
= static_cast< long >(val2
);
32067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32068 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32069 wxPyEndAllowThreads(__tstate
);
32070 if (PyErr_Occurred()) SWIG_fail
;
32072 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32079 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32080 PyObject
*resultobj
= 0;
32081 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32082 PyObject
*arg2
= (PyObject
*) 0 ;
32086 PyObject
* obj0
= 0 ;
32087 PyObject
* obj1
= 0 ;
32088 char * kwnames
[] = {
32089 (char *) "self",(char *) "func", NULL
32092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32094 if (!SWIG_IsOK(res1
)) {
32095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32097 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32101 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32102 wxPyEndAllowThreads(__tstate
);
32103 if (PyErr_Occurred()) SWIG_fail
;
32106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32114 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32115 PyObject
*resultobj
= 0;
32116 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32117 wxWindow
*result
= 0 ;
32120 PyObject
*swig_obj
[1] ;
32122 if (!args
) SWIG_fail
;
32123 swig_obj
[0] = args
;
32124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32125 if (!SWIG_IsOK(res1
)) {
32126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32128 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32131 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32132 wxPyEndAllowThreads(__tstate
);
32133 if (PyErr_Occurred()) SWIG_fail
;
32136 resultobj
= wxPyMake_wxObject(result
, 0);
32144 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32145 PyObject
*resultobj
= 0;
32146 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32147 SwigValueWrapper
<wxVisualAttributes
> result
;
32150 PyObject
* obj0
= 0 ;
32151 char * kwnames
[] = {
32152 (char *) "variant", NULL
32155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32157 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32158 if (!SWIG_IsOK(ecode1
)) {
32159 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32161 arg1
= static_cast< wxWindowVariant
>(val1
);
32164 if (!wxPyCheckForApp()) SWIG_fail
;
32165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32166 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32167 wxPyEndAllowThreads(__tstate
);
32168 if (PyErr_Occurred()) SWIG_fail
;
32170 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32177 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32180 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32181 return SWIG_Py_Void();
32184 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32185 return SWIG_Python_InitShadowInstance(args
);
32188 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32189 PyObject
*resultobj
= 0;
32190 wxWindow
*arg1
= (wxWindow
*) 0 ;
32191 int arg2
= (int) -1 ;
32192 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32193 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32194 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32195 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32196 long arg5
= (long) wxLC_REPORT
;
32197 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32198 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32199 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32200 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32201 wxListView
*result
= 0 ;
32212 bool temp7
= false ;
32213 PyObject
* obj0
= 0 ;
32214 PyObject
* obj1
= 0 ;
32215 PyObject
* obj2
= 0 ;
32216 PyObject
* obj3
= 0 ;
32217 PyObject
* obj4
= 0 ;
32218 PyObject
* obj5
= 0 ;
32219 PyObject
* obj6
= 0 ;
32220 char * kwnames
[] = {
32221 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32226 if (!SWIG_IsOK(res1
)) {
32227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32229 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32232 if (!SWIG_IsOK(ecode2
)) {
32233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32235 arg2
= static_cast< int >(val2
);
32240 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32246 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32250 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32251 if (!SWIG_IsOK(ecode5
)) {
32252 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32254 arg5
= static_cast< long >(val5
);
32257 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32258 if (!SWIG_IsOK(res6
)) {
32259 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32264 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32268 arg7
= wxString_in_helper(obj6
);
32269 if (arg7
== NULL
) SWIG_fail
;
32274 if (!wxPyCheckForApp()) SWIG_fail
;
32275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32276 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32277 wxPyEndAllowThreads(__tstate
);
32278 if (PyErr_Occurred()) SWIG_fail
;
32280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32295 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32296 PyObject
*resultobj
= 0;
32297 wxListView
*result
= 0 ;
32299 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32301 if (!wxPyCheckForApp()) SWIG_fail
;
32302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32303 result
= (wxListView
*)new wxListView();
32304 wxPyEndAllowThreads(__tstate
);
32305 if (PyErr_Occurred()) SWIG_fail
;
32307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32314 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32315 PyObject
*resultobj
= 0;
32316 wxListView
*arg1
= (wxListView
*) 0 ;
32317 wxWindow
*arg2
= (wxWindow
*) 0 ;
32318 int arg3
= (int) -1 ;
32319 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32320 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32321 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32322 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32323 long arg6
= (long) wxLC_REPORT
;
32324 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32325 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32326 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32327 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32341 bool temp8
= false ;
32342 PyObject
* obj0
= 0 ;
32343 PyObject
* obj1
= 0 ;
32344 PyObject
* obj2
= 0 ;
32345 PyObject
* obj3
= 0 ;
32346 PyObject
* obj4
= 0 ;
32347 PyObject
* obj5
= 0 ;
32348 PyObject
* obj6
= 0 ;
32349 PyObject
* obj7
= 0 ;
32350 char * kwnames
[] = {
32351 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32356 if (!SWIG_IsOK(res1
)) {
32357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32359 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32361 if (!SWIG_IsOK(res2
)) {
32362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32364 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32366 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32367 if (!SWIG_IsOK(ecode3
)) {
32368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32370 arg3
= static_cast< int >(val3
);
32375 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32381 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32385 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32386 if (!SWIG_IsOK(ecode6
)) {
32387 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32389 arg6
= static_cast< long >(val6
);
32392 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32393 if (!SWIG_IsOK(res7
)) {
32394 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32399 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32403 arg8
= wxString_in_helper(obj7
);
32404 if (arg8
== NULL
) SWIG_fail
;
32409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32410 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32411 wxPyEndAllowThreads(__tstate
);
32412 if (PyErr_Occurred()) SWIG_fail
;
32415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32431 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32432 PyObject
*resultobj
= 0;
32433 wxListView
*arg1
= (wxListView
*) 0 ;
32435 bool arg3
= (bool) true ;
32442 PyObject
* obj0
= 0 ;
32443 PyObject
* obj1
= 0 ;
32444 PyObject
* obj2
= 0 ;
32445 char * kwnames
[] = {
32446 (char *) "self",(char *) "n",(char *) "on", NULL
32449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32451 if (!SWIG_IsOK(res1
)) {
32452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32454 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32455 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32456 if (!SWIG_IsOK(ecode2
)) {
32457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32459 arg2
= static_cast< long >(val2
);
32461 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32462 if (!SWIG_IsOK(ecode3
)) {
32463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32465 arg3
= static_cast< bool >(val3
);
32468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32469 (arg1
)->Select(arg2
,arg3
);
32470 wxPyEndAllowThreads(__tstate
);
32471 if (PyErr_Occurred()) SWIG_fail
;
32473 resultobj
= SWIG_Py_Void();
32480 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32481 PyObject
*resultobj
= 0;
32482 wxListView
*arg1
= (wxListView
*) 0 ;
32488 PyObject
* obj0
= 0 ;
32489 PyObject
* obj1
= 0 ;
32490 char * kwnames
[] = {
32491 (char *) "self",(char *) "index", NULL
32494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32496 if (!SWIG_IsOK(res1
)) {
32497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32499 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32500 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32501 if (!SWIG_IsOK(ecode2
)) {
32502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32504 arg2
= static_cast< long >(val2
);
32506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32507 (arg1
)->Focus(arg2
);
32508 wxPyEndAllowThreads(__tstate
);
32509 if (PyErr_Occurred()) SWIG_fail
;
32511 resultobj
= SWIG_Py_Void();
32518 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32519 PyObject
*resultobj
= 0;
32520 wxListView
*arg1
= (wxListView
*) 0 ;
32524 PyObject
*swig_obj
[1] ;
32526 if (!args
) SWIG_fail
;
32527 swig_obj
[0] = args
;
32528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32529 if (!SWIG_IsOK(res1
)) {
32530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32532 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32535 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32536 wxPyEndAllowThreads(__tstate
);
32537 if (PyErr_Occurred()) SWIG_fail
;
32539 resultobj
= SWIG_From_long(static_cast< long >(result
));
32546 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32547 PyObject
*resultobj
= 0;
32548 wxListView
*arg1
= (wxListView
*) 0 ;
32555 PyObject
* obj0
= 0 ;
32556 PyObject
* obj1
= 0 ;
32557 char * kwnames
[] = {
32558 (char *) "self",(char *) "item", NULL
32561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32563 if (!SWIG_IsOK(res1
)) {
32564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32566 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32567 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32568 if (!SWIG_IsOK(ecode2
)) {
32569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32571 arg2
= static_cast< long >(val2
);
32573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32574 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32575 wxPyEndAllowThreads(__tstate
);
32576 if (PyErr_Occurred()) SWIG_fail
;
32578 resultobj
= SWIG_From_long(static_cast< long >(result
));
32585 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32586 PyObject
*resultobj
= 0;
32587 wxListView
*arg1
= (wxListView
*) 0 ;
32591 PyObject
*swig_obj
[1] ;
32593 if (!args
) SWIG_fail
;
32594 swig_obj
[0] = args
;
32595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32596 if (!SWIG_IsOK(res1
)) {
32597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32599 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32602 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32603 wxPyEndAllowThreads(__tstate
);
32604 if (PyErr_Occurred()) SWIG_fail
;
32606 resultobj
= SWIG_From_long(static_cast< long >(result
));
32613 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32614 PyObject
*resultobj
= 0;
32615 wxListView
*arg1
= (wxListView
*) 0 ;
32622 PyObject
* obj0
= 0 ;
32623 PyObject
* obj1
= 0 ;
32624 char * kwnames
[] = {
32625 (char *) "self",(char *) "index", NULL
32628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32630 if (!SWIG_IsOK(res1
)) {
32631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32633 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32634 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32635 if (!SWIG_IsOK(ecode2
)) {
32636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32638 arg2
= static_cast< long >(val2
);
32640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32641 result
= (bool)(arg1
)->IsSelected(arg2
);
32642 wxPyEndAllowThreads(__tstate
);
32643 if (PyErr_Occurred()) SWIG_fail
;
32646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32654 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32655 PyObject
*resultobj
= 0;
32656 wxListView
*arg1
= (wxListView
*) 0 ;
32665 PyObject
* obj0
= 0 ;
32666 PyObject
* obj1
= 0 ;
32667 PyObject
* obj2
= 0 ;
32668 char * kwnames
[] = {
32669 (char *) "self",(char *) "col",(char *) "image", NULL
32672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32674 if (!SWIG_IsOK(res1
)) {
32675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32677 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32679 if (!SWIG_IsOK(ecode2
)) {
32680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32682 arg2
= static_cast< int >(val2
);
32683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32684 if (!SWIG_IsOK(ecode3
)) {
32685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32687 arg3
= static_cast< int >(val3
);
32689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32690 (arg1
)->SetColumnImage(arg2
,arg3
);
32691 wxPyEndAllowThreads(__tstate
);
32692 if (PyErr_Occurred()) SWIG_fail
;
32694 resultobj
= SWIG_Py_Void();
32701 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32702 PyObject
*resultobj
= 0;
32703 wxListView
*arg1
= (wxListView
*) 0 ;
32709 PyObject
* obj0
= 0 ;
32710 PyObject
* obj1
= 0 ;
32711 char * kwnames
[] = {
32712 (char *) "self",(char *) "col", NULL
32715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32717 if (!SWIG_IsOK(res1
)) {
32718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32720 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32722 if (!SWIG_IsOK(ecode2
)) {
32723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32725 arg2
= static_cast< int >(val2
);
32727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32728 (arg1
)->ClearColumnImage(arg2
);
32729 wxPyEndAllowThreads(__tstate
);
32730 if (PyErr_Occurred()) SWIG_fail
;
32732 resultobj
= SWIG_Py_Void();
32739 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32742 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32743 return SWIG_Py_Void();
32746 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32747 return SWIG_Python_InitShadowInstance(args
);
32750 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32751 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32756 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32757 PyObject
*pyobj
= 0;
32761 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32763 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32770 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32771 PyObject
*resultobj
= 0;
32772 wxTreeItemId
*result
= 0 ;
32774 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32777 result
= (wxTreeItemId
*)new wxTreeItemId();
32778 wxPyEndAllowThreads(__tstate
);
32779 if (PyErr_Occurred()) SWIG_fail
;
32781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32788 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32789 PyObject
*resultobj
= 0;
32790 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32793 PyObject
*swig_obj
[1] ;
32795 if (!args
) SWIG_fail
;
32796 swig_obj
[0] = args
;
32797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32798 if (!SWIG_IsOK(res1
)) {
32799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32801 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32806 wxPyEndAllowThreads(__tstate
);
32807 if (PyErr_Occurred()) SWIG_fail
;
32809 resultobj
= SWIG_Py_Void();
32816 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32817 PyObject
*resultobj
= 0;
32818 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32822 PyObject
*swig_obj
[1] ;
32824 if (!args
) SWIG_fail
;
32825 swig_obj
[0] = args
;
32826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32827 if (!SWIG_IsOK(res1
)) {
32828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32830 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32833 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32834 wxPyEndAllowThreads(__tstate
);
32835 if (PyErr_Occurred()) SWIG_fail
;
32838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32846 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32847 PyObject
*resultobj
= 0;
32848 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32849 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32855 PyObject
* obj0
= 0 ;
32856 PyObject
* obj1
= 0 ;
32857 char * kwnames
[] = {
32858 (char *) "self",(char *) "other", NULL
32861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32863 if (!SWIG_IsOK(res1
)) {
32864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32866 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32867 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32868 if (!SWIG_IsOK(res2
)) {
32869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32871 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32874 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32875 wxPyEndAllowThreads(__tstate
);
32876 if (PyErr_Occurred()) SWIG_fail
;
32879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32887 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32888 PyObject
*resultobj
= 0;
32889 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32890 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32896 PyObject
* obj0
= 0 ;
32897 PyObject
* obj1
= 0 ;
32898 char * kwnames
[] = {
32899 (char *) "self",(char *) "other", NULL
32902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32904 if (!SWIG_IsOK(res1
)) {
32905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32907 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32908 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32909 if (!SWIG_IsOK(res2
)) {
32910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32912 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32915 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32916 wxPyEndAllowThreads(__tstate
);
32917 if (PyErr_Occurred()) SWIG_fail
;
32920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32928 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32929 PyObject
*resultobj
= 0;
32930 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32931 void *arg2
= (void *) 0 ;
32935 PyObject
*swig_obj
[2] ;
32937 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32939 if (!SWIG_IsOK(res1
)) {
32940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32942 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32943 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32944 if (!SWIG_IsOK(res2
)) {
32945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32947 if (arg1
) (arg1
)->m_pItem
= arg2
;
32949 resultobj
= SWIG_Py_Void();
32956 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32957 PyObject
*resultobj
= 0;
32958 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32962 PyObject
*swig_obj
[1] ;
32964 if (!args
) SWIG_fail
;
32965 swig_obj
[0] = args
;
32966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32967 if (!SWIG_IsOK(res1
)) {
32968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32970 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32971 result
= (void *) ((arg1
)->m_pItem
);
32972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32979 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32982 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32983 return SWIG_Py_Void();
32986 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32987 return SWIG_Python_InitShadowInstance(args
);
32990 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32991 PyObject
*resultobj
= 0;
32992 PyObject
*arg1
= (PyObject
*) NULL
;
32993 wxPyTreeItemData
*result
= 0 ;
32994 PyObject
* obj0
= 0 ;
32995 char * kwnames
[] = {
32996 (char *) "obj", NULL
32999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
33004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33005 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
33006 wxPyEndAllowThreads(__tstate
);
33007 if (PyErr_Occurred()) SWIG_fail
;
33009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
33016 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33017 PyObject
*resultobj
= 0;
33018 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33021 PyObject
*swig_obj
[1] ;
33023 if (!args
) SWIG_fail
;
33024 swig_obj
[0] = args
;
33025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33026 if (!SWIG_IsOK(res1
)) {
33027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33029 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33034 wxPyEndAllowThreads(__tstate
);
33035 if (PyErr_Occurred()) SWIG_fail
;
33037 resultobj
= SWIG_Py_Void();
33044 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33045 PyObject
*resultobj
= 0;
33046 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33047 PyObject
*result
= 0 ;
33050 PyObject
*swig_obj
[1] ;
33052 if (!args
) SWIG_fail
;
33053 swig_obj
[0] = args
;
33054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33055 if (!SWIG_IsOK(res1
)) {
33056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33058 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33061 result
= (PyObject
*)(arg1
)->GetData();
33062 wxPyEndAllowThreads(__tstate
);
33063 if (PyErr_Occurred()) SWIG_fail
;
33065 resultobj
= result
;
33072 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33073 PyObject
*resultobj
= 0;
33074 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33075 PyObject
*arg2
= (PyObject
*) 0 ;
33078 PyObject
* obj0
= 0 ;
33079 PyObject
* obj1
= 0 ;
33080 char * kwnames
[] = {
33081 (char *) "self",(char *) "obj", NULL
33084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33086 if (!SWIG_IsOK(res1
)) {
33087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33089 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33093 (arg1
)->SetData(arg2
);
33094 wxPyEndAllowThreads(__tstate
);
33095 if (PyErr_Occurred()) SWIG_fail
;
33097 resultobj
= SWIG_Py_Void();
33104 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33105 PyObject
*resultobj
= 0;
33106 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33107 wxTreeItemId
*result
= 0 ;
33110 PyObject
*swig_obj
[1] ;
33112 if (!args
) SWIG_fail
;
33113 swig_obj
[0] = args
;
33114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33115 if (!SWIG_IsOK(res1
)) {
33116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33118 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33122 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33123 result
= (wxTreeItemId
*) &_result_ref
;
33125 wxPyEndAllowThreads(__tstate
);
33126 if (PyErr_Occurred()) SWIG_fail
;
33128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33135 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33136 PyObject
*resultobj
= 0;
33137 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33138 wxTreeItemId
*arg2
= 0 ;
33143 PyObject
* obj0
= 0 ;
33144 PyObject
* obj1
= 0 ;
33145 char * kwnames
[] = {
33146 (char *) "self",(char *) "id", NULL
33149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33151 if (!SWIG_IsOK(res1
)) {
33152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33154 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33155 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33156 if (!SWIG_IsOK(res2
)) {
33157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33162 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33165 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33166 wxPyEndAllowThreads(__tstate
);
33167 if (PyErr_Occurred()) SWIG_fail
;
33169 resultobj
= SWIG_Py_Void();
33176 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33177 PyObject
*resultobj
= 0;
33178 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33181 PyObject
*swig_obj
[1] ;
33183 if (!args
) SWIG_fail
;
33184 swig_obj
[0] = args
;
33185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33186 if (!SWIG_IsOK(res1
)) {
33187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33189 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33192 wxPyTreeItemData_Destroy(arg1
);
33193 wxPyEndAllowThreads(__tstate
);
33194 if (PyErr_Occurred()) SWIG_fail
;
33196 resultobj
= SWIG_Py_Void();
33203 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33206 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33207 return SWIG_Py_Void();
33210 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33211 return SWIG_Python_InitShadowInstance(args
);
33214 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33217 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33218 if (!SWIG_IsOK(res
)) {
33219 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33224 wxTreeItemId
* temp
;
33225 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33226 wxNullTreeItemId
= *temp
;
33227 if (SWIG_IsNewObj(res
)) delete temp
;
33236 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33237 PyObject
*pyobj
= 0;
33239 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33244 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33245 PyObject
*resultobj
= 0;
33246 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33247 int arg2
= (int) 0 ;
33248 wxTreeEvent
*result
= 0 ;
33254 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33256 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33257 if (!SWIG_IsOK(ecode1
)) {
33258 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33260 arg1
= static_cast< wxEventType
>(val1
);
33263 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33264 if (!SWIG_IsOK(ecode2
)) {
33265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33267 arg2
= static_cast< int >(val2
);
33270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33271 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33272 wxPyEndAllowThreads(__tstate
);
33273 if (PyErr_Occurred()) SWIG_fail
;
33275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33282 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33283 PyObject
*resultobj
= 0;
33285 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33286 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33287 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33288 wxTreeEvent
*result
= 0 ;
33296 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33297 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33298 if (!SWIG_IsOK(ecode1
)) {
33299 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33301 arg1
= static_cast< wxEventType
>(val1
);
33302 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33303 if (!SWIG_IsOK(res2
)) {
33304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33306 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33308 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33309 if (!SWIG_IsOK(res3
)) {
33310 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33315 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33319 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33320 wxPyEndAllowThreads(__tstate
);
33321 if (PyErr_Occurred()) SWIG_fail
;
33323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33330 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33334 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33336 if ((argc
>= 0) && (argc
<= 2)) {
33341 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33342 _v
= SWIG_CheckState(res
);
33345 if (!_v
) goto check_1
;
33347 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33351 if ((argc
>= 2) && (argc
<= 3)) {
33352 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33356 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33361 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33362 PyObject
*resultobj
= 0;
33363 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33364 wxTreeItemId result
;
33367 PyObject
*swig_obj
[1] ;
33369 if (!args
) SWIG_fail
;
33370 swig_obj
[0] = args
;
33371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33372 if (!SWIG_IsOK(res1
)) {
33373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33375 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33378 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33379 wxPyEndAllowThreads(__tstate
);
33380 if (PyErr_Occurred()) SWIG_fail
;
33382 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33389 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33390 PyObject
*resultobj
= 0;
33391 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33392 wxTreeItemId
*arg2
= 0 ;
33397 PyObject
* obj0
= 0 ;
33398 PyObject
* obj1
= 0 ;
33399 char * kwnames
[] = {
33400 (char *) "self",(char *) "item", NULL
33403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33405 if (!SWIG_IsOK(res1
)) {
33406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33408 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33409 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33410 if (!SWIG_IsOK(res2
)) {
33411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33416 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33419 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33420 wxPyEndAllowThreads(__tstate
);
33421 if (PyErr_Occurred()) SWIG_fail
;
33423 resultobj
= SWIG_Py_Void();
33430 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33431 PyObject
*resultobj
= 0;
33432 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33433 wxTreeItemId result
;
33436 PyObject
*swig_obj
[1] ;
33438 if (!args
) SWIG_fail
;
33439 swig_obj
[0] = args
;
33440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33441 if (!SWIG_IsOK(res1
)) {
33442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33444 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33447 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33448 wxPyEndAllowThreads(__tstate
);
33449 if (PyErr_Occurred()) SWIG_fail
;
33451 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33458 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33459 PyObject
*resultobj
= 0;
33460 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33461 wxTreeItemId
*arg2
= 0 ;
33466 PyObject
* obj0
= 0 ;
33467 PyObject
* obj1
= 0 ;
33468 char * kwnames
[] = {
33469 (char *) "self",(char *) "item", NULL
33472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33474 if (!SWIG_IsOK(res1
)) {
33475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33477 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33478 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33479 if (!SWIG_IsOK(res2
)) {
33480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33485 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33488 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33489 wxPyEndAllowThreads(__tstate
);
33490 if (PyErr_Occurred()) SWIG_fail
;
33492 resultobj
= SWIG_Py_Void();
33499 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33500 PyObject
*resultobj
= 0;
33501 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33505 PyObject
*swig_obj
[1] ;
33507 if (!args
) SWIG_fail
;
33508 swig_obj
[0] = args
;
33509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33510 if (!SWIG_IsOK(res1
)) {
33511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33513 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33516 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33517 wxPyEndAllowThreads(__tstate
);
33518 if (PyErr_Occurred()) SWIG_fail
;
33520 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33527 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33528 PyObject
*resultobj
= 0;
33529 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33530 wxPoint
*arg2
= 0 ;
33534 PyObject
* obj0
= 0 ;
33535 PyObject
* obj1
= 0 ;
33536 char * kwnames
[] = {
33537 (char *) "self",(char *) "pt", NULL
33540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33542 if (!SWIG_IsOK(res1
)) {
33543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33545 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33548 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33552 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33553 wxPyEndAllowThreads(__tstate
);
33554 if (PyErr_Occurred()) SWIG_fail
;
33556 resultobj
= SWIG_Py_Void();
33563 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33564 PyObject
*resultobj
= 0;
33565 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33566 wxKeyEvent
*result
= 0 ;
33569 PyObject
*swig_obj
[1] ;
33571 if (!args
) SWIG_fail
;
33572 swig_obj
[0] = args
;
33573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33574 if (!SWIG_IsOK(res1
)) {
33575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33577 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33581 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33582 result
= (wxKeyEvent
*) &_result_ref
;
33584 wxPyEndAllowThreads(__tstate
);
33585 if (PyErr_Occurred()) SWIG_fail
;
33587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33594 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33595 PyObject
*resultobj
= 0;
33596 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33600 PyObject
*swig_obj
[1] ;
33602 if (!args
) SWIG_fail
;
33603 swig_obj
[0] = args
;
33604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33605 if (!SWIG_IsOK(res1
)) {
33606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33608 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33611 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33612 wxPyEndAllowThreads(__tstate
);
33613 if (PyErr_Occurred()) SWIG_fail
;
33615 resultobj
= SWIG_From_int(static_cast< int >(result
));
33622 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33623 PyObject
*resultobj
= 0;
33624 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33625 wxKeyEvent
*arg2
= 0 ;
33630 PyObject
* obj0
= 0 ;
33631 PyObject
* obj1
= 0 ;
33632 char * kwnames
[] = {
33633 (char *) "self",(char *) "evt", NULL
33636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33638 if (!SWIG_IsOK(res1
)) {
33639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33641 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33642 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33643 if (!SWIG_IsOK(res2
)) {
33644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33649 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33652 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33653 wxPyEndAllowThreads(__tstate
);
33654 if (PyErr_Occurred()) SWIG_fail
;
33656 resultobj
= SWIG_Py_Void();
33663 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33664 PyObject
*resultobj
= 0;
33665 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33666 wxString
*result
= 0 ;
33669 PyObject
*swig_obj
[1] ;
33671 if (!args
) SWIG_fail
;
33672 swig_obj
[0] = args
;
33673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33674 if (!SWIG_IsOK(res1
)) {
33675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33677 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33681 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33682 result
= (wxString
*) &_result_ref
;
33684 wxPyEndAllowThreads(__tstate
);
33685 if (PyErr_Occurred()) SWIG_fail
;
33689 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33691 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33700 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33701 PyObject
*resultobj
= 0;
33702 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33703 wxString
*arg2
= 0 ;
33706 bool temp2
= false ;
33707 PyObject
* obj0
= 0 ;
33708 PyObject
* obj1
= 0 ;
33709 char * kwnames
[] = {
33710 (char *) "self",(char *) "label", NULL
33713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33715 if (!SWIG_IsOK(res1
)) {
33716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33718 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33720 arg2
= wxString_in_helper(obj1
);
33721 if (arg2
== NULL
) SWIG_fail
;
33725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33726 (arg1
)->SetLabel((wxString
const &)*arg2
);
33727 wxPyEndAllowThreads(__tstate
);
33728 if (PyErr_Occurred()) SWIG_fail
;
33730 resultobj
= SWIG_Py_Void();
33745 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33746 PyObject
*resultobj
= 0;
33747 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33751 PyObject
*swig_obj
[1] ;
33753 if (!args
) SWIG_fail
;
33754 swig_obj
[0] = args
;
33755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33756 if (!SWIG_IsOK(res1
)) {
33757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33759 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33762 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33763 wxPyEndAllowThreads(__tstate
);
33764 if (PyErr_Occurred()) SWIG_fail
;
33767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33775 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33776 PyObject
*resultobj
= 0;
33777 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33783 PyObject
* obj0
= 0 ;
33784 PyObject
* obj1
= 0 ;
33785 char * kwnames
[] = {
33786 (char *) "self",(char *) "editCancelled", NULL
33789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33791 if (!SWIG_IsOK(res1
)) {
33792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33794 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33795 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33796 if (!SWIG_IsOK(ecode2
)) {
33797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33799 arg2
= static_cast< bool >(val2
);
33801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33802 (arg1
)->SetEditCanceled(arg2
);
33803 wxPyEndAllowThreads(__tstate
);
33804 if (PyErr_Occurred()) SWIG_fail
;
33806 resultobj
= SWIG_Py_Void();
33813 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33814 PyObject
*resultobj
= 0;
33815 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33816 wxString
*arg2
= 0 ;
33819 bool temp2
= false ;
33820 PyObject
* obj0
= 0 ;
33821 PyObject
* obj1
= 0 ;
33822 char * kwnames
[] = {
33823 (char *) "self",(char *) "toolTip", NULL
33826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33828 if (!SWIG_IsOK(res1
)) {
33829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33831 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33833 arg2
= wxString_in_helper(obj1
);
33834 if (arg2
== NULL
) SWIG_fail
;
33838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33839 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33840 wxPyEndAllowThreads(__tstate
);
33841 if (PyErr_Occurred()) SWIG_fail
;
33843 resultobj
= SWIG_Py_Void();
33858 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33859 PyObject
*resultobj
= 0;
33860 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33864 PyObject
*swig_obj
[1] ;
33866 if (!args
) SWIG_fail
;
33867 swig_obj
[0] = args
;
33868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33869 if (!SWIG_IsOK(res1
)) {
33870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33872 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33875 result
= (arg1
)->GetToolTip();
33876 wxPyEndAllowThreads(__tstate
);
33877 if (PyErr_Occurred()) SWIG_fail
;
33881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33892 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33894 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33895 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33896 return SWIG_Py_Void();
33899 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33900 return SWIG_Python_InitShadowInstance(args
);
33903 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33904 PyObject
*resultobj
= 0;
33905 wxWindow
*arg1
= (wxWindow
*) 0 ;
33906 int arg2
= (int) -1 ;
33907 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33908 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33909 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33910 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33911 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33912 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33913 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33914 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33915 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33916 wxPyTreeCtrl
*result
= 0 ;
33927 bool temp7
= false ;
33928 PyObject
* obj0
= 0 ;
33929 PyObject
* obj1
= 0 ;
33930 PyObject
* obj2
= 0 ;
33931 PyObject
* obj3
= 0 ;
33932 PyObject
* obj4
= 0 ;
33933 PyObject
* obj5
= 0 ;
33934 PyObject
* obj6
= 0 ;
33935 char * kwnames
[] = {
33936 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33941 if (!SWIG_IsOK(res1
)) {
33942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33944 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33947 if (!SWIG_IsOK(ecode2
)) {
33948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33950 arg2
= static_cast< int >(val2
);
33955 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33961 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33965 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33966 if (!SWIG_IsOK(ecode5
)) {
33967 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33969 arg5
= static_cast< long >(val5
);
33972 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33973 if (!SWIG_IsOK(res6
)) {
33974 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33979 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33983 arg7
= wxString_in_helper(obj6
);
33984 if (arg7
== NULL
) SWIG_fail
;
33989 if (!wxPyCheckForApp()) SWIG_fail
;
33990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33991 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33992 wxPyEndAllowThreads(__tstate
);
33993 if (PyErr_Occurred()) SWIG_fail
;
33995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
34010 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34011 PyObject
*resultobj
= 0;
34012 wxPyTreeCtrl
*result
= 0 ;
34014 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
34016 if (!wxPyCheckForApp()) SWIG_fail
;
34017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34018 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
34019 wxPyEndAllowThreads(__tstate
);
34020 if (PyErr_Occurred()) SWIG_fail
;
34022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
34029 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34030 PyObject
*resultobj
= 0;
34031 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34032 wxWindow
*arg2
= (wxWindow
*) 0 ;
34033 int arg3
= (int) -1 ;
34034 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34035 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34036 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34037 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34038 long arg6
= (long) wxTR_DEFAULT_STYLE
;
34039 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34040 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34041 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
34042 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34056 bool temp8
= false ;
34057 PyObject
* obj0
= 0 ;
34058 PyObject
* obj1
= 0 ;
34059 PyObject
* obj2
= 0 ;
34060 PyObject
* obj3
= 0 ;
34061 PyObject
* obj4
= 0 ;
34062 PyObject
* obj5
= 0 ;
34063 PyObject
* obj6
= 0 ;
34064 PyObject
* obj7
= 0 ;
34065 char * kwnames
[] = {
34066 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34071 if (!SWIG_IsOK(res1
)) {
34072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34074 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34075 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34076 if (!SWIG_IsOK(res2
)) {
34077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34079 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34081 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34082 if (!SWIG_IsOK(ecode3
)) {
34083 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34085 arg3
= static_cast< int >(val3
);
34090 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34096 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34100 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34101 if (!SWIG_IsOK(ecode6
)) {
34102 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34104 arg6
= static_cast< long >(val6
);
34107 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34108 if (!SWIG_IsOK(res7
)) {
34109 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34114 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34118 arg8
= wxString_in_helper(obj7
);
34119 if (arg8
== NULL
) SWIG_fail
;
34124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34125 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34126 wxPyEndAllowThreads(__tstate
);
34127 if (PyErr_Occurred()) SWIG_fail
;
34130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34146 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34147 PyObject
*resultobj
= 0;
34148 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34149 PyObject
*arg2
= (PyObject
*) 0 ;
34150 PyObject
*arg3
= (PyObject
*) 0 ;
34153 PyObject
* obj0
= 0 ;
34154 PyObject
* obj1
= 0 ;
34155 PyObject
* obj2
= 0 ;
34156 char * kwnames
[] = {
34157 (char *) "self",(char *) "self",(char *) "_class", NULL
34160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34162 if (!SWIG_IsOK(res1
)) {
34163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34165 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34170 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34171 wxPyEndAllowThreads(__tstate
);
34172 if (PyErr_Occurred()) SWIG_fail
;
34174 resultobj
= SWIG_Py_Void();
34181 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34182 PyObject
*resultobj
= 0;
34183 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34184 unsigned int result
;
34187 PyObject
*swig_obj
[1] ;
34189 if (!args
) SWIG_fail
;
34190 swig_obj
[0] = args
;
34191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34192 if (!SWIG_IsOK(res1
)) {
34193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34195 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34198 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34199 wxPyEndAllowThreads(__tstate
);
34200 if (PyErr_Occurred()) SWIG_fail
;
34202 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34209 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34210 PyObject
*resultobj
= 0;
34211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34212 unsigned int result
;
34215 PyObject
*swig_obj
[1] ;
34217 if (!args
) SWIG_fail
;
34218 swig_obj
[0] = args
;
34219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34220 if (!SWIG_IsOK(res1
)) {
34221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34223 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34226 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34227 wxPyEndAllowThreads(__tstate
);
34228 if (PyErr_Occurred()) SWIG_fail
;
34230 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34237 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34238 PyObject
*resultobj
= 0;
34239 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34240 unsigned int arg2
;
34243 unsigned int val2
;
34245 PyObject
* obj0
= 0 ;
34246 PyObject
* obj1
= 0 ;
34247 char * kwnames
[] = {
34248 (char *) "self",(char *) "indent", NULL
34251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34253 if (!SWIG_IsOK(res1
)) {
34254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34256 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34257 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34258 if (!SWIG_IsOK(ecode2
)) {
34259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34261 arg2
= static_cast< unsigned int >(val2
);
34263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34264 (arg1
)->SetIndent(arg2
);
34265 wxPyEndAllowThreads(__tstate
);
34266 if (PyErr_Occurred()) SWIG_fail
;
34268 resultobj
= SWIG_Py_Void();
34275 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34276 PyObject
*resultobj
= 0;
34277 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34278 unsigned int result
;
34281 PyObject
*swig_obj
[1] ;
34283 if (!args
) SWIG_fail
;
34284 swig_obj
[0] = args
;
34285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34286 if (!SWIG_IsOK(res1
)) {
34287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34289 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34292 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34293 wxPyEndAllowThreads(__tstate
);
34294 if (PyErr_Occurred()) SWIG_fail
;
34296 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34303 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34304 PyObject
*resultobj
= 0;
34305 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34306 unsigned int arg2
;
34309 unsigned int val2
;
34311 PyObject
* obj0
= 0 ;
34312 PyObject
* obj1
= 0 ;
34313 char * kwnames
[] = {
34314 (char *) "self",(char *) "spacing", NULL
34317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34319 if (!SWIG_IsOK(res1
)) {
34320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34322 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34323 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34324 if (!SWIG_IsOK(ecode2
)) {
34325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34327 arg2
= static_cast< unsigned int >(val2
);
34329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34330 (arg1
)->SetSpacing(arg2
);
34331 wxPyEndAllowThreads(__tstate
);
34332 if (PyErr_Occurred()) SWIG_fail
;
34334 resultobj
= SWIG_Py_Void();
34341 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34342 PyObject
*resultobj
= 0;
34343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34344 wxImageList
*result
= 0 ;
34347 PyObject
*swig_obj
[1] ;
34349 if (!args
) SWIG_fail
;
34350 swig_obj
[0] = args
;
34351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34352 if (!SWIG_IsOK(res1
)) {
34353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34355 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34358 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34359 wxPyEndAllowThreads(__tstate
);
34360 if (PyErr_Occurred()) SWIG_fail
;
34363 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34371 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34372 PyObject
*resultobj
= 0;
34373 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34374 wxImageList
*result
= 0 ;
34377 PyObject
*swig_obj
[1] ;
34379 if (!args
) SWIG_fail
;
34380 swig_obj
[0] = args
;
34381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34382 if (!SWIG_IsOK(res1
)) {
34383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34385 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34388 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34389 wxPyEndAllowThreads(__tstate
);
34390 if (PyErr_Occurred()) SWIG_fail
;
34393 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34401 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34402 PyObject
*resultobj
= 0;
34403 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34404 wxImageList
*arg2
= (wxImageList
*) 0 ;
34409 PyObject
* obj0
= 0 ;
34410 PyObject
* obj1
= 0 ;
34411 char * kwnames
[] = {
34412 (char *) "self",(char *) "imageList", NULL
34415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34417 if (!SWIG_IsOK(res1
)) {
34418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34420 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34421 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34422 if (!SWIG_IsOK(res2
)) {
34423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34425 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34428 (arg1
)->SetImageList(arg2
);
34429 wxPyEndAllowThreads(__tstate
);
34430 if (PyErr_Occurred()) SWIG_fail
;
34432 resultobj
= SWIG_Py_Void();
34439 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34440 PyObject
*resultobj
= 0;
34441 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34442 wxImageList
*arg2
= (wxImageList
*) 0 ;
34447 PyObject
* obj0
= 0 ;
34448 PyObject
* obj1
= 0 ;
34449 char * kwnames
[] = {
34450 (char *) "self",(char *) "imageList", NULL
34453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34455 if (!SWIG_IsOK(res1
)) {
34456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34458 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34459 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34460 if (!SWIG_IsOK(res2
)) {
34461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34463 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34466 (arg1
)->SetStateImageList(arg2
);
34467 wxPyEndAllowThreads(__tstate
);
34468 if (PyErr_Occurred()) SWIG_fail
;
34470 resultobj
= SWIG_Py_Void();
34477 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34478 PyObject
*resultobj
= 0;
34479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34480 wxImageList
*arg2
= (wxImageList
*) 0 ;
34484 PyObject
* obj0
= 0 ;
34485 PyObject
* obj1
= 0 ;
34486 char * kwnames
[] = {
34487 (char *) "self",(char *) "imageList", NULL
34490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34492 if (!SWIG_IsOK(res1
)) {
34493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34495 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34496 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34497 if (!SWIG_IsOK(res2
)) {
34498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34502 (arg1
)->AssignImageList(arg2
);
34503 wxPyEndAllowThreads(__tstate
);
34504 if (PyErr_Occurred()) SWIG_fail
;
34506 resultobj
= SWIG_Py_Void();
34513 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34514 PyObject
*resultobj
= 0;
34515 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34516 wxImageList
*arg2
= (wxImageList
*) 0 ;
34520 PyObject
* obj0
= 0 ;
34521 PyObject
* obj1
= 0 ;
34522 char * kwnames
[] = {
34523 (char *) "self",(char *) "imageList", NULL
34526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34528 if (!SWIG_IsOK(res1
)) {
34529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34531 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34532 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34533 if (!SWIG_IsOK(res2
)) {
34534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34538 (arg1
)->AssignStateImageList(arg2
);
34539 wxPyEndAllowThreads(__tstate
);
34540 if (PyErr_Occurred()) SWIG_fail
;
34542 resultobj
= SWIG_Py_Void();
34549 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34550 PyObject
*resultobj
= 0;
34551 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34552 wxTreeItemId
*arg2
= 0 ;
34558 PyObject
* obj0
= 0 ;
34559 PyObject
* obj1
= 0 ;
34560 char * kwnames
[] = {
34561 (char *) "self",(char *) "item", NULL
34564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34566 if (!SWIG_IsOK(res1
)) {
34567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34569 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34570 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34571 if (!SWIG_IsOK(res2
)) {
34572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34577 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34580 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34581 wxPyEndAllowThreads(__tstate
);
34582 if (PyErr_Occurred()) SWIG_fail
;
34586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34597 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34598 PyObject
*resultobj
= 0;
34599 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34600 wxTreeItemId
*arg2
= 0 ;
34601 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34609 PyObject
* obj0
= 0 ;
34610 PyObject
* obj1
= 0 ;
34611 PyObject
* obj2
= 0 ;
34612 char * kwnames
[] = {
34613 (char *) "self",(char *) "item",(char *) "which", NULL
34616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34618 if (!SWIG_IsOK(res1
)) {
34619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34621 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34623 if (!SWIG_IsOK(res2
)) {
34624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34629 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34631 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34632 if (!SWIG_IsOK(ecode3
)) {
34633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34635 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34639 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34640 wxPyEndAllowThreads(__tstate
);
34641 if (PyErr_Occurred()) SWIG_fail
;
34643 resultobj
= SWIG_From_int(static_cast< int >(result
));
34650 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34651 PyObject
*resultobj
= 0;
34652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34653 wxTreeItemId
*arg2
= 0 ;
34654 wxPyTreeItemData
*result
= 0 ;
34659 PyObject
* obj0
= 0 ;
34660 PyObject
* obj1
= 0 ;
34661 char * kwnames
[] = {
34662 (char *) "self",(char *) "item", NULL
34665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34667 if (!SWIG_IsOK(res1
)) {
34668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34670 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34672 if (!SWIG_IsOK(res2
)) {
34673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34678 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34681 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34682 wxPyEndAllowThreads(__tstate
);
34683 if (PyErr_Occurred()) SWIG_fail
;
34685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34692 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34693 PyObject
*resultobj
= 0;
34694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34695 wxTreeItemId
*arg2
= 0 ;
34696 PyObject
*result
= 0 ;
34701 PyObject
* obj0
= 0 ;
34702 PyObject
* obj1
= 0 ;
34703 char * kwnames
[] = {
34704 (char *) "self",(char *) "item", NULL
34707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34709 if (!SWIG_IsOK(res1
)) {
34710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34712 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34713 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34714 if (!SWIG_IsOK(res2
)) {
34715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34720 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34723 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34724 wxPyEndAllowThreads(__tstate
);
34725 if (PyErr_Occurred()) SWIG_fail
;
34727 resultobj
= result
;
34734 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34735 PyObject
*resultobj
= 0;
34736 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34737 wxTreeItemId
*arg2
= 0 ;
34743 PyObject
* obj0
= 0 ;
34744 PyObject
* obj1
= 0 ;
34745 char * kwnames
[] = {
34746 (char *) "self",(char *) "item", NULL
34749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34751 if (!SWIG_IsOK(res1
)) {
34752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34754 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34755 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34756 if (!SWIG_IsOK(res2
)) {
34757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34762 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34765 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34766 wxPyEndAllowThreads(__tstate
);
34767 if (PyErr_Occurred()) SWIG_fail
;
34769 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34776 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34777 PyObject
*resultobj
= 0;
34778 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34779 wxTreeItemId
*arg2
= 0 ;
34785 PyObject
* obj0
= 0 ;
34786 PyObject
* obj1
= 0 ;
34787 char * kwnames
[] = {
34788 (char *) "self",(char *) "item", NULL
34791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34793 if (!SWIG_IsOK(res1
)) {
34794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34796 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34797 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34798 if (!SWIG_IsOK(res2
)) {
34799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34804 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34807 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34808 wxPyEndAllowThreads(__tstate
);
34809 if (PyErr_Occurred()) SWIG_fail
;
34811 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34818 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34819 PyObject
*resultobj
= 0;
34820 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34821 wxTreeItemId
*arg2
= 0 ;
34827 PyObject
* obj0
= 0 ;
34828 PyObject
* obj1
= 0 ;
34829 char * kwnames
[] = {
34830 (char *) "self",(char *) "item", NULL
34833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34835 if (!SWIG_IsOK(res1
)) {
34836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34838 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34840 if (!SWIG_IsOK(res2
)) {
34841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34846 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34849 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34850 wxPyEndAllowThreads(__tstate
);
34851 if (PyErr_Occurred()) SWIG_fail
;
34853 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34860 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34861 PyObject
*resultobj
= 0;
34862 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34863 wxTreeItemId
*arg2
= 0 ;
34864 wxString
*arg3
= 0 ;
34869 bool temp3
= false ;
34870 PyObject
* obj0
= 0 ;
34871 PyObject
* obj1
= 0 ;
34872 PyObject
* obj2
= 0 ;
34873 char * kwnames
[] = {
34874 (char *) "self",(char *) "item",(char *) "text", NULL
34877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34879 if (!SWIG_IsOK(res1
)) {
34880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34882 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34883 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34884 if (!SWIG_IsOK(res2
)) {
34885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34890 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34892 arg3
= wxString_in_helper(obj2
);
34893 if (arg3
== NULL
) SWIG_fail
;
34897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34898 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34899 wxPyEndAllowThreads(__tstate
);
34900 if (PyErr_Occurred()) SWIG_fail
;
34902 resultobj
= SWIG_Py_Void();
34917 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34918 PyObject
*resultobj
= 0;
34919 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34920 wxTreeItemId
*arg2
= 0 ;
34922 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34931 PyObject
* obj0
= 0 ;
34932 PyObject
* obj1
= 0 ;
34933 PyObject
* obj2
= 0 ;
34934 PyObject
* obj3
= 0 ;
34935 char * kwnames
[] = {
34936 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34941 if (!SWIG_IsOK(res1
)) {
34942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34944 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34945 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34946 if (!SWIG_IsOK(res2
)) {
34947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34952 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34954 if (!SWIG_IsOK(ecode3
)) {
34955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34957 arg3
= static_cast< int >(val3
);
34959 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34960 if (!SWIG_IsOK(ecode4
)) {
34961 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34963 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34967 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34968 wxPyEndAllowThreads(__tstate
);
34969 if (PyErr_Occurred()) SWIG_fail
;
34971 resultobj
= SWIG_Py_Void();
34978 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34979 PyObject
*resultobj
= 0;
34980 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34981 wxTreeItemId
*arg2
= 0 ;
34982 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34988 PyObject
* obj0
= 0 ;
34989 PyObject
* obj1
= 0 ;
34990 PyObject
* obj2
= 0 ;
34991 char * kwnames
[] = {
34992 (char *) "self",(char *) "item",(char *) "data", NULL
34995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34997 if (!SWIG_IsOK(res1
)) {
34998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35000 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35001 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35002 if (!SWIG_IsOK(res2
)) {
35003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35008 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35009 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35010 if (!SWIG_IsOK(res3
)) {
35011 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35015 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35016 wxPyEndAllowThreads(__tstate
);
35017 if (PyErr_Occurred()) SWIG_fail
;
35019 resultobj
= SWIG_Py_Void();
35026 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35027 PyObject
*resultobj
= 0;
35028 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35029 wxTreeItemId
*arg2
= 0 ;
35030 PyObject
*arg3
= (PyObject
*) 0 ;
35035 PyObject
* obj0
= 0 ;
35036 PyObject
* obj1
= 0 ;
35037 PyObject
* obj2
= 0 ;
35038 char * kwnames
[] = {
35039 (char *) "self",(char *) "item",(char *) "obj", NULL
35042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35044 if (!SWIG_IsOK(res1
)) {
35045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35047 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35048 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35049 if (!SWIG_IsOK(res2
)) {
35050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35055 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35059 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35060 wxPyEndAllowThreads(__tstate
);
35061 if (PyErr_Occurred()) SWIG_fail
;
35063 resultobj
= SWIG_Py_Void();
35070 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35071 PyObject
*resultobj
= 0;
35072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35073 wxTreeItemId
*arg2
= 0 ;
35074 bool arg3
= (bool) true ;
35081 PyObject
* obj0
= 0 ;
35082 PyObject
* obj1
= 0 ;
35083 PyObject
* obj2
= 0 ;
35084 char * kwnames
[] = {
35085 (char *) "self",(char *) "item",(char *) "has", NULL
35088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35090 if (!SWIG_IsOK(res1
)) {
35091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35093 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35094 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35095 if (!SWIG_IsOK(res2
)) {
35096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35101 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35103 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35104 if (!SWIG_IsOK(ecode3
)) {
35105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35107 arg3
= static_cast< bool >(val3
);
35110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35111 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35112 wxPyEndAllowThreads(__tstate
);
35113 if (PyErr_Occurred()) SWIG_fail
;
35115 resultobj
= SWIG_Py_Void();
35122 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35123 PyObject
*resultobj
= 0;
35124 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35125 wxTreeItemId
*arg2
= 0 ;
35126 bool arg3
= (bool) true ;
35133 PyObject
* obj0
= 0 ;
35134 PyObject
* obj1
= 0 ;
35135 PyObject
* obj2
= 0 ;
35136 char * kwnames
[] = {
35137 (char *) "self",(char *) "item",(char *) "bold", NULL
35140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35142 if (!SWIG_IsOK(res1
)) {
35143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35145 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35147 if (!SWIG_IsOK(res2
)) {
35148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35153 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35155 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35156 if (!SWIG_IsOK(ecode3
)) {
35157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35159 arg3
= static_cast< bool >(val3
);
35162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35163 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35164 wxPyEndAllowThreads(__tstate
);
35165 if (PyErr_Occurred()) SWIG_fail
;
35167 resultobj
= SWIG_Py_Void();
35174 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35175 PyObject
*resultobj
= 0;
35176 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35177 wxTreeItemId
*arg2
= 0 ;
35178 bool arg3
= (bool) true ;
35185 PyObject
* obj0
= 0 ;
35186 PyObject
* obj1
= 0 ;
35187 PyObject
* obj2
= 0 ;
35188 char * kwnames
[] = {
35189 (char *) "self",(char *) "item",(char *) "highlight", NULL
35192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35194 if (!SWIG_IsOK(res1
)) {
35195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35197 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35199 if (!SWIG_IsOK(res2
)) {
35200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35205 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35207 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35208 if (!SWIG_IsOK(ecode3
)) {
35209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35211 arg3
= static_cast< bool >(val3
);
35214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35215 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35216 wxPyEndAllowThreads(__tstate
);
35217 if (PyErr_Occurred()) SWIG_fail
;
35219 resultobj
= SWIG_Py_Void();
35226 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35227 PyObject
*resultobj
= 0;
35228 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35229 wxTreeItemId
*arg2
= 0 ;
35230 wxColour
*arg3
= 0 ;
35236 PyObject
* obj0
= 0 ;
35237 PyObject
* obj1
= 0 ;
35238 PyObject
* obj2
= 0 ;
35239 char * kwnames
[] = {
35240 (char *) "self",(char *) "item",(char *) "col", NULL
35243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35245 if (!SWIG_IsOK(res1
)) {
35246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35248 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35249 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35250 if (!SWIG_IsOK(res2
)) {
35251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35256 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35259 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35263 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35264 wxPyEndAllowThreads(__tstate
);
35265 if (PyErr_Occurred()) SWIG_fail
;
35267 resultobj
= SWIG_Py_Void();
35274 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35275 PyObject
*resultobj
= 0;
35276 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35277 wxTreeItemId
*arg2
= 0 ;
35278 wxColour
*arg3
= 0 ;
35284 PyObject
* obj0
= 0 ;
35285 PyObject
* obj1
= 0 ;
35286 PyObject
* obj2
= 0 ;
35287 char * kwnames
[] = {
35288 (char *) "self",(char *) "item",(char *) "col", NULL
35291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35293 if (!SWIG_IsOK(res1
)) {
35294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35296 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35298 if (!SWIG_IsOK(res2
)) {
35299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35304 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35307 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35311 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35312 wxPyEndAllowThreads(__tstate
);
35313 if (PyErr_Occurred()) SWIG_fail
;
35315 resultobj
= SWIG_Py_Void();
35322 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35323 PyObject
*resultobj
= 0;
35324 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35325 wxTreeItemId
*arg2
= 0 ;
35333 PyObject
* obj0
= 0 ;
35334 PyObject
* obj1
= 0 ;
35335 PyObject
* obj2
= 0 ;
35336 char * kwnames
[] = {
35337 (char *) "self",(char *) "item",(char *) "font", NULL
35340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35342 if (!SWIG_IsOK(res1
)) {
35343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35345 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35346 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35347 if (!SWIG_IsOK(res2
)) {
35348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35351 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35353 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35354 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35355 if (!SWIG_IsOK(res3
)) {
35356 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35361 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35364 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35365 wxPyEndAllowThreads(__tstate
);
35366 if (PyErr_Occurred()) SWIG_fail
;
35368 resultobj
= SWIG_Py_Void();
35375 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35376 PyObject
*resultobj
= 0;
35377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35378 wxTreeItemId
*arg2
= 0 ;
35384 PyObject
* obj0
= 0 ;
35385 PyObject
* obj1
= 0 ;
35386 char * kwnames
[] = {
35387 (char *) "self",(char *) "item", NULL
35390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35392 if (!SWIG_IsOK(res1
)) {
35393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35395 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35396 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35397 if (!SWIG_IsOK(res2
)) {
35398 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35403 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35406 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35407 wxPyEndAllowThreads(__tstate
);
35408 if (PyErr_Occurred()) SWIG_fail
;
35411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35419 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35420 PyObject
*resultobj
= 0;
35421 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35422 wxTreeItemId
*arg2
= 0 ;
35428 PyObject
* obj0
= 0 ;
35429 PyObject
* obj1
= 0 ;
35430 char * kwnames
[] = {
35431 (char *) "self",(char *) "item", NULL
35434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35436 if (!SWIG_IsOK(res1
)) {
35437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35439 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35440 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35441 if (!SWIG_IsOK(res2
)) {
35442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35447 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35450 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35451 wxPyEndAllowThreads(__tstate
);
35452 if (PyErr_Occurred()) SWIG_fail
;
35455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35463 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35464 PyObject
*resultobj
= 0;
35465 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35466 wxTreeItemId
*arg2
= 0 ;
35472 PyObject
* obj0
= 0 ;
35473 PyObject
* obj1
= 0 ;
35474 char * kwnames
[] = {
35475 (char *) "self",(char *) "item", NULL
35478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35480 if (!SWIG_IsOK(res1
)) {
35481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35483 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35484 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35485 if (!SWIG_IsOK(res2
)) {
35486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35491 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35494 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35495 wxPyEndAllowThreads(__tstate
);
35496 if (PyErr_Occurred()) SWIG_fail
;
35499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35507 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35508 PyObject
*resultobj
= 0;
35509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35510 wxTreeItemId
*arg2
= 0 ;
35516 PyObject
* obj0
= 0 ;
35517 PyObject
* obj1
= 0 ;
35518 char * kwnames
[] = {
35519 (char *) "self",(char *) "item", NULL
35522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35524 if (!SWIG_IsOK(res1
)) {
35525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35527 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35528 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35529 if (!SWIG_IsOK(res2
)) {
35530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35533 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35535 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35538 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35539 wxPyEndAllowThreads(__tstate
);
35540 if (PyErr_Occurred()) SWIG_fail
;
35543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35551 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35552 PyObject
*resultobj
= 0;
35553 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35554 wxTreeItemId
*arg2
= 0 ;
35560 PyObject
* obj0
= 0 ;
35561 PyObject
* obj1
= 0 ;
35562 char * kwnames
[] = {
35563 (char *) "self",(char *) "item", NULL
35566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35568 if (!SWIG_IsOK(res1
)) {
35569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35571 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35572 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35573 if (!SWIG_IsOK(res2
)) {
35574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35579 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35582 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35583 wxPyEndAllowThreads(__tstate
);
35584 if (PyErr_Occurred()) SWIG_fail
;
35587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35595 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35596 PyObject
*resultobj
= 0;
35597 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35598 wxTreeItemId
*arg2
= 0 ;
35599 bool arg3
= (bool) true ;
35607 PyObject
* obj0
= 0 ;
35608 PyObject
* obj1
= 0 ;
35609 PyObject
* obj2
= 0 ;
35610 char * kwnames
[] = {
35611 (char *) "self",(char *) "item",(char *) "recursively", NULL
35614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35616 if (!SWIG_IsOK(res1
)) {
35617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35619 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35620 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35621 if (!SWIG_IsOK(res2
)) {
35622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35627 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35629 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35630 if (!SWIG_IsOK(ecode3
)) {
35631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35633 arg3
= static_cast< bool >(val3
);
35636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35637 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35638 wxPyEndAllowThreads(__tstate
);
35639 if (PyErr_Occurred()) SWIG_fail
;
35641 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35648 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35649 PyObject
*resultobj
= 0;
35650 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35651 wxTreeItemId result
;
35654 PyObject
*swig_obj
[1] ;
35656 if (!args
) SWIG_fail
;
35657 swig_obj
[0] = args
;
35658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35659 if (!SWIG_IsOK(res1
)) {
35660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35662 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35665 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35666 wxPyEndAllowThreads(__tstate
);
35667 if (PyErr_Occurred()) SWIG_fail
;
35669 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35676 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35677 PyObject
*resultobj
= 0;
35678 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35679 wxTreeItemId result
;
35682 PyObject
*swig_obj
[1] ;
35684 if (!args
) SWIG_fail
;
35685 swig_obj
[0] = args
;
35686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35687 if (!SWIG_IsOK(res1
)) {
35688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35690 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35693 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35694 wxPyEndAllowThreads(__tstate
);
35695 if (PyErr_Occurred()) SWIG_fail
;
35697 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35704 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35705 PyObject
*resultobj
= 0;
35706 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35707 PyObject
*result
= 0 ;
35710 PyObject
*swig_obj
[1] ;
35712 if (!args
) SWIG_fail
;
35713 swig_obj
[0] = args
;
35714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35715 if (!SWIG_IsOK(res1
)) {
35716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35718 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35721 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35722 wxPyEndAllowThreads(__tstate
);
35723 if (PyErr_Occurred()) SWIG_fail
;
35725 resultobj
= result
;
35732 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35733 PyObject
*resultobj
= 0;
35734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35735 wxTreeItemId
*arg2
= 0 ;
35736 wxTreeItemId result
;
35741 PyObject
* obj0
= 0 ;
35742 PyObject
* obj1
= 0 ;
35743 char * kwnames
[] = {
35744 (char *) "self",(char *) "item", NULL
35747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35749 if (!SWIG_IsOK(res1
)) {
35750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35752 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35753 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35754 if (!SWIG_IsOK(res2
)) {
35755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35760 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35763 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35764 wxPyEndAllowThreads(__tstate
);
35765 if (PyErr_Occurred()) SWIG_fail
;
35767 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35774 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35775 PyObject
*resultobj
= 0;
35776 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35777 wxTreeItemId
*arg2
= 0 ;
35778 PyObject
*result
= 0 ;
35783 PyObject
* obj0
= 0 ;
35784 PyObject
* obj1
= 0 ;
35785 char * kwnames
[] = {
35786 (char *) "self",(char *) "item", NULL
35789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35791 if (!SWIG_IsOK(res1
)) {
35792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35794 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35795 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35796 if (!SWIG_IsOK(res2
)) {
35797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35802 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35805 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35806 wxPyEndAllowThreads(__tstate
);
35807 if (PyErr_Occurred()) SWIG_fail
;
35809 resultobj
= result
;
35816 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35817 PyObject
*resultobj
= 0;
35818 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35819 wxTreeItemId
*arg2
= 0 ;
35820 void *arg3
= (void *) 0 ;
35821 PyObject
*result
= 0 ;
35827 PyObject
* obj0
= 0 ;
35828 PyObject
* obj1
= 0 ;
35829 PyObject
* obj2
= 0 ;
35830 char * kwnames
[] = {
35831 (char *) "self",(char *) "item",(char *) "cookie", NULL
35834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35836 if (!SWIG_IsOK(res1
)) {
35837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35839 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35840 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35841 if (!SWIG_IsOK(res2
)) {
35842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35847 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35848 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35849 if (!SWIG_IsOK(res3
)) {
35850 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35854 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35855 wxPyEndAllowThreads(__tstate
);
35856 if (PyErr_Occurred()) SWIG_fail
;
35858 resultobj
= result
;
35865 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35866 PyObject
*resultobj
= 0;
35867 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35868 wxTreeItemId
*arg2
= 0 ;
35869 wxTreeItemId result
;
35874 PyObject
* obj0
= 0 ;
35875 PyObject
* obj1
= 0 ;
35876 char * kwnames
[] = {
35877 (char *) "self",(char *) "item", NULL
35880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35882 if (!SWIG_IsOK(res1
)) {
35883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35885 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35886 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35887 if (!SWIG_IsOK(res2
)) {
35888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35893 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35896 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35897 wxPyEndAllowThreads(__tstate
);
35898 if (PyErr_Occurred()) SWIG_fail
;
35900 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35907 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35908 PyObject
*resultobj
= 0;
35909 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35910 wxTreeItemId
*arg2
= 0 ;
35911 wxTreeItemId result
;
35916 PyObject
* obj0
= 0 ;
35917 PyObject
* obj1
= 0 ;
35918 char * kwnames
[] = {
35919 (char *) "self",(char *) "item", NULL
35922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35924 if (!SWIG_IsOK(res1
)) {
35925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35927 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35928 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35929 if (!SWIG_IsOK(res2
)) {
35930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35935 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35938 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35939 wxPyEndAllowThreads(__tstate
);
35940 if (PyErr_Occurred()) SWIG_fail
;
35942 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35949 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35950 PyObject
*resultobj
= 0;
35951 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35952 wxTreeItemId
*arg2
= 0 ;
35953 wxTreeItemId result
;
35958 PyObject
* obj0
= 0 ;
35959 PyObject
* obj1
= 0 ;
35960 char * kwnames
[] = {
35961 (char *) "self",(char *) "item", NULL
35964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35966 if (!SWIG_IsOK(res1
)) {
35967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35969 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35970 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35971 if (!SWIG_IsOK(res2
)) {
35972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35977 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35980 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35981 wxPyEndAllowThreads(__tstate
);
35982 if (PyErr_Occurred()) SWIG_fail
;
35984 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35991 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35992 PyObject
*resultobj
= 0;
35993 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35994 wxTreeItemId result
;
35997 PyObject
*swig_obj
[1] ;
35999 if (!args
) SWIG_fail
;
36000 swig_obj
[0] = args
;
36001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36002 if (!SWIG_IsOK(res1
)) {
36003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36005 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36008 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
36009 wxPyEndAllowThreads(__tstate
);
36010 if (PyErr_Occurred()) SWIG_fail
;
36012 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36019 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36020 PyObject
*resultobj
= 0;
36021 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36022 wxTreeItemId
*arg2
= 0 ;
36023 wxTreeItemId result
;
36028 PyObject
* obj0
= 0 ;
36029 PyObject
* obj1
= 0 ;
36030 char * kwnames
[] = {
36031 (char *) "self",(char *) "item", NULL
36034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36036 if (!SWIG_IsOK(res1
)) {
36037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36039 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36040 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36041 if (!SWIG_IsOK(res2
)) {
36042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36047 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36050 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
36051 wxPyEndAllowThreads(__tstate
);
36052 if (PyErr_Occurred()) SWIG_fail
;
36054 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36061 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36062 PyObject
*resultobj
= 0;
36063 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36064 wxTreeItemId
*arg2
= 0 ;
36065 wxTreeItemId result
;
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_GetPrevVisible",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_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
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_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36089 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36092 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36093 wxPyEndAllowThreads(__tstate
);
36094 if (PyErr_Occurred()) SWIG_fail
;
36096 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36103 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36104 PyObject
*resultobj
= 0;
36105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36106 wxString
*arg2
= 0 ;
36107 int arg3
= (int) -1 ;
36108 int arg4
= (int) -1 ;
36109 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36110 wxTreeItemId result
;
36113 bool temp2
= false ;
36119 PyObject
* obj0
= 0 ;
36120 PyObject
* obj1
= 0 ;
36121 PyObject
* obj2
= 0 ;
36122 PyObject
* obj3
= 0 ;
36123 PyObject
* obj4
= 0 ;
36124 char * kwnames
[] = {
36125 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36130 if (!SWIG_IsOK(res1
)) {
36131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36133 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36135 arg2
= wxString_in_helper(obj1
);
36136 if (arg2
== NULL
) SWIG_fail
;
36140 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36141 if (!SWIG_IsOK(ecode3
)) {
36142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36144 arg3
= static_cast< int >(val3
);
36147 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36148 if (!SWIG_IsOK(ecode4
)) {
36149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36151 arg4
= static_cast< int >(val4
);
36154 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36155 if (!SWIG_IsOK(res5
)) {
36156 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36161 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36162 wxPyEndAllowThreads(__tstate
);
36163 if (PyErr_Occurred()) SWIG_fail
;
36165 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36180 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36181 PyObject
*resultobj
= 0;
36182 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36183 wxTreeItemId
*arg2
= 0 ;
36184 wxString
*arg3
= 0 ;
36185 int arg4
= (int) -1 ;
36186 int arg5
= (int) -1 ;
36187 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36188 wxTreeItemId result
;
36193 bool temp3
= false ;
36199 PyObject
* obj0
= 0 ;
36200 PyObject
* obj1
= 0 ;
36201 PyObject
* obj2
= 0 ;
36202 PyObject
* obj3
= 0 ;
36203 PyObject
* obj4
= 0 ;
36204 PyObject
* obj5
= 0 ;
36205 char * kwnames
[] = {
36206 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36211 if (!SWIG_IsOK(res1
)) {
36212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36214 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36216 if (!SWIG_IsOK(res2
)) {
36217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36222 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36224 arg3
= wxString_in_helper(obj2
);
36225 if (arg3
== NULL
) SWIG_fail
;
36229 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36230 if (!SWIG_IsOK(ecode4
)) {
36231 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36233 arg4
= static_cast< int >(val4
);
36236 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36237 if (!SWIG_IsOK(ecode5
)) {
36238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36240 arg5
= static_cast< int >(val5
);
36243 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36244 if (!SWIG_IsOK(res6
)) {
36245 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36250 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36251 wxPyEndAllowThreads(__tstate
);
36252 if (PyErr_Occurred()) SWIG_fail
;
36254 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36269 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36270 PyObject
*resultobj
= 0;
36271 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36272 wxTreeItemId
*arg2
= 0 ;
36273 wxTreeItemId
*arg3
= 0 ;
36274 wxString
*arg4
= 0 ;
36275 int arg5
= (int) -1 ;
36276 int arg6
= (int) -1 ;
36277 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36278 wxTreeItemId result
;
36285 bool temp4
= false ;
36291 PyObject
* obj0
= 0 ;
36292 PyObject
* obj1
= 0 ;
36293 PyObject
* obj2
= 0 ;
36294 PyObject
* obj3
= 0 ;
36295 PyObject
* obj4
= 0 ;
36296 PyObject
* obj5
= 0 ;
36297 PyObject
* obj6
= 0 ;
36298 char * kwnames
[] = {
36299 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36304 if (!SWIG_IsOK(res1
)) {
36305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36307 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36308 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36309 if (!SWIG_IsOK(res2
)) {
36310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36315 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36316 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36317 if (!SWIG_IsOK(res3
)) {
36318 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36323 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36325 arg4
= wxString_in_helper(obj3
);
36326 if (arg4
== NULL
) SWIG_fail
;
36330 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36331 if (!SWIG_IsOK(ecode5
)) {
36332 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36334 arg5
= static_cast< int >(val5
);
36337 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36338 if (!SWIG_IsOK(ecode6
)) {
36339 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36341 arg6
= static_cast< int >(val6
);
36344 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36345 if (!SWIG_IsOK(res7
)) {
36346 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36351 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36352 wxPyEndAllowThreads(__tstate
);
36353 if (PyErr_Occurred()) SWIG_fail
;
36355 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36370 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36371 PyObject
*resultobj
= 0;
36372 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36373 wxTreeItemId
*arg2
= 0 ;
36375 wxString
*arg4
= 0 ;
36376 int arg5
= (int) -1 ;
36377 int arg6
= (int) -1 ;
36378 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36379 wxTreeItemId result
;
36386 bool temp4
= false ;
36392 PyObject
* obj0
= 0 ;
36393 PyObject
* obj1
= 0 ;
36394 PyObject
* obj2
= 0 ;
36395 PyObject
* obj3
= 0 ;
36396 PyObject
* obj4
= 0 ;
36397 PyObject
* obj5
= 0 ;
36398 PyObject
* obj6
= 0 ;
36399 char * kwnames
[] = {
36400 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36405 if (!SWIG_IsOK(res1
)) {
36406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36408 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36409 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36410 if (!SWIG_IsOK(res2
)) {
36411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36416 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36417 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36418 if (!SWIG_IsOK(ecode3
)) {
36419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36421 arg3
= static_cast< size_t >(val3
);
36423 arg4
= wxString_in_helper(obj3
);
36424 if (arg4
== NULL
) SWIG_fail
;
36428 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36429 if (!SWIG_IsOK(ecode5
)) {
36430 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36432 arg5
= static_cast< int >(val5
);
36435 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36436 if (!SWIG_IsOK(ecode6
)) {
36437 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36439 arg6
= static_cast< int >(val6
);
36442 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36443 if (!SWIG_IsOK(res7
)) {
36444 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36449 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36450 wxPyEndAllowThreads(__tstate
);
36451 if (PyErr_Occurred()) SWIG_fail
;
36453 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36468 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36469 PyObject
*resultobj
= 0;
36470 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36471 wxTreeItemId
*arg2
= 0 ;
36472 wxString
*arg3
= 0 ;
36473 int arg4
= (int) -1 ;
36474 int arg5
= (int) -1 ;
36475 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36476 wxTreeItemId result
;
36481 bool temp3
= false ;
36487 PyObject
* obj0
= 0 ;
36488 PyObject
* obj1
= 0 ;
36489 PyObject
* obj2
= 0 ;
36490 PyObject
* obj3
= 0 ;
36491 PyObject
* obj4
= 0 ;
36492 PyObject
* obj5
= 0 ;
36493 char * kwnames
[] = {
36494 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36499 if (!SWIG_IsOK(res1
)) {
36500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36502 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36504 if (!SWIG_IsOK(res2
)) {
36505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36510 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36512 arg3
= wxString_in_helper(obj2
);
36513 if (arg3
== NULL
) SWIG_fail
;
36517 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36518 if (!SWIG_IsOK(ecode4
)) {
36519 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36521 arg4
= static_cast< int >(val4
);
36524 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36525 if (!SWIG_IsOK(ecode5
)) {
36526 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36528 arg5
= static_cast< int >(val5
);
36531 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36532 if (!SWIG_IsOK(res6
)) {
36533 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36538 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36539 wxPyEndAllowThreads(__tstate
);
36540 if (PyErr_Occurred()) SWIG_fail
;
36542 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36557 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36558 PyObject
*resultobj
= 0;
36559 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36560 wxTreeItemId
*arg2
= 0 ;
36565 PyObject
* obj0
= 0 ;
36566 PyObject
* obj1
= 0 ;
36567 char * kwnames
[] = {
36568 (char *) "self",(char *) "item", NULL
36571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36573 if (!SWIG_IsOK(res1
)) {
36574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36576 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36578 if (!SWIG_IsOK(res2
)) {
36579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36584 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36587 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36588 wxPyEndAllowThreads(__tstate
);
36589 if (PyErr_Occurred()) SWIG_fail
;
36591 resultobj
= SWIG_Py_Void();
36598 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36599 PyObject
*resultobj
= 0;
36600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36601 wxTreeItemId
*arg2
= 0 ;
36606 PyObject
* obj0
= 0 ;
36607 PyObject
* obj1
= 0 ;
36608 char * kwnames
[] = {
36609 (char *) "self",(char *) "item", NULL
36612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36614 if (!SWIG_IsOK(res1
)) {
36615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36617 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36619 if (!SWIG_IsOK(res2
)) {
36620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36625 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36628 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36629 wxPyEndAllowThreads(__tstate
);
36630 if (PyErr_Occurred()) SWIG_fail
;
36632 resultobj
= SWIG_Py_Void();
36639 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36640 PyObject
*resultobj
= 0;
36641 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36644 PyObject
*swig_obj
[1] ;
36646 if (!args
) SWIG_fail
;
36647 swig_obj
[0] = args
;
36648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36649 if (!SWIG_IsOK(res1
)) {
36650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36652 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36655 (arg1
)->DeleteAllItems();
36656 wxPyEndAllowThreads(__tstate
);
36657 if (PyErr_Occurred()) SWIG_fail
;
36659 resultobj
= SWIG_Py_Void();
36666 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36667 PyObject
*resultobj
= 0;
36668 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36669 wxTreeItemId
*arg2
= 0 ;
36674 PyObject
* obj0
= 0 ;
36675 PyObject
* obj1
= 0 ;
36676 char * kwnames
[] = {
36677 (char *) "self",(char *) "item", NULL
36680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36682 if (!SWIG_IsOK(res1
)) {
36683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36685 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36686 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36687 if (!SWIG_IsOK(res2
)) {
36688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36693 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36696 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36697 wxPyEndAllowThreads(__tstate
);
36698 if (PyErr_Occurred()) SWIG_fail
;
36700 resultobj
= SWIG_Py_Void();
36707 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36708 PyObject
*resultobj
= 0;
36709 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36710 wxTreeItemId
*arg2
= 0 ;
36715 PyObject
* obj0
= 0 ;
36716 PyObject
* obj1
= 0 ;
36717 char * kwnames
[] = {
36718 (char *) "self",(char *) "item", NULL
36721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36723 if (!SWIG_IsOK(res1
)) {
36724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36726 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36728 if (!SWIG_IsOK(res2
)) {
36729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36734 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36737 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36738 wxPyEndAllowThreads(__tstate
);
36739 if (PyErr_Occurred()) SWIG_fail
;
36741 resultobj
= SWIG_Py_Void();
36748 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36749 PyObject
*resultobj
= 0;
36750 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36753 PyObject
*swig_obj
[1] ;
36755 if (!args
) SWIG_fail
;
36756 swig_obj
[0] = args
;
36757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36758 if (!SWIG_IsOK(res1
)) {
36759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36761 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36764 (arg1
)->ExpandAll();
36765 wxPyEndAllowThreads(__tstate
);
36766 if (PyErr_Occurred()) SWIG_fail
;
36768 resultobj
= SWIG_Py_Void();
36775 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36776 PyObject
*resultobj
= 0;
36777 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36778 wxTreeItemId
*arg2
= 0 ;
36783 PyObject
* obj0
= 0 ;
36784 PyObject
* obj1
= 0 ;
36785 char * kwnames
[] = {
36786 (char *) "self",(char *) "item", NULL
36789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36791 if (!SWIG_IsOK(res1
)) {
36792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36794 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36795 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36796 if (!SWIG_IsOK(res2
)) {
36797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36802 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36805 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36806 wxPyEndAllowThreads(__tstate
);
36807 if (PyErr_Occurred()) SWIG_fail
;
36809 resultobj
= SWIG_Py_Void();
36816 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36817 PyObject
*resultobj
= 0;
36818 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36819 wxTreeItemId
*arg2
= 0 ;
36824 PyObject
* obj0
= 0 ;
36825 PyObject
* obj1
= 0 ;
36826 char * kwnames
[] = {
36827 (char *) "self",(char *) "item", NULL
36830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36832 if (!SWIG_IsOK(res1
)) {
36833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36835 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36836 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36837 if (!SWIG_IsOK(res2
)) {
36838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36843 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36846 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36847 wxPyEndAllowThreads(__tstate
);
36848 if (PyErr_Occurred()) SWIG_fail
;
36850 resultobj
= SWIG_Py_Void();
36857 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36858 PyObject
*resultobj
= 0;
36859 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36860 wxTreeItemId
*arg2
= 0 ;
36865 PyObject
* obj0
= 0 ;
36866 PyObject
* obj1
= 0 ;
36867 char * kwnames
[] = {
36868 (char *) "self",(char *) "item", NULL
36871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36873 if (!SWIG_IsOK(res1
)) {
36874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36876 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36878 if (!SWIG_IsOK(res2
)) {
36879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36884 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36887 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36888 wxPyEndAllowThreads(__tstate
);
36889 if (PyErr_Occurred()) SWIG_fail
;
36891 resultobj
= SWIG_Py_Void();
36898 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36899 PyObject
*resultobj
= 0;
36900 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36903 PyObject
*swig_obj
[1] ;
36905 if (!args
) SWIG_fail
;
36906 swig_obj
[0] = args
;
36907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36908 if (!SWIG_IsOK(res1
)) {
36909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36911 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36914 (arg1
)->Unselect();
36915 wxPyEndAllowThreads(__tstate
);
36916 if (PyErr_Occurred()) SWIG_fail
;
36918 resultobj
= SWIG_Py_Void();
36925 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36926 PyObject
*resultobj
= 0;
36927 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36928 wxTreeItemId
*arg2
= 0 ;
36933 PyObject
* obj0
= 0 ;
36934 PyObject
* obj1
= 0 ;
36935 char * kwnames
[] = {
36936 (char *) "self",(char *) "item", NULL
36939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36941 if (!SWIG_IsOK(res1
)) {
36942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36944 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36945 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36946 if (!SWIG_IsOK(res2
)) {
36947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36952 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36955 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36956 wxPyEndAllowThreads(__tstate
);
36957 if (PyErr_Occurred()) SWIG_fail
;
36959 resultobj
= SWIG_Py_Void();
36966 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36967 PyObject
*resultobj
= 0;
36968 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36971 PyObject
*swig_obj
[1] ;
36973 if (!args
) SWIG_fail
;
36974 swig_obj
[0] = args
;
36975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36976 if (!SWIG_IsOK(res1
)) {
36977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36979 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36982 (arg1
)->UnselectAll();
36983 wxPyEndAllowThreads(__tstate
);
36984 if (PyErr_Occurred()) SWIG_fail
;
36986 resultobj
= SWIG_Py_Void();
36993 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36994 PyObject
*resultobj
= 0;
36995 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36996 wxTreeItemId
*arg2
= 0 ;
36997 bool arg3
= (bool) true ;
37004 PyObject
* obj0
= 0 ;
37005 PyObject
* obj1
= 0 ;
37006 PyObject
* obj2
= 0 ;
37007 char * kwnames
[] = {
37008 (char *) "self",(char *) "item",(char *) "select", NULL
37011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37013 if (!SWIG_IsOK(res1
)) {
37014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37016 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37018 if (!SWIG_IsOK(res2
)) {
37019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37024 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37026 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37027 if (!SWIG_IsOK(ecode3
)) {
37028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37030 arg3
= static_cast< bool >(val3
);
37033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37034 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37035 wxPyEndAllowThreads(__tstate
);
37036 if (PyErr_Occurred()) SWIG_fail
;
37038 resultobj
= SWIG_Py_Void();
37045 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37046 PyObject
*resultobj
= 0;
37047 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37048 wxTreeItemId
*arg2
= 0 ;
37053 PyObject
* obj0
= 0 ;
37054 PyObject
* obj1
= 0 ;
37055 char * kwnames
[] = {
37056 (char *) "self",(char *) "item", NULL
37059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37061 if (!SWIG_IsOK(res1
)) {
37062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37064 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37066 if (!SWIG_IsOK(res2
)) {
37067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37072 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37075 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37076 wxPyEndAllowThreads(__tstate
);
37077 if (PyErr_Occurred()) SWIG_fail
;
37079 resultobj
= SWIG_Py_Void();
37086 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37087 PyObject
*resultobj
= 0;
37088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37089 wxTreeItemId
*arg2
= 0 ;
37094 PyObject
* obj0
= 0 ;
37095 PyObject
* obj1
= 0 ;
37096 char * kwnames
[] = {
37097 (char *) "self",(char *) "item", NULL
37100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37102 if (!SWIG_IsOK(res1
)) {
37103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37105 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37107 if (!SWIG_IsOK(res2
)) {
37108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37113 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37116 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37117 wxPyEndAllowThreads(__tstate
);
37118 if (PyErr_Occurred()) SWIG_fail
;
37120 resultobj
= SWIG_Py_Void();
37127 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37128 PyObject
*resultobj
= 0;
37129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37130 wxTreeItemId
*arg2
= 0 ;
37135 PyObject
* obj0
= 0 ;
37136 PyObject
* obj1
= 0 ;
37137 char * kwnames
[] = {
37138 (char *) "self",(char *) "item", NULL
37141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37143 if (!SWIG_IsOK(res1
)) {
37144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37146 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37147 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37148 if (!SWIG_IsOK(res2
)) {
37149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37154 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37157 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37158 wxPyEndAllowThreads(__tstate
);
37159 if (PyErr_Occurred()) SWIG_fail
;
37161 resultobj
= SWIG_Py_Void();
37168 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37169 PyObject
*resultobj
= 0;
37170 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37171 wxTreeItemId
*arg2
= 0 ;
37176 PyObject
* obj0
= 0 ;
37177 PyObject
* obj1
= 0 ;
37178 char * kwnames
[] = {
37179 (char *) "self",(char *) "item", NULL
37182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37184 if (!SWIG_IsOK(res1
)) {
37185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37187 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37188 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37189 if (!SWIG_IsOK(res2
)) {
37190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37195 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37198 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37199 wxPyEndAllowThreads(__tstate
);
37200 if (PyErr_Occurred()) SWIG_fail
;
37202 resultobj
= SWIG_Py_Void();
37209 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37210 PyObject
*resultobj
= 0;
37211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37212 wxTextCtrl
*result
= 0 ;
37215 PyObject
*swig_obj
[1] ;
37217 if (!args
) SWIG_fail
;
37218 swig_obj
[0] = args
;
37219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37220 if (!SWIG_IsOK(res1
)) {
37221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37223 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37226 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37227 wxPyEndAllowThreads(__tstate
);
37228 if (PyErr_Occurred()) SWIG_fail
;
37231 resultobj
= wxPyMake_wxObject(result
, 0);
37239 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37240 PyObject
*resultobj
= 0;
37241 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37242 wxTreeItemId
*arg2
= 0 ;
37243 bool arg3
= (bool) false ;
37250 PyObject
* obj0
= 0 ;
37251 PyObject
* obj1
= 0 ;
37252 PyObject
* obj2
= 0 ;
37253 char * kwnames
[] = {
37254 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
37257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37259 if (!SWIG_IsOK(res1
)) {
37260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37262 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37264 if (!SWIG_IsOK(res2
)) {
37265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37270 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37272 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37273 if (!SWIG_IsOK(ecode3
)) {
37274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
37276 arg3
= static_cast< bool >(val3
);
37279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37280 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
37281 wxPyEndAllowThreads(__tstate
);
37282 if (PyErr_Occurred()) SWIG_fail
;
37284 resultobj
= SWIG_Py_Void();
37291 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37292 PyObject
*resultobj
= 0;
37293 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37294 wxTreeItemId
*arg2
= 0 ;
37299 PyObject
* obj0
= 0 ;
37300 PyObject
* obj1
= 0 ;
37301 char * kwnames
[] = {
37302 (char *) "self",(char *) "item", NULL
37305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37307 if (!SWIG_IsOK(res1
)) {
37308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37310 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37311 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37312 if (!SWIG_IsOK(res2
)) {
37313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37318 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37321 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37322 wxPyEndAllowThreads(__tstate
);
37323 if (PyErr_Occurred()) SWIG_fail
;
37325 resultobj
= SWIG_Py_Void();
37332 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37333 PyObject
*resultobj
= 0;
37334 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37335 wxPoint
*arg2
= 0 ;
37337 wxTreeItemId result
;
37342 int res3
= SWIG_TMPOBJ
;
37343 PyObject
* obj0
= 0 ;
37344 PyObject
* obj1
= 0 ;
37345 char * kwnames
[] = {
37346 (char *) "self",(char *) "point", NULL
37350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37352 if (!SWIG_IsOK(res1
)) {
37353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37355 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37358 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37362 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37363 wxPyEndAllowThreads(__tstate
);
37364 if (PyErr_Occurred()) SWIG_fail
;
37366 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37367 if (SWIG_IsTmpObj(res3
)) {
37368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37370 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37379 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37380 PyObject
*resultobj
= 0;
37381 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37382 wxTreeItemId
*arg2
= 0 ;
37383 bool arg3
= (bool) false ;
37384 PyObject
*result
= 0 ;
37391 PyObject
* obj0
= 0 ;
37392 PyObject
* obj1
= 0 ;
37393 PyObject
* obj2
= 0 ;
37394 char * kwnames
[] = {
37395 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37400 if (!SWIG_IsOK(res1
)) {
37401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37403 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37404 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37405 if (!SWIG_IsOK(res2
)) {
37406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37411 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37413 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37414 if (!SWIG_IsOK(ecode3
)) {
37415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37417 arg3
= static_cast< bool >(val3
);
37420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37421 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37422 wxPyEndAllowThreads(__tstate
);
37423 if (PyErr_Occurred()) SWIG_fail
;
37425 resultobj
= result
;
37432 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37433 PyObject
*resultobj
= 0;
37434 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37435 wxTreeItemId
*arg2
= 0 ;
37443 PyObject
* obj0
= 0 ;
37444 PyObject
* obj1
= 0 ;
37445 PyObject
* obj2
= 0 ;
37446 char * kwnames
[] = {
37447 (char *) "self",(char *) "node",(char *) "state", NULL
37450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37452 if (!SWIG_IsOK(res1
)) {
37453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37455 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37456 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37457 if (!SWIG_IsOK(res2
)) {
37458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37463 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37465 if (!SWIG_IsOK(ecode3
)) {
37466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37468 arg3
= static_cast< int >(val3
);
37470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37471 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
37472 wxPyEndAllowThreads(__tstate
);
37473 if (PyErr_Occurred()) SWIG_fail
;
37475 resultobj
= SWIG_Py_Void();
37482 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37483 PyObject
*resultobj
= 0;
37484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37485 wxTreeItemId
*arg2
= 0 ;
37491 PyObject
* obj0
= 0 ;
37492 PyObject
* obj1
= 0 ;
37493 char * kwnames
[] = {
37494 (char *) "self",(char *) "node", NULL
37497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37499 if (!SWIG_IsOK(res1
)) {
37500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37502 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37504 if (!SWIG_IsOK(res2
)) {
37505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37510 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37513 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
37514 wxPyEndAllowThreads(__tstate
);
37515 if (PyErr_Occurred()) SWIG_fail
;
37517 resultobj
= SWIG_From_int(static_cast< int >(result
));
37524 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37525 PyObject
*resultobj
= 0;
37526 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37527 SwigValueWrapper
<wxVisualAttributes
> result
;
37530 PyObject
* obj0
= 0 ;
37531 char * kwnames
[] = {
37532 (char *) "variant", NULL
37535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37537 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37538 if (!SWIG_IsOK(ecode1
)) {
37539 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37541 arg1
= static_cast< wxWindowVariant
>(val1
);
37544 if (!wxPyCheckForApp()) SWIG_fail
;
37545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37546 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37547 wxPyEndAllowThreads(__tstate
);
37548 if (PyErr_Occurred()) SWIG_fail
;
37550 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37557 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37558 PyObject
*resultobj
= 0;
37559 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37565 PyObject
* obj0
= 0 ;
37566 PyObject
* obj1
= 0 ;
37567 char * kwnames
[] = {
37568 (char *) "self",(char *) "q", NULL
37571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37573 if (!SWIG_IsOK(res1
)) {
37574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37576 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37577 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37578 if (!SWIG_IsOK(ecode2
)) {
37579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37581 arg2
= static_cast< bool >(val2
);
37583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37584 (arg1
)->SetQuickBestSize(arg2
);
37585 wxPyEndAllowThreads(__tstate
);
37586 if (PyErr_Occurred()) SWIG_fail
;
37588 resultobj
= SWIG_Py_Void();
37595 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37596 PyObject
*resultobj
= 0;
37597 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37601 PyObject
*swig_obj
[1] ;
37603 if (!args
) SWIG_fail
;
37604 swig_obj
[0] = args
;
37605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37606 if (!SWIG_IsOK(res1
)) {
37607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37609 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37612 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37613 wxPyEndAllowThreads(__tstate
);
37614 if (PyErr_Occurred()) SWIG_fail
;
37617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37625 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37628 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37629 return SWIG_Py_Void();
37632 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37633 return SWIG_Python_InitShadowInstance(args
);
37636 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37637 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37642 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37643 PyObject
*pyobj
= 0;
37647 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37649 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37656 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37657 PyObject
*resultobj
= 0;
37658 wxWindow
*arg1
= (wxWindow
*) 0 ;
37659 int arg2
= (int) (int)-1 ;
37660 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37661 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37662 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37663 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37664 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37665 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37666 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37667 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37668 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37669 int arg8
= (int) 0 ;
37670 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37671 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37672 wxGenericDirCtrl
*result
= 0 ;
37677 bool temp3
= false ;
37682 bool temp7
= false ;
37685 bool temp9
= false ;
37686 PyObject
* obj0
= 0 ;
37687 PyObject
* obj1
= 0 ;
37688 PyObject
* obj2
= 0 ;
37689 PyObject
* obj3
= 0 ;
37690 PyObject
* obj4
= 0 ;
37691 PyObject
* obj5
= 0 ;
37692 PyObject
* obj6
= 0 ;
37693 PyObject
* obj7
= 0 ;
37694 PyObject
* obj8
= 0 ;
37695 char * kwnames
[] = {
37696 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37701 if (!SWIG_IsOK(res1
)) {
37702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37704 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37707 if (!SWIG_IsOK(ecode2
)) {
37708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37710 arg2
= static_cast< int >(val2
);
37714 arg3
= wxString_in_helper(obj2
);
37715 if (arg3
== NULL
) SWIG_fail
;
37722 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37728 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37732 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37733 if (!SWIG_IsOK(ecode6
)) {
37734 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37736 arg6
= static_cast< long >(val6
);
37740 arg7
= wxString_in_helper(obj6
);
37741 if (arg7
== NULL
) SWIG_fail
;
37746 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37747 if (!SWIG_IsOK(ecode8
)) {
37748 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37750 arg8
= static_cast< int >(val8
);
37754 arg9
= wxString_in_helper(obj8
);
37755 if (arg9
== NULL
) SWIG_fail
;
37760 if (!wxPyCheckForApp()) SWIG_fail
;
37761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37762 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37763 wxPyEndAllowThreads(__tstate
);
37764 if (PyErr_Occurred()) SWIG_fail
;
37766 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37797 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37798 PyObject
*resultobj
= 0;
37799 wxGenericDirCtrl
*result
= 0 ;
37801 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37803 if (!wxPyCheckForApp()) SWIG_fail
;
37804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37805 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37806 wxPyEndAllowThreads(__tstate
);
37807 if (PyErr_Occurred()) SWIG_fail
;
37809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37816 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37817 PyObject
*resultobj
= 0;
37818 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37819 wxWindow
*arg2
= (wxWindow
*) 0 ;
37820 int arg3
= (int) (int)-1 ;
37821 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37822 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37823 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37824 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37825 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37826 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37827 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37828 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37829 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37830 int arg9
= (int) 0 ;
37831 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37832 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37840 bool temp4
= false ;
37845 bool temp8
= false ;
37848 bool temp10
= false ;
37849 PyObject
* obj0
= 0 ;
37850 PyObject
* obj1
= 0 ;
37851 PyObject
* obj2
= 0 ;
37852 PyObject
* obj3
= 0 ;
37853 PyObject
* obj4
= 0 ;
37854 PyObject
* obj5
= 0 ;
37855 PyObject
* obj6
= 0 ;
37856 PyObject
* obj7
= 0 ;
37857 PyObject
* obj8
= 0 ;
37858 PyObject
* obj9
= 0 ;
37859 char * kwnames
[] = {
37860 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37865 if (!SWIG_IsOK(res1
)) {
37866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37868 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37869 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37870 if (!SWIG_IsOK(res2
)) {
37871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37873 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37875 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37876 if (!SWIG_IsOK(ecode3
)) {
37877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37879 arg3
= static_cast< int >(val3
);
37883 arg4
= wxString_in_helper(obj3
);
37884 if (arg4
== NULL
) SWIG_fail
;
37891 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37897 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37901 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37902 if (!SWIG_IsOK(ecode7
)) {
37903 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37905 arg7
= static_cast< long >(val7
);
37909 arg8
= wxString_in_helper(obj7
);
37910 if (arg8
== NULL
) SWIG_fail
;
37915 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37916 if (!SWIG_IsOK(ecode9
)) {
37917 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37919 arg9
= static_cast< int >(val9
);
37923 arg10
= wxString_in_helper(obj9
);
37924 if (arg10
== NULL
) SWIG_fail
;
37929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37930 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37931 wxPyEndAllowThreads(__tstate
);
37932 if (PyErr_Occurred()) SWIG_fail
;
37935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37967 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37968 PyObject
*resultobj
= 0;
37969 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37970 wxString
*arg2
= 0 ;
37974 bool temp2
= false ;
37975 PyObject
* obj0
= 0 ;
37976 PyObject
* obj1
= 0 ;
37977 char * kwnames
[] = {
37978 (char *) "self",(char *) "path", NULL
37981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37983 if (!SWIG_IsOK(res1
)) {
37984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37986 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37988 arg2
= wxString_in_helper(obj1
);
37989 if (arg2
== NULL
) SWIG_fail
;
37993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37994 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37995 wxPyEndAllowThreads(__tstate
);
37996 if (PyErr_Occurred()) SWIG_fail
;
37999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38015 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38016 PyObject
*resultobj
= 0;
38017 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38018 wxString
*arg2
= 0 ;
38022 bool temp2
= false ;
38023 PyObject
* obj0
= 0 ;
38024 PyObject
* obj1
= 0 ;
38025 char * kwnames
[] = {
38026 (char *) "self",(char *) "path", NULL
38029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38031 if (!SWIG_IsOK(res1
)) {
38032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38034 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38036 arg2
= wxString_in_helper(obj1
);
38037 if (arg2
== NULL
) SWIG_fail
;
38041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38042 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
38043 wxPyEndAllowThreads(__tstate
);
38044 if (PyErr_Occurred()) SWIG_fail
;
38047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38063 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38064 PyObject
*resultobj
= 0;
38065 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38069 PyObject
*swig_obj
[1] ;
38071 if (!args
) SWIG_fail
;
38072 swig_obj
[0] = args
;
38073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38074 if (!SWIG_IsOK(res1
)) {
38075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38077 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38080 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
38081 wxPyEndAllowThreads(__tstate
);
38082 if (PyErr_Occurred()) SWIG_fail
;
38086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38097 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38098 PyObject
*resultobj
= 0;
38099 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38100 wxString
*arg2
= 0 ;
38103 bool temp2
= false ;
38104 PyObject
* obj0
= 0 ;
38105 PyObject
* obj1
= 0 ;
38106 char * kwnames
[] = {
38107 (char *) "self",(char *) "path", NULL
38110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38112 if (!SWIG_IsOK(res1
)) {
38113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38115 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38117 arg2
= wxString_in_helper(obj1
);
38118 if (arg2
== NULL
) SWIG_fail
;
38122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38123 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
38124 wxPyEndAllowThreads(__tstate
);
38125 if (PyErr_Occurred()) SWIG_fail
;
38127 resultobj
= SWIG_Py_Void();
38142 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38143 PyObject
*resultobj
= 0;
38144 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38148 PyObject
*swig_obj
[1] ;
38150 if (!args
) SWIG_fail
;
38151 swig_obj
[0] = args
;
38152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38153 if (!SWIG_IsOK(res1
)) {
38154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38156 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38159 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38160 wxPyEndAllowThreads(__tstate
);
38161 if (PyErr_Occurred()) SWIG_fail
;
38165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38176 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38177 PyObject
*resultobj
= 0;
38178 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38182 PyObject
*swig_obj
[1] ;
38184 if (!args
) SWIG_fail
;
38185 swig_obj
[0] = args
;
38186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38187 if (!SWIG_IsOK(res1
)) {
38188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38190 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38193 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38194 wxPyEndAllowThreads(__tstate
);
38195 if (PyErr_Occurred()) SWIG_fail
;
38199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38210 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38211 PyObject
*resultobj
= 0;
38212 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38213 wxString
*arg2
= 0 ;
38216 bool temp2
= false ;
38217 PyObject
* obj0
= 0 ;
38218 PyObject
* obj1
= 0 ;
38219 char * kwnames
[] = {
38220 (char *) "self",(char *) "path", NULL
38223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38225 if (!SWIG_IsOK(res1
)) {
38226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38228 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38230 arg2
= wxString_in_helper(obj1
);
38231 if (arg2
== NULL
) SWIG_fail
;
38235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38236 (arg1
)->SetPath((wxString
const &)*arg2
);
38237 wxPyEndAllowThreads(__tstate
);
38238 if (PyErr_Occurred()) SWIG_fail
;
38240 resultobj
= SWIG_Py_Void();
38255 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38256 PyObject
*resultobj
= 0;
38257 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38263 PyObject
* obj0
= 0 ;
38264 PyObject
* obj1
= 0 ;
38265 char * kwnames
[] = {
38266 (char *) "self",(char *) "show", NULL
38269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38271 if (!SWIG_IsOK(res1
)) {
38272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38274 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38275 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38276 if (!SWIG_IsOK(ecode2
)) {
38277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38279 arg2
= static_cast< bool >(val2
);
38281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38282 (arg1
)->ShowHidden(arg2
);
38283 wxPyEndAllowThreads(__tstate
);
38284 if (PyErr_Occurred()) SWIG_fail
;
38286 resultobj
= SWIG_Py_Void();
38293 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38294 PyObject
*resultobj
= 0;
38295 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38299 PyObject
*swig_obj
[1] ;
38301 if (!args
) SWIG_fail
;
38302 swig_obj
[0] = args
;
38303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38304 if (!SWIG_IsOK(res1
)) {
38305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38307 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38310 result
= (bool)(arg1
)->GetShowHidden();
38311 wxPyEndAllowThreads(__tstate
);
38312 if (PyErr_Occurred()) SWIG_fail
;
38315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38323 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38324 PyObject
*resultobj
= 0;
38325 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38329 PyObject
*swig_obj
[1] ;
38331 if (!args
) SWIG_fail
;
38332 swig_obj
[0] = args
;
38333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38334 if (!SWIG_IsOK(res1
)) {
38335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38337 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38340 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38341 wxPyEndAllowThreads(__tstate
);
38342 if (PyErr_Occurred()) SWIG_fail
;
38346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38357 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38358 PyObject
*resultobj
= 0;
38359 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38360 wxString
*arg2
= 0 ;
38363 bool temp2
= false ;
38364 PyObject
* obj0
= 0 ;
38365 PyObject
* obj1
= 0 ;
38366 char * kwnames
[] = {
38367 (char *) "self",(char *) "filter", NULL
38370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38372 if (!SWIG_IsOK(res1
)) {
38373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38375 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38377 arg2
= wxString_in_helper(obj1
);
38378 if (arg2
== NULL
) SWIG_fail
;
38382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38383 (arg1
)->SetFilter((wxString
const &)*arg2
);
38384 wxPyEndAllowThreads(__tstate
);
38385 if (PyErr_Occurred()) SWIG_fail
;
38387 resultobj
= SWIG_Py_Void();
38402 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38403 PyObject
*resultobj
= 0;
38404 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38408 PyObject
*swig_obj
[1] ;
38410 if (!args
) SWIG_fail
;
38411 swig_obj
[0] = args
;
38412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38413 if (!SWIG_IsOK(res1
)) {
38414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38416 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38419 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38420 wxPyEndAllowThreads(__tstate
);
38421 if (PyErr_Occurred()) SWIG_fail
;
38423 resultobj
= SWIG_From_int(static_cast< int >(result
));
38430 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38431 PyObject
*resultobj
= 0;
38432 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38438 PyObject
* obj0
= 0 ;
38439 PyObject
* obj1
= 0 ;
38440 char * kwnames
[] = {
38441 (char *) "self",(char *) "n", NULL
38444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38446 if (!SWIG_IsOK(res1
)) {
38447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38449 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38451 if (!SWIG_IsOK(ecode2
)) {
38452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38454 arg2
= static_cast< int >(val2
);
38456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38457 (arg1
)->SetFilterIndex(arg2
);
38458 wxPyEndAllowThreads(__tstate
);
38459 if (PyErr_Occurred()) SWIG_fail
;
38461 resultobj
= SWIG_Py_Void();
38468 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38469 PyObject
*resultobj
= 0;
38470 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38471 wxTreeItemId result
;
38474 PyObject
*swig_obj
[1] ;
38476 if (!args
) SWIG_fail
;
38477 swig_obj
[0] = args
;
38478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38479 if (!SWIG_IsOK(res1
)) {
38480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38482 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38485 result
= (arg1
)->GetRootId();
38486 wxPyEndAllowThreads(__tstate
);
38487 if (PyErr_Occurred()) SWIG_fail
;
38489 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38496 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38497 PyObject
*resultobj
= 0;
38498 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38499 wxPyTreeCtrl
*result
= 0 ;
38502 PyObject
*swig_obj
[1] ;
38504 if (!args
) SWIG_fail
;
38505 swig_obj
[0] = args
;
38506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38507 if (!SWIG_IsOK(res1
)) {
38508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38510 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38513 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38514 wxPyEndAllowThreads(__tstate
);
38515 if (PyErr_Occurred()) SWIG_fail
;
38518 resultobj
= wxPyMake_wxObject(result
, 0);
38526 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38527 PyObject
*resultobj
= 0;
38528 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38529 wxDirFilterListCtrl
*result
= 0 ;
38532 PyObject
*swig_obj
[1] ;
38534 if (!args
) SWIG_fail
;
38535 swig_obj
[0] = args
;
38536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38537 if (!SWIG_IsOK(res1
)) {
38538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38540 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38543 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38544 wxPyEndAllowThreads(__tstate
);
38545 if (PyErr_Occurred()) SWIG_fail
;
38547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38554 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38555 PyObject
*resultobj
= 0;
38556 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38557 wxTreeItemId arg2
;
38558 wxString
*arg3
= 0 ;
38560 wxTreeItemId result
;
38565 bool temp3
= false ;
38567 int res4
= SWIG_TMPOBJ
;
38568 PyObject
* obj0
= 0 ;
38569 PyObject
* obj1
= 0 ;
38570 PyObject
* obj2
= 0 ;
38571 char * kwnames
[] = {
38572 (char *) "self",(char *) "parentId",(char *) "path", NULL
38576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38578 if (!SWIG_IsOK(res1
)) {
38579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38581 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38584 if (!SWIG_IsOK(res2
)) {
38585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38590 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38592 if (SWIG_IsNewObj(res2
)) delete temp
;
38596 arg3
= wxString_in_helper(obj2
);
38597 if (arg3
== NULL
) SWIG_fail
;
38601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38602 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38603 wxPyEndAllowThreads(__tstate
);
38604 if (PyErr_Occurred()) SWIG_fail
;
38606 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38607 if (SWIG_IsTmpObj(res4
)) {
38608 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38610 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38627 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38628 PyObject
*resultobj
= 0;
38629 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38632 PyObject
*swig_obj
[1] ;
38634 if (!args
) SWIG_fail
;
38635 swig_obj
[0] = args
;
38636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38637 if (!SWIG_IsOK(res1
)) {
38638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38640 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38643 (arg1
)->DoResize();
38644 wxPyEndAllowThreads(__tstate
);
38645 if (PyErr_Occurred()) SWIG_fail
;
38647 resultobj
= SWIG_Py_Void();
38654 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38655 PyObject
*resultobj
= 0;
38656 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38659 PyObject
*swig_obj
[1] ;
38661 if (!args
) SWIG_fail
;
38662 swig_obj
[0] = args
;
38663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38664 if (!SWIG_IsOK(res1
)) {
38665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38667 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38670 (arg1
)->ReCreateTree();
38671 wxPyEndAllowThreads(__tstate
);
38672 if (PyErr_Occurred()) SWIG_fail
;
38674 resultobj
= SWIG_Py_Void();
38681 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38683 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38684 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38685 return SWIG_Py_Void();
38688 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38689 return SWIG_Python_InitShadowInstance(args
);
38692 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38693 PyObject
*resultobj
= 0;
38694 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38695 int arg2
= (int) (int)-1 ;
38696 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38697 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38698 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38699 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38700 long arg5
= (long) 0 ;
38701 wxDirFilterListCtrl
*result
= 0 ;
38710 PyObject
* obj0
= 0 ;
38711 PyObject
* obj1
= 0 ;
38712 PyObject
* obj2
= 0 ;
38713 PyObject
* obj3
= 0 ;
38714 PyObject
* obj4
= 0 ;
38715 char * kwnames
[] = {
38716 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38721 if (!SWIG_IsOK(res1
)) {
38722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38724 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38727 if (!SWIG_IsOK(ecode2
)) {
38728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38730 arg2
= static_cast< int >(val2
);
38735 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38741 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38745 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38746 if (!SWIG_IsOK(ecode5
)) {
38747 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38749 arg5
= static_cast< long >(val5
);
38752 if (!wxPyCheckForApp()) SWIG_fail
;
38753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38754 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38755 wxPyEndAllowThreads(__tstate
);
38756 if (PyErr_Occurred()) SWIG_fail
;
38758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38765 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38766 PyObject
*resultobj
= 0;
38767 wxDirFilterListCtrl
*result
= 0 ;
38769 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38771 if (!wxPyCheckForApp()) SWIG_fail
;
38772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38773 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38774 wxPyEndAllowThreads(__tstate
);
38775 if (PyErr_Occurred()) SWIG_fail
;
38777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38784 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38785 PyObject
*resultobj
= 0;
38786 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38787 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38788 int arg3
= (int) (int)-1 ;
38789 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38790 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38791 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38792 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38793 long arg6
= (long) 0 ;
38805 PyObject
* obj0
= 0 ;
38806 PyObject
* obj1
= 0 ;
38807 PyObject
* obj2
= 0 ;
38808 PyObject
* obj3
= 0 ;
38809 PyObject
* obj4
= 0 ;
38810 PyObject
* obj5
= 0 ;
38811 char * kwnames
[] = {
38812 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38817 if (!SWIG_IsOK(res1
)) {
38818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38820 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38821 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38822 if (!SWIG_IsOK(res2
)) {
38823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38825 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38827 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38828 if (!SWIG_IsOK(ecode3
)) {
38829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38831 arg3
= static_cast< int >(val3
);
38836 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38842 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38846 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38847 if (!SWIG_IsOK(ecode6
)) {
38848 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38850 arg6
= static_cast< long >(val6
);
38853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38854 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38855 wxPyEndAllowThreads(__tstate
);
38856 if (PyErr_Occurred()) SWIG_fail
;
38859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38867 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38868 PyObject
*resultobj
= 0;
38869 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38870 wxString
*arg2
= 0 ;
38874 bool temp2
= false ;
38877 PyObject
* obj0
= 0 ;
38878 PyObject
* obj1
= 0 ;
38879 PyObject
* obj2
= 0 ;
38880 char * kwnames
[] = {
38881 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38886 if (!SWIG_IsOK(res1
)) {
38887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38889 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38891 arg2
= wxString_in_helper(obj1
);
38892 if (arg2
== NULL
) SWIG_fail
;
38895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38896 if (!SWIG_IsOK(ecode3
)) {
38897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38899 arg3
= static_cast< int >(val3
);
38901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38902 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38903 wxPyEndAllowThreads(__tstate
);
38904 if (PyErr_Occurred()) SWIG_fail
;
38906 resultobj
= SWIG_Py_Void();
38921 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38923 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38924 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38925 return SWIG_Py_Void();
38928 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38929 return SWIG_Python_InitShadowInstance(args
);
38932 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38933 PyObject
*resultobj
= 0;
38934 wxWindow
*arg1
= (wxWindow
*) 0 ;
38935 int arg2
= (int) (int)-1 ;
38936 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38937 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38938 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38939 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38940 long arg5
= (long) 0 ;
38941 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38942 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38943 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38944 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38945 wxPyControl
*result
= 0 ;
38956 bool temp7
= false ;
38957 PyObject
* obj0
= 0 ;
38958 PyObject
* obj1
= 0 ;
38959 PyObject
* obj2
= 0 ;
38960 PyObject
* obj3
= 0 ;
38961 PyObject
* obj4
= 0 ;
38962 PyObject
* obj5
= 0 ;
38963 PyObject
* obj6
= 0 ;
38964 char * kwnames
[] = {
38965 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38970 if (!SWIG_IsOK(res1
)) {
38971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38973 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38976 if (!SWIG_IsOK(ecode2
)) {
38977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38979 arg2
= static_cast< int >(val2
);
38984 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38990 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38994 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38995 if (!SWIG_IsOK(ecode5
)) {
38996 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38998 arg5
= static_cast< long >(val5
);
39001 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
39002 if (!SWIG_IsOK(res6
)) {
39003 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39008 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
39012 arg7
= wxString_in_helper(obj6
);
39013 if (arg7
== NULL
) SWIG_fail
;
39018 if (!wxPyCheckForApp()) SWIG_fail
;
39019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39020 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
39021 wxPyEndAllowThreads(__tstate
);
39022 if (PyErr_Occurred()) SWIG_fail
;
39024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
39039 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39040 PyObject
*resultobj
= 0;
39041 wxPyControl
*result
= 0 ;
39043 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
39045 if (!wxPyCheckForApp()) SWIG_fail
;
39046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39047 result
= (wxPyControl
*)new wxPyControl();
39048 wxPyEndAllowThreads(__tstate
);
39049 if (PyErr_Occurred()) SWIG_fail
;
39051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
39058 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39059 PyObject
*resultobj
= 0;
39060 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39061 PyObject
*arg2
= (PyObject
*) 0 ;
39062 PyObject
*arg3
= (PyObject
*) 0 ;
39065 PyObject
* obj0
= 0 ;
39066 PyObject
* obj1
= 0 ;
39067 PyObject
* obj2
= 0 ;
39068 char * kwnames
[] = {
39069 (char *) "self",(char *) "self",(char *) "_class", NULL
39072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39074 if (!SWIG_IsOK(res1
)) {
39075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39077 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39082 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39083 wxPyEndAllowThreads(__tstate
);
39084 if (PyErr_Occurred()) SWIG_fail
;
39086 resultobj
= SWIG_Py_Void();
39093 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39094 PyObject
*resultobj
= 0;
39095 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39096 wxDC
*arg2
= (wxDC
*) 0 ;
39102 PyObject
* obj0
= 0 ;
39103 PyObject
* obj1
= 0 ;
39104 char * kwnames
[] = {
39105 (char *) "self",(char *) "dc", NULL
39108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39110 if (!SWIG_IsOK(res1
)) {
39111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39113 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39114 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
39115 if (!SWIG_IsOK(res2
)) {
39116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39118 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39121 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
39122 wxPyEndAllowThreads(__tstate
);
39123 if (PyErr_Occurred()) SWIG_fail
;
39126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39134 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39135 PyObject
*resultobj
= 0;
39136 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39151 PyObject
* obj0
= 0 ;
39152 PyObject
* obj1
= 0 ;
39153 PyObject
* obj2
= 0 ;
39154 PyObject
* obj3
= 0 ;
39155 PyObject
* obj4
= 0 ;
39156 char * kwnames
[] = {
39157 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39162 if (!SWIG_IsOK(res1
)) {
39163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39165 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39167 if (!SWIG_IsOK(ecode2
)) {
39168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39170 arg2
= static_cast< int >(val2
);
39171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39172 if (!SWIG_IsOK(ecode3
)) {
39173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39175 arg3
= static_cast< int >(val3
);
39176 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39177 if (!SWIG_IsOK(ecode4
)) {
39178 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39180 arg4
= static_cast< int >(val4
);
39181 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39182 if (!SWIG_IsOK(ecode5
)) {
39183 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39185 arg5
= static_cast< int >(val5
);
39187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39188 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39189 wxPyEndAllowThreads(__tstate
);
39190 if (PyErr_Occurred()) SWIG_fail
;
39192 resultobj
= SWIG_Py_Void();
39199 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39200 PyObject
*resultobj
= 0;
39201 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39206 int arg6
= (int) wxSIZE_AUTO
;
39219 PyObject
* obj0
= 0 ;
39220 PyObject
* obj1
= 0 ;
39221 PyObject
* obj2
= 0 ;
39222 PyObject
* obj3
= 0 ;
39223 PyObject
* obj4
= 0 ;
39224 PyObject
* obj5
= 0 ;
39225 char * kwnames
[] = {
39226 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39231 if (!SWIG_IsOK(res1
)) {
39232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39234 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39236 if (!SWIG_IsOK(ecode2
)) {
39237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39239 arg2
= static_cast< int >(val2
);
39240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39241 if (!SWIG_IsOK(ecode3
)) {
39242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39244 arg3
= static_cast< int >(val3
);
39245 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39246 if (!SWIG_IsOK(ecode4
)) {
39247 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39249 arg4
= static_cast< int >(val4
);
39250 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39251 if (!SWIG_IsOK(ecode5
)) {
39252 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39254 arg5
= static_cast< int >(val5
);
39256 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39257 if (!SWIG_IsOK(ecode6
)) {
39258 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39260 arg6
= static_cast< int >(val6
);
39263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39264 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39265 wxPyEndAllowThreads(__tstate
);
39266 if (PyErr_Occurred()) SWIG_fail
;
39268 resultobj
= SWIG_Py_Void();
39275 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39276 PyObject
*resultobj
= 0;
39277 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39286 PyObject
* obj0
= 0 ;
39287 PyObject
* obj1
= 0 ;
39288 PyObject
* obj2
= 0 ;
39289 char * kwnames
[] = {
39290 (char *) "self",(char *) "width",(char *) "height", NULL
39293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39295 if (!SWIG_IsOK(res1
)) {
39296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39298 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39300 if (!SWIG_IsOK(ecode2
)) {
39301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39303 arg2
= static_cast< int >(val2
);
39304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39305 if (!SWIG_IsOK(ecode3
)) {
39306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39308 arg3
= static_cast< int >(val3
);
39310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39311 (arg1
)->DoSetClientSize(arg2
,arg3
);
39312 wxPyEndAllowThreads(__tstate
);
39313 if (PyErr_Occurred()) SWIG_fail
;
39315 resultobj
= SWIG_Py_Void();
39322 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39323 PyObject
*resultobj
= 0;
39324 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39333 PyObject
* obj0
= 0 ;
39334 PyObject
* obj1
= 0 ;
39335 PyObject
* obj2
= 0 ;
39336 char * kwnames
[] = {
39337 (char *) "self",(char *) "x",(char *) "y", NULL
39340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39342 if (!SWIG_IsOK(res1
)) {
39343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39345 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39347 if (!SWIG_IsOK(ecode2
)) {
39348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39350 arg2
= static_cast< int >(val2
);
39351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39352 if (!SWIG_IsOK(ecode3
)) {
39353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39355 arg3
= static_cast< int >(val3
);
39357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39358 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39359 wxPyEndAllowThreads(__tstate
);
39360 if (PyErr_Occurred()) SWIG_fail
;
39362 resultobj
= SWIG_Py_Void();
39369 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39370 PyObject
*resultobj
= 0;
39371 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39372 int *arg2
= (int *) 0 ;
39373 int *arg3
= (int *) 0 ;
39377 int res2
= SWIG_TMPOBJ
;
39379 int res3
= SWIG_TMPOBJ
;
39380 PyObject
*swig_obj
[1] ;
39384 if (!args
) SWIG_fail
;
39385 swig_obj
[0] = args
;
39386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39387 if (!SWIG_IsOK(res1
)) {
39388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39390 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39393 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39394 wxPyEndAllowThreads(__tstate
);
39395 if (PyErr_Occurred()) SWIG_fail
;
39397 resultobj
= SWIG_Py_Void();
39398 if (SWIG_IsTmpObj(res2
)) {
39399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39401 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39404 if (SWIG_IsTmpObj(res3
)) {
39405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39407 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39416 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39417 PyObject
*resultobj
= 0;
39418 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39419 int *arg2
= (int *) 0 ;
39420 int *arg3
= (int *) 0 ;
39424 int res2
= SWIG_TMPOBJ
;
39426 int res3
= SWIG_TMPOBJ
;
39427 PyObject
*swig_obj
[1] ;
39431 if (!args
) SWIG_fail
;
39432 swig_obj
[0] = args
;
39433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39434 if (!SWIG_IsOK(res1
)) {
39435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39437 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39440 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39441 wxPyEndAllowThreads(__tstate
);
39442 if (PyErr_Occurred()) SWIG_fail
;
39444 resultobj
= SWIG_Py_Void();
39445 if (SWIG_IsTmpObj(res2
)) {
39446 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39448 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39449 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39451 if (SWIG_IsTmpObj(res3
)) {
39452 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39454 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39455 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39463 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39464 PyObject
*resultobj
= 0;
39465 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39466 int *arg2
= (int *) 0 ;
39467 int *arg3
= (int *) 0 ;
39471 int res2
= SWIG_TMPOBJ
;
39473 int res3
= SWIG_TMPOBJ
;
39474 PyObject
*swig_obj
[1] ;
39478 if (!args
) SWIG_fail
;
39479 swig_obj
[0] = args
;
39480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39481 if (!SWIG_IsOK(res1
)) {
39482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39484 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39487 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39488 wxPyEndAllowThreads(__tstate
);
39489 if (PyErr_Occurred()) SWIG_fail
;
39491 resultobj
= SWIG_Py_Void();
39492 if (SWIG_IsTmpObj(res2
)) {
39493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39495 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39498 if (SWIG_IsTmpObj(res3
)) {
39499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39501 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39510 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39511 PyObject
*resultobj
= 0;
39512 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39516 PyObject
*swig_obj
[1] ;
39518 if (!args
) SWIG_fail
;
39519 swig_obj
[0] = args
;
39520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39521 if (!SWIG_IsOK(res1
)) {
39522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39524 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39527 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39528 wxPyEndAllowThreads(__tstate
);
39529 if (PyErr_Occurred()) SWIG_fail
;
39531 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39538 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39539 PyObject
*resultobj
= 0;
39540 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39544 PyObject
*swig_obj
[1] ;
39546 if (!args
) SWIG_fail
;
39547 swig_obj
[0] = args
;
39548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39549 if (!SWIG_IsOK(res1
)) {
39550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39552 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39555 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39556 wxPyEndAllowThreads(__tstate
);
39557 if (PyErr_Occurred()) SWIG_fail
;
39559 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39566 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39567 PyObject
*resultobj
= 0;
39568 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39569 SwigValueWrapper
<wxVisualAttributes
> result
;
39572 PyObject
*swig_obj
[1] ;
39574 if (!args
) SWIG_fail
;
39575 swig_obj
[0] = args
;
39576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39577 if (!SWIG_IsOK(res1
)) {
39578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39580 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39583 result
= (arg1
)->GetDefaultAttributes();
39584 wxPyEndAllowThreads(__tstate
);
39585 if (PyErr_Occurred()) SWIG_fail
;
39587 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39594 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39595 PyObject
*resultobj
= 0;
39596 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39599 PyObject
*swig_obj
[1] ;
39601 if (!args
) SWIG_fail
;
39602 swig_obj
[0] = args
;
39603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39604 if (!SWIG_IsOK(res1
)) {
39605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39607 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39610 (arg1
)->OnInternalIdle();
39611 wxPyEndAllowThreads(__tstate
);
39612 if (PyErr_Occurred()) SWIG_fail
;
39614 resultobj
= SWIG_Py_Void();
39621 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39623 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39624 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39625 return SWIG_Py_Void();
39628 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39629 return SWIG_Python_InitShadowInstance(args
);
39632 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39633 PyObject
*resultobj
= 0;
39634 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39635 int arg2
= (int) 0 ;
39636 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39637 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39638 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39639 wxHelpEvent
*result
= 0 ;
39647 PyObject
* obj0
= 0 ;
39648 PyObject
* obj1
= 0 ;
39649 PyObject
* obj2
= 0 ;
39650 PyObject
* obj3
= 0 ;
39651 char * kwnames
[] = {
39652 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39657 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39658 if (!SWIG_IsOK(ecode1
)) {
39659 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39661 arg1
= static_cast< wxEventType
>(val1
);
39664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39665 if (!SWIG_IsOK(ecode2
)) {
39666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39668 arg2
= static_cast< int >(val2
);
39673 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39677 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39678 if (!SWIG_IsOK(ecode4
)) {
39679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39681 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39685 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39686 wxPyEndAllowThreads(__tstate
);
39687 if (PyErr_Occurred()) SWIG_fail
;
39689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39696 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39697 PyObject
*resultobj
= 0;
39698 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39702 PyObject
*swig_obj
[1] ;
39704 if (!args
) SWIG_fail
;
39705 swig_obj
[0] = args
;
39706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39707 if (!SWIG_IsOK(res1
)) {
39708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39710 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39713 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39714 wxPyEndAllowThreads(__tstate
);
39715 if (PyErr_Occurred()) SWIG_fail
;
39717 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39724 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39725 PyObject
*resultobj
= 0;
39726 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39727 wxPoint
*arg2
= 0 ;
39731 PyObject
* obj0
= 0 ;
39732 PyObject
* obj1
= 0 ;
39733 char * kwnames
[] = {
39734 (char *) "self",(char *) "pos", NULL
39737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39739 if (!SWIG_IsOK(res1
)) {
39740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39742 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39745 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39749 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39750 wxPyEndAllowThreads(__tstate
);
39751 if (PyErr_Occurred()) SWIG_fail
;
39753 resultobj
= SWIG_Py_Void();
39760 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39761 PyObject
*resultobj
= 0;
39762 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39763 wxString
*result
= 0 ;
39766 PyObject
*swig_obj
[1] ;
39768 if (!args
) SWIG_fail
;
39769 swig_obj
[0] = args
;
39770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39771 if (!SWIG_IsOK(res1
)) {
39772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39774 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39778 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39779 result
= (wxString
*) &_result_ref
;
39781 wxPyEndAllowThreads(__tstate
);
39782 if (PyErr_Occurred()) SWIG_fail
;
39786 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39788 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39797 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39798 PyObject
*resultobj
= 0;
39799 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39800 wxString
*arg2
= 0 ;
39803 bool temp2
= false ;
39804 PyObject
* obj0
= 0 ;
39805 PyObject
* obj1
= 0 ;
39806 char * kwnames
[] = {
39807 (char *) "self",(char *) "link", NULL
39810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39812 if (!SWIG_IsOK(res1
)) {
39813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39815 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39817 arg2
= wxString_in_helper(obj1
);
39818 if (arg2
== NULL
) SWIG_fail
;
39822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39823 (arg1
)->SetLink((wxString
const &)*arg2
);
39824 wxPyEndAllowThreads(__tstate
);
39825 if (PyErr_Occurred()) SWIG_fail
;
39827 resultobj
= SWIG_Py_Void();
39842 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39843 PyObject
*resultobj
= 0;
39844 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39845 wxString
*result
= 0 ;
39848 PyObject
*swig_obj
[1] ;
39850 if (!args
) SWIG_fail
;
39851 swig_obj
[0] = args
;
39852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39853 if (!SWIG_IsOK(res1
)) {
39854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39856 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39860 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39861 result
= (wxString
*) &_result_ref
;
39863 wxPyEndAllowThreads(__tstate
);
39864 if (PyErr_Occurred()) SWIG_fail
;
39868 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39870 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39879 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39880 PyObject
*resultobj
= 0;
39881 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39882 wxString
*arg2
= 0 ;
39885 bool temp2
= false ;
39886 PyObject
* obj0
= 0 ;
39887 PyObject
* obj1
= 0 ;
39888 char * kwnames
[] = {
39889 (char *) "self",(char *) "target", NULL
39892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39894 if (!SWIG_IsOK(res1
)) {
39895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39897 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39899 arg2
= wxString_in_helper(obj1
);
39900 if (arg2
== NULL
) SWIG_fail
;
39904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39905 (arg1
)->SetTarget((wxString
const &)*arg2
);
39906 wxPyEndAllowThreads(__tstate
);
39907 if (PyErr_Occurred()) SWIG_fail
;
39909 resultobj
= SWIG_Py_Void();
39924 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39925 PyObject
*resultobj
= 0;
39926 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39927 wxHelpEvent::Origin result
;
39930 PyObject
*swig_obj
[1] ;
39932 if (!args
) SWIG_fail
;
39933 swig_obj
[0] = args
;
39934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39935 if (!SWIG_IsOK(res1
)) {
39936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39938 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39941 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39942 wxPyEndAllowThreads(__tstate
);
39943 if (PyErr_Occurred()) SWIG_fail
;
39945 resultobj
= SWIG_From_int(static_cast< int >(result
));
39952 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39953 PyObject
*resultobj
= 0;
39954 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39955 wxHelpEvent::Origin arg2
;
39960 PyObject
* obj0
= 0 ;
39961 PyObject
* obj1
= 0 ;
39962 char * kwnames
[] = {
39963 (char *) "self",(char *) "origin", NULL
39966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39968 if (!SWIG_IsOK(res1
)) {
39969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39971 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39973 if (!SWIG_IsOK(ecode2
)) {
39974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39976 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39979 (arg1
)->SetOrigin(arg2
);
39980 wxPyEndAllowThreads(__tstate
);
39981 if (PyErr_Occurred()) SWIG_fail
;
39983 resultobj
= SWIG_Py_Void();
39990 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39992 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39993 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39994 return SWIG_Py_Void();
39997 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39998 return SWIG_Python_InitShadowInstance(args
);
40001 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40002 PyObject
*resultobj
= 0;
40003 wxWindow
*arg1
= (wxWindow
*) NULL
;
40004 bool arg2
= (bool) true ;
40005 wxContextHelp
*result
= 0 ;
40010 PyObject
* obj0
= 0 ;
40011 PyObject
* obj1
= 0 ;
40012 char * kwnames
[] = {
40013 (char *) "window",(char *) "doNow", NULL
40016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40019 if (!SWIG_IsOK(res1
)) {
40020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40022 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40025 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40026 if (!SWIG_IsOK(ecode2
)) {
40027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40029 arg2
= static_cast< bool >(val2
);
40032 if (!wxPyCheckForApp()) SWIG_fail
;
40033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40034 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
40035 wxPyEndAllowThreads(__tstate
);
40036 if (PyErr_Occurred()) SWIG_fail
;
40038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
40045 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40046 PyObject
*resultobj
= 0;
40047 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40050 PyObject
*swig_obj
[1] ;
40052 if (!args
) SWIG_fail
;
40053 swig_obj
[0] = args
;
40054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
40055 if (!SWIG_IsOK(res1
)) {
40056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40058 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40063 wxPyEndAllowThreads(__tstate
);
40064 if (PyErr_Occurred()) SWIG_fail
;
40066 resultobj
= SWIG_Py_Void();
40073 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40074 PyObject
*resultobj
= 0;
40075 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40076 wxWindow
*arg2
= (wxWindow
*) NULL
;
40082 PyObject
* obj0
= 0 ;
40083 PyObject
* obj1
= 0 ;
40084 char * kwnames
[] = {
40085 (char *) "self",(char *) "window", NULL
40088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40090 if (!SWIG_IsOK(res1
)) {
40091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40093 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40095 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40096 if (!SWIG_IsOK(res2
)) {
40097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40099 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40103 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
40104 wxPyEndAllowThreads(__tstate
);
40105 if (PyErr_Occurred()) SWIG_fail
;
40108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40116 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40117 PyObject
*resultobj
= 0;
40118 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40122 PyObject
*swig_obj
[1] ;
40124 if (!args
) SWIG_fail
;
40125 swig_obj
[0] = args
;
40126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40127 if (!SWIG_IsOK(res1
)) {
40128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40130 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40133 result
= (bool)(arg1
)->EndContextHelp();
40134 wxPyEndAllowThreads(__tstate
);
40135 if (PyErr_Occurred()) SWIG_fail
;
40138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40146 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40149 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40150 return SWIG_Py_Void();
40153 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40154 return SWIG_Python_InitShadowInstance(args
);
40157 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40158 PyObject
*resultobj
= 0;
40159 wxWindow
*arg1
= (wxWindow
*) 0 ;
40160 int arg2
= (int) wxID_CONTEXT_HELP
;
40161 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40162 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40163 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40164 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40165 long arg5
= (long) wxBU_AUTODRAW
;
40166 wxContextHelpButton
*result
= 0 ;
40175 PyObject
* obj0
= 0 ;
40176 PyObject
* obj1
= 0 ;
40177 PyObject
* obj2
= 0 ;
40178 PyObject
* obj3
= 0 ;
40179 PyObject
* obj4
= 0 ;
40180 char * kwnames
[] = {
40181 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40186 if (!SWIG_IsOK(res1
)) {
40187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40189 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40192 if (!SWIG_IsOK(ecode2
)) {
40193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40195 arg2
= static_cast< int >(val2
);
40200 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40206 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40210 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40211 if (!SWIG_IsOK(ecode5
)) {
40212 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40214 arg5
= static_cast< long >(val5
);
40217 if (!wxPyCheckForApp()) SWIG_fail
;
40218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40219 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40220 wxPyEndAllowThreads(__tstate
);
40221 if (PyErr_Occurred()) SWIG_fail
;
40223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40230 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40232 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40233 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40234 return SWIG_Py_Void();
40237 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40238 return SWIG_Python_InitShadowInstance(args
);
40241 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40242 PyObject
*resultobj
= 0;
40243 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40246 PyObject
*swig_obj
[1] ;
40248 if (!args
) SWIG_fail
;
40249 swig_obj
[0] = args
;
40250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40251 if (!SWIG_IsOK(res1
)) {
40252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40254 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40259 wxPyEndAllowThreads(__tstate
);
40260 if (PyErr_Occurred()) SWIG_fail
;
40262 resultobj
= SWIG_Py_Void();
40269 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40270 PyObject
*resultobj
= 0;
40271 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40272 wxHelpProvider
*result
= 0 ;
40274 PyObject
* obj0
= 0 ;
40275 char * kwnames
[] = {
40276 (char *) "helpProvider", NULL
40279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40280 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40281 if (!SWIG_IsOK(res1
)) {
40282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40286 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40287 wxPyEndAllowThreads(__tstate
);
40288 if (PyErr_Occurred()) SWIG_fail
;
40290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40297 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40298 PyObject
*resultobj
= 0;
40299 wxHelpProvider
*result
= 0 ;
40301 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40304 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40305 wxPyEndAllowThreads(__tstate
);
40306 if (PyErr_Occurred()) SWIG_fail
;
40308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40315 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40316 PyObject
*resultobj
= 0;
40317 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40318 wxWindow
*arg2
= (wxWindow
*) 0 ;
40324 PyObject
* obj0
= 0 ;
40325 PyObject
* obj1
= 0 ;
40326 char * kwnames
[] = {
40327 (char *) "self",(char *) "window", NULL
40330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40332 if (!SWIG_IsOK(res1
)) {
40333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40335 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40336 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40337 if (!SWIG_IsOK(res2
)) {
40338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40340 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40343 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40344 wxPyEndAllowThreads(__tstate
);
40345 if (PyErr_Occurred()) SWIG_fail
;
40349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40360 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40361 PyObject
*resultobj
= 0;
40362 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40363 wxWindow
*arg2
= (wxWindow
*) 0 ;
40369 PyObject
* obj0
= 0 ;
40370 PyObject
* obj1
= 0 ;
40371 char * kwnames
[] = {
40372 (char *) "self",(char *) "window", NULL
40375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40377 if (!SWIG_IsOK(res1
)) {
40378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40380 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40381 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40382 if (!SWIG_IsOK(res2
)) {
40383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40385 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40388 result
= (bool)(arg1
)->ShowHelp(arg2
);
40389 wxPyEndAllowThreads(__tstate
);
40390 if (PyErr_Occurred()) SWIG_fail
;
40393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40401 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40402 PyObject
*resultobj
= 0;
40403 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40404 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40405 wxPoint
*arg3
= 0 ;
40406 wxHelpEvent::Origin arg4
;
40415 PyObject
* obj0
= 0 ;
40416 PyObject
* obj1
= 0 ;
40417 PyObject
* obj2
= 0 ;
40418 PyObject
* obj3
= 0 ;
40419 char * kwnames
[] = {
40420 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40425 if (!SWIG_IsOK(res1
)) {
40426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40428 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40429 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40430 if (!SWIG_IsOK(res2
)) {
40431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40433 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40436 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40438 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40439 if (!SWIG_IsOK(ecode4
)) {
40440 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40442 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40445 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40446 wxPyEndAllowThreads(__tstate
);
40447 if (PyErr_Occurred()) SWIG_fail
;
40450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40458 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40459 PyObject
*resultobj
= 0;
40460 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40461 wxWindow
*arg2
= (wxWindow
*) 0 ;
40462 wxString
*arg3
= 0 ;
40467 bool temp3
= false ;
40468 PyObject
* obj0
= 0 ;
40469 PyObject
* obj1
= 0 ;
40470 PyObject
* obj2
= 0 ;
40471 char * kwnames
[] = {
40472 (char *) "self",(char *) "window",(char *) "text", NULL
40475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40477 if (!SWIG_IsOK(res1
)) {
40478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40480 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40481 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40482 if (!SWIG_IsOK(res2
)) {
40483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40485 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40487 arg3
= wxString_in_helper(obj2
);
40488 if (arg3
== NULL
) SWIG_fail
;
40492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40493 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40494 wxPyEndAllowThreads(__tstate
);
40495 if (PyErr_Occurred()) SWIG_fail
;
40497 resultobj
= SWIG_Py_Void();
40512 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40513 PyObject
*resultobj
= 0;
40514 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40516 wxString
*arg3
= 0 ;
40521 bool temp3
= false ;
40522 PyObject
* obj0
= 0 ;
40523 PyObject
* obj1
= 0 ;
40524 PyObject
* obj2
= 0 ;
40525 char * kwnames
[] = {
40526 (char *) "self",(char *) "id",(char *) "text", NULL
40529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40531 if (!SWIG_IsOK(res1
)) {
40532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40534 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40536 if (!SWIG_IsOK(ecode2
)) {
40537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40539 arg2
= static_cast< int >(val2
);
40541 arg3
= wxString_in_helper(obj2
);
40542 if (arg3
== NULL
) SWIG_fail
;
40546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40547 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40548 wxPyEndAllowThreads(__tstate
);
40549 if (PyErr_Occurred()) SWIG_fail
;
40551 resultobj
= SWIG_Py_Void();
40566 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40567 PyObject
*resultobj
= 0;
40568 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40569 wxWindow
*arg2
= (wxWindow
*) 0 ;
40574 PyObject
* obj0
= 0 ;
40575 PyObject
* obj1
= 0 ;
40576 char * kwnames
[] = {
40577 (char *) "self",(char *) "window", NULL
40580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40582 if (!SWIG_IsOK(res1
)) {
40583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40585 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40586 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40587 if (!SWIG_IsOK(res2
)) {
40588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40590 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40593 (arg1
)->RemoveHelp(arg2
);
40594 wxPyEndAllowThreads(__tstate
);
40595 if (PyErr_Occurred()) SWIG_fail
;
40597 resultobj
= SWIG_Py_Void();
40604 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40605 PyObject
*resultobj
= 0;
40606 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40609 PyObject
*swig_obj
[1] ;
40611 if (!args
) SWIG_fail
;
40612 swig_obj
[0] = args
;
40613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40614 if (!SWIG_IsOK(res1
)) {
40615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40617 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40620 wxHelpProvider_Destroy(arg1
);
40621 wxPyEndAllowThreads(__tstate
);
40622 if (PyErr_Occurred()) SWIG_fail
;
40624 resultobj
= SWIG_Py_Void();
40631 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40634 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40635 return SWIG_Py_Void();
40638 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40639 PyObject
*resultobj
= 0;
40640 wxSimpleHelpProvider
*result
= 0 ;
40642 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40645 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40646 wxPyEndAllowThreads(__tstate
);
40647 if (PyErr_Occurred()) SWIG_fail
;
40649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40656 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40658 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40659 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40660 return SWIG_Py_Void();
40663 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40664 return SWIG_Python_InitShadowInstance(args
);
40667 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40668 PyObject
*resultobj
= 0;
40669 wxBitmap
*arg1
= 0 ;
40670 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40671 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40672 wxGenericDragImage
*result
= 0 ;
40677 PyObject
* obj0
= 0 ;
40678 PyObject
* obj1
= 0 ;
40679 char * kwnames
[] = {
40680 (char *) "image",(char *) "cursor", NULL
40683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40684 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40685 if (!SWIG_IsOK(res1
)) {
40686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40691 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40694 if (!SWIG_IsOK(res2
)) {
40695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40700 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40703 if (!wxPyCheckForApp()) SWIG_fail
;
40704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40705 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40706 wxPyEndAllowThreads(__tstate
);
40707 if (PyErr_Occurred()) SWIG_fail
;
40709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40716 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40717 PyObject
*resultobj
= 0;
40719 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40720 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40721 wxGenericDragImage
*result
= 0 ;
40726 PyObject
* obj0
= 0 ;
40727 PyObject
* obj1
= 0 ;
40728 char * kwnames
[] = {
40729 (char *) "image",(char *) "cursor", NULL
40732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40733 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40734 if (!SWIG_IsOK(res1
)) {
40735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40740 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40742 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40743 if (!SWIG_IsOK(res2
)) {
40744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40749 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40752 if (!wxPyCheckForApp()) SWIG_fail
;
40753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40754 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40755 wxPyEndAllowThreads(__tstate
);
40756 if (PyErr_Occurred()) SWIG_fail
;
40758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40765 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40766 PyObject
*resultobj
= 0;
40767 wxString
*arg1
= 0 ;
40768 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40769 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40770 wxGenericDragImage
*result
= 0 ;
40771 bool temp1
= false ;
40774 PyObject
* obj0
= 0 ;
40775 PyObject
* obj1
= 0 ;
40776 char * kwnames
[] = {
40777 (char *) "str",(char *) "cursor", NULL
40780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40782 arg1
= wxString_in_helper(obj0
);
40783 if (arg1
== NULL
) SWIG_fail
;
40787 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40788 if (!SWIG_IsOK(res2
)) {
40789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40794 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40797 if (!wxPyCheckForApp()) SWIG_fail
;
40798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40799 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40800 wxPyEndAllowThreads(__tstate
);
40801 if (PyErr_Occurred()) SWIG_fail
;
40803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40818 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40819 PyObject
*resultobj
= 0;
40820 wxPyTreeCtrl
*arg1
= 0 ;
40821 wxTreeItemId
*arg2
= 0 ;
40822 wxGenericDragImage
*result
= 0 ;
40827 PyObject
* obj0
= 0 ;
40828 PyObject
* obj1
= 0 ;
40829 char * kwnames
[] = {
40830 (char *) "treeCtrl",(char *) "id", NULL
40833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40834 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40835 if (!SWIG_IsOK(res1
)) {
40836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40841 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40842 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40843 if (!SWIG_IsOK(res2
)) {
40844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40849 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40851 if (!wxPyCheckForApp()) SWIG_fail
;
40852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40853 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40854 wxPyEndAllowThreads(__tstate
);
40855 if (PyErr_Occurred()) SWIG_fail
;
40857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40864 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40865 PyObject
*resultobj
= 0;
40866 wxPyListCtrl
*arg1
= 0 ;
40868 wxGenericDragImage
*result
= 0 ;
40873 PyObject
* obj0
= 0 ;
40874 PyObject
* obj1
= 0 ;
40875 char * kwnames
[] = {
40876 (char *) "listCtrl",(char *) "id", NULL
40879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40880 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40881 if (!SWIG_IsOK(res1
)) {
40882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40887 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40888 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40889 if (!SWIG_IsOK(ecode2
)) {
40890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40892 arg2
= static_cast< long >(val2
);
40894 if (!wxPyCheckForApp()) SWIG_fail
;
40895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40896 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40897 wxPyEndAllowThreads(__tstate
);
40898 if (PyErr_Occurred()) SWIG_fail
;
40900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40907 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40908 PyObject
*resultobj
= 0;
40909 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40912 PyObject
*swig_obj
[1] ;
40914 if (!args
) SWIG_fail
;
40915 swig_obj
[0] = args
;
40916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40917 if (!SWIG_IsOK(res1
)) {
40918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40920 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40925 wxPyEndAllowThreads(__tstate
);
40926 if (PyErr_Occurred()) SWIG_fail
;
40928 resultobj
= SWIG_Py_Void();
40935 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40936 PyObject
*resultobj
= 0;
40937 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40938 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40943 PyObject
* obj0
= 0 ;
40944 PyObject
* obj1
= 0 ;
40945 char * kwnames
[] = {
40946 (char *) "self",(char *) "bitmap", NULL
40949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40951 if (!SWIG_IsOK(res1
)) {
40952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40954 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40956 if (!SWIG_IsOK(res2
)) {
40957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40959 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40962 (arg1
)->SetBackingBitmap(arg2
);
40963 wxPyEndAllowThreads(__tstate
);
40964 if (PyErr_Occurred()) SWIG_fail
;
40966 resultobj
= SWIG_Py_Void();
40973 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40974 PyObject
*resultobj
= 0;
40975 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40976 wxPoint
*arg2
= 0 ;
40977 wxWindow
*arg3
= (wxWindow
*) 0 ;
40978 bool arg4
= (bool) false ;
40979 wxRect
*arg5
= (wxRect
*) NULL
;
40990 PyObject
* obj0
= 0 ;
40991 PyObject
* obj1
= 0 ;
40992 PyObject
* obj2
= 0 ;
40993 PyObject
* obj3
= 0 ;
40994 PyObject
* obj4
= 0 ;
40995 char * kwnames
[] = {
40996 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41001 if (!SWIG_IsOK(res1
)) {
41002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41004 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41007 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41009 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41010 if (!SWIG_IsOK(res3
)) {
41011 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41013 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41015 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41016 if (!SWIG_IsOK(ecode4
)) {
41017 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41019 arg4
= static_cast< bool >(val4
);
41022 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
41023 if (!SWIG_IsOK(res5
)) {
41024 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41026 arg5
= reinterpret_cast< wxRect
* >(argp5
);
41029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41030 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
41031 wxPyEndAllowThreads(__tstate
);
41032 if (PyErr_Occurred()) SWIG_fail
;
41035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41043 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41044 PyObject
*resultobj
= 0;
41045 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41046 wxPoint
*arg2
= 0 ;
41047 wxWindow
*arg3
= (wxWindow
*) 0 ;
41048 wxWindow
*arg4
= (wxWindow
*) 0 ;
41057 PyObject
* obj0
= 0 ;
41058 PyObject
* obj1
= 0 ;
41059 PyObject
* obj2
= 0 ;
41060 PyObject
* obj3
= 0 ;
41061 char * kwnames
[] = {
41062 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41067 if (!SWIG_IsOK(res1
)) {
41068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41070 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41073 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41075 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41076 if (!SWIG_IsOK(res3
)) {
41077 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41079 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41080 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41081 if (!SWIG_IsOK(res4
)) {
41082 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41084 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
41086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41087 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
41088 wxPyEndAllowThreads(__tstate
);
41089 if (PyErr_Occurred()) SWIG_fail
;
41092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41100 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41101 PyObject
*resultobj
= 0;
41102 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41106 PyObject
*swig_obj
[1] ;
41108 if (!args
) SWIG_fail
;
41109 swig_obj
[0] = args
;
41110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41111 if (!SWIG_IsOK(res1
)) {
41112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41114 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41117 result
= (bool)(arg1
)->EndDrag();
41118 wxPyEndAllowThreads(__tstate
);
41119 if (PyErr_Occurred()) SWIG_fail
;
41122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41130 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41131 PyObject
*resultobj
= 0;
41132 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41133 wxPoint
*arg2
= 0 ;
41138 PyObject
* obj0
= 0 ;
41139 PyObject
* obj1
= 0 ;
41140 char * kwnames
[] = {
41141 (char *) "self",(char *) "pt", NULL
41144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41146 if (!SWIG_IsOK(res1
)) {
41147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41149 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41152 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41156 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41157 wxPyEndAllowThreads(__tstate
);
41158 if (PyErr_Occurred()) SWIG_fail
;
41161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41169 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41170 PyObject
*resultobj
= 0;
41171 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41175 PyObject
*swig_obj
[1] ;
41177 if (!args
) SWIG_fail
;
41178 swig_obj
[0] = args
;
41179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41180 if (!SWIG_IsOK(res1
)) {
41181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41183 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41186 result
= (bool)(arg1
)->Show();
41187 wxPyEndAllowThreads(__tstate
);
41188 if (PyErr_Occurred()) SWIG_fail
;
41191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41199 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41200 PyObject
*resultobj
= 0;
41201 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41205 PyObject
*swig_obj
[1] ;
41207 if (!args
) SWIG_fail
;
41208 swig_obj
[0] = args
;
41209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41210 if (!SWIG_IsOK(res1
)) {
41211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41213 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41216 result
= (bool)(arg1
)->Hide();
41217 wxPyEndAllowThreads(__tstate
);
41218 if (PyErr_Occurred()) SWIG_fail
;
41221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41229 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41230 PyObject
*resultobj
= 0;
41231 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41232 wxPoint
*arg2
= 0 ;
41237 PyObject
* obj0
= 0 ;
41238 PyObject
* obj1
= 0 ;
41239 char * kwnames
[] = {
41240 (char *) "self",(char *) "pos", NULL
41243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41245 if (!SWIG_IsOK(res1
)) {
41246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41248 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41251 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41255 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41256 wxPyEndAllowThreads(__tstate
);
41257 if (PyErr_Occurred()) SWIG_fail
;
41259 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41266 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41267 PyObject
*resultobj
= 0;
41268 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41270 wxPoint
*arg3
= 0 ;
41277 PyObject
* obj0
= 0 ;
41278 PyObject
* obj1
= 0 ;
41279 PyObject
* obj2
= 0 ;
41280 char * kwnames
[] = {
41281 (char *) "self",(char *) "dc",(char *) "pos", NULL
41284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41286 if (!SWIG_IsOK(res1
)) {
41287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41289 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41290 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41291 if (!SWIG_IsOK(res2
)) {
41292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41297 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41300 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41304 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41305 wxPyEndAllowThreads(__tstate
);
41306 if (PyErr_Occurred()) SWIG_fail
;
41309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41317 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41318 PyObject
*resultobj
= 0;
41319 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41321 wxMemoryDC
*arg3
= 0 ;
41333 PyObject
* obj0
= 0 ;
41334 PyObject
* obj1
= 0 ;
41335 PyObject
* obj2
= 0 ;
41336 PyObject
* obj3
= 0 ;
41337 PyObject
* obj4
= 0 ;
41338 char * kwnames
[] = {
41339 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41344 if (!SWIG_IsOK(res1
)) {
41345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41347 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41348 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41349 if (!SWIG_IsOK(res2
)) {
41350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41355 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41356 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41357 if (!SWIG_IsOK(res3
)) {
41358 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41363 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41366 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41370 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41374 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41375 wxPyEndAllowThreads(__tstate
);
41376 if (PyErr_Occurred()) SWIG_fail
;
41379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41387 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41388 PyObject
*resultobj
= 0;
41389 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41390 wxPoint
*arg2
= 0 ;
41391 wxPoint
*arg3
= 0 ;
41403 PyObject
* obj0
= 0 ;
41404 PyObject
* obj1
= 0 ;
41405 PyObject
* obj2
= 0 ;
41406 PyObject
* obj3
= 0 ;
41407 PyObject
* obj4
= 0 ;
41408 char * kwnames
[] = {
41409 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41414 if (!SWIG_IsOK(res1
)) {
41415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41417 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41420 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41424 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41426 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41427 if (!SWIG_IsOK(ecode4
)) {
41428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41430 arg4
= static_cast< bool >(val4
);
41431 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41432 if (!SWIG_IsOK(ecode5
)) {
41433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41435 arg5
= static_cast< bool >(val5
);
41437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41438 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41439 wxPyEndAllowThreads(__tstate
);
41440 if (PyErr_Occurred()) SWIG_fail
;
41443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41451 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41454 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41455 return SWIG_Py_Void();
41458 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41459 return SWIG_Python_InitShadowInstance(args
);
41462 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41463 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41468 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41469 PyObject
*pyobj
= 0;
41473 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41475 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41482 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41483 PyObject
*resultobj
= 0;
41484 wxWindow
*arg1
= (wxWindow
*) 0 ;
41485 int arg2
= (int) -1 ;
41486 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41487 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41488 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41489 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41490 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41491 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41492 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41493 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41494 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41495 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41496 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41497 wxDatePickerCtrl
*result
= 0 ;
41510 bool temp8
= false ;
41511 PyObject
* obj0
= 0 ;
41512 PyObject
* obj1
= 0 ;
41513 PyObject
* obj2
= 0 ;
41514 PyObject
* obj3
= 0 ;
41515 PyObject
* obj4
= 0 ;
41516 PyObject
* obj5
= 0 ;
41517 PyObject
* obj6
= 0 ;
41518 PyObject
* obj7
= 0 ;
41519 char * kwnames
[] = {
41520 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41525 if (!SWIG_IsOK(res1
)) {
41526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41528 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41531 if (!SWIG_IsOK(ecode2
)) {
41532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41534 arg2
= static_cast< int >(val2
);
41537 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41538 if (!SWIG_IsOK(res3
)) {
41539 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41544 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41559 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41560 if (!SWIG_IsOK(ecode6
)) {
41561 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41563 arg6
= static_cast< long >(val6
);
41566 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41567 if (!SWIG_IsOK(res7
)) {
41568 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41573 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41577 arg8
= wxString_in_helper(obj7
);
41578 if (arg8
== NULL
) SWIG_fail
;
41583 if (!wxPyCheckForApp()) SWIG_fail
;
41584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41585 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41586 wxPyEndAllowThreads(__tstate
);
41587 if (PyErr_Occurred()) SWIG_fail
;
41589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41604 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41605 PyObject
*resultobj
= 0;
41606 wxDatePickerCtrl
*result
= 0 ;
41608 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41610 if (!wxPyCheckForApp()) SWIG_fail
;
41611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41612 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41613 wxPyEndAllowThreads(__tstate
);
41614 if (PyErr_Occurred()) SWIG_fail
;
41616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41623 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41624 PyObject
*resultobj
= 0;
41625 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41626 wxWindow
*arg2
= (wxWindow
*) 0 ;
41627 int arg3
= (int) -1 ;
41628 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41629 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41630 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41631 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41632 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41633 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41634 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41635 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41636 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41637 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41638 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41654 bool temp9
= false ;
41655 PyObject
* obj0
= 0 ;
41656 PyObject
* obj1
= 0 ;
41657 PyObject
* obj2
= 0 ;
41658 PyObject
* obj3
= 0 ;
41659 PyObject
* obj4
= 0 ;
41660 PyObject
* obj5
= 0 ;
41661 PyObject
* obj6
= 0 ;
41662 PyObject
* obj7
= 0 ;
41663 PyObject
* obj8
= 0 ;
41664 char * kwnames
[] = {
41665 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41670 if (!SWIG_IsOK(res1
)) {
41671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41673 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41674 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41675 if (!SWIG_IsOK(res2
)) {
41676 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41678 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41681 if (!SWIG_IsOK(ecode3
)) {
41682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41684 arg3
= static_cast< int >(val3
);
41687 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41688 if (!SWIG_IsOK(res4
)) {
41689 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41694 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41699 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41705 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41709 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41710 if (!SWIG_IsOK(ecode7
)) {
41711 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41713 arg7
= static_cast< long >(val7
);
41716 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41717 if (!SWIG_IsOK(res8
)) {
41718 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41723 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41727 arg9
= wxString_in_helper(obj8
);
41728 if (arg9
== NULL
) SWIG_fail
;
41733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41734 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41735 wxPyEndAllowThreads(__tstate
);
41736 if (PyErr_Occurred()) SWIG_fail
;
41739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41755 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41756 PyObject
*resultobj
= 0;
41757 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41758 wxDateTime
*arg2
= 0 ;
41763 PyObject
* obj0
= 0 ;
41764 PyObject
* obj1
= 0 ;
41765 char * kwnames
[] = {
41766 (char *) "self",(char *) "dt", NULL
41769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41771 if (!SWIG_IsOK(res1
)) {
41772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41774 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41776 if (!SWIG_IsOK(res2
)) {
41777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41782 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41785 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41786 wxPyEndAllowThreads(__tstate
);
41787 if (PyErr_Occurred()) SWIG_fail
;
41789 resultobj
= SWIG_Py_Void();
41796 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41797 PyObject
*resultobj
= 0;
41798 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41802 PyObject
*swig_obj
[1] ;
41804 if (!args
) SWIG_fail
;
41805 swig_obj
[0] = args
;
41806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41807 if (!SWIG_IsOK(res1
)) {
41808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41810 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41813 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41814 wxPyEndAllowThreads(__tstate
);
41815 if (PyErr_Occurred()) SWIG_fail
;
41817 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41824 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41825 PyObject
*resultobj
= 0;
41826 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41827 wxDateTime
*arg2
= 0 ;
41828 wxDateTime
*arg3
= 0 ;
41835 PyObject
* obj0
= 0 ;
41836 PyObject
* obj1
= 0 ;
41837 PyObject
* obj2
= 0 ;
41838 char * kwnames
[] = {
41839 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41844 if (!SWIG_IsOK(res1
)) {
41845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41847 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41848 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41849 if (!SWIG_IsOK(res2
)) {
41850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41855 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41856 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41857 if (!SWIG_IsOK(res3
)) {
41858 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41863 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41866 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41867 wxPyEndAllowThreads(__tstate
);
41868 if (PyErr_Occurred()) SWIG_fail
;
41870 resultobj
= SWIG_Py_Void();
41877 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41878 PyObject
*resultobj
= 0;
41879 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41883 PyObject
*swig_obj
[1] ;
41885 if (!args
) SWIG_fail
;
41886 swig_obj
[0] = args
;
41887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41888 if (!SWIG_IsOK(res1
)) {
41889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41891 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41894 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41895 wxPyEndAllowThreads(__tstate
);
41896 if (PyErr_Occurred()) SWIG_fail
;
41898 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41905 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41906 PyObject
*resultobj
= 0;
41907 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41911 PyObject
*swig_obj
[1] ;
41913 if (!args
) SWIG_fail
;
41914 swig_obj
[0] = args
;
41915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41916 if (!SWIG_IsOK(res1
)) {
41917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41919 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41922 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41923 wxPyEndAllowThreads(__tstate
);
41924 if (PyErr_Occurred()) SWIG_fail
;
41926 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41933 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41935 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41936 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41937 return SWIG_Py_Void();
41940 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41941 return SWIG_Python_InitShadowInstance(args
);
41944 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41945 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41950 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41951 PyObject
*pyobj
= 0;
41955 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41957 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41964 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41965 PyObject
*resultobj
= 0;
41966 wxWindow
*arg1
= (wxWindow
*) 0 ;
41968 wxString
*arg3
= 0 ;
41969 wxString
*arg4
= 0 ;
41970 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41971 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41972 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41973 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41974 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41975 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41976 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41977 wxHyperlinkCtrl
*result
= 0 ;
41982 bool temp3
= false ;
41983 bool temp4
= false ;
41988 bool temp8
= false ;
41989 PyObject
* obj0
= 0 ;
41990 PyObject
* obj1
= 0 ;
41991 PyObject
* obj2
= 0 ;
41992 PyObject
* obj3
= 0 ;
41993 PyObject
* obj4
= 0 ;
41994 PyObject
* obj5
= 0 ;
41995 PyObject
* obj6
= 0 ;
41996 PyObject
* obj7
= 0 ;
41997 char * kwnames
[] = {
41998 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42003 if (!SWIG_IsOK(res1
)) {
42004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42006 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42008 if (!SWIG_IsOK(ecode2
)) {
42009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42011 arg2
= static_cast< int >(val2
);
42013 arg3
= wxString_in_helper(obj2
);
42014 if (arg3
== NULL
) SWIG_fail
;
42018 arg4
= wxString_in_helper(obj3
);
42019 if (arg4
== NULL
) SWIG_fail
;
42025 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42031 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42035 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42036 if (!SWIG_IsOK(ecode7
)) {
42037 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42039 arg7
= static_cast< long >(val7
);
42043 arg8
= wxString_in_helper(obj7
);
42044 if (arg8
== NULL
) SWIG_fail
;
42049 if (!wxPyCheckForApp()) SWIG_fail
;
42050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42051 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
42052 wxPyEndAllowThreads(__tstate
);
42053 if (PyErr_Occurred()) SWIG_fail
;
42055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
42086 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42087 PyObject
*resultobj
= 0;
42088 wxHyperlinkCtrl
*result
= 0 ;
42090 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
42092 if (!wxPyCheckForApp()) SWIG_fail
;
42093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42094 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
42095 wxPyEndAllowThreads(__tstate
);
42096 if (PyErr_Occurred()) SWIG_fail
;
42098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
42105 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42106 PyObject
*resultobj
= 0;
42107 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42108 wxWindow
*arg2
= (wxWindow
*) 0 ;
42110 wxString
*arg4
= 0 ;
42111 wxString
*arg5
= 0 ;
42112 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42113 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42114 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42115 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42116 long arg8
= (long) wxHL_DEFAULT_STYLE
;
42117 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
42118 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42126 bool temp4
= false ;
42127 bool temp5
= false ;
42132 bool temp9
= false ;
42133 PyObject
* obj0
= 0 ;
42134 PyObject
* obj1
= 0 ;
42135 PyObject
* obj2
= 0 ;
42136 PyObject
* obj3
= 0 ;
42137 PyObject
* obj4
= 0 ;
42138 PyObject
* obj5
= 0 ;
42139 PyObject
* obj6
= 0 ;
42140 PyObject
* obj7
= 0 ;
42141 PyObject
* obj8
= 0 ;
42142 char * kwnames
[] = {
42143 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42148 if (!SWIG_IsOK(res1
)) {
42149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42151 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42152 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42153 if (!SWIG_IsOK(res2
)) {
42154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42156 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42158 if (!SWIG_IsOK(ecode3
)) {
42159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42161 arg3
= static_cast< int >(val3
);
42163 arg4
= wxString_in_helper(obj3
);
42164 if (arg4
== NULL
) SWIG_fail
;
42168 arg5
= wxString_in_helper(obj4
);
42169 if (arg5
== NULL
) SWIG_fail
;
42175 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42181 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42185 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42186 if (!SWIG_IsOK(ecode8
)) {
42187 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42189 arg8
= static_cast< long >(val8
);
42193 arg9
= wxString_in_helper(obj8
);
42194 if (arg9
== NULL
) SWIG_fail
;
42199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42200 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42201 wxPyEndAllowThreads(__tstate
);
42202 if (PyErr_Occurred()) SWIG_fail
;
42205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42237 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42238 PyObject
*resultobj
= 0;
42239 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42243 PyObject
*swig_obj
[1] ;
42245 if (!args
) SWIG_fail
;
42246 swig_obj
[0] = args
;
42247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42248 if (!SWIG_IsOK(res1
)) {
42249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42251 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42254 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42255 wxPyEndAllowThreads(__tstate
);
42256 if (PyErr_Occurred()) SWIG_fail
;
42258 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42265 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42266 PyObject
*resultobj
= 0;
42267 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42268 wxColour
*arg2
= 0 ;
42272 PyObject
* obj0
= 0 ;
42273 PyObject
* obj1
= 0 ;
42274 char * kwnames
[] = {
42275 (char *) "self",(char *) "colour", NULL
42278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42280 if (!SWIG_IsOK(res1
)) {
42281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42283 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42286 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42290 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42291 wxPyEndAllowThreads(__tstate
);
42292 if (PyErr_Occurred()) SWIG_fail
;
42294 resultobj
= SWIG_Py_Void();
42301 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42302 PyObject
*resultobj
= 0;
42303 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42307 PyObject
*swig_obj
[1] ;
42309 if (!args
) SWIG_fail
;
42310 swig_obj
[0] = args
;
42311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42312 if (!SWIG_IsOK(res1
)) {
42313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42315 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42318 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42319 wxPyEndAllowThreads(__tstate
);
42320 if (PyErr_Occurred()) SWIG_fail
;
42322 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42329 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42330 PyObject
*resultobj
= 0;
42331 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42332 wxColour
*arg2
= 0 ;
42336 PyObject
* obj0
= 0 ;
42337 PyObject
* obj1
= 0 ;
42338 char * kwnames
[] = {
42339 (char *) "self",(char *) "colour", NULL
42342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42344 if (!SWIG_IsOK(res1
)) {
42345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42347 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42350 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42354 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42355 wxPyEndAllowThreads(__tstate
);
42356 if (PyErr_Occurred()) SWIG_fail
;
42358 resultobj
= SWIG_Py_Void();
42365 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42366 PyObject
*resultobj
= 0;
42367 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42371 PyObject
*swig_obj
[1] ;
42373 if (!args
) SWIG_fail
;
42374 swig_obj
[0] = args
;
42375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42376 if (!SWIG_IsOK(res1
)) {
42377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42379 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42382 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42383 wxPyEndAllowThreads(__tstate
);
42384 if (PyErr_Occurred()) SWIG_fail
;
42386 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42393 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42394 PyObject
*resultobj
= 0;
42395 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42396 wxColour
*arg2
= 0 ;
42400 PyObject
* obj0
= 0 ;
42401 PyObject
* obj1
= 0 ;
42402 char * kwnames
[] = {
42403 (char *) "self",(char *) "colour", NULL
42406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42408 if (!SWIG_IsOK(res1
)) {
42409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42411 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42414 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42418 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42419 wxPyEndAllowThreads(__tstate
);
42420 if (PyErr_Occurred()) SWIG_fail
;
42422 resultobj
= SWIG_Py_Void();
42429 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42430 PyObject
*resultobj
= 0;
42431 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42435 PyObject
*swig_obj
[1] ;
42437 if (!args
) SWIG_fail
;
42438 swig_obj
[0] = args
;
42439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42440 if (!SWIG_IsOK(res1
)) {
42441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42443 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42446 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42447 wxPyEndAllowThreads(__tstate
);
42448 if (PyErr_Occurred()) SWIG_fail
;
42452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42463 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42464 PyObject
*resultobj
= 0;
42465 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42466 wxString
*arg2
= 0 ;
42469 bool temp2
= false ;
42470 PyObject
* obj0
= 0 ;
42471 PyObject
* obj1
= 0 ;
42472 char * kwnames
[] = {
42473 (char *) "self",(char *) "url", NULL
42476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42478 if (!SWIG_IsOK(res1
)) {
42479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42481 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42483 arg2
= wxString_in_helper(obj1
);
42484 if (arg2
== NULL
) SWIG_fail
;
42488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42489 (arg1
)->SetURL((wxString
const &)*arg2
);
42490 wxPyEndAllowThreads(__tstate
);
42491 if (PyErr_Occurred()) SWIG_fail
;
42493 resultobj
= SWIG_Py_Void();
42508 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42509 PyObject
*resultobj
= 0;
42510 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42511 bool arg2
= (bool) true ;
42516 PyObject
* obj0
= 0 ;
42517 PyObject
* obj1
= 0 ;
42518 char * kwnames
[] = {
42519 (char *) "self",(char *) "visited", NULL
42522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42524 if (!SWIG_IsOK(res1
)) {
42525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42527 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42529 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42530 if (!SWIG_IsOK(ecode2
)) {
42531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42533 arg2
= static_cast< bool >(val2
);
42536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42537 (arg1
)->SetVisited(arg2
);
42538 wxPyEndAllowThreads(__tstate
);
42539 if (PyErr_Occurred()) SWIG_fail
;
42541 resultobj
= SWIG_Py_Void();
42548 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42549 PyObject
*resultobj
= 0;
42550 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42554 PyObject
*swig_obj
[1] ;
42556 if (!args
) SWIG_fail
;
42557 swig_obj
[0] = args
;
42558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42559 if (!SWIG_IsOK(res1
)) {
42560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42562 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42565 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42566 wxPyEndAllowThreads(__tstate
);
42567 if (PyErr_Occurred()) SWIG_fail
;
42570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42578 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42581 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42582 return SWIG_Py_Void();
42585 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42586 return SWIG_Python_InitShadowInstance(args
);
42589 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42590 PyObject
*resultobj
= 0;
42591 wxObject
*arg1
= (wxObject
*) 0 ;
42593 wxString
*arg3
= 0 ;
42594 wxHyperlinkEvent
*result
= 0 ;
42599 bool temp3
= false ;
42600 PyObject
* obj0
= 0 ;
42601 PyObject
* obj1
= 0 ;
42602 PyObject
* obj2
= 0 ;
42603 char * kwnames
[] = {
42604 (char *) "generator",(char *) "id",(char *) "url", NULL
42607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42609 if (!SWIG_IsOK(res1
)) {
42610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42612 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42614 if (!SWIG_IsOK(ecode2
)) {
42615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42617 arg2
= static_cast< int >(val2
);
42619 arg3
= wxString_in_helper(obj2
);
42620 if (arg3
== NULL
) SWIG_fail
;
42624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42625 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42626 wxPyEndAllowThreads(__tstate
);
42627 if (PyErr_Occurred()) SWIG_fail
;
42629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42644 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42645 PyObject
*resultobj
= 0;
42646 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42650 PyObject
*swig_obj
[1] ;
42652 if (!args
) SWIG_fail
;
42653 swig_obj
[0] = args
;
42654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42655 if (!SWIG_IsOK(res1
)) {
42656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42658 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42661 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42662 wxPyEndAllowThreads(__tstate
);
42663 if (PyErr_Occurred()) SWIG_fail
;
42667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42678 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42679 PyObject
*resultobj
= 0;
42680 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42681 wxString
*arg2
= 0 ;
42684 bool temp2
= false ;
42685 PyObject
* obj0
= 0 ;
42686 PyObject
* obj1
= 0 ;
42687 char * kwnames
[] = {
42688 (char *) "self",(char *) "url", NULL
42691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42693 if (!SWIG_IsOK(res1
)) {
42694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42696 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42698 arg2
= wxString_in_helper(obj1
);
42699 if (arg2
== NULL
) SWIG_fail
;
42703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42704 (arg1
)->SetURL((wxString
const &)*arg2
);
42705 wxPyEndAllowThreads(__tstate
);
42706 if (PyErr_Occurred()) SWIG_fail
;
42708 resultobj
= SWIG_Py_Void();
42723 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42726 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42727 return SWIG_Py_Void();
42730 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42731 return SWIG_Python_InitShadowInstance(args
);
42734 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42735 PyObject
*resultobj
= 0;
42736 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42737 wxWindow
*arg2
= (wxWindow
*) 0 ;
42739 wxString
const &arg4_defvalue
= wxEmptyString
;
42740 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42741 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42742 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42743 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42744 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42745 long arg7
= (long) 0 ;
42746 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42747 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42748 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42749 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42757 bool temp4
= false ;
42764 bool temp9
= false ;
42765 PyObject
* obj0
= 0 ;
42766 PyObject
* obj1
= 0 ;
42767 PyObject
* obj2
= 0 ;
42768 PyObject
* obj3
= 0 ;
42769 PyObject
* obj4
= 0 ;
42770 PyObject
* obj5
= 0 ;
42771 PyObject
* obj6
= 0 ;
42772 PyObject
* obj7
= 0 ;
42773 PyObject
* obj8
= 0 ;
42774 char * kwnames
[] = {
42775 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42780 if (!SWIG_IsOK(res1
)) {
42781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42783 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42784 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42785 if (!SWIG_IsOK(res2
)) {
42786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42788 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42790 if (!SWIG_IsOK(ecode3
)) {
42791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42793 arg3
= static_cast< int >(val3
);
42796 arg4
= wxString_in_helper(obj3
);
42797 if (arg4
== NULL
) SWIG_fail
;
42804 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42810 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42814 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42815 if (!SWIG_IsOK(ecode7
)) {
42816 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42818 arg7
= static_cast< long >(val7
);
42821 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42822 if (!SWIG_IsOK(res8
)) {
42823 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42828 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42832 arg9
= wxString_in_helper(obj8
);
42833 if (arg9
== NULL
) SWIG_fail
;
42838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42839 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42840 wxPyEndAllowThreads(__tstate
);
42841 if (PyErr_Occurred()) SWIG_fail
;
42844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42868 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42869 PyObject
*resultobj
= 0;
42870 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42876 PyObject
* obj0
= 0 ;
42877 PyObject
* obj1
= 0 ;
42878 char * kwnames
[] = {
42879 (char *) "self",(char *) "newmargin", NULL
42882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42884 if (!SWIG_IsOK(res1
)) {
42885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42887 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42889 if (!SWIG_IsOK(ecode2
)) {
42890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42892 arg2
= static_cast< int >(val2
);
42894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42895 (arg1
)->SetInternalMargin(arg2
);
42896 wxPyEndAllowThreads(__tstate
);
42897 if (PyErr_Occurred()) SWIG_fail
;
42899 resultobj
= SWIG_Py_Void();
42906 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42907 PyObject
*resultobj
= 0;
42908 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42912 PyObject
*swig_obj
[1] ;
42914 if (!args
) SWIG_fail
;
42915 swig_obj
[0] = args
;
42916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42917 if (!SWIG_IsOK(res1
)) {
42918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42920 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42923 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42924 wxPyEndAllowThreads(__tstate
);
42925 if (PyErr_Occurred()) SWIG_fail
;
42927 resultobj
= SWIG_From_int(static_cast< int >(result
));
42934 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42935 PyObject
*resultobj
= 0;
42936 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42942 PyObject
* obj0
= 0 ;
42943 PyObject
* obj1
= 0 ;
42944 char * kwnames
[] = {
42945 (char *) "self",(char *) "prop", NULL
42948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42950 if (!SWIG_IsOK(res1
)) {
42951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42953 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42955 if (!SWIG_IsOK(ecode2
)) {
42956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42958 arg2
= static_cast< int >(val2
);
42960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42961 (arg1
)->SetTextCtrlProportion(arg2
);
42962 wxPyEndAllowThreads(__tstate
);
42963 if (PyErr_Occurred()) SWIG_fail
;
42965 resultobj
= SWIG_Py_Void();
42972 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42973 PyObject
*resultobj
= 0;
42974 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42978 PyObject
*swig_obj
[1] ;
42980 if (!args
) SWIG_fail
;
42981 swig_obj
[0] = args
;
42982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42983 if (!SWIG_IsOK(res1
)) {
42984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42986 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42989 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42990 wxPyEndAllowThreads(__tstate
);
42991 if (PyErr_Occurred()) SWIG_fail
;
42993 resultobj
= SWIG_From_int(static_cast< int >(result
));
43000 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43001 PyObject
*resultobj
= 0;
43002 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43008 PyObject
* obj0
= 0 ;
43009 PyObject
* obj1
= 0 ;
43010 char * kwnames
[] = {
43011 (char *) "self",(char *) "prop", NULL
43014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43016 if (!SWIG_IsOK(res1
)) {
43017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43019 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43021 if (!SWIG_IsOK(ecode2
)) {
43022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43024 arg2
= static_cast< int >(val2
);
43026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43027 (arg1
)->SetPickerCtrlProportion(arg2
);
43028 wxPyEndAllowThreads(__tstate
);
43029 if (PyErr_Occurred()) SWIG_fail
;
43031 resultobj
= SWIG_Py_Void();
43038 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43039 PyObject
*resultobj
= 0;
43040 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43044 PyObject
*swig_obj
[1] ;
43046 if (!args
) SWIG_fail
;
43047 swig_obj
[0] = args
;
43048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43049 if (!SWIG_IsOK(res1
)) {
43050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43052 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43055 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
43056 wxPyEndAllowThreads(__tstate
);
43057 if (PyErr_Occurred()) SWIG_fail
;
43059 resultobj
= SWIG_From_int(static_cast< int >(result
));
43066 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43067 PyObject
*resultobj
= 0;
43068 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43072 PyObject
*swig_obj
[1] ;
43074 if (!args
) SWIG_fail
;
43075 swig_obj
[0] = args
;
43076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43077 if (!SWIG_IsOK(res1
)) {
43078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43080 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43083 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
43084 wxPyEndAllowThreads(__tstate
);
43085 if (PyErr_Occurred()) SWIG_fail
;
43088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43096 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43097 PyObject
*resultobj
= 0;
43098 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43099 bool arg2
= (bool) true ;
43104 PyObject
* obj0
= 0 ;
43105 PyObject
* obj1
= 0 ;
43106 char * kwnames
[] = {
43107 (char *) "self",(char *) "grow", NULL
43110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43112 if (!SWIG_IsOK(res1
)) {
43113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43115 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43117 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43118 if (!SWIG_IsOK(ecode2
)) {
43119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43121 arg2
= static_cast< bool >(val2
);
43124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43125 (arg1
)->SetTextCtrlGrowable(arg2
);
43126 wxPyEndAllowThreads(__tstate
);
43127 if (PyErr_Occurred()) SWIG_fail
;
43129 resultobj
= SWIG_Py_Void();
43136 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43137 PyObject
*resultobj
= 0;
43138 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43142 PyObject
*swig_obj
[1] ;
43144 if (!args
) SWIG_fail
;
43145 swig_obj
[0] = args
;
43146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43147 if (!SWIG_IsOK(res1
)) {
43148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43150 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43153 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43154 wxPyEndAllowThreads(__tstate
);
43155 if (PyErr_Occurred()) SWIG_fail
;
43158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43166 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43167 PyObject
*resultobj
= 0;
43168 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43169 bool arg2
= (bool) true ;
43174 PyObject
* obj0
= 0 ;
43175 PyObject
* obj1
= 0 ;
43176 char * kwnames
[] = {
43177 (char *) "self",(char *) "grow", NULL
43180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43182 if (!SWIG_IsOK(res1
)) {
43183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43185 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43187 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43188 if (!SWIG_IsOK(ecode2
)) {
43189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43191 arg2
= static_cast< bool >(val2
);
43194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43195 (arg1
)->SetPickerCtrlGrowable(arg2
);
43196 wxPyEndAllowThreads(__tstate
);
43197 if (PyErr_Occurred()) SWIG_fail
;
43199 resultobj
= SWIG_Py_Void();
43206 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43207 PyObject
*resultobj
= 0;
43208 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43212 PyObject
*swig_obj
[1] ;
43214 if (!args
) SWIG_fail
;
43215 swig_obj
[0] = args
;
43216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43217 if (!SWIG_IsOK(res1
)) {
43218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43220 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43223 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43224 wxPyEndAllowThreads(__tstate
);
43225 if (PyErr_Occurred()) SWIG_fail
;
43228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43236 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43237 PyObject
*resultobj
= 0;
43238 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43239 wxTextCtrl
*result
= 0 ;
43242 PyObject
*swig_obj
[1] ;
43244 if (!args
) SWIG_fail
;
43245 swig_obj
[0] = args
;
43246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43247 if (!SWIG_IsOK(res1
)) {
43248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43250 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43253 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43254 wxPyEndAllowThreads(__tstate
);
43255 if (PyErr_Occurred()) SWIG_fail
;
43258 resultobj
= wxPyMake_wxObject(result
, 0);
43266 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43267 PyObject
*resultobj
= 0;
43268 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43269 wxControl
*result
= 0 ;
43272 PyObject
*swig_obj
[1] ;
43274 if (!args
) SWIG_fail
;
43275 swig_obj
[0] = args
;
43276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43277 if (!SWIG_IsOK(res1
)) {
43278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43280 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43283 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43284 wxPyEndAllowThreads(__tstate
);
43285 if (PyErr_Occurred()) SWIG_fail
;
43288 resultobj
= wxPyMake_wxObject(result
, 0);
43296 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43298 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43299 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43300 return SWIG_Py_Void();
43303 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43304 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43309 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43310 PyObject
*pyobj
= 0;
43314 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43316 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43323 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43324 PyObject
*resultobj
= 0;
43325 wxWindow
*arg1
= (wxWindow
*) 0 ;
43326 int arg2
= (int) -1 ;
43327 wxColour
const &arg3_defvalue
= *wxBLACK
;
43328 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43329 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43330 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43331 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43332 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43333 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43334 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43335 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43336 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43337 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43338 wxColourPickerCtrl
*result
= 0 ;
43350 bool temp8
= false ;
43351 PyObject
* obj0
= 0 ;
43352 PyObject
* obj1
= 0 ;
43353 PyObject
* obj2
= 0 ;
43354 PyObject
* obj3
= 0 ;
43355 PyObject
* obj4
= 0 ;
43356 PyObject
* obj5
= 0 ;
43357 PyObject
* obj6
= 0 ;
43358 PyObject
* obj7
= 0 ;
43359 char * kwnames
[] = {
43360 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43365 if (!SWIG_IsOK(res1
)) {
43366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43368 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43371 if (!SWIG_IsOK(ecode2
)) {
43372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43374 arg2
= static_cast< int >(val2
);
43379 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43385 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43391 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43395 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43396 if (!SWIG_IsOK(ecode6
)) {
43397 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43399 arg6
= static_cast< long >(val6
);
43402 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43403 if (!SWIG_IsOK(res7
)) {
43404 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43409 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43413 arg8
= wxString_in_helper(obj7
);
43414 if (arg8
== NULL
) SWIG_fail
;
43419 if (!wxPyCheckForApp()) SWIG_fail
;
43420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43421 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43422 wxPyEndAllowThreads(__tstate
);
43423 if (PyErr_Occurred()) SWIG_fail
;
43425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43440 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43441 PyObject
*resultobj
= 0;
43442 wxColourPickerCtrl
*result
= 0 ;
43444 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43446 if (!wxPyCheckForApp()) SWIG_fail
;
43447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43448 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43449 wxPyEndAllowThreads(__tstate
);
43450 if (PyErr_Occurred()) SWIG_fail
;
43452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43459 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43460 PyObject
*resultobj
= 0;
43461 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43462 wxWindow
*arg2
= (wxWindow
*) 0 ;
43464 wxColour
const &arg4_defvalue
= *wxBLACK
;
43465 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43466 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43467 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43468 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43469 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43470 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43471 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43472 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43473 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43474 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43489 bool temp9
= false ;
43490 PyObject
* obj0
= 0 ;
43491 PyObject
* obj1
= 0 ;
43492 PyObject
* obj2
= 0 ;
43493 PyObject
* obj3
= 0 ;
43494 PyObject
* obj4
= 0 ;
43495 PyObject
* obj5
= 0 ;
43496 PyObject
* obj6
= 0 ;
43497 PyObject
* obj7
= 0 ;
43498 PyObject
* obj8
= 0 ;
43499 char * kwnames
[] = {
43500 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43505 if (!SWIG_IsOK(res1
)) {
43506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43508 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43509 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43510 if (!SWIG_IsOK(res2
)) {
43511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43513 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43515 if (!SWIG_IsOK(ecode3
)) {
43516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43518 arg3
= static_cast< int >(val3
);
43522 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43528 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43534 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43538 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43539 if (!SWIG_IsOK(ecode7
)) {
43540 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43542 arg7
= static_cast< long >(val7
);
43545 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43546 if (!SWIG_IsOK(res8
)) {
43547 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43552 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43556 arg9
= wxString_in_helper(obj8
);
43557 if (arg9
== NULL
) SWIG_fail
;
43562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43563 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43564 wxPyEndAllowThreads(__tstate
);
43565 if (PyErr_Occurred()) SWIG_fail
;
43568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43584 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43585 PyObject
*resultobj
= 0;
43586 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43590 PyObject
*swig_obj
[1] ;
43592 if (!args
) SWIG_fail
;
43593 swig_obj
[0] = args
;
43594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43595 if (!SWIG_IsOK(res1
)) {
43596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43598 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43601 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43602 wxPyEndAllowThreads(__tstate
);
43603 if (PyErr_Occurred()) SWIG_fail
;
43605 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43612 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43613 PyObject
*resultobj
= 0;
43614 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43615 wxColour
*arg2
= 0 ;
43619 PyObject
* obj0
= 0 ;
43620 PyObject
* obj1
= 0 ;
43621 char * kwnames
[] = {
43622 (char *) "self",(char *) "col", NULL
43625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43627 if (!SWIG_IsOK(res1
)) {
43628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43630 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43633 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43637 (arg1
)->SetColour((wxColour
const &)*arg2
);
43638 wxPyEndAllowThreads(__tstate
);
43639 if (PyErr_Occurred()) SWIG_fail
;
43641 resultobj
= SWIG_Py_Void();
43648 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43650 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43651 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43652 return SWIG_Py_Void();
43655 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43656 return SWIG_Python_InitShadowInstance(args
);
43659 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43660 PyObject
*resultobj
= 0;
43661 wxObject
*arg1
= (wxObject
*) 0 ;
43663 wxColour
*arg3
= 0 ;
43664 wxColourPickerEvent
*result
= 0 ;
43670 PyObject
* obj0
= 0 ;
43671 PyObject
* obj1
= 0 ;
43672 PyObject
* obj2
= 0 ;
43673 char * kwnames
[] = {
43674 (char *) "generator",(char *) "id",(char *) "col", NULL
43677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43679 if (!SWIG_IsOK(res1
)) {
43680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43682 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43684 if (!SWIG_IsOK(ecode2
)) {
43685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43687 arg2
= static_cast< int >(val2
);
43690 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43694 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43695 wxPyEndAllowThreads(__tstate
);
43696 if (PyErr_Occurred()) SWIG_fail
;
43698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43705 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43706 PyObject
*resultobj
= 0;
43707 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43711 PyObject
*swig_obj
[1] ;
43713 if (!args
) SWIG_fail
;
43714 swig_obj
[0] = args
;
43715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43716 if (!SWIG_IsOK(res1
)) {
43717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43719 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43722 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43723 wxPyEndAllowThreads(__tstate
);
43724 if (PyErr_Occurred()) SWIG_fail
;
43726 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43733 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43734 PyObject
*resultobj
= 0;
43735 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43736 wxColour
*arg2
= 0 ;
43740 PyObject
* obj0
= 0 ;
43741 PyObject
* obj1
= 0 ;
43742 char * kwnames
[] = {
43743 (char *) "self",(char *) "c", NULL
43746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43748 if (!SWIG_IsOK(res1
)) {
43749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43751 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43754 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43758 (arg1
)->SetColour((wxColour
const &)*arg2
);
43759 wxPyEndAllowThreads(__tstate
);
43760 if (PyErr_Occurred()) SWIG_fail
;
43762 resultobj
= SWIG_Py_Void();
43769 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43772 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43773 return SWIG_Py_Void();
43776 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43777 return SWIG_Python_InitShadowInstance(args
);
43780 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43781 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43786 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43787 PyObject
*pyobj
= 0;
43791 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43793 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43800 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43801 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43806 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43807 PyObject
*pyobj
= 0;
43811 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43813 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43820 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43821 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43826 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43827 PyObject
*pyobj
= 0;
43831 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43833 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43840 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43841 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43846 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43847 PyObject
*pyobj
= 0;
43851 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43853 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43860 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43861 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43866 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43867 PyObject
*pyobj
= 0;
43871 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43873 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43880 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43881 PyObject
*resultobj
= 0;
43882 wxWindow
*arg1
= (wxWindow
*) 0 ;
43883 int arg2
= (int) -1 ;
43884 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43885 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43886 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43887 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43888 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43889 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43890 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43891 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43892 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43893 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43894 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43895 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43896 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43897 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43898 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43899 wxFilePickerCtrl
*result
= 0 ;
43904 bool temp3
= false ;
43905 bool temp4
= false ;
43906 bool temp5
= false ;
43913 bool temp10
= false ;
43914 PyObject
* obj0
= 0 ;
43915 PyObject
* obj1
= 0 ;
43916 PyObject
* obj2
= 0 ;
43917 PyObject
* obj3
= 0 ;
43918 PyObject
* obj4
= 0 ;
43919 PyObject
* obj5
= 0 ;
43920 PyObject
* obj6
= 0 ;
43921 PyObject
* obj7
= 0 ;
43922 PyObject
* obj8
= 0 ;
43923 PyObject
* obj9
= 0 ;
43924 char * kwnames
[] = {
43925 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43930 if (!SWIG_IsOK(res1
)) {
43931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43933 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43936 if (!SWIG_IsOK(ecode2
)) {
43937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43939 arg2
= static_cast< int >(val2
);
43943 arg3
= wxString_in_helper(obj2
);
43944 if (arg3
== NULL
) SWIG_fail
;
43950 arg4
= wxString_in_helper(obj3
);
43951 if (arg4
== NULL
) SWIG_fail
;
43957 arg5
= wxString_in_helper(obj4
);
43958 if (arg5
== NULL
) SWIG_fail
;
43965 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43971 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43975 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43976 if (!SWIG_IsOK(ecode8
)) {
43977 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43979 arg8
= static_cast< long >(val8
);
43982 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43983 if (!SWIG_IsOK(res9
)) {
43984 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43989 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43993 arg10
= wxString_in_helper(obj9
);
43994 if (arg10
== NULL
) SWIG_fail
;
43999 if (!wxPyCheckForApp()) SWIG_fail
;
44000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44001 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
44002 wxPyEndAllowThreads(__tstate
);
44003 if (PyErr_Occurred()) SWIG_fail
;
44005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
44044 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44045 PyObject
*resultobj
= 0;
44046 wxFilePickerCtrl
*result
= 0 ;
44048 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
44050 if (!wxPyCheckForApp()) SWIG_fail
;
44051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44052 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
44053 wxPyEndAllowThreads(__tstate
);
44054 if (PyErr_Occurred()) SWIG_fail
;
44056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
44063 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44064 PyObject
*resultobj
= 0;
44065 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44066 wxWindow
*arg2
= (wxWindow
*) 0 ;
44067 int arg3
= (int) -1 ;
44068 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44069 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44070 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
44071 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44072 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44073 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
44074 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
44075 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
44076 wxSize
const &arg8_defvalue
= wxDefaultSize
;
44077 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
44078 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
44079 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
44080 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
44081 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
44082 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
44090 bool temp4
= false ;
44091 bool temp5
= false ;
44092 bool temp6
= false ;
44099 bool temp11
= false ;
44100 PyObject
* obj0
= 0 ;
44101 PyObject
* obj1
= 0 ;
44102 PyObject
* obj2
= 0 ;
44103 PyObject
* obj3
= 0 ;
44104 PyObject
* obj4
= 0 ;
44105 PyObject
* obj5
= 0 ;
44106 PyObject
* obj6
= 0 ;
44107 PyObject
* obj7
= 0 ;
44108 PyObject
* obj8
= 0 ;
44109 PyObject
* obj9
= 0 ;
44110 PyObject
* obj10
= 0 ;
44111 char * kwnames
[] = {
44112 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
44116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44117 if (!SWIG_IsOK(res1
)) {
44118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44120 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44121 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44122 if (!SWIG_IsOK(res2
)) {
44123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44125 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44128 if (!SWIG_IsOK(ecode3
)) {
44129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44131 arg3
= static_cast< int >(val3
);
44135 arg4
= wxString_in_helper(obj3
);
44136 if (arg4
== NULL
) SWIG_fail
;
44142 arg5
= wxString_in_helper(obj4
);
44143 if (arg5
== NULL
) SWIG_fail
;
44149 arg6
= wxString_in_helper(obj5
);
44150 if (arg6
== NULL
) SWIG_fail
;
44157 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44163 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44167 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44168 if (!SWIG_IsOK(ecode9
)) {
44169 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44171 arg9
= static_cast< long >(val9
);
44174 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44175 if (!SWIG_IsOK(res10
)) {
44176 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44181 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44185 arg11
= wxString_in_helper(obj10
);
44186 if (arg11
== NULL
) SWIG_fail
;
44191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44192 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxString
const &)*arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
44193 wxPyEndAllowThreads(__tstate
);
44194 if (PyErr_Occurred()) SWIG_fail
;
44197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44237 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44238 PyObject
*resultobj
= 0;
44239 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44243 PyObject
*swig_obj
[1] ;
44245 if (!args
) SWIG_fail
;
44246 swig_obj
[0] = args
;
44247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44248 if (!SWIG_IsOK(res1
)) {
44249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44251 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44254 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44255 wxPyEndAllowThreads(__tstate
);
44256 if (PyErr_Occurred()) SWIG_fail
;
44260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44271 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44272 PyObject
*resultobj
= 0;
44273 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44274 wxString
*arg2
= 0 ;
44277 bool temp2
= false ;
44278 PyObject
* obj0
= 0 ;
44279 PyObject
* obj1
= 0 ;
44280 char * kwnames
[] = {
44281 (char *) "self",(char *) "str", NULL
44284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44286 if (!SWIG_IsOK(res1
)) {
44287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44289 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44291 arg2
= wxString_in_helper(obj1
);
44292 if (arg2
== NULL
) SWIG_fail
;
44296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44297 (arg1
)->SetPath((wxString
const &)*arg2
);
44298 wxPyEndAllowThreads(__tstate
);
44299 if (PyErr_Occurred()) SWIG_fail
;
44301 resultobj
= SWIG_Py_Void();
44316 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44317 PyObject
*resultobj
= 0;
44318 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44319 wxString
*arg2
= 0 ;
44323 bool temp2
= false ;
44324 PyObject
* obj0
= 0 ;
44325 PyObject
* obj1
= 0 ;
44326 char * kwnames
[] = {
44327 (char *) "self",(char *) "path", NULL
44330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44332 if (!SWIG_IsOK(res1
)) {
44333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44335 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44337 arg2
= wxString_in_helper(obj1
);
44338 if (arg2
== NULL
) SWIG_fail
;
44342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44343 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44344 wxPyEndAllowThreads(__tstate
);
44345 if (PyErr_Occurred()) SWIG_fail
;
44348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44364 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44365 PyObject
*resultobj
= 0;
44366 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44370 PyObject
*swig_obj
[1] ;
44372 if (!args
) SWIG_fail
;
44373 swig_obj
[0] = args
;
44374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44375 if (!SWIG_IsOK(res1
)) {
44376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44378 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44381 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44382 wxPyEndAllowThreads(__tstate
);
44383 if (PyErr_Occurred()) SWIG_fail
;
44387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44398 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44401 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44402 return SWIG_Py_Void();
44405 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44406 return SWIG_Python_InitShadowInstance(args
);
44409 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44410 PyObject
*resultobj
= 0;
44411 wxWindow
*arg1
= (wxWindow
*) 0 ;
44412 int arg2
= (int) -1 ;
44413 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44414 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44415 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44416 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44417 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44418 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44419 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44420 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44421 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44422 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44423 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44424 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44425 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44426 wxDirPickerCtrl
*result
= 0 ;
44431 bool temp3
= false ;
44432 bool temp4
= false ;
44439 bool temp9
= false ;
44440 PyObject
* obj0
= 0 ;
44441 PyObject
* obj1
= 0 ;
44442 PyObject
* obj2
= 0 ;
44443 PyObject
* obj3
= 0 ;
44444 PyObject
* obj4
= 0 ;
44445 PyObject
* obj5
= 0 ;
44446 PyObject
* obj6
= 0 ;
44447 PyObject
* obj7
= 0 ;
44448 PyObject
* obj8
= 0 ;
44449 char * kwnames
[] = {
44450 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44455 if (!SWIG_IsOK(res1
)) {
44456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44458 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44461 if (!SWIG_IsOK(ecode2
)) {
44462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44464 arg2
= static_cast< int >(val2
);
44468 arg3
= wxString_in_helper(obj2
);
44469 if (arg3
== NULL
) SWIG_fail
;
44475 arg4
= wxString_in_helper(obj3
);
44476 if (arg4
== NULL
) SWIG_fail
;
44483 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44489 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44493 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44494 if (!SWIG_IsOK(ecode7
)) {
44495 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44497 arg7
= static_cast< long >(val7
);
44500 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44501 if (!SWIG_IsOK(res8
)) {
44502 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44507 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44511 arg9
= wxString_in_helper(obj8
);
44512 if (arg9
== NULL
) SWIG_fail
;
44517 if (!wxPyCheckForApp()) SWIG_fail
;
44518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44519 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
44520 wxPyEndAllowThreads(__tstate
);
44521 if (PyErr_Occurred()) SWIG_fail
;
44523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44554 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44555 PyObject
*resultobj
= 0;
44556 wxDirPickerCtrl
*result
= 0 ;
44558 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44560 if (!wxPyCheckForApp()) SWIG_fail
;
44561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44562 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44563 wxPyEndAllowThreads(__tstate
);
44564 if (PyErr_Occurred()) SWIG_fail
;
44566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44573 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44574 PyObject
*resultobj
= 0;
44575 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44576 wxWindow
*arg2
= (wxWindow
*) 0 ;
44577 int arg3
= (int) -1 ;
44578 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44579 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44580 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44581 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44582 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44583 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44584 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44585 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44586 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44587 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44588 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44589 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44590 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44598 bool temp4
= false ;
44599 bool temp5
= false ;
44606 bool temp10
= false ;
44607 PyObject
* obj0
= 0 ;
44608 PyObject
* obj1
= 0 ;
44609 PyObject
* obj2
= 0 ;
44610 PyObject
* obj3
= 0 ;
44611 PyObject
* obj4
= 0 ;
44612 PyObject
* obj5
= 0 ;
44613 PyObject
* obj6
= 0 ;
44614 PyObject
* obj7
= 0 ;
44615 PyObject
* obj8
= 0 ;
44616 PyObject
* obj9
= 0 ;
44617 char * kwnames
[] = {
44618 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44623 if (!SWIG_IsOK(res1
)) {
44624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44626 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44627 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44628 if (!SWIG_IsOK(res2
)) {
44629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44631 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44634 if (!SWIG_IsOK(ecode3
)) {
44635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44637 arg3
= static_cast< int >(val3
);
44641 arg4
= wxString_in_helper(obj3
);
44642 if (arg4
== NULL
) SWIG_fail
;
44648 arg5
= wxString_in_helper(obj4
);
44649 if (arg5
== NULL
) SWIG_fail
;
44656 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44662 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44666 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44667 if (!SWIG_IsOK(ecode8
)) {
44668 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44670 arg8
= static_cast< long >(val8
);
44673 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44674 if (!SWIG_IsOK(res9
)) {
44675 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44680 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44684 arg10
= wxString_in_helper(obj9
);
44685 if (arg10
== NULL
) SWIG_fail
;
44690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44691 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
44692 wxPyEndAllowThreads(__tstate
);
44693 if (PyErr_Occurred()) SWIG_fail
;
44696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44728 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44729 PyObject
*resultobj
= 0;
44730 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44734 PyObject
*swig_obj
[1] ;
44736 if (!args
) SWIG_fail
;
44737 swig_obj
[0] = args
;
44738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44739 if (!SWIG_IsOK(res1
)) {
44740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44742 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44745 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44746 wxPyEndAllowThreads(__tstate
);
44747 if (PyErr_Occurred()) SWIG_fail
;
44751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44762 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44763 PyObject
*resultobj
= 0;
44764 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44765 wxString
*arg2
= 0 ;
44768 bool temp2
= false ;
44769 PyObject
* obj0
= 0 ;
44770 PyObject
* obj1
= 0 ;
44771 char * kwnames
[] = {
44772 (char *) "self",(char *) "str", NULL
44775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44777 if (!SWIG_IsOK(res1
)) {
44778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44780 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44782 arg2
= wxString_in_helper(obj1
);
44783 if (arg2
== NULL
) SWIG_fail
;
44787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44788 (arg1
)->SetPath((wxString
const &)*arg2
);
44789 wxPyEndAllowThreads(__tstate
);
44790 if (PyErr_Occurred()) SWIG_fail
;
44792 resultobj
= SWIG_Py_Void();
44807 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44808 PyObject
*resultobj
= 0;
44809 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44810 wxString
*arg2
= 0 ;
44814 bool temp2
= false ;
44815 PyObject
* obj0
= 0 ;
44816 PyObject
* obj1
= 0 ;
44817 char * kwnames
[] = {
44818 (char *) "self",(char *) "path", NULL
44821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44823 if (!SWIG_IsOK(res1
)) {
44824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44826 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44828 arg2
= wxString_in_helper(obj1
);
44829 if (arg2
== NULL
) SWIG_fail
;
44833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44834 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44835 wxPyEndAllowThreads(__tstate
);
44836 if (PyErr_Occurred()) SWIG_fail
;
44839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44855 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44856 PyObject
*resultobj
= 0;
44857 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44861 PyObject
*swig_obj
[1] ;
44863 if (!args
) SWIG_fail
;
44864 swig_obj
[0] = args
;
44865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44866 if (!SWIG_IsOK(res1
)) {
44867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44869 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44872 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44873 wxPyEndAllowThreads(__tstate
);
44874 if (PyErr_Occurred()) SWIG_fail
;
44878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44889 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44892 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44893 return SWIG_Py_Void();
44896 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44897 return SWIG_Python_InitShadowInstance(args
);
44900 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44901 PyObject
*resultobj
= 0;
44903 wxObject
*arg2
= (wxObject
*) 0 ;
44905 wxString
*arg4
= 0 ;
44906 wxFileDirPickerEvent
*result
= 0 ;
44913 bool temp4
= false ;
44914 PyObject
* obj0
= 0 ;
44915 PyObject
* obj1
= 0 ;
44916 PyObject
* obj2
= 0 ;
44917 PyObject
* obj3
= 0 ;
44918 char * kwnames
[] = {
44919 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44923 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44924 if (!SWIG_IsOK(ecode1
)) {
44925 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44927 arg1
= static_cast< wxEventType
>(val1
);
44928 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44929 if (!SWIG_IsOK(res2
)) {
44930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44932 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44933 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44934 if (!SWIG_IsOK(ecode3
)) {
44935 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44937 arg3
= static_cast< int >(val3
);
44939 arg4
= wxString_in_helper(obj3
);
44940 if (arg4
== NULL
) SWIG_fail
;
44944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44945 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44946 wxPyEndAllowThreads(__tstate
);
44947 if (PyErr_Occurred()) SWIG_fail
;
44949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44964 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44965 PyObject
*resultobj
= 0;
44966 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44970 PyObject
*swig_obj
[1] ;
44972 if (!args
) SWIG_fail
;
44973 swig_obj
[0] = args
;
44974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44975 if (!SWIG_IsOK(res1
)) {
44976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44978 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44981 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44982 wxPyEndAllowThreads(__tstate
);
44983 if (PyErr_Occurred()) SWIG_fail
;
44987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44998 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44999 PyObject
*resultobj
= 0;
45000 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45001 wxString
*arg2
= 0 ;
45004 bool temp2
= false ;
45005 PyObject
* obj0
= 0 ;
45006 PyObject
* obj1
= 0 ;
45007 char * kwnames
[] = {
45008 (char *) "self",(char *) "p", NULL
45011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45013 if (!SWIG_IsOK(res1
)) {
45014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45016 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45018 arg2
= wxString_in_helper(obj1
);
45019 if (arg2
== NULL
) SWIG_fail
;
45023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45024 (arg1
)->SetPath((wxString
const &)*arg2
);
45025 wxPyEndAllowThreads(__tstate
);
45026 if (PyErr_Occurred()) SWIG_fail
;
45028 resultobj
= SWIG_Py_Void();
45043 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45046 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
45047 return SWIG_Py_Void();
45050 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45051 return SWIG_Python_InitShadowInstance(args
);
45054 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
45055 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
45060 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
45061 PyObject
*pyobj
= 0;
45065 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45067 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45074 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45075 PyObject
*resultobj
= 0;
45076 wxWindow
*arg1
= (wxWindow
*) 0 ;
45077 int arg2
= (int) -1 ;
45078 wxFont
const &arg3_defvalue
= wxNullFont
;
45079 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
45080 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45081 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45082 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45083 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45084 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
45085 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45086 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45087 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
45088 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45089 wxFontPickerCtrl
*result
= 0 ;
45102 bool temp8
= false ;
45103 PyObject
* obj0
= 0 ;
45104 PyObject
* obj1
= 0 ;
45105 PyObject
* obj2
= 0 ;
45106 PyObject
* obj3
= 0 ;
45107 PyObject
* obj4
= 0 ;
45108 PyObject
* obj5
= 0 ;
45109 PyObject
* obj6
= 0 ;
45110 PyObject
* obj7
= 0 ;
45111 char * kwnames
[] = {
45112 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45117 if (!SWIG_IsOK(res1
)) {
45118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45120 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45123 if (!SWIG_IsOK(ecode2
)) {
45124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45126 arg2
= static_cast< int >(val2
);
45129 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45130 if (!SWIG_IsOK(res3
)) {
45131 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45136 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45141 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45147 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45151 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45152 if (!SWIG_IsOK(ecode6
)) {
45153 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45155 arg6
= static_cast< long >(val6
);
45158 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45159 if (!SWIG_IsOK(res7
)) {
45160 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45165 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45169 arg8
= wxString_in_helper(obj7
);
45170 if (arg8
== NULL
) SWIG_fail
;
45175 if (!wxPyCheckForApp()) SWIG_fail
;
45176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45177 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45178 wxPyEndAllowThreads(__tstate
);
45179 if (PyErr_Occurred()) SWIG_fail
;
45181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45196 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45197 PyObject
*resultobj
= 0;
45198 wxFontPickerCtrl
*result
= 0 ;
45200 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45202 if (!wxPyCheckForApp()) SWIG_fail
;
45203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45204 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45205 wxPyEndAllowThreads(__tstate
);
45206 if (PyErr_Occurred()) SWIG_fail
;
45208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45215 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45216 PyObject
*resultobj
= 0;
45217 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45218 wxWindow
*arg2
= (wxWindow
*) 0 ;
45219 int arg3
= (int) -1 ;
45220 wxFont
const &arg4_defvalue
= wxNullFont
;
45221 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45222 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45223 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45224 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45225 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45226 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45227 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45228 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45229 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45230 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45246 bool temp9
= false ;
45247 PyObject
* obj0
= 0 ;
45248 PyObject
* obj1
= 0 ;
45249 PyObject
* obj2
= 0 ;
45250 PyObject
* obj3
= 0 ;
45251 PyObject
* obj4
= 0 ;
45252 PyObject
* obj5
= 0 ;
45253 PyObject
* obj6
= 0 ;
45254 PyObject
* obj7
= 0 ;
45255 PyObject
* obj8
= 0 ;
45256 char * kwnames
[] = {
45257 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45262 if (!SWIG_IsOK(res1
)) {
45263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45265 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45266 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45267 if (!SWIG_IsOK(res2
)) {
45268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45270 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45272 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45273 if (!SWIG_IsOK(ecode3
)) {
45274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45276 arg3
= static_cast< int >(val3
);
45279 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45280 if (!SWIG_IsOK(res4
)) {
45281 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45286 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45291 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45297 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45301 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45302 if (!SWIG_IsOK(ecode7
)) {
45303 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45305 arg7
= static_cast< long >(val7
);
45308 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45309 if (!SWIG_IsOK(res8
)) {
45310 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45315 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45319 arg9
= wxString_in_helper(obj8
);
45320 if (arg9
== NULL
) SWIG_fail
;
45325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45326 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45327 wxPyEndAllowThreads(__tstate
);
45328 if (PyErr_Occurred()) SWIG_fail
;
45331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45347 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45348 PyObject
*resultobj
= 0;
45349 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45353 PyObject
*swig_obj
[1] ;
45355 if (!args
) SWIG_fail
;
45356 swig_obj
[0] = args
;
45357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45358 if (!SWIG_IsOK(res1
)) {
45359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45361 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45364 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45365 wxPyEndAllowThreads(__tstate
);
45366 if (PyErr_Occurred()) SWIG_fail
;
45368 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45375 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45376 PyObject
*resultobj
= 0;
45377 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45383 PyObject
* obj0
= 0 ;
45384 PyObject
* obj1
= 0 ;
45385 char * kwnames
[] = {
45386 (char *) "self",(char *) "f", NULL
45389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45391 if (!SWIG_IsOK(res1
)) {
45392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45394 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45395 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45396 if (!SWIG_IsOK(res2
)) {
45397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45402 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45405 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45406 wxPyEndAllowThreads(__tstate
);
45407 if (PyErr_Occurred()) SWIG_fail
;
45409 resultobj
= SWIG_Py_Void();
45416 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45417 PyObject
*resultobj
= 0;
45418 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45419 unsigned int arg2
;
45422 unsigned int val2
;
45424 PyObject
* obj0
= 0 ;
45425 PyObject
* obj1
= 0 ;
45426 char * kwnames
[] = {
45427 (char *) "self",(char *) "max", NULL
45430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45432 if (!SWIG_IsOK(res1
)) {
45433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45435 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45436 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45437 if (!SWIG_IsOK(ecode2
)) {
45438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45440 arg2
= static_cast< unsigned int >(val2
);
45442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45443 (arg1
)->SetMaxPointSize(arg2
);
45444 wxPyEndAllowThreads(__tstate
);
45445 if (PyErr_Occurred()) SWIG_fail
;
45447 resultobj
= SWIG_Py_Void();
45454 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45455 PyObject
*resultobj
= 0;
45456 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45457 unsigned int result
;
45460 PyObject
*swig_obj
[1] ;
45462 if (!args
) SWIG_fail
;
45463 swig_obj
[0] = args
;
45464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45465 if (!SWIG_IsOK(res1
)) {
45466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45468 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45471 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45472 wxPyEndAllowThreads(__tstate
);
45473 if (PyErr_Occurred()) SWIG_fail
;
45475 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45482 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45485 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45486 return SWIG_Py_Void();
45489 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45490 return SWIG_Python_InitShadowInstance(args
);
45493 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45494 PyObject
*resultobj
= 0;
45495 wxObject
*arg1
= (wxObject
*) 0 ;
45498 wxFontPickerEvent
*result
= 0 ;
45505 PyObject
* obj0
= 0 ;
45506 PyObject
* obj1
= 0 ;
45507 PyObject
* obj2
= 0 ;
45508 char * kwnames
[] = {
45509 (char *) "generator",(char *) "id",(char *) "f", NULL
45512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45514 if (!SWIG_IsOK(res1
)) {
45515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45517 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45519 if (!SWIG_IsOK(ecode2
)) {
45520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45522 arg2
= static_cast< int >(val2
);
45523 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45524 if (!SWIG_IsOK(res3
)) {
45525 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45530 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45533 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45534 wxPyEndAllowThreads(__tstate
);
45535 if (PyErr_Occurred()) SWIG_fail
;
45537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45544 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45545 PyObject
*resultobj
= 0;
45546 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45550 PyObject
*swig_obj
[1] ;
45552 if (!args
) SWIG_fail
;
45553 swig_obj
[0] = args
;
45554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45555 if (!SWIG_IsOK(res1
)) {
45556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45558 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45561 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45562 wxPyEndAllowThreads(__tstate
);
45563 if (PyErr_Occurred()) SWIG_fail
;
45565 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45572 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45573 PyObject
*resultobj
= 0;
45574 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45580 PyObject
* obj0
= 0 ;
45581 PyObject
* obj1
= 0 ;
45582 char * kwnames
[] = {
45583 (char *) "self",(char *) "c", NULL
45586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45588 if (!SWIG_IsOK(res1
)) {
45589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45591 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45592 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45593 if (!SWIG_IsOK(res2
)) {
45594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45599 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45602 (arg1
)->SetFont((wxFont
const &)*arg2
);
45603 wxPyEndAllowThreads(__tstate
);
45604 if (PyErr_Occurred()) SWIG_fail
;
45606 resultobj
= SWIG_Py_Void();
45613 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45616 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45617 return SWIG_Py_Void();
45620 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45621 return SWIG_Python_InitShadowInstance(args
);
45624 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45625 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45630 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45631 PyObject
*pyobj
= 0;
45635 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45637 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45644 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45645 PyObject
*resultobj
= 0;
45646 wxWindow
*arg1
= (wxWindow
*) 0 ;
45647 int arg2
= (int) -1 ;
45648 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45649 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45650 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45651 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45652 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45653 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45654 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45655 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45656 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45657 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45658 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45659 wxCollapsiblePane
*result
= 0 ;
45664 bool temp3
= false ;
45671 bool temp8
= false ;
45672 PyObject
* obj0
= 0 ;
45673 PyObject
* obj1
= 0 ;
45674 PyObject
* obj2
= 0 ;
45675 PyObject
* obj3
= 0 ;
45676 PyObject
* obj4
= 0 ;
45677 PyObject
* obj5
= 0 ;
45678 PyObject
* obj6
= 0 ;
45679 PyObject
* obj7
= 0 ;
45680 char * kwnames
[] = {
45681 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45686 if (!SWIG_IsOK(res1
)) {
45687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45689 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45692 if (!SWIG_IsOK(ecode2
)) {
45693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45695 arg2
= static_cast< int >(val2
);
45699 arg3
= wxString_in_helper(obj2
);
45700 if (arg3
== NULL
) SWIG_fail
;
45707 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45713 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45717 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45718 if (!SWIG_IsOK(ecode6
)) {
45719 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45721 arg6
= static_cast< long >(val6
);
45724 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45725 if (!SWIG_IsOK(res7
)) {
45726 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45731 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45735 arg8
= wxString_in_helper(obj7
);
45736 if (arg8
== NULL
) SWIG_fail
;
45741 if (!wxPyCheckForApp()) SWIG_fail
;
45742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45743 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45744 wxPyEndAllowThreads(__tstate
);
45745 if (PyErr_Occurred()) SWIG_fail
;
45747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45770 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45771 PyObject
*resultobj
= 0;
45772 wxCollapsiblePane
*result
= 0 ;
45774 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45776 if (!wxPyCheckForApp()) SWIG_fail
;
45777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45778 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45779 wxPyEndAllowThreads(__tstate
);
45780 if (PyErr_Occurred()) SWIG_fail
;
45782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45789 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45790 PyObject
*resultobj
= 0;
45791 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45792 wxWindow
*arg2
= (wxWindow
*) 0 ;
45793 int arg3
= (int) -1 ;
45794 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45795 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45796 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45797 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45798 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45799 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45800 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45801 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45802 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45803 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45804 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45812 bool temp4
= false ;
45819 bool temp9
= false ;
45820 PyObject
* obj0
= 0 ;
45821 PyObject
* obj1
= 0 ;
45822 PyObject
* obj2
= 0 ;
45823 PyObject
* obj3
= 0 ;
45824 PyObject
* obj4
= 0 ;
45825 PyObject
* obj5
= 0 ;
45826 PyObject
* obj6
= 0 ;
45827 PyObject
* obj7
= 0 ;
45828 PyObject
* obj8
= 0 ;
45829 char * kwnames
[] = {
45830 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45835 if (!SWIG_IsOK(res1
)) {
45836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45838 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45839 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45840 if (!SWIG_IsOK(res2
)) {
45841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45843 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45845 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45846 if (!SWIG_IsOK(ecode3
)) {
45847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45849 arg3
= static_cast< int >(val3
);
45853 arg4
= wxString_in_helper(obj3
);
45854 if (arg4
== NULL
) SWIG_fail
;
45861 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45867 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45871 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45872 if (!SWIG_IsOK(ecode7
)) {
45873 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45875 arg7
= static_cast< long >(val7
);
45878 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45879 if (!SWIG_IsOK(res8
)) {
45880 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45885 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45889 arg9
= wxString_in_helper(obj8
);
45890 if (arg9
== NULL
) SWIG_fail
;
45895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45896 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45897 wxPyEndAllowThreads(__tstate
);
45898 if (PyErr_Occurred()) SWIG_fail
;
45901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45925 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45926 PyObject
*resultobj
= 0;
45927 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45928 bool arg2
= (bool) true ;
45933 PyObject
* obj0
= 0 ;
45934 PyObject
* obj1
= 0 ;
45935 char * kwnames
[] = {
45936 (char *) "self",(char *) "collapse", NULL
45939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45941 if (!SWIG_IsOK(res1
)) {
45942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45944 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45946 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45947 if (!SWIG_IsOK(ecode2
)) {
45948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45950 arg2
= static_cast< bool >(val2
);
45953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45954 (arg1
)->Collapse(arg2
);
45955 wxPyEndAllowThreads(__tstate
);
45956 if (PyErr_Occurred()) SWIG_fail
;
45958 resultobj
= SWIG_Py_Void();
45965 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45966 PyObject
*resultobj
= 0;
45967 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45970 PyObject
*swig_obj
[1] ;
45972 if (!args
) SWIG_fail
;
45973 swig_obj
[0] = args
;
45974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45975 if (!SWIG_IsOK(res1
)) {
45976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45978 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45982 wxPyEndAllowThreads(__tstate
);
45983 if (PyErr_Occurred()) SWIG_fail
;
45985 resultobj
= SWIG_Py_Void();
45992 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45993 PyObject
*resultobj
= 0;
45994 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45998 PyObject
*swig_obj
[1] ;
46000 if (!args
) SWIG_fail
;
46001 swig_obj
[0] = args
;
46002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46003 if (!SWIG_IsOK(res1
)) {
46004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46006 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46009 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
46010 wxPyEndAllowThreads(__tstate
);
46011 if (PyErr_Occurred()) SWIG_fail
;
46014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46022 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46023 PyObject
*resultobj
= 0;
46024 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46028 PyObject
*swig_obj
[1] ;
46030 if (!args
) SWIG_fail
;
46031 swig_obj
[0] = args
;
46032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46033 if (!SWIG_IsOK(res1
)) {
46034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46036 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46039 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
46040 wxPyEndAllowThreads(__tstate
);
46041 if (PyErr_Occurred()) SWIG_fail
;
46044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46052 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46053 PyObject
*resultobj
= 0;
46054 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46055 wxWindow
*result
= 0 ;
46058 PyObject
*swig_obj
[1] ;
46060 if (!args
) SWIG_fail
;
46061 swig_obj
[0] = args
;
46062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46063 if (!SWIG_IsOK(res1
)) {
46064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46066 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46069 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
46070 wxPyEndAllowThreads(__tstate
);
46071 if (PyErr_Occurred()) SWIG_fail
;
46074 resultobj
= wxPyMake_wxObject(result
, 0);
46082 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46085 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
46086 return SWIG_Py_Void();
46089 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46090 return SWIG_Python_InitShadowInstance(args
);
46093 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46094 PyObject
*resultobj
= 0;
46095 wxObject
*arg1
= (wxObject
*) 0 ;
46098 wxCollapsiblePaneEvent
*result
= 0 ;
46105 PyObject
* obj0
= 0 ;
46106 PyObject
* obj1
= 0 ;
46107 PyObject
* obj2
= 0 ;
46108 char * kwnames
[] = {
46109 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
46114 if (!SWIG_IsOK(res1
)) {
46115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46117 arg1
= reinterpret_cast< wxObject
* >(argp1
);
46118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46119 if (!SWIG_IsOK(ecode2
)) {
46120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46122 arg2
= static_cast< int >(val2
);
46123 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46124 if (!SWIG_IsOK(ecode3
)) {
46125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46127 arg3
= static_cast< bool >(val3
);
46129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46130 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
46131 wxPyEndAllowThreads(__tstate
);
46132 if (PyErr_Occurred()) SWIG_fail
;
46134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
46141 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46142 PyObject
*resultobj
= 0;
46143 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46147 PyObject
*swig_obj
[1] ;
46149 if (!args
) SWIG_fail
;
46150 swig_obj
[0] = args
;
46151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46152 if (!SWIG_IsOK(res1
)) {
46153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46155 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46158 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
46159 wxPyEndAllowThreads(__tstate
);
46160 if (PyErr_Occurred()) SWIG_fail
;
46163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46171 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46172 PyObject
*resultobj
= 0;
46173 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46179 PyObject
* obj0
= 0 ;
46180 PyObject
* obj1
= 0 ;
46181 char * kwnames
[] = {
46182 (char *) "self",(char *) "c", NULL
46185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46187 if (!SWIG_IsOK(res1
)) {
46188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46190 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46191 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46192 if (!SWIG_IsOK(ecode2
)) {
46193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46195 arg2
= static_cast< bool >(val2
);
46197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46198 (arg1
)->SetCollapsed(arg2
);
46199 wxPyEndAllowThreads(__tstate
);
46200 if (PyErr_Occurred()) SWIG_fail
;
46202 resultobj
= SWIG_Py_Void();
46209 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46211 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46212 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46213 return SWIG_Py_Void();
46216 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46217 return SWIG_Python_InitShadowInstance(args
);
46220 static PyMethodDef SwigMethods
[] = {
46221 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
46223 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
46225 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
46226 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
46228 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
46229 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
46231 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
46233 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
46234 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
46235 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
46236 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
46237 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
46244 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
46245 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
46246 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
46247 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
46249 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
46251 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
46252 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
46254 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
46256 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
46257 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
46259 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
46260 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
46262 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
46264 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46266 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46267 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46269 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46271 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46273 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46274 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46275 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
46277 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
46278 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
46281 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
46282 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
46286 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46288 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46289 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46290 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46291 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46292 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46293 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46294 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46295 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46296 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46298 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46299 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46301 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46304 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46306 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46307 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46308 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46310 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46312 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46314 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46315 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
46317 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
46320 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
46321 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
46323 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
46325 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
46326 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
46328 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
46329 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
46331 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
46335 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
46336 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
46338 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
46340 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
46344 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
46345 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
46347 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
46358 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
46363 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
46369 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
46370 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
46372 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
46376 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
46377 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
46378 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
46380 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
46381 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
46391 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
46392 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
46393 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
46394 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
46395 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
46396 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
46397 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
46399 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
46400 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
46401 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
46402 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
46403 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
46404 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
46405 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
46406 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
46407 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
46408 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
46410 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
46411 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
46413 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
46415 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
46417 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
46422 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
46423 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
46424 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
46425 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
46426 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
46427 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
46428 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
46429 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
46434 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
46435 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
46444 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
46450 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
46451 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
46452 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
46453 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
46454 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
46455 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
46456 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
46457 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
46458 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
46459 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
46461 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
46462 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
46463 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
46465 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
46467 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
46469 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
46473 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
46474 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
46476 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
46477 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
46478 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
46479 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
46480 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
46482 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
46484 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
46485 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
46486 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
46487 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
46488 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
46491 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
46492 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
46494 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
46496 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
46497 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
46498 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46499 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
46503 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
46505 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
46506 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
46508 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
46510 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
46514 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
46515 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
46518 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
46519 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
46521 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
46523 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
46524 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
46526 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
46529 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
46530 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
46532 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
46540 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
46541 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
46548 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
46549 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
46551 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
46553 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
46556 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
46557 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
46559 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
46561 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
46564 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
46565 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
46570 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
46571 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
46573 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
46575 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
46576 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
46578 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
46579 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
46580 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
46583 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
46584 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
46586 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
46589 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
46591 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
46592 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
46593 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
46595 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
46596 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46597 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
46601 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46603 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46604 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
46606 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46607 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
46608 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
46610 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
46612 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
46613 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
46616 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
46624 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
46626 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
46628 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
46630 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
46631 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
46633 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
46635 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
46638 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46640 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
46642 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
46643 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
46645 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
46646 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
46648 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46649 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
46650 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
46651 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
46652 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46653 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
46654 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
46655 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46656 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
46657 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46658 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
46659 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
46660 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
46661 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46662 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
46663 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
46664 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46665 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
46666 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46667 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46668 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46669 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46670 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46671 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46672 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46673 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
46674 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
46675 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
46676 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46677 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
46678 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
46679 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46680 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
46681 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46682 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
46683 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
46684 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
46685 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
46686 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46687 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
46688 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
46689 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
46690 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
46691 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
46692 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
46693 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
46694 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
46695 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
46696 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
46697 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
46698 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
46699 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
46700 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
46701 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
46702 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
46703 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
46704 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
46705 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
46706 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46707 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
46708 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46709 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46710 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46711 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46712 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46713 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46714 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
46715 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46716 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
46717 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46718 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
46719 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46720 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46721 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46722 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46723 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46724 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46725 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46726 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
46727 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46728 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46729 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46730 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46731 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
46732 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
46733 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46734 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46735 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46736 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46737 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46738 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46739 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46740 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46741 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46742 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46743 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46744 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46745 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46746 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46747 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46748 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46749 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
46750 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
46751 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
46752 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
46753 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46754 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46755 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
46756 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
46757 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46758 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
46759 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
46760 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46761 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46762 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
46763 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
46764 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
46765 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46766 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
46767 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46768 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46769 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
46770 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
46771 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46772 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
46773 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46774 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46775 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46776 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
46777 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
46778 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
46779 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
46780 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
46781 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
46782 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46783 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
46784 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
46785 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
46786 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
46787 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
46788 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
46789 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
46790 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46791 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46792 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46793 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46794 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46795 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46796 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46797 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46798 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46799 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46800 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46801 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46802 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46803 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
46804 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
46805 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
46806 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
46807 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
46808 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
46809 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
46810 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
46811 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
46812 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
46813 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
46814 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
46815 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
46816 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
46817 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
46818 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
46819 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
46820 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
46821 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
46822 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
46823 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
46824 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
46825 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
46826 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
46827 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
46828 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
46829 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
46830 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
46831 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
46832 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
46833 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
46834 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
46835 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
46836 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
46837 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
46838 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
46839 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46840 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
46841 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
46842 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
46843 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
46844 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
46845 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
46846 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
46847 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
46848 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
46849 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
46850 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
46851 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
46852 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
46853 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
46854 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
46855 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
46856 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
46857 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
46858 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
46859 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
46860 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
46861 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
46862 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
46863 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
46864 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46865 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
46866 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
46867 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46868 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
46869 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46870 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46871 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46872 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46873 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46874 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46875 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
46876 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
46877 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
46878 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46879 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46880 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46881 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46882 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46883 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46884 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46885 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46886 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46887 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46888 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46889 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46890 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46891 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46892 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
46893 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
46894 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
46895 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
46896 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
46897 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46898 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
46899 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46900 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46901 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46902 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46903 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46904 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
46905 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
46906 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46907 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46908 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46909 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46910 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
46911 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46912 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
46913 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
46914 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46915 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46916 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46917 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46918 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46919 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46920 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46921 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46922 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46923 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46924 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46925 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46926 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46927 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46928 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46929 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46930 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46931 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46932 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46933 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46934 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46935 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46936 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46937 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
46938 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46939 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
46940 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
46941 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46942 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
46943 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46944 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46945 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46946 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
46947 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46948 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
46949 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46950 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46951 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46952 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
46953 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
46954 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
46955 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
46956 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
46957 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46958 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46959 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
46960 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
46961 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
46962 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
46963 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46964 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
46965 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
46966 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46967 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
46968 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46969 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
46970 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
46971 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
46972 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
46973 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
46974 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46975 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
46976 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46977 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
46978 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46979 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
46980 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
46981 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46982 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
46983 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46984 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
46985 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46986 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46987 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
46988 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
46989 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
46990 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46991 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
46992 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46993 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46994 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
46995 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
46996 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46997 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
46998 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46999 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47000 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47001 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47002 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47003 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47004 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47005 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47006 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47007 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47008 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47009 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47010 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47011 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47012 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47013 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47014 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47015 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47016 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47017 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47018 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47019 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47020 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47021 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47022 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47023 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47024 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47025 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47026 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47027 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47028 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47029 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47030 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47031 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47032 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47033 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47034 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47035 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47036 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47037 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47038 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47039 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47040 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47041 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47042 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47043 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47044 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47045 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47046 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47047 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47048 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47049 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47050 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47051 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47052 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47053 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47054 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47055 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47056 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47057 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47058 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47059 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47060 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47061 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47062 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47063 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47064 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47065 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47066 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47067 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47068 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47069 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47070 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47071 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47072 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47073 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47074 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47075 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47076 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47077 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47078 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47079 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47080 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47081 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47082 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47083 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47084 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47085 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47086 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47087 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47088 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47089 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47090 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47091 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47092 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47093 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47094 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47095 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47096 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47097 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47098 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47099 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47100 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47101 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47102 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47103 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47104 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47105 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47106 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47107 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47108 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47109 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47110 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47111 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47112 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47113 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47114 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47115 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47116 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47117 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47118 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47119 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47120 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47121 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47122 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47123 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47124 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47125 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47126 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
47127 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47128 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
47129 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47130 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
47131 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
47132 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47133 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
47134 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47135 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
47136 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
47137 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
47138 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47139 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
47140 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
47141 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
47142 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47143 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
47144 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47145 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47146 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47147 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47148 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47149 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47150 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
47151 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
47152 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
47153 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
47154 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
47155 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47157 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47158 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47159 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47160 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
47161 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47162 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47163 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47164 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
47165 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47166 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
47167 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
47168 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47169 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47170 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47171 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47172 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
47173 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
47174 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47175 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
47176 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47177 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47178 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
47179 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47180 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
47181 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
47182 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47183 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47184 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47185 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
47186 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47187 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
47188 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47189 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
47190 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47191 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
47192 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47193 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
47194 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47195 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47196 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
47197 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
47198 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
47199 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47200 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
47201 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47202 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
47203 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
47204 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47205 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47206 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
47207 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47208 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
47209 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47210 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
47211 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
47212 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47213 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
47214 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47215 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
47216 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
47217 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
47218 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
47219 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47220 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
47221 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47222 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
47223 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47224 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47225 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47226 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47227 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
47228 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47229 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47230 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47231 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47232 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
47233 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47234 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
47235 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47236 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47237 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47238 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47239 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47240 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47241 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
47242 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47243 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
47244 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47245 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47246 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47247 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47248 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47249 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47250 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
47251 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47252 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47253 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47254 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47255 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
47256 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47257 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
47258 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47259 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47260 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
47261 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47262 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47263 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47264 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
47265 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47266 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47267 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47268 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47269 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
47270 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47271 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47272 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47273 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47274 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47275 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47276 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47277 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
47278 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47279 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
47280 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47281 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
47282 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
47283 { NULL
, NULL
, 0, NULL
}
47287 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47289 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47290 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47292 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47293 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47295 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47296 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47298 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47299 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47301 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47302 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47304 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
47305 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47307 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
47308 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47310 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47311 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47313 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
47314 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47316 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
47317 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47319 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
47320 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47322 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47323 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47325 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47326 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47328 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
47329 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47331 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47332 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47334 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
47335 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47337 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47338 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47340 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
47341 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47343 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
47344 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47346 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
47347 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47349 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
47350 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47352 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
47353 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47355 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
47356 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47358 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
47359 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
47361 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47362 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47364 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47365 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47367 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47368 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47370 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47371 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47373 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47374 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47376 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47377 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47379 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47380 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47382 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47383 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47385 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47386 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47388 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
47389 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47391 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47392 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47394 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47395 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47397 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
47398 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47400 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47401 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47403 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47404 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47406 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47407 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47409 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47410 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47412 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47413 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47415 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
47416 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47418 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47419 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47421 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47422 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47424 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47425 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47427 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47428 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47430 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47431 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47433 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47434 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47436 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47437 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47439 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47440 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47442 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47443 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47445 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47446 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47448 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
47449 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47451 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
47452 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47454 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
47455 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47457 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
47458 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47460 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
47461 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47463 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
47464 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47466 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
47467 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47469 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
47470 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47472 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47473 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47475 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
47476 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47478 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
47479 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47481 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
47482 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
47484 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
47485 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
47487 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
47488 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
47490 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
47491 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
47493 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
47494 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
47496 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
47497 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
47499 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
47500 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
47502 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
47503 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
47505 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
47506 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
47508 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
47509 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47511 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
47512 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
47514 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
47515 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47517 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
47518 return (void *)((wxControl
*) ((wxPyControl
*) x
));
47520 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
47521 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
47523 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
47524 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
47526 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
47527 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
47529 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
47530 return (void *)((wxControl
*) ((wxGauge
*) x
));
47532 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
47533 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
47535 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
47536 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47538 static void *_p_wxListbookTo_p_wxControl(void *x
) {
47539 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
47541 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
47542 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
47544 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
47545 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
47547 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
47548 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
47550 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
47551 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
47553 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
47554 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47556 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
47557 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47559 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
47560 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47562 static void *_p_wxListViewTo_p_wxControl(void *x
) {
47563 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
47565 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
47566 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
47568 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
47569 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
47571 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
47572 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
47574 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
47575 return (void *)((wxControl
*) ((wxStaticText
*) x
));
47577 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
47578 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
47580 static void *_p_wxSliderTo_p_wxControl(void *x
) {
47581 return (void *)((wxControl
*) ((wxSlider
*) x
));
47583 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
47584 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
47586 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
47587 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
47589 static void *_p_wxButtonTo_p_wxControl(void *x
) {
47590 return (void *)((wxControl
*) ((wxButton
*) x
));
47592 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
47593 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
47595 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
47596 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47598 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
47599 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
47601 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
47602 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47604 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
47605 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47607 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
47608 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47610 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
47611 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47613 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
47614 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
47616 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
47617 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
47619 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
47620 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
47622 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
47623 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47625 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
47626 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47628 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
47629 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47631 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
47632 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
47634 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
47635 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47637 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
47638 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47640 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
47641 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47643 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
47644 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47646 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
47647 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47649 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
47650 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47652 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
47653 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47655 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
47656 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
47658 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
47659 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
47661 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
47662 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
47664 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
47665 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
47667 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
47668 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
47670 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
47671 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
47673 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
47674 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47676 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
47677 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
47679 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
47680 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
47682 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
47683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47685 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
47686 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47688 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
47689 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
47691 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
47692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47694 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
47695 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47697 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
47698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47700 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
47701 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
47703 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
47704 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
47706 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
47707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47709 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
47710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47712 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
47713 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47715 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
47716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47718 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
47719 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47721 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
47722 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
47724 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
47725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47727 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
47728 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47730 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
47731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47733 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
47734 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47736 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
47737 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47739 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
47740 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47742 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
47743 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47745 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
47746 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47748 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
47749 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47751 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
47752 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47754 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
47755 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47757 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
47758 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47760 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
47761 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47763 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
47764 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47766 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
47767 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47769 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
47770 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47772 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
47773 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47775 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
47776 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47778 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
47779 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47781 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
47782 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47784 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
47785 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47787 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
47788 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47790 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
47791 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47793 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
47794 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47796 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
47797 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47799 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
47800 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47802 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
47803 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47805 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
47806 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47808 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
47809 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47811 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
47812 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47814 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
47815 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47817 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
47818 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47820 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
47821 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
47823 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
47824 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
47826 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
47827 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47829 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
47830 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47832 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
47833 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
47835 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
47836 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
47838 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
47839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47841 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
47842 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
47844 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
47845 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
47847 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
47848 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
47850 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
47851 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
47853 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
47854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47856 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
47857 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47859 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
47860 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
47862 static void *_p_wxSizerTo_p_wxObject(void *x
) {
47863 return (void *)((wxObject
*) ((wxSizer
*) x
));
47865 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
47866 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47868 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
47869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47871 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
47872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47874 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47875 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47877 static void *_p_wxEventTo_p_wxObject(void *x
) {
47878 return (void *)((wxObject
*) ((wxEvent
*) x
));
47880 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47881 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47883 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47884 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47886 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47887 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47889 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
47890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47892 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
47893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47895 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
47896 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47898 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
47899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47901 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
47902 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47904 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47905 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47907 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47908 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47910 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47911 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47913 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47914 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47916 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47917 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47919 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47920 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47922 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
47923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47925 static void *_p_wxControlTo_p_wxObject(void *x
) {
47926 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47928 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
47929 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47931 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
47932 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47934 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
47935 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47937 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
47938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47940 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
47941 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47943 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47944 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47946 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
47947 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47949 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
47950 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47952 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
47953 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47955 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
47956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47958 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47959 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47961 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47962 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47964 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
47965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47967 static void *_p_wxListViewTo_p_wxObject(void *x
) {
47968 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47970 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
47971 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47973 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
47974 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47976 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
47977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47979 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47980 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47982 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47983 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47985 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
47986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47988 static void *_p_wxListbookTo_p_wxObject(void *x
) {
47989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47991 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47992 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47994 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
47995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47997 static void *_p_wxSliderTo_p_wxObject(void *x
) {
47998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48000 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48001 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48003 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48004 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48006 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48007 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48009 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48010 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48012 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48013 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48015 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48016 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48018 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48019 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48021 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48022 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48024 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48025 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48027 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48028 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48030 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48031 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48033 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48034 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48036 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48037 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48039 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48042 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48043 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48045 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48046 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48048 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48049 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48051 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48052 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48054 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48055 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48057 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48058 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48060 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48061 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48063 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48064 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48066 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48067 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48069 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48070 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48072 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48073 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48075 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48076 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48078 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48079 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48081 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48082 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48084 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48085 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48087 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48088 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48090 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48091 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48093 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48096 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48097 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48099 static void *_p_wxButtonTo_p_wxObject(void *x
) {
48100 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48102 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
48103 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48105 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
48106 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48108 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
48109 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48111 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
48112 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
48114 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
48115 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
48117 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
48118 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48120 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
48121 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48123 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
48124 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48126 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
48127 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
48129 static void *_p_wxListItemTo_p_wxObject(void *x
) {
48130 return (void *)((wxObject
*) ((wxListItem
*) x
));
48132 static void *_p_wxImageTo_p_wxObject(void *x
) {
48133 return (void *)((wxObject
*) ((wxImage
*) x
));
48135 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
48136 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
48138 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
48139 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48141 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
48142 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
48144 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
48145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48147 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
48148 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48150 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
48151 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48153 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
48154 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48156 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
48157 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48159 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
48160 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48162 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
48163 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48165 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
48166 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48168 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
48169 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
48171 static void *_p_wxWindowTo_p_wxObject(void *x
) {
48172 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
48174 static void *_p_wxMenuTo_p_wxObject(void *x
) {
48175 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
48177 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
48178 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
48180 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
48181 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
48183 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
48184 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48186 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
48187 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48189 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
48190 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
48192 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
48193 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
48195 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
48196 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
48198 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
48199 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
48201 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
48202 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
48204 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
48205 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48207 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
48208 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48210 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
48211 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48213 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
48214 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
48216 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
48217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48219 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
48220 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
48222 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
48223 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
48225 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
48226 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48228 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
48229 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48231 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
48232 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48234 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
48235 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48237 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
48238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48240 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
48241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48243 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
48244 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48246 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
48247 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48249 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
48250 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
48252 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
48253 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48255 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
48256 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
48258 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
48259 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
48261 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
48262 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
48264 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
48265 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
48267 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
48268 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
48270 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
48271 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48273 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
48274 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
48276 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
48277 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
48279 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
48280 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
48282 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
48283 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48285 static void *_p_wxControlTo_p_wxWindow(void *x
) {
48286 return (void *)((wxWindow
*) ((wxControl
*) x
));
48288 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
48289 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
48291 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
48292 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
48294 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
48295 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48297 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
48298 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48300 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
48301 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
48303 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
48304 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
48306 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
48307 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
48309 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
48310 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
48312 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
48313 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
48315 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
48316 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
48318 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
48319 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48321 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
48322 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48324 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
48325 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
48327 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
48328 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
48330 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
48331 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
48333 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
48334 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
48336 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
48337 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48339 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
48340 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48342 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
48343 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48345 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
48346 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48348 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
48349 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48351 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
48352 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
48354 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
48355 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
48357 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
48358 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
48360 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
48361 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
48363 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
48364 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
48366 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
48367 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48369 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
48370 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
48372 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
48373 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
48375 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
48376 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48378 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
48379 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48381 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
48382 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
48384 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
48385 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48387 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
48388 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48390 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
48391 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48393 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
48394 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48396 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
48397 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
48399 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48400 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48402 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48403 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48405 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48406 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48408 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48409 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48411 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48412 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48414 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
48415 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48417 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
48418 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48420 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
48421 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48423 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
48424 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48426 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
48427 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48429 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
48430 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48432 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
48433 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48435 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
48436 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
48438 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
48439 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48441 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
48442 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48444 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
48445 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48447 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
48448 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48450 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
48451 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48453 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
48454 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48456 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
48457 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48459 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
48460 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48462 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
48463 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
48465 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
48466 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48468 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
48469 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
48471 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
48472 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48474 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
48475 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48477 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
48478 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48480 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
48481 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48483 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
48484 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
48486 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
48487 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48489 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
48490 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48492 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
48493 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
48495 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
48496 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48498 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
48499 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
48501 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
48502 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
48504 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
48505 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
48507 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
48508 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
48510 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
48511 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
48512 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};
48513 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
48514 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
48515 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
48516 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
48517 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
48518 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
48519 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
48520 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
48521 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
48522 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
48523 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
48524 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
48525 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
48526 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
48527 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
48528 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
48529 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
48530 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
48531 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
48532 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
48533 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
48534 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
48535 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
48536 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
48537 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
48538 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
48539 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
48540 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
48541 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
48542 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
48543 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
48544 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
48545 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
48546 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
48547 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
48548 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
48549 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
48550 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
48551 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
48552 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
48553 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
48554 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
48555 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
48556 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
48557 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
48558 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
48559 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
48560 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
48561 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
48562 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
48563 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
48564 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
48565 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
48566 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
48567 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
48568 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
48569 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
48570 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
48571 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
48572 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
48573 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
48574 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
48575 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
48576 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
48577 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
48578 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
48579 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
48580 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
48581 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
48582 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
48583 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
48584 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
48585 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
48586 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
48587 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
48588 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
48589 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
48590 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
48591 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
48592 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
48593 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
48594 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
48595 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
48596 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
48597 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
48598 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
48599 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
48600 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
48601 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
48602 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
48603 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
48604 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
48605 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
48606 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
48607 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
48608 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
48609 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
48610 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
48611 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
48612 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
48613 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
48614 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
48615 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
48616 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
48617 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
48618 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
48619 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
48620 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
48621 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
48622 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
48623 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
48624 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
48625 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
48626 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
48627 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
48628 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
48629 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
48630 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
48631 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
48632 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
48633 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
48634 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
48635 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
48636 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
48637 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
48638 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
48639 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
48640 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
48641 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
48642 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
48643 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
48644 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
48645 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
48646 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
48647 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
48648 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
48649 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
48650 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
48651 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
48652 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
48653 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
48654 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
48655 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
48656 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
48657 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
48658 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
48659 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
48660 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
48661 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
48662 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
48663 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
48664 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
48665 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
48666 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
48667 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
48668 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
48669 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
48670 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
48671 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
48672 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
48673 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
48674 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
48675 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
48676 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
48677 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
48678 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
48679 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
48680 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
48681 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
48682 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
48683 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
48684 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
48685 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
48686 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
48687 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
48689 static swig_type_info
*swig_type_initial
[] = {
48692 &_swigt__p_form_ops_t
,
48695 &_swigt__p_unsigned_char
,
48696 &_swigt__p_unsigned_int
,
48697 &_swigt__p_unsigned_long
,
48699 &_swigt__p_wxANIHandler
,
48700 &_swigt__p_wxAcceleratorTable
,
48701 &_swigt__p_wxActivateEvent
,
48702 &_swigt__p_wxArrayInt
,
48703 &_swigt__p_wxArrayString
,
48704 &_swigt__p_wxBMPHandler
,
48705 &_swigt__p_wxBitmap
,
48706 &_swigt__p_wxBitmapButton
,
48707 &_swigt__p_wxBookCtrlBase
,
48708 &_swigt__p_wxBookCtrlBaseEvent
,
48709 &_swigt__p_wxBoxSizer
,
48710 &_swigt__p_wxButton
,
48711 &_swigt__p_wxCURHandler
,
48712 &_swigt__p_wxCheckBox
,
48713 &_swigt__p_wxCheckListBox
,
48714 &_swigt__p_wxChildFocusEvent
,
48715 &_swigt__p_wxChoice
,
48716 &_swigt__p_wxChoicebook
,
48717 &_swigt__p_wxChoicebookEvent
,
48718 &_swigt__p_wxClipboardTextEvent
,
48719 &_swigt__p_wxCloseEvent
,
48720 &_swigt__p_wxCollapsiblePane
,
48721 &_swigt__p_wxCollapsiblePaneEvent
,
48722 &_swigt__p_wxColour
,
48723 &_swigt__p_wxColourPickerCtrl
,
48724 &_swigt__p_wxColourPickerEvent
,
48725 &_swigt__p_wxComboBox
,
48726 &_swigt__p_wxCommandEvent
,
48727 &_swigt__p_wxContextHelp
,
48728 &_swigt__p_wxContextHelpButton
,
48729 &_swigt__p_wxContextMenuEvent
,
48730 &_swigt__p_wxControl
,
48731 &_swigt__p_wxControlWithItems
,
48732 &_swigt__p_wxCursor
,
48734 &_swigt__p_wxDateEvent
,
48735 &_swigt__p_wxDatePickerCtrl
,
48736 &_swigt__p_wxDateTime
,
48737 &_swigt__p_wxDirFilterListCtrl
,
48738 &_swigt__p_wxDirPickerCtrl
,
48739 &_swigt__p_wxDisplayChangedEvent
,
48740 &_swigt__p_wxDropFilesEvent
,
48741 &_swigt__p_wxDuplexMode
,
48742 &_swigt__p_wxEraseEvent
,
48743 &_swigt__p_wxEvent
,
48744 &_swigt__p_wxEvtHandler
,
48745 &_swigt__p_wxFSFile
,
48746 &_swigt__p_wxFileDirPickerEvent
,
48747 &_swigt__p_wxFilePickerCtrl
,
48748 &_swigt__p_wxFileSystem
,
48749 &_swigt__p_wxFlexGridSizer
,
48750 &_swigt__p_wxFocusEvent
,
48752 &_swigt__p_wxFontPickerCtrl
,
48753 &_swigt__p_wxFontPickerEvent
,
48754 &_swigt__p_wxGBSizerItem
,
48755 &_swigt__p_wxGIFHandler
,
48756 &_swigt__p_wxGauge
,
48757 &_swigt__p_wxGenericDirCtrl
,
48758 &_swigt__p_wxGenericDragImage
,
48759 &_swigt__p_wxGridBagSizer
,
48760 &_swigt__p_wxGridSizer
,
48761 &_swigt__p_wxHelpEvent
,
48762 &_swigt__p_wxHelpProvider
,
48763 &_swigt__p_wxHyperlinkCtrl
,
48764 &_swigt__p_wxHyperlinkEvent
,
48765 &_swigt__p_wxICOHandler
,
48767 &_swigt__p_wxIconizeEvent
,
48768 &_swigt__p_wxIdleEvent
,
48769 &_swigt__p_wxImage
,
48770 &_swigt__p_wxImageHandler
,
48771 &_swigt__p_wxImageList
,
48772 &_swigt__p_wxIndividualLayoutConstraint
,
48773 &_swigt__p_wxInitDialogEvent
,
48774 &_swigt__p_wxItemContainer
,
48775 &_swigt__p_wxJPEGHandler
,
48776 &_swigt__p_wxKeyEvent
,
48777 &_swigt__p_wxLayoutConstraints
,
48778 &_swigt__p_wxListBox
,
48779 &_swigt__p_wxListEvent
,
48780 &_swigt__p_wxListItem
,
48781 &_swigt__p_wxListItemAttr
,
48782 &_swigt__p_wxListView
,
48783 &_swigt__p_wxListbook
,
48784 &_swigt__p_wxListbookEvent
,
48785 &_swigt__p_wxMaximizeEvent
,
48786 &_swigt__p_wxMemoryDC
,
48788 &_swigt__p_wxMenuBar
,
48789 &_swigt__p_wxMenuEvent
,
48790 &_swigt__p_wxMenuItem
,
48791 &_swigt__p_wxMouseCaptureChangedEvent
,
48792 &_swigt__p_wxMouseCaptureLostEvent
,
48793 &_swigt__p_wxMouseEvent
,
48794 &_swigt__p_wxMoveEvent
,
48795 &_swigt__p_wxNavigationKeyEvent
,
48796 &_swigt__p_wxNcPaintEvent
,
48797 &_swigt__p_wxNotebook
,
48798 &_swigt__p_wxNotebookEvent
,
48799 &_swigt__p_wxNotifyEvent
,
48800 &_swigt__p_wxObject
,
48801 &_swigt__p_wxPCXHandler
,
48802 &_swigt__p_wxPNGHandler
,
48803 &_swigt__p_wxPNMHandler
,
48804 &_swigt__p_wxPaintEvent
,
48805 &_swigt__p_wxPaletteChangedEvent
,
48806 &_swigt__p_wxPaperSize
,
48807 &_swigt__p_wxPickerBase
,
48808 &_swigt__p_wxPoint
,
48809 &_swigt__p_wxPyApp
,
48810 &_swigt__p_wxPyCommandEvent
,
48811 &_swigt__p_wxPyControl
,
48812 &_swigt__p_wxPyEvent
,
48813 &_swigt__p_wxPyImageHandler
,
48814 &_swigt__p_wxPyListCtrl
,
48815 &_swigt__p_wxPySizer
,
48816 &_swigt__p_wxPyTreeCtrl
,
48817 &_swigt__p_wxPyTreeItemData
,
48818 &_swigt__p_wxPyValidator
,
48819 &_swigt__p_wxQueryNewPaletteEvent
,
48820 &_swigt__p_wxRadioBox
,
48821 &_swigt__p_wxRadioButton
,
48823 &_swigt__p_wxScrollBar
,
48824 &_swigt__p_wxScrollEvent
,
48825 &_swigt__p_wxScrollWinEvent
,
48826 &_swigt__p_wxSetCursorEvent
,
48827 &_swigt__p_wxShowEvent
,
48828 &_swigt__p_wxSimpleHelpProvider
,
48830 &_swigt__p_wxSizeEvent
,
48831 &_swigt__p_wxSizer
,
48832 &_swigt__p_wxSizerItem
,
48833 &_swigt__p_wxSlider
,
48834 &_swigt__p_wxSpinButton
,
48835 &_swigt__p_wxSpinCtrl
,
48836 &_swigt__p_wxSpinEvent
,
48837 &_swigt__p_wxStaticBitmap
,
48838 &_swigt__p_wxStaticBox
,
48839 &_swigt__p_wxStaticBoxSizer
,
48840 &_swigt__p_wxStaticLine
,
48841 &_swigt__p_wxStaticText
,
48842 &_swigt__p_wxStdDialogButtonSizer
,
48843 &_swigt__p_wxString
,
48844 &_swigt__p_wxSysColourChangedEvent
,
48845 &_swigt__p_wxTGAHandler
,
48846 &_swigt__p_wxTIFFHandler
,
48847 &_swigt__p_wxTextAttr
,
48848 &_swigt__p_wxTextCtrl
,
48849 &_swigt__p_wxTextUrlEvent
,
48850 &_swigt__p_wxToggleButton
,
48851 &_swigt__p_wxToolBar
,
48852 &_swigt__p_wxToolBarBase
,
48853 &_swigt__p_wxToolBarToolBase
,
48854 &_swigt__p_wxToolbook
,
48855 &_swigt__p_wxToolbookEvent
,
48856 &_swigt__p_wxTreeEvent
,
48857 &_swigt__p_wxTreeItemId
,
48858 &_swigt__p_wxTreebook
,
48859 &_swigt__p_wxTreebookEvent
,
48860 &_swigt__p_wxUpdateUIEvent
,
48861 &_swigt__p_wxValidator
,
48862 &_swigt__p_wxVisualAttributes
,
48863 &_swigt__p_wxWindow
,
48864 &_swigt__p_wxWindowBase
,
48865 &_swigt__p_wxWindowCreateEvent
,
48866 &_swigt__p_wxWindowDestroyEvent
,
48867 &_swigt__p_wxXPMHandler
,
48870 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
48871 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
48872 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
48873 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
48874 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
48875 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
48876 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
48877 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
48878 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
48879 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
48880 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
48881 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48882 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}};
48883 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}};
48884 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}};
48885 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}};
48886 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
48887 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
48888 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
48889 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
48890 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48891 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
48892 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
48893 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
48894 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48895 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48896 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
48897 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48898 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
48899 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
48900 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
48901 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48902 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48903 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48904 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48905 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
48906 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_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}};
48907 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
48908 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
48909 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxControl
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControl
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxControl
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxControl
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxControl
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_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}};
48910 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
48911 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
48912 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
48913 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48914 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
48915 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48916 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48917 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
48918 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48919 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48920 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48921 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
48922 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
48923 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48924 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
48925 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
48926 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48927 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48928 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48929 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48930 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
48931 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
48932 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48933 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48934 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48935 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48936 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48937 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48938 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
48939 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48940 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
48941 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48942 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48943 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_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_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_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_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSpinEvent
, _p_wxSpinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
48944 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
48945 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
48946 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
48947 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
48948 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_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_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_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_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_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}};
48949 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48950 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48951 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
48952 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48953 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48954 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
48955 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48956 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
48957 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
48958 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}};
48959 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48960 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
48961 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
48962 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
48963 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}};
48964 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48965 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}};
48966 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
48967 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
48968 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
48969 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
48970 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
48971 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48972 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
48973 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48974 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
48975 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48976 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}};
48977 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
48978 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48979 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48980 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
48981 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48982 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48983 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48984 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
48985 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48986 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48987 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
48988 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
48989 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
48990 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48991 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
48992 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48993 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48994 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48995 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
48996 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
48997 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
48998 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
48999 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49000 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49001 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49002 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49003 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49004 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49005 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49006 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49007 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49008 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_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_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_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_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_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_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_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_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_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_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_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_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_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_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_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBarToolBase
, _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
49009 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49010 static swig_cast_info _swigc__p_wxPickerBase
[] = { {&_swigt__p_wxPickerBase
, 0, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxPickerBase
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxPickerBase
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxPickerBase
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxPickerBase
, 0, 0},{0, 0, 0, 0}};
49011 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49012 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49013 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}};
49014 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49015 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49016 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49017 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49018 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49019 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49020 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49021 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49022 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49023 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49024 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49025 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49026 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49027 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49028 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49029 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49030 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49031 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49032 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49033 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49034 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49035 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49036 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}};
49037 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49038 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49039 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49040 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49041 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49042 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49043 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49044 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}};
49045 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49046 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxWindow
, 0, 0}, {&_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_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGenericDirCtrl
, _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrollBar
, _p_wxScrollBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxGauge
, _p_wxGaugeTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyTreeCtrl
, _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckBox
, _p_wxCheckBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioBox
, _p_wxRadioBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxListView
, _p_wxListViewTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBitmap
, _p_wxStaticBitmapTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinCtrl
, _p_wxSpinCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticText
, _p_wxStaticTextTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStaticBox
, _p_wxStaticBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSlider
, _p_wxSliderTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSpinButton
, _p_wxSpinButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_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}};
49047 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49049 static swig_cast_info
*swig_cast_initial
[] = {
49052 _swigc__p_form_ops_t
,
49055 _swigc__p_unsigned_char
,
49056 _swigc__p_unsigned_int
,
49057 _swigc__p_unsigned_long
,
49059 _swigc__p_wxANIHandler
,
49060 _swigc__p_wxAcceleratorTable
,
49061 _swigc__p_wxActivateEvent
,
49062 _swigc__p_wxArrayInt
,
49063 _swigc__p_wxArrayString
,
49064 _swigc__p_wxBMPHandler
,
49065 _swigc__p_wxBitmap
,
49066 _swigc__p_wxBitmapButton
,
49067 _swigc__p_wxBookCtrlBase
,
49068 _swigc__p_wxBookCtrlBaseEvent
,
49069 _swigc__p_wxBoxSizer
,
49070 _swigc__p_wxButton
,
49071 _swigc__p_wxCURHandler
,
49072 _swigc__p_wxCheckBox
,
49073 _swigc__p_wxCheckListBox
,
49074 _swigc__p_wxChildFocusEvent
,
49075 _swigc__p_wxChoice
,
49076 _swigc__p_wxChoicebook
,
49077 _swigc__p_wxChoicebookEvent
,
49078 _swigc__p_wxClipboardTextEvent
,
49079 _swigc__p_wxCloseEvent
,
49080 _swigc__p_wxCollapsiblePane
,
49081 _swigc__p_wxCollapsiblePaneEvent
,
49082 _swigc__p_wxColour
,
49083 _swigc__p_wxColourPickerCtrl
,
49084 _swigc__p_wxColourPickerEvent
,
49085 _swigc__p_wxComboBox
,
49086 _swigc__p_wxCommandEvent
,
49087 _swigc__p_wxContextHelp
,
49088 _swigc__p_wxContextHelpButton
,
49089 _swigc__p_wxContextMenuEvent
,
49090 _swigc__p_wxControl
,
49091 _swigc__p_wxControlWithItems
,
49092 _swigc__p_wxCursor
,
49094 _swigc__p_wxDateEvent
,
49095 _swigc__p_wxDatePickerCtrl
,
49096 _swigc__p_wxDateTime
,
49097 _swigc__p_wxDirFilterListCtrl
,
49098 _swigc__p_wxDirPickerCtrl
,
49099 _swigc__p_wxDisplayChangedEvent
,
49100 _swigc__p_wxDropFilesEvent
,
49101 _swigc__p_wxDuplexMode
,
49102 _swigc__p_wxEraseEvent
,
49104 _swigc__p_wxEvtHandler
,
49105 _swigc__p_wxFSFile
,
49106 _swigc__p_wxFileDirPickerEvent
,
49107 _swigc__p_wxFilePickerCtrl
,
49108 _swigc__p_wxFileSystem
,
49109 _swigc__p_wxFlexGridSizer
,
49110 _swigc__p_wxFocusEvent
,
49112 _swigc__p_wxFontPickerCtrl
,
49113 _swigc__p_wxFontPickerEvent
,
49114 _swigc__p_wxGBSizerItem
,
49115 _swigc__p_wxGIFHandler
,
49117 _swigc__p_wxGenericDirCtrl
,
49118 _swigc__p_wxGenericDragImage
,
49119 _swigc__p_wxGridBagSizer
,
49120 _swigc__p_wxGridSizer
,
49121 _swigc__p_wxHelpEvent
,
49122 _swigc__p_wxHelpProvider
,
49123 _swigc__p_wxHyperlinkCtrl
,
49124 _swigc__p_wxHyperlinkEvent
,
49125 _swigc__p_wxICOHandler
,
49127 _swigc__p_wxIconizeEvent
,
49128 _swigc__p_wxIdleEvent
,
49130 _swigc__p_wxImageHandler
,
49131 _swigc__p_wxImageList
,
49132 _swigc__p_wxIndividualLayoutConstraint
,
49133 _swigc__p_wxInitDialogEvent
,
49134 _swigc__p_wxItemContainer
,
49135 _swigc__p_wxJPEGHandler
,
49136 _swigc__p_wxKeyEvent
,
49137 _swigc__p_wxLayoutConstraints
,
49138 _swigc__p_wxListBox
,
49139 _swigc__p_wxListEvent
,
49140 _swigc__p_wxListItem
,
49141 _swigc__p_wxListItemAttr
,
49142 _swigc__p_wxListView
,
49143 _swigc__p_wxListbook
,
49144 _swigc__p_wxListbookEvent
,
49145 _swigc__p_wxMaximizeEvent
,
49146 _swigc__p_wxMemoryDC
,
49148 _swigc__p_wxMenuBar
,
49149 _swigc__p_wxMenuEvent
,
49150 _swigc__p_wxMenuItem
,
49151 _swigc__p_wxMouseCaptureChangedEvent
,
49152 _swigc__p_wxMouseCaptureLostEvent
,
49153 _swigc__p_wxMouseEvent
,
49154 _swigc__p_wxMoveEvent
,
49155 _swigc__p_wxNavigationKeyEvent
,
49156 _swigc__p_wxNcPaintEvent
,
49157 _swigc__p_wxNotebook
,
49158 _swigc__p_wxNotebookEvent
,
49159 _swigc__p_wxNotifyEvent
,
49160 _swigc__p_wxObject
,
49161 _swigc__p_wxPCXHandler
,
49162 _swigc__p_wxPNGHandler
,
49163 _swigc__p_wxPNMHandler
,
49164 _swigc__p_wxPaintEvent
,
49165 _swigc__p_wxPaletteChangedEvent
,
49166 _swigc__p_wxPaperSize
,
49167 _swigc__p_wxPickerBase
,
49170 _swigc__p_wxPyCommandEvent
,
49171 _swigc__p_wxPyControl
,
49172 _swigc__p_wxPyEvent
,
49173 _swigc__p_wxPyImageHandler
,
49174 _swigc__p_wxPyListCtrl
,
49175 _swigc__p_wxPySizer
,
49176 _swigc__p_wxPyTreeCtrl
,
49177 _swigc__p_wxPyTreeItemData
,
49178 _swigc__p_wxPyValidator
,
49179 _swigc__p_wxQueryNewPaletteEvent
,
49180 _swigc__p_wxRadioBox
,
49181 _swigc__p_wxRadioButton
,
49183 _swigc__p_wxScrollBar
,
49184 _swigc__p_wxScrollEvent
,
49185 _swigc__p_wxScrollWinEvent
,
49186 _swigc__p_wxSetCursorEvent
,
49187 _swigc__p_wxShowEvent
,
49188 _swigc__p_wxSimpleHelpProvider
,
49190 _swigc__p_wxSizeEvent
,
49192 _swigc__p_wxSizerItem
,
49193 _swigc__p_wxSlider
,
49194 _swigc__p_wxSpinButton
,
49195 _swigc__p_wxSpinCtrl
,
49196 _swigc__p_wxSpinEvent
,
49197 _swigc__p_wxStaticBitmap
,
49198 _swigc__p_wxStaticBox
,
49199 _swigc__p_wxStaticBoxSizer
,
49200 _swigc__p_wxStaticLine
,
49201 _swigc__p_wxStaticText
,
49202 _swigc__p_wxStdDialogButtonSizer
,
49203 _swigc__p_wxString
,
49204 _swigc__p_wxSysColourChangedEvent
,
49205 _swigc__p_wxTGAHandler
,
49206 _swigc__p_wxTIFFHandler
,
49207 _swigc__p_wxTextAttr
,
49208 _swigc__p_wxTextCtrl
,
49209 _swigc__p_wxTextUrlEvent
,
49210 _swigc__p_wxToggleButton
,
49211 _swigc__p_wxToolBar
,
49212 _swigc__p_wxToolBarBase
,
49213 _swigc__p_wxToolBarToolBase
,
49214 _swigc__p_wxToolbook
,
49215 _swigc__p_wxToolbookEvent
,
49216 _swigc__p_wxTreeEvent
,
49217 _swigc__p_wxTreeItemId
,
49218 _swigc__p_wxTreebook
,
49219 _swigc__p_wxTreebookEvent
,
49220 _swigc__p_wxUpdateUIEvent
,
49221 _swigc__p_wxValidator
,
49222 _swigc__p_wxVisualAttributes
,
49223 _swigc__p_wxWindow
,
49224 _swigc__p_wxWindowBase
,
49225 _swigc__p_wxWindowCreateEvent
,
49226 _swigc__p_wxWindowDestroyEvent
,
49227 _swigc__p_wxXPMHandler
,
49231 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49233 static swig_const_info swig_const_table
[] = {
49234 {0, 0, 0, 0.0, 0, 0}};
49239 /* -----------------------------------------------------------------------------
49240 * Type initialization:
49241 * This problem is tough by the requirement that no dynamic
49242 * memory is used. Also, since swig_type_info structures store pointers to
49243 * swig_cast_info structures and swig_cast_info structures store pointers back
49244 * to swig_type_info structures, we need some lookup code at initialization.
49245 * The idea is that swig generates all the structures that are needed.
49246 * The runtime then collects these partially filled structures.
49247 * The SWIG_InitializeModule function takes these initial arrays out of
49248 * swig_module, and does all the lookup, filling in the swig_module.types
49249 * array with the correct data and linking the correct swig_cast_info
49250 * structures together.
49252 * The generated swig_type_info structures are assigned staticly to an initial
49253 * array. We just loop though that array, and handle each type individually.
49254 * First we lookup if this type has been already loaded, and if so, use the
49255 * loaded structure instead of the generated one. Then we have to fill in the
49256 * cast linked list. The cast data is initially stored in something like a
49257 * two-dimensional array. Each row corresponds to a type (there are the same
49258 * number of rows as there are in the swig_type_initial array). Each entry in
49259 * a column is one of the swig_cast_info structures for that type.
49260 * The cast_initial array is actually an array of arrays, because each row has
49261 * a variable number of columns. So to actually build the cast linked list,
49262 * we find the array of casts associated with the type, and loop through it
49263 * adding the casts to the list. The one last trick we need to do is making
49264 * sure the type pointer in the swig_cast_info struct is correct.
49266 * First off, we lookup the cast->type name to see if it is already loaded.
49267 * There are three cases to handle:
49268 * 1) If the cast->type has already been loaded AND the type we are adding
49269 * casting info to has not been loaded (it is in this module), THEN we
49270 * replace the cast->type pointer with the type pointer that has already
49272 * 2) If BOTH types (the one we are adding casting info to, and the
49273 * cast->type) are loaded, THEN the cast info has already been loaded by
49274 * the previous module so we just ignore it.
49275 * 3) Finally, if cast->type has not already been loaded, then we add that
49276 * swig_cast_info to the linked list (because the cast->type) pointer will
49278 * ----------------------------------------------------------------------------- */
49288 #define SWIGRUNTIME_DEBUG
49292 SWIG_InitializeModule(void *clientdata
) {
49294 swig_module_info
*module_head
;
49295 static int init_run
= 0;
49297 clientdata
= clientdata
;
49299 if (init_run
) return;
49302 /* Initialize the swig_module */
49303 swig_module
.type_initial
= swig_type_initial
;
49304 swig_module
.cast_initial
= swig_cast_initial
;
49306 /* Try and load any already created modules */
49307 module_head
= SWIG_GetModule(clientdata
);
49309 swig_module
.next
= module_head
->next
;
49310 module_head
->next
= &swig_module
;
49312 /* This is the first module loaded */
49313 swig_module
.next
= &swig_module
;
49314 SWIG_SetModule(clientdata
, &swig_module
);
49317 /* Now work on filling in swig_module.types */
49318 #ifdef SWIGRUNTIME_DEBUG
49319 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
49321 for (i
= 0; i
< swig_module
.size
; ++i
) {
49322 swig_type_info
*type
= 0;
49323 swig_type_info
*ret
;
49324 swig_cast_info
*cast
;
49326 #ifdef SWIGRUNTIME_DEBUG
49327 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49330 /* if there is another module already loaded */
49331 if (swig_module
.next
!= &swig_module
) {
49332 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
49335 /* Overwrite clientdata field */
49336 #ifdef SWIGRUNTIME_DEBUG
49337 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
49339 if (swig_module
.type_initial
[i
]->clientdata
) {
49340 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
49341 #ifdef SWIGRUNTIME_DEBUG
49342 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
49346 type
= swig_module
.type_initial
[i
];
49349 /* Insert casting types */
49350 cast
= swig_module
.cast_initial
[i
];
49351 while (cast
->type
) {
49352 /* Don't need to add information already in the list */
49354 #ifdef SWIGRUNTIME_DEBUG
49355 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
49357 if (swig_module
.next
!= &swig_module
) {
49358 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
49359 #ifdef SWIGRUNTIME_DEBUG
49360 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
49364 if (type
== swig_module
.type_initial
[i
]) {
49365 #ifdef SWIGRUNTIME_DEBUG
49366 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
49371 /* Check for casting already in the list */
49372 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
49373 #ifdef SWIGRUNTIME_DEBUG
49374 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
49376 if (!ocast
) ret
= 0;
49381 #ifdef SWIGRUNTIME_DEBUG
49382 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
49385 type
->cast
->prev
= cast
;
49386 cast
->next
= type
->cast
;
49392 /* Set entry in modules->types array equal to the type */
49393 swig_module
.types
[i
] = type
;
49395 swig_module
.types
[i
] = 0;
49397 #ifdef SWIGRUNTIME_DEBUG
49398 printf("**** SWIG_InitializeModule: Cast List ******\n");
49399 for (i
= 0; i
< swig_module
.size
; ++i
) {
49401 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
49402 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49403 while (cast
->type
) {
49404 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
49408 printf("---- Total casts: %d\n",j
);
49410 printf("**** SWIG_InitializeModule: Cast List ******\n");
49414 /* This function will propagate the clientdata field of type to
49415 * any new swig_type_info structures that have been added into the list
49416 * of equivalent types. It is like calling
49417 * SWIG_TypeClientData(type, clientdata) a second time.
49420 SWIG_PropagateClientData(void) {
49422 swig_cast_info
*equiv
;
49423 static int init_run
= 0;
49425 if (init_run
) return;
49428 for (i
= 0; i
< swig_module
.size
; i
++) {
49429 if (swig_module
.types
[i
]->clientdata
) {
49430 equiv
= swig_module
.types
[i
]->cast
;
49432 if (!equiv
->converter
) {
49433 if (equiv
->type
&& !equiv
->type
->clientdata
)
49434 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
49436 equiv
= equiv
->next
;
49456 /* Python-specific SWIG API */
49457 #define SWIG_newvarlink() SWIG_Python_newvarlink()
49458 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49459 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49461 /* -----------------------------------------------------------------------------
49462 * global variable support code.
49463 * ----------------------------------------------------------------------------- */
49465 typedef struct swig_globalvar
{
49466 char *name
; /* Name of global variable */
49467 PyObject
*(*get_attr
)(void); /* Return the current value */
49468 int (*set_attr
)(PyObject
*); /* Set the value */
49469 struct swig_globalvar
*next
;
49472 typedef struct swig_varlinkobject
{
49474 swig_globalvar
*vars
;
49475 } swig_varlinkobject
;
49477 SWIGINTERN PyObject
*
49478 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
49479 return PyString_FromString("<Swig global variables>");
49482 SWIGINTERN PyObject
*
49483 swig_varlink_str(swig_varlinkobject
*v
) {
49484 PyObject
*str
= PyString_FromString("(");
49485 swig_globalvar
*var
;
49486 for (var
= v
->vars
; var
; var
=var
->next
) {
49487 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
49488 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
49490 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
49495 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
49496 PyObject
*str
= swig_varlink_str(v
);
49497 fprintf(fp
,"Swig global variables ");
49498 fprintf(fp
,"%s\n", PyString_AsString(str
));
49504 swig_varlink_dealloc(swig_varlinkobject
*v
) {
49505 swig_globalvar
*var
= v
->vars
;
49507 swig_globalvar
*n
= var
->next
;
49514 SWIGINTERN PyObject
*
49515 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
49516 PyObject
*res
= NULL
;
49517 swig_globalvar
*var
= v
->vars
;
49519 if (strcmp(var
->name
,n
) == 0) {
49520 res
= (*var
->get_attr
)();
49525 if (res
== NULL
&& !PyErr_Occurred()) {
49526 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49532 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
49534 swig_globalvar
*var
= v
->vars
;
49536 if (strcmp(var
->name
,n
) == 0) {
49537 res
= (*var
->set_attr
)(p
);
49542 if (res
== 1 && !PyErr_Occurred()) {
49543 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49548 SWIGINTERN PyTypeObject
*
49549 swig_varlink_type(void) {
49550 static char varlink__doc__
[] = "Swig var link object";
49551 static PyTypeObject varlink_type
;
49552 static int type_init
= 0;
49554 const PyTypeObject tmp
49556 PyObject_HEAD_INIT(NULL
)
49557 0, /* Number of items in variable part (ob_size) */
49558 (char *)"swigvarlink", /* Type name (tp_name) */
49559 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
49560 0, /* Itemsize (tp_itemsize) */
49561 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
49562 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
49563 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
49564 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
49565 0, /* tp_compare */
49566 (reprfunc
) swig_varlink_repr
, /* tp_repr */
49567 0, /* tp_as_number */
49568 0, /* tp_as_sequence */
49569 0, /* tp_as_mapping */
49572 (reprfunc
)swig_varlink_str
, /* tp_str */
49573 0, /* tp_getattro */
49574 0, /* tp_setattro */
49575 0, /* tp_as_buffer */
49577 varlink__doc__
, /* tp_doc */
49578 0, /* tp_traverse */
49580 0, /* tp_richcompare */
49581 0, /* tp_weaklistoffset */
49582 #if PY_VERSION_HEX >= 0x02020000
49583 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
49585 #if PY_VERSION_HEX >= 0x02030000
49588 #ifdef COUNT_ALLOCS
49589 0,0,0,0 /* tp_alloc -> tp_next */
49592 varlink_type
= tmp
;
49593 varlink_type
.ob_type
= &PyType_Type
;
49596 return &varlink_type
;
49599 /* Create a variable linking object for use later */
49600 SWIGINTERN PyObject
*
49601 SWIG_Python_newvarlink(void) {
49602 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
49606 return ((PyObject
*) result
);
49610 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
49611 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
49612 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
49614 size_t size
= strlen(name
)+1;
49615 gv
->name
= (char *)malloc(size
);
49617 strncpy(gv
->name
,name
,size
);
49618 gv
->get_attr
= get_attr
;
49619 gv
->set_attr
= set_attr
;
49620 gv
->next
= v
->vars
;
49626 SWIGINTERN PyObject
*
49628 static PyObject
*_SWIG_globals
= 0;
49629 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
49630 return _SWIG_globals
;
49633 /* -----------------------------------------------------------------------------
49634 * constants/methods manipulation
49635 * ----------------------------------------------------------------------------- */
49637 /* Install Constants */
49639 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
49642 for (i
= 0; constants
[i
].type
; ++i
) {
49643 switch(constants
[i
].type
) {
49644 case SWIG_PY_POINTER
:
49645 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
49647 case SWIG_PY_BINARY
:
49648 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
49655 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
49661 /* -----------------------------------------------------------------------------*/
49662 /* Fix SwigMethods to carry the callback ptrs when needed */
49663 /* -----------------------------------------------------------------------------*/
49666 SWIG_Python_FixMethods(PyMethodDef
*methods
,
49667 swig_const_info
*const_table
,
49668 swig_type_info
**types
,
49669 swig_type_info
**types_initial
) {
49671 for (i
= 0; methods
[i
].ml_name
; ++i
) {
49672 const char *c
= methods
[i
].ml_doc
;
49673 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
49675 swig_const_info
*ci
= 0;
49676 const char *name
= c
+ 10;
49677 for (j
= 0; const_table
[j
].type
; ++j
) {
49678 if (strncmp(const_table
[j
].name
, name
,
49679 strlen(const_table
[j
].name
)) == 0) {
49680 ci
= &(const_table
[j
]);
49685 size_t shift
= (ci
->ptype
) - types
;
49686 swig_type_info
*ty
= types_initial
[shift
];
49687 size_t ldoc
= (c
- methods
[i
].ml_doc
);
49688 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
49689 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
49692 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
49694 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
49696 strncpy(buff
, "swig_ptr: ", 10);
49698 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
49699 methods
[i
].ml_doc
= ndoc
;
49711 /* -----------------------------------------------------------------------------*
49712 * Partial Init method
49713 * -----------------------------------------------------------------------------*/
49718 SWIGEXPORT
void SWIG_init(void) {
49721 /* Fix SwigMethods to carry the callback ptrs when needed */
49722 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
49724 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
49725 d
= PyModule_GetDict(m
);
49727 SWIG_InitializeModule(0);
49728 SWIG_InstallConstants(d
,swig_const_table
);
49731 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
49732 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
49733 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
49734 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
49735 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
49736 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
49737 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
49738 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
49739 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
49740 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
49741 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
49742 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
49743 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
49744 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
49745 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
49746 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
49747 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
49748 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
49749 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
49750 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
49751 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
49752 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
49753 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
49754 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
49755 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
49756 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
49757 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
49758 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
49759 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
49760 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
49761 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
49762 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
49763 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
49764 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
49765 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
49766 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
49767 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
49768 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
49769 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
49770 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
49771 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
49772 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
49773 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
49774 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
49775 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
49776 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
49777 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
49778 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
49779 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
49780 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
49781 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
49782 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
49783 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
49784 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
49785 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
49786 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
49787 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
49788 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
49789 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
49790 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
49791 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
49792 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
49793 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
49794 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
49795 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
49796 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
49797 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
49798 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
49799 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
49800 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
49801 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
49802 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
49803 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
49804 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
49805 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
49806 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
49807 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
49808 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
49809 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
49810 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
49811 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
49812 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
49813 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
49814 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
49815 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
49816 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
49817 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
49818 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
49819 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
49820 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
49821 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
49822 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
49823 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
49824 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
49825 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
49826 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
49827 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
49828 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
49829 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
49830 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
49831 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
49832 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
49833 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
49834 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
49835 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
49836 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
49837 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
49838 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
49839 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
49840 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
49841 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
49842 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
49843 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
49844 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
49845 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
49846 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
49847 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
49848 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
49849 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
49850 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
49851 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
49852 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
49853 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
49854 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
49855 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
49856 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
49857 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
49858 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
49859 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
49860 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
49861 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
49862 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
49863 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
49864 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
49865 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
49866 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
49867 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
49868 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
49869 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
49870 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
49871 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
49872 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
49873 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
49874 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
49875 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
49876 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
49877 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
49878 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
49879 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
49880 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
49881 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
49882 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
49883 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
49884 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
49885 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
49886 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
49887 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
49888 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
49889 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
49890 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
49891 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
49892 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
49893 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
49894 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
49895 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
49896 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
49897 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
49898 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
49899 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
49900 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
49901 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
49902 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
49903 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
49904 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
49905 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
49906 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
49907 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
49908 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
49909 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
49910 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
49911 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
49912 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
49913 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
49914 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
49915 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
49916 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
49917 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
49918 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
49919 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
49920 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
49921 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
49922 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
49923 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
49924 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
49925 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
49926 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
49927 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
49928 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
49929 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
49930 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
49931 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
49932 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
49933 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
49934 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
49935 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
49936 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
49937 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
49938 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
49939 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
49940 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
49941 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
49942 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
49943 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
49944 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
49945 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
49946 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
49947 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
49948 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
49949 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
49950 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
49951 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
49952 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
49953 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
49954 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
49955 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
49956 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
49957 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
49958 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
49959 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
49960 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
49961 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
49962 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
49963 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
49964 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
49965 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
49966 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
49967 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
49968 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
49969 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
49970 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
49971 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
49972 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
49973 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
49974 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
49975 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
49976 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
49977 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
49978 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
49979 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
49980 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
49981 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
49982 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
49983 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
49984 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
49985 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
49986 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
49987 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
49988 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
49989 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
49990 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
49992 // Map renamed classes back to their common name for OOR
49993 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49995 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
49996 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
49997 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
49998 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
49999 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50000 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50001 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50002 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50003 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50004 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50005 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50006 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50007 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50008 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50009 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50010 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50011 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50012 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50013 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50014 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50015 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50016 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50017 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50018 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50019 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50020 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50021 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50022 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50023 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50024 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50025 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50026 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50027 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50028 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50029 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50030 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50031 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50032 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50033 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50034 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50035 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50036 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50037 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50038 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50039 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50040 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50041 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50042 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50043 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50044 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50045 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50046 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50047 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50048 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50049 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50050 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50052 // Map renamed classes back to their common name for OOR
50053 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50054 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50056 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50057 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50058 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50059 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50060 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50061 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50062 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50063 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50064 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50065 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50066 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50068 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50070 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50071 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50072 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50073 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50074 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50075 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50076 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50077 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50078 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50079 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50080 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50081 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50082 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50083 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50084 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50085 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50086 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50087 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50088 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50089 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50090 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
50091 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
50092 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
50093 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
50094 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
50095 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
50096 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
50097 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
50098 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
50099 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
50100 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
50101 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
50102 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
50103 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
50104 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
50105 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
50106 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
50107 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
50108 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
50109 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
50110 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
50111 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
50112 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
50113 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
50114 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
50115 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
50116 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));