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_wxSearchCtrl swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSlider swig_types[144]
2611 #define SWIGTYPE_p_wxSpinButton swig_types[145]
2612 #define SWIGTYPE_p_wxSpinCtrl swig_types[146]
2613 #define SWIGTYPE_p_wxSpinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBitmap swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBox swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStaticLine swig_types[151]
2618 #define SWIGTYPE_p_wxStaticText swig_types[152]
2619 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[153]
2620 #define SWIGTYPE_p_wxString swig_types[154]
2621 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[155]
2622 #define SWIGTYPE_p_wxTGAHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTIFFHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTextAttr swig_types[158]
2625 #define SWIGTYPE_p_wxTextCtrl swig_types[159]
2626 #define SWIGTYPE_p_wxTextUrlEvent swig_types[160]
2627 #define SWIGTYPE_p_wxToggleButton swig_types[161]
2628 #define SWIGTYPE_p_wxToolBar swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarToolBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolbook swig_types[165]
2632 #define SWIGTYPE_p_wxToolbookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeItemId swig_types[168]
2635 #define SWIGTYPE_p_wxTreebook swig_types[169]
2636 #define SWIGTYPE_p_wxTreebookEvent swig_types[170]
2637 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[171]
2638 #define SWIGTYPE_p_wxValidator swig_types[172]
2639 #define SWIGTYPE_p_wxVisualAttributes swig_types[173]
2640 #define SWIGTYPE_p_wxWindow swig_types[174]
2641 #define SWIGTYPE_p_wxWindowBase swig_types[175]
2642 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[176]
2643 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[177]
2644 #define SWIGTYPE_p_wxXPMHandler swig_types[178]
2645 static swig_type_info
*swig_types
[180];
2646 static swig_module_info swig_module
= {swig_types
, 179, 0, 0, 0, 0};
2647 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2648 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2650 /* -------- TYPES TABLE (END) -------- */
2652 #if (PY_VERSION_HEX <= 0x02000000)
2653 # if !defined(SWIG_PYTHON_CLASSIC)
2654 # error "This python version requires to use swig with the '-classic' option"
2657 #if (PY_VERSION_HEX <= 0x02020000)
2658 # error "This python version requires to use swig with the '-nomodern' option"
2660 #if (PY_VERSION_HEX <= 0x02020000)
2661 # error "This python version requires to use swig with the '-nomodernargs' option"
2664 # error "This python version requires to use swig with the '-nofastunpack' option"
2667 /*-----------------------------------------------
2668 @(target):= _controls_.so
2669 ------------------------------------------------*/
2670 #define SWIG_init init_controls_
2672 #define SWIG_name "_controls_"
2674 #define SWIGVERSION 0x010329
2677 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2678 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2681 #include <stdexcept>
2685 class PyObject_ptr
{
2690 PyObject_ptr() :_obj(0)
2694 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2699 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2701 if (initial_ref
) Py_XINCREF(_obj
);
2704 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2706 Py_XINCREF(item
._obj
);
2717 operator PyObject
*() const
2722 PyObject
*operator->() const
2731 struct PyObject_var
: PyObject_ptr
{
2732 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2734 PyObject_var
& operator = (PyObject
* obj
)
2744 #include "wx/wxPython/wxPython.h"
2745 #include "wx/wxPython/pyclasses.h"
2747 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2748 static const wxString
wxPyEmptyString(wxEmptyString
);
2749 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2751 const wxArrayString wxPyEmptyStringArray
;
2753 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2755 #define SWIG_From_long PyInt_FromLong
2758 SWIGINTERNINLINE PyObject
*
2759 SWIG_From_int (int value
)
2761 return SWIG_From_long (value
);
2767 # define LLONG_MIN LONG_LONG_MIN
2770 # define LLONG_MAX LONG_LONG_MAX
2773 # define ULLONG_MAX ULONG_LONG_MAX
2778 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2780 if (PyNumber_Check(obj
)) {
2781 if (val
) *val
= PyInt_AsLong(obj
);
2784 return SWIG_TypeError
;
2789 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2792 int res
= SWIG_AsVal_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< int >(v
);
2803 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2806 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2808 if (obj
== Py_True
) {
2809 if (val
) *val
= true;
2811 } else if (obj
== Py_False
) {
2812 if (val
) *val
= false;
2816 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2817 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2822 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2823 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2824 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2825 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2826 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2827 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2828 static const wxString
wxPyStaticLineNameStr(wxStaticLineNameStr
);
2830 #include <wx/checklst.h>
2832 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2833 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2836 wxPyClientData
* data
= new wxPyClientData(clientData
);
2837 self
->Insert(item
, pos
, data
);
2840 self
->Insert(item
, pos
);
2844 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2847 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2848 return SWIG_TypeError
;
2851 *val
= (unsigned long)v
;
2857 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2860 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2861 if (SWIG_IsOK(res
)) {
2862 if ((v
> UINT_MAX
)) {
2863 return SWIG_OverflowError
;
2865 if (val
) *val
= static_cast< unsigned int >(v
);
2871 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2874 self
->GetSelections(lst
);
2875 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2876 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2878 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2880 wxPyEndBlockThreads(blocked
);
2883 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2885 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2886 self
->GetItem(item
)->SetTextColour(c
);
2889 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2891 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2892 self
->GetItem(item
)->SetBackgroundColour(c
);
2895 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2897 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2898 self
->GetItem(item
)->SetFont(f
);
2901 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2902 SWIGINTERN
void wxTextCtrl_MacCheckSpelling(wxTextCtrl
*self
,bool check
){}
2903 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2904 self
->AppendText(text
);
2906 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2907 return self
->GetValue().Mid(from
, to
- from
);
2909 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2910 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2911 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2912 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2913 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2915 SWIGINTERNINLINE PyObject
*
2916 SWIG_From_unsigned_SS_long (unsigned long value
)
2918 return (value
> LONG_MAX
) ?
2919 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2923 SWIGINTERNINLINE PyObject
*
2924 SWIG_From_size_t (size_t value
)
2926 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2930 SWIGINTERNINLINE PyObject
*
2931 SWIG_From_unsigned_SS_int (unsigned int value
)
2933 return SWIG_From_unsigned_SS_long (value
);
2937 #include <wx/slider.h>
2940 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2941 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2943 #if !wxUSE_TOGGLEBTN
2944 // implement dummy items for platforms that don't have this class
2946 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2948 class wxToggleButton
: public wxControl
2951 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2952 const wxPoint
&, const wxSize
&, long,
2953 const wxValidator
&, const wxString
&)
2954 { wxPyRaiseNotImplemented(); }
2957 { wxPyRaiseNotImplemented(); }
2961 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2963 SWIGINTERNINLINE
int
2964 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2967 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2968 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2972 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2973 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2974 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2976 Py_INCREF(udata
->m_obj
);
2977 return udata
->m_obj
;
2983 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2984 self
->SetClientData(new wxPyUserData(clientData
));
2986 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
){
2987 wxPyUserData
* udata
= NULL
;
2988 if (clientData
&& clientData
!= Py_None
)
2989 udata
= new wxPyUserData(clientData
);
2990 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2991 shortHelp
, longHelp
, udata
);
2993 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
){
2994 wxPyUserData
* udata
= NULL
;
2995 if (clientData
&& clientData
!= Py_None
)
2996 udata
= new wxPyUserData(clientData
);
2997 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2998 shortHelp
, longHelp
, udata
);
3000 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3001 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3003 Py_INCREF(udata
->m_obj
);
3004 return udata
->m_obj
;
3010 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3011 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3014 #include <wx/listctrl.h>
3016 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3017 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3018 // Python aware sorting function for wxPyListCtrl
3019 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3021 PyObject
* func
= (PyObject
*)funcPtr
;
3022 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3024 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3025 PyObject
* result
= PyEval_CallObject(func
, args
);
3028 retval
= PyInt_AsLong(result
);
3032 wxPyEndBlockThreads(blocked
);
3036 // C++ Version of a Python aware class
3037 class wxPyListCtrl
: public wxListCtrl
{
3038 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3040 wxPyListCtrl() : wxListCtrl() {}
3041 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3045 const wxValidator
& validator
,
3046 const wxString
& name
) :
3047 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3049 bool Create(wxWindow
* parent
, wxWindowID id
,
3053 const wxValidator
& validator
,
3054 const wxString
& name
) {
3055 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3058 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3059 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3061 // use the virtual version to avoid a confusing assert in the base class
3062 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3063 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3068 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3070 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3071 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3072 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3073 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3076 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3078 item
.SetMask( wxLIST_MASK_STATE
|
3086 if (self
->GetColumn(col
, item
))
3087 return new wxListItem(item
);
3091 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3092 wxListItem
* info
= new wxListItem
;
3093 info
->m_itemId
= itemId
;
3095 info
->m_mask
= 0xFFFF;
3096 self
->GetItem(*info
);
3099 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3101 self
->GetItemPosition(item
, pos
);
3104 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3106 self
->GetItemRect(item
, rect
, code
);
3109 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3110 if (!PyCallable_Check(func
))
3112 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3114 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3118 return (wxWindow
*)self
->m_mainWin
;
3122 #include <wx/treectrl.h>
3123 #include "wx/wxPython/pytree.h"
3125 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3126 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3127 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3128 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3130 static wxTreeItemId wxNullTreeItemId
;
3132 // C++ version of Python aware wxTreeCtrl
3133 class wxPyTreeCtrl
: public wxTreeCtrl
{
3134 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3136 wxPyTreeCtrl() : wxTreeCtrl() {}
3137 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3141 const wxValidator
& validator
,
3142 const wxString
& name
) :
3143 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3145 bool Create(wxWindow
*parent
, wxWindowID id
,
3149 const wxValidator
& validator
,
3150 const wxString
& name
) {
3151 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3155 int OnCompareItems(const wxTreeItemId
& item1
,
3156 const wxTreeItemId
& item2
) {
3159 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3160 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3161 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3162 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3163 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3167 wxPyEndBlockThreads(blocked
);
3169 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3175 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3178 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3179 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3181 data
= new wxPyTreeItemData();
3182 data
->SetId(item
); // set the id
3183 self
->SetItemData(item
, data
);
3187 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3188 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3190 data
= new wxPyTreeItemData();
3191 data
->SetId(item
); // set the id
3192 self
->SetItemData(item
, data
);
3194 return data
->GetData();
3196 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3197 data
->SetId(item
); // set the id
3198 self
->SetItemData(item
, data
);
3200 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3201 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3203 data
= new wxPyTreeItemData(obj
);
3204 data
->SetId(item
); // set the id
3205 self
->SetItemData(item
, data
);
3209 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3211 PyObject
* rval
= PyList_New(0);
3212 wxArrayTreeItemIds array
;
3214 num
= self
->GetSelections(array
);
3215 for (x
=0; x
< num
; x
++) {
3216 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3217 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3218 PyList_Append(rval
, item
);
3221 wxPyEndBlockThreads(blocked
);
3224 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3226 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3227 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3228 PyObject
* tup
= PyTuple_New(2);
3229 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3230 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3231 wxPyEndBlockThreads(blocked
);
3234 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3235 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3236 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3237 PyObject
* tup
= PyTuple_New(2);
3238 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3239 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3240 wxPyEndBlockThreads(blocked
);
3243 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3245 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3246 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3247 wxRect
* r
= new wxRect(rect
);
3248 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3249 wxPyEndBlockThreads(blocked
);
3255 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3257 SWIGINTERNINLINE PyObject
*
3258 SWIG_From_bool (bool value
)
3260 return PyBool_FromLong(value
? 1 : 0);
3263 // C++ version of Python aware wxControl
3264 class wxPyControl
: public wxControl
3266 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3268 wxPyControl() : wxControl() {}
3269 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3270 const wxPoint
& pos
= wxDefaultPosition
,
3271 const wxSize
& size
= wxDefaultSize
,
3273 const wxValidator
& validator
=wxDefaultValidator
,
3274 const wxString
& name
= wxPyControlNameStr
)
3275 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3278 bool DoEraseBackground(wxDC
* dc
) {
3280 return wxWindow::DoEraseBackground(dc
->GetHDC());
3282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3300 DEC_PYCALLBACK__(InitDialog
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3303 DEC_PYCALLBACK_BOOL_(Validate
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3324 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3336 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3348 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3351 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3353 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3357 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3359 #include <wx/generic/dragimgg.h>
3361 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3362 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3364 self
->GetRange(&rv
, NULL
);
3367 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3369 self
->GetRange(NULL
, &rv
);
3372 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3373 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3374 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3375 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3376 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3377 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3378 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3379 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3380 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3381 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3383 #if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3384 // define a dummy class for builds that don't have wxSearchCtrl
3387 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
,
3388 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
3391 class wxSearchCtrl
: public wxTextCtrl
3394 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3395 wxSearchCtrl(wxWindow
*, wxWindowID
,
3401 const wxString
& name
)
3402 { wxPyRaiseNotImplemented(); }
3404 bool Create( wxWindow
*, wxWindowID
,
3410 const wxString
& name
) {}
3412 virtual void SetMenu( wxMenu
* ) {}
3413 virtual wxMenu
* GetMenu() { return NULL
; }
3415 // get/set search options
3416 // ----------------------
3417 virtual void ShowSearchButton( bool ) {}
3418 virtual bool IsSearchButtonVisible() const { return false; }
3420 virtual void ShowCancelButton( bool ) {}
3421 virtual bool IsCancelButtonVisible() const { return false; }
3423 virtual void SetDescriptiveText(const wxString
& text
);
3424 virtual wxString
GetDescriptiveText() const;
3431 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3432 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3437 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3438 PyObject
*pyobj
= 0;
3442 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3444 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3451 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
= 0;
3453 wxWindow
*arg1
= (wxWindow
*) 0 ;
3454 int arg2
= (int) -1 ;
3455 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3456 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3457 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3458 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3459 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3460 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3461 long arg6
= (long) 0 ;
3462 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3463 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3464 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3465 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3466 wxButton
*result
= 0 ;
3471 bool temp3
= false ;
3478 bool temp8
= false ;
3479 PyObject
* obj0
= 0 ;
3480 PyObject
* obj1
= 0 ;
3481 PyObject
* obj2
= 0 ;
3482 PyObject
* obj3
= 0 ;
3483 PyObject
* obj4
= 0 ;
3484 PyObject
* obj5
= 0 ;
3485 PyObject
* obj6
= 0 ;
3486 PyObject
* obj7
= 0 ;
3487 char * kwnames
[] = {
3488 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3493 if (!SWIG_IsOK(res1
)) {
3494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3496 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3499 if (!SWIG_IsOK(ecode2
)) {
3500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3502 arg2
= static_cast< int >(val2
);
3506 arg3
= wxString_in_helper(obj2
);
3507 if (arg3
== NULL
) SWIG_fail
;
3514 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3520 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3524 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3525 if (!SWIG_IsOK(ecode6
)) {
3526 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3528 arg6
= static_cast< long >(val6
);
3531 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3532 if (!SWIG_IsOK(res7
)) {
3533 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3538 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3542 arg8
= wxString_in_helper(obj7
);
3543 if (arg8
== NULL
) SWIG_fail
;
3548 if (!wxPyCheckForApp()) SWIG_fail
;
3549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3550 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3577 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3578 PyObject
*resultobj
= 0;
3579 wxButton
*result
= 0 ;
3581 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3583 if (!wxPyCheckForApp()) SWIG_fail
;
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 result
= (wxButton
*)new wxButton();
3586 wxPyEndAllowThreads(__tstate
);
3587 if (PyErr_Occurred()) SWIG_fail
;
3589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3596 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
= 0;
3598 wxButton
*arg1
= (wxButton
*) 0 ;
3599 wxWindow
*arg2
= (wxWindow
*) 0 ;
3600 int arg3
= (int) -1 ;
3601 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3602 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3603 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3604 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3605 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3606 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3607 long arg7
= (long) 0 ;
3608 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3609 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3610 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3611 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3619 bool temp4
= false ;
3626 bool temp9
= false ;
3627 PyObject
* obj0
= 0 ;
3628 PyObject
* obj1
= 0 ;
3629 PyObject
* obj2
= 0 ;
3630 PyObject
* obj3
= 0 ;
3631 PyObject
* obj4
= 0 ;
3632 PyObject
* obj5
= 0 ;
3633 PyObject
* obj6
= 0 ;
3634 PyObject
* obj7
= 0 ;
3635 PyObject
* obj8
= 0 ;
3636 char * kwnames
[] = {
3637 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3642 if (!SWIG_IsOK(res1
)) {
3643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3645 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3646 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3647 if (!SWIG_IsOK(res2
)) {
3648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3650 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3653 if (!SWIG_IsOK(ecode3
)) {
3654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3656 arg3
= static_cast< int >(val3
);
3660 arg4
= wxString_in_helper(obj3
);
3661 if (arg4
== NULL
) SWIG_fail
;
3668 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3674 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3678 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3679 if (!SWIG_IsOK(ecode7
)) {
3680 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3682 arg7
= static_cast< long >(val7
);
3685 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3686 if (!SWIG_IsOK(res8
)) {
3687 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3692 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3696 arg9
= wxString_in_helper(obj8
);
3697 if (arg9
== NULL
) SWIG_fail
;
3702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3703 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3732 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3733 PyObject
*resultobj
= 0;
3734 wxButton
*arg1
= (wxButton
*) 0 ;
3737 PyObject
*swig_obj
[1] ;
3739 if (!args
) SWIG_fail
;
3741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3742 if (!SWIG_IsOK(res1
)) {
3743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3745 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 (arg1
)->SetDefault();
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3752 resultobj
= SWIG_Py_Void();
3759 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3760 PyObject
*resultobj
= 0;
3763 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 result
= wxButton::GetDefaultSize();
3767 wxPyEndAllowThreads(__tstate
);
3768 if (PyErr_Occurred()) SWIG_fail
;
3770 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3777 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
*resultobj
= 0;
3779 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3780 SwigValueWrapper
<wxVisualAttributes
> result
;
3783 PyObject
* obj0
= 0 ;
3784 char * kwnames
[] = {
3785 (char *) "variant", NULL
3788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3790 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3791 if (!SWIG_IsOK(ecode1
)) {
3792 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3794 arg1
= static_cast< wxWindowVariant
>(val1
);
3797 if (!wxPyCheckForApp()) SWIG_fail
;
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 result
= wxButton::GetClassDefaultAttributes(arg1
);
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3803 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3810 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3813 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3814 return SWIG_Py_Void();
3817 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3818 return SWIG_Python_InitShadowInstance(args
);
3821 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
*resultobj
= 0;
3823 wxWindow
*arg1
= (wxWindow
*) 0 ;
3824 int arg2
= (int) -1 ;
3825 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3826 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3827 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3828 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3829 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3830 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3831 long arg6
= (long) wxBU_AUTODRAW
;
3832 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3833 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3834 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3835 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3836 wxBitmapButton
*result
= 0 ;
3849 bool temp8
= false ;
3850 PyObject
* obj0
= 0 ;
3851 PyObject
* obj1
= 0 ;
3852 PyObject
* obj2
= 0 ;
3853 PyObject
* obj3
= 0 ;
3854 PyObject
* obj4
= 0 ;
3855 PyObject
* obj5
= 0 ;
3856 PyObject
* obj6
= 0 ;
3857 PyObject
* obj7
= 0 ;
3858 char * kwnames
[] = {
3859 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3864 if (!SWIG_IsOK(res1
)) {
3865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3867 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3870 if (!SWIG_IsOK(ecode2
)) {
3871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3873 arg2
= static_cast< int >(val2
);
3876 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3877 if (!SWIG_IsOK(res3
)) {
3878 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3883 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3888 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3894 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3898 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3899 if (!SWIG_IsOK(ecode6
)) {
3900 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3902 arg6
= static_cast< long >(val6
);
3905 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3906 if (!SWIG_IsOK(res7
)) {
3907 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3912 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3916 arg8
= wxString_in_helper(obj7
);
3917 if (arg8
== NULL
) SWIG_fail
;
3922 if (!wxPyCheckForApp()) SWIG_fail
;
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3943 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3944 PyObject
*resultobj
= 0;
3945 wxBitmapButton
*result
= 0 ;
3947 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3949 if (!wxPyCheckForApp()) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= (wxBitmapButton
*)new wxBitmapButton();
3952 wxPyEndAllowThreads(__tstate
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3962 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
*resultobj
= 0;
3964 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3965 wxWindow
*arg2
= (wxWindow
*) 0 ;
3966 int arg3
= (int) -1 ;
3967 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3968 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3969 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3970 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3971 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3972 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3973 long arg7
= (long) wxBU_AUTODRAW
;
3974 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3975 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3976 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3977 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3993 bool temp9
= false ;
3994 PyObject
* obj0
= 0 ;
3995 PyObject
* obj1
= 0 ;
3996 PyObject
* obj2
= 0 ;
3997 PyObject
* obj3
= 0 ;
3998 PyObject
* obj4
= 0 ;
3999 PyObject
* obj5
= 0 ;
4000 PyObject
* obj6
= 0 ;
4001 PyObject
* obj7
= 0 ;
4002 PyObject
* obj8
= 0 ;
4003 char * kwnames
[] = {
4004 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4009 if (!SWIG_IsOK(res1
)) {
4010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4012 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4013 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4014 if (!SWIG_IsOK(res2
)) {
4015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4017 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4020 if (!SWIG_IsOK(ecode3
)) {
4021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4023 arg3
= static_cast< int >(val3
);
4026 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4027 if (!SWIG_IsOK(res4
)) {
4028 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4033 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
4038 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4044 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4048 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4049 if (!SWIG_IsOK(ecode7
)) {
4050 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4052 arg7
= static_cast< long >(val7
);
4055 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4056 if (!SWIG_IsOK(res8
)) {
4057 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4062 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4066 arg9
= wxString_in_helper(obj8
);
4067 if (arg9
== NULL
) SWIG_fail
;
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4074 wxPyEndAllowThreads(__tstate
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4094 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4095 PyObject
*resultobj
= 0;
4096 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4100 PyObject
*swig_obj
[1] ;
4102 if (!args
) SWIG_fail
;
4104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4105 if (!SWIG_IsOK(res1
)) {
4106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4108 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 result
= (arg1
)->GetBitmapLabel();
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4115 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4122 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4123 PyObject
*resultobj
= 0;
4124 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4128 PyObject
*swig_obj
[1] ;
4130 if (!args
) SWIG_fail
;
4132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4133 if (!SWIG_IsOK(res1
)) {
4134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4136 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (arg1
)->GetBitmapDisabled();
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4143 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4150 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4151 PyObject
*resultobj
= 0;
4152 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4156 PyObject
*swig_obj
[1] ;
4158 if (!args
) SWIG_fail
;
4160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4161 if (!SWIG_IsOK(res1
)) {
4162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4164 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4167 result
= (arg1
)->GetBitmapFocus();
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4171 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4178 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4179 PyObject
*resultobj
= 0;
4180 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4184 PyObject
*swig_obj
[1] ;
4186 if (!args
) SWIG_fail
;
4188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4189 if (!SWIG_IsOK(res1
)) {
4190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4192 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 result
= (arg1
)->GetBitmapSelected();
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4206 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4207 PyObject
*resultobj
= 0;
4208 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4212 PyObject
*swig_obj
[1] ;
4214 if (!args
) SWIG_fail
;
4216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4217 if (!SWIG_IsOK(res1
)) {
4218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4220 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 result
= (arg1
)->GetBitmapHover();
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4234 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
*resultobj
= 0;
4236 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4237 wxBitmap
*arg2
= 0 ;
4242 PyObject
* obj0
= 0 ;
4243 PyObject
* obj1
= 0 ;
4244 char * kwnames
[] = {
4245 (char *) "self",(char *) "bitmap", NULL
4248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4250 if (!SWIG_IsOK(res1
)) {
4251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4253 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4254 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4255 if (!SWIG_IsOK(res2
)) {
4256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4261 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4268 resultobj
= SWIG_Py_Void();
4275 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
= 0;
4277 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4278 wxBitmap
*arg2
= 0 ;
4283 PyObject
* obj0
= 0 ;
4284 PyObject
* obj1
= 0 ;
4285 char * kwnames
[] = {
4286 (char *) "self",(char *) "bitmap", NULL
4289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4291 if (!SWIG_IsOK(res1
)) {
4292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4294 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4295 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4296 if (!SWIG_IsOK(res2
)) {
4297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4302 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 resultobj
= SWIG_Py_Void();
4316 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
= 0;
4318 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4319 wxBitmap
*arg2
= 0 ;
4324 PyObject
* obj0
= 0 ;
4325 PyObject
* obj1
= 0 ;
4326 char * kwnames
[] = {
4327 (char *) "self",(char *) "bitmap", NULL
4330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4332 if (!SWIG_IsOK(res1
)) {
4333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4335 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4337 if (!SWIG_IsOK(res2
)) {
4338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4343 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4350 resultobj
= SWIG_Py_Void();
4357 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
= 0;
4359 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4360 wxBitmap
*arg2
= 0 ;
4365 PyObject
* obj0
= 0 ;
4366 PyObject
* obj1
= 0 ;
4367 char * kwnames
[] = {
4368 (char *) "self",(char *) "bitmap", NULL
4371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4373 if (!SWIG_IsOK(res1
)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4376 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4377 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4378 if (!SWIG_IsOK(res2
)) {
4379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4384 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4391 resultobj
= SWIG_Py_Void();
4398 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
*resultobj
= 0;
4400 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4401 wxBitmap
*arg2
= 0 ;
4406 PyObject
* obj0
= 0 ;
4407 PyObject
* obj1
= 0 ;
4408 char * kwnames
[] = {
4409 (char *) "self",(char *) "hover", NULL
4412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4414 if (!SWIG_IsOK(res1
)) {
4415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4417 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4418 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4419 if (!SWIG_IsOK(res2
)) {
4420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4425 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 resultobj
= SWIG_Py_Void();
4439 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
= 0;
4441 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4451 PyObject
* obj1
= 0 ;
4452 PyObject
* obj2
= 0 ;
4453 char * kwnames
[] = {
4454 (char *) "self",(char *) "x",(char *) "y", NULL
4457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4459 if (!SWIG_IsOK(res1
)) {
4460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4462 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4464 if (!SWIG_IsOK(ecode2
)) {
4465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4467 arg2
= static_cast< int >(val2
);
4468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4469 if (!SWIG_IsOK(ecode3
)) {
4470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4472 arg3
= static_cast< int >(val3
);
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 (arg1
)->SetMargins(arg2
,arg3
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= SWIG_Py_Void();
4486 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4487 PyObject
*resultobj
= 0;
4488 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4492 PyObject
*swig_obj
[1] ;
4494 if (!args
) SWIG_fail
;
4496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4497 if (!SWIG_IsOK(res1
)) {
4498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4500 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 resultobj
= SWIG_From_int(static_cast< int >(result
));
4514 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4515 PyObject
*resultobj
= 0;
4516 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4520 PyObject
*swig_obj
[1] ;
4522 if (!args
) SWIG_fail
;
4524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4525 if (!SWIG_IsOK(res1
)) {
4526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4528 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4535 resultobj
= SWIG_From_int(static_cast< int >(result
));
4542 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4545 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4546 return SWIG_Py_Void();
4549 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4550 return SWIG_Python_InitShadowInstance(args
);
4553 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4554 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4559 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4560 PyObject
*pyobj
= 0;
4564 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4566 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4573 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
= 0;
4575 wxWindow
*arg1
= (wxWindow
*) 0 ;
4576 int arg2
= (int) -1 ;
4577 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4578 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4579 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4580 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4581 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4582 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4583 long arg6
= (long) 0 ;
4584 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4585 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4586 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4587 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4588 wxCheckBox
*result
= 0 ;
4593 bool temp3
= false ;
4600 bool temp8
= false ;
4601 PyObject
* obj0
= 0 ;
4602 PyObject
* obj1
= 0 ;
4603 PyObject
* obj2
= 0 ;
4604 PyObject
* obj3
= 0 ;
4605 PyObject
* obj4
= 0 ;
4606 PyObject
* obj5
= 0 ;
4607 PyObject
* obj6
= 0 ;
4608 PyObject
* obj7
= 0 ;
4609 char * kwnames
[] = {
4610 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4615 if (!SWIG_IsOK(res1
)) {
4616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4618 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4621 if (!SWIG_IsOK(ecode2
)) {
4622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4624 arg2
= static_cast< int >(val2
);
4628 arg3
= wxString_in_helper(obj2
);
4629 if (arg3
== NULL
) SWIG_fail
;
4636 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4642 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4646 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4647 if (!SWIG_IsOK(ecode6
)) {
4648 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4650 arg6
= static_cast< long >(val6
);
4653 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4654 if (!SWIG_IsOK(res7
)) {
4655 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4660 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4664 arg8
= wxString_in_helper(obj7
);
4665 if (arg8
== NULL
) SWIG_fail
;
4670 if (!wxPyCheckForApp()) SWIG_fail
;
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4672 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4699 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4700 PyObject
*resultobj
= 0;
4701 wxCheckBox
*result
= 0 ;
4703 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4705 if (!wxPyCheckForApp()) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 result
= (wxCheckBox
*)new wxCheckBox();
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4718 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
= 0;
4720 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4721 wxWindow
*arg2
= (wxWindow
*) 0 ;
4722 int arg3
= (int) -1 ;
4723 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4724 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4725 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4726 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4727 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4728 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4729 long arg7
= (long) 0 ;
4730 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4731 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4732 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4733 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4741 bool temp4
= false ;
4748 bool temp9
= false ;
4749 PyObject
* obj0
= 0 ;
4750 PyObject
* obj1
= 0 ;
4751 PyObject
* obj2
= 0 ;
4752 PyObject
* obj3
= 0 ;
4753 PyObject
* obj4
= 0 ;
4754 PyObject
* obj5
= 0 ;
4755 PyObject
* obj6
= 0 ;
4756 PyObject
* obj7
= 0 ;
4757 PyObject
* obj8
= 0 ;
4758 char * kwnames
[] = {
4759 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4764 if (!SWIG_IsOK(res1
)) {
4765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4767 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4768 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4769 if (!SWIG_IsOK(res2
)) {
4770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4772 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4774 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4775 if (!SWIG_IsOK(ecode3
)) {
4776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4778 arg3
= static_cast< int >(val3
);
4782 arg4
= wxString_in_helper(obj3
);
4783 if (arg4
== NULL
) SWIG_fail
;
4790 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4796 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4800 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4801 if (!SWIG_IsOK(ecode7
)) {
4802 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4804 arg7
= static_cast< long >(val7
);
4807 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4808 if (!SWIG_IsOK(res8
)) {
4809 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4814 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4818 arg9
= wxString_in_helper(obj8
);
4819 if (arg9
== NULL
) SWIG_fail
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4854 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4855 PyObject
*resultobj
= 0;
4856 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4860 PyObject
*swig_obj
[1] ;
4862 if (!args
) SWIG_fail
;
4864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4865 if (!SWIG_IsOK(res1
)) {
4866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4868 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (bool)(arg1
)->GetValue();
4872 wxPyEndAllowThreads(__tstate
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4884 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4885 PyObject
*resultobj
= 0;
4886 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4890 PyObject
*swig_obj
[1] ;
4892 if (!args
) SWIG_fail
;
4894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4895 if (!SWIG_IsOK(res1
)) {
4896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4898 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 result
= (bool)(arg1
)->IsChecked();
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4914 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
= 0;
4916 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4922 PyObject
* obj0
= 0 ;
4923 PyObject
* obj1
= 0 ;
4924 char * kwnames
[] = {
4925 (char *) "self",(char *) "state", NULL
4928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4930 if (!SWIG_IsOK(res1
)) {
4931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4933 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4934 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4935 if (!SWIG_IsOK(ecode2
)) {
4936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4938 arg2
= static_cast< bool >(val2
);
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 (arg1
)->SetValue(arg2
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 resultobj
= SWIG_Py_Void();
4952 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4953 PyObject
*resultobj
= 0;
4954 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4955 wxCheckBoxState result
;
4958 PyObject
*swig_obj
[1] ;
4960 if (!args
) SWIG_fail
;
4962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4963 if (!SWIG_IsOK(res1
)) {
4964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4966 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 resultobj
= SWIG_From_int(static_cast< int >(result
));
4980 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
= 0;
4982 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4983 wxCheckBoxState arg2
;
4988 PyObject
* obj0
= 0 ;
4989 PyObject
* obj1
= 0 ;
4990 char * kwnames
[] = {
4991 (char *) "self",(char *) "state", NULL
4994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4996 if (!SWIG_IsOK(res1
)) {
4997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4999 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5001 if (!SWIG_IsOK(ecode2
)) {
5002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5004 arg2
= static_cast< wxCheckBoxState
>(val2
);
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 (arg1
)->Set3StateValue(arg2
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= SWIG_Py_Void();
5018 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5019 PyObject
*resultobj
= 0;
5020 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5024 PyObject
*swig_obj
[1] ;
5026 if (!args
) SWIG_fail
;
5028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5029 if (!SWIG_IsOK(res1
)) {
5030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5032 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5048 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5049 PyObject
*resultobj
= 0;
5050 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5054 PyObject
*swig_obj
[1] ;
5056 if (!args
) SWIG_fail
;
5058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5059 if (!SWIG_IsOK(res1
)) {
5060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5062 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5078 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
*resultobj
= 0;
5080 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5081 SwigValueWrapper
<wxVisualAttributes
> result
;
5084 PyObject
* obj0
= 0 ;
5085 char * kwnames
[] = {
5086 (char *) "variant", NULL
5089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5091 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5092 if (!SWIG_IsOK(ecode1
)) {
5093 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5095 arg1
= static_cast< wxWindowVariant
>(val1
);
5098 if (!wxPyCheckForApp()) SWIG_fail
;
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5111 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5114 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5115 return SWIG_Py_Void();
5118 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5119 return SWIG_Python_InitShadowInstance(args
);
5122 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5123 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5128 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5129 PyObject
*pyobj
= 0;
5133 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5135 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5142 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
= 0;
5144 wxWindow
*arg1
= (wxWindow
*) 0 ;
5145 int arg2
= (int) -1 ;
5146 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5147 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5148 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5149 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5150 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5151 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5152 long arg6
= (long) 0 ;
5153 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5154 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5155 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5156 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5157 wxChoice
*result
= 0 ;
5164 bool temp5
= false ;
5169 bool temp8
= false ;
5170 PyObject
* obj0
= 0 ;
5171 PyObject
* obj1
= 0 ;
5172 PyObject
* obj2
= 0 ;
5173 PyObject
* obj3
= 0 ;
5174 PyObject
* obj4
= 0 ;
5175 PyObject
* obj5
= 0 ;
5176 PyObject
* obj6
= 0 ;
5177 PyObject
* obj7
= 0 ;
5178 char * kwnames
[] = {
5179 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5184 if (!SWIG_IsOK(res1
)) {
5185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5187 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5190 if (!SWIG_IsOK(ecode2
)) {
5191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5193 arg2
= static_cast< int >(val2
);
5198 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5204 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5209 if (! PySequence_Check(obj4
)) {
5210 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5213 arg5
= new wxArrayString
;
5215 int i
, len
=PySequence_Length(obj4
);
5216 for (i
=0; i
<len
; i
++) {
5217 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5218 wxString
* s
= wxString_in_helper(item
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5227 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5228 if (!SWIG_IsOK(ecode6
)) {
5229 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5231 arg6
= static_cast< long >(val6
);
5234 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5235 if (!SWIG_IsOK(res7
)) {
5236 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5241 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5245 arg8
= wxString_in_helper(obj7
);
5246 if (arg8
== NULL
) SWIG_fail
;
5251 if (!wxPyCheckForApp()) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5259 if (temp5
) delete arg5
;
5268 if (temp5
) delete arg5
;
5278 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5279 PyObject
*resultobj
= 0;
5280 wxChoice
*result
= 0 ;
5282 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5284 if (!wxPyCheckForApp()) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 result
= (wxChoice
*)new wxChoice();
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5297 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
= 0;
5299 wxChoice
*arg1
= (wxChoice
*) 0 ;
5300 wxWindow
*arg2
= (wxWindow
*) 0 ;
5301 int arg3
= (int) -1 ;
5302 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5303 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5304 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5305 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5306 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5307 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5308 long arg7
= (long) 0 ;
5309 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5310 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5311 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5312 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5322 bool temp6
= false ;
5327 bool temp9
= false ;
5328 PyObject
* obj0
= 0 ;
5329 PyObject
* obj1
= 0 ;
5330 PyObject
* obj2
= 0 ;
5331 PyObject
* obj3
= 0 ;
5332 PyObject
* obj4
= 0 ;
5333 PyObject
* obj5
= 0 ;
5334 PyObject
* obj6
= 0 ;
5335 PyObject
* obj7
= 0 ;
5336 PyObject
* obj8
= 0 ;
5337 char * kwnames
[] = {
5338 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5343 if (!SWIG_IsOK(res1
)) {
5344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5346 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5347 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5348 if (!SWIG_IsOK(res2
)) {
5349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5351 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5354 if (!SWIG_IsOK(ecode3
)) {
5355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5357 arg3
= static_cast< int >(val3
);
5362 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5368 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5373 if (! PySequence_Check(obj5
)) {
5374 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5377 arg6
= new wxArrayString
;
5379 int i
, len
=PySequence_Length(obj5
);
5380 for (i
=0; i
<len
; i
++) {
5381 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5382 wxString
* s
= wxString_in_helper(item
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5391 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5392 if (!SWIG_IsOK(ecode7
)) {
5393 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5395 arg7
= static_cast< long >(val7
);
5398 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5399 if (!SWIG_IsOK(res8
)) {
5400 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5405 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5409 arg9
= wxString_in_helper(obj8
);
5410 if (arg9
== NULL
) SWIG_fail
;
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5424 if (temp6
) delete arg6
;
5433 if (temp6
) delete arg6
;
5443 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5444 PyObject
*resultobj
= 0;
5445 wxChoice
*arg1
= (wxChoice
*) 0 ;
5449 PyObject
*swig_obj
[1] ;
5451 if (!args
) SWIG_fail
;
5453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5454 if (!SWIG_IsOK(res1
)) {
5455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5457 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5464 resultobj
= SWIG_From_int(static_cast< int >(result
));
5471 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
*resultobj
= 0;
5473 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5474 SwigValueWrapper
<wxVisualAttributes
> result
;
5477 PyObject
* obj0
= 0 ;
5478 char * kwnames
[] = {
5479 (char *) "variant", NULL
5482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5484 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5485 if (!SWIG_IsOK(ecode1
)) {
5486 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5488 arg1
= static_cast< wxWindowVariant
>(val1
);
5491 if (!wxPyCheckForApp()) SWIG_fail
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5504 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5506 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5507 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5508 return SWIG_Py_Void();
5511 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5512 return SWIG_Python_InitShadowInstance(args
);
5515 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5516 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5521 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5522 PyObject
*pyobj
= 0;
5526 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5528 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5535 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
*resultobj
= 0;
5537 wxWindow
*arg1
= (wxWindow
*) 0 ;
5538 int arg2
= (int) -1 ;
5539 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5540 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5541 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5542 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5543 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5544 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5545 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5546 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5547 long arg7
= (long) 0 ;
5548 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5549 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5550 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5551 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5552 wxComboBox
*result
= 0 ;
5557 bool temp3
= false ;
5560 bool temp6
= false ;
5565 bool temp9
= false ;
5566 PyObject
* obj0
= 0 ;
5567 PyObject
* obj1
= 0 ;
5568 PyObject
* obj2
= 0 ;
5569 PyObject
* obj3
= 0 ;
5570 PyObject
* obj4
= 0 ;
5571 PyObject
* obj5
= 0 ;
5572 PyObject
* obj6
= 0 ;
5573 PyObject
* obj7
= 0 ;
5574 PyObject
* obj8
= 0 ;
5575 char * kwnames
[] = {
5576 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5581 if (!SWIG_IsOK(res1
)) {
5582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5584 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5587 if (!SWIG_IsOK(ecode2
)) {
5588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5590 arg2
= static_cast< int >(val2
);
5594 arg3
= wxString_in_helper(obj2
);
5595 if (arg3
== NULL
) SWIG_fail
;
5602 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5608 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5613 if (! PySequence_Check(obj5
)) {
5614 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5617 arg6
= new wxArrayString
;
5619 int i
, len
=PySequence_Length(obj5
);
5620 for (i
=0; i
<len
; i
++) {
5621 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5622 wxString
* s
= wxString_in_helper(item
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5631 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5632 if (!SWIG_IsOK(ecode7
)) {
5633 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5635 arg7
= static_cast< long >(val7
);
5638 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5639 if (!SWIG_IsOK(res8
)) {
5640 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5645 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5649 arg9
= wxString_in_helper(obj8
);
5650 if (arg9
== NULL
) SWIG_fail
;
5655 if (!wxPyCheckForApp()) SWIG_fail
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 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
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5667 if (temp6
) delete arg6
;
5680 if (temp6
) delete arg6
;
5690 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5691 PyObject
*resultobj
= 0;
5692 wxComboBox
*result
= 0 ;
5694 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5696 if (!wxPyCheckForApp()) SWIG_fail
;
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 result
= (wxComboBox
*)new wxComboBox();
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5709 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
= 0;
5711 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5712 wxWindow
*arg2
= (wxWindow
*) 0 ;
5713 int arg3
= (int) -1 ;
5714 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5715 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5716 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5717 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5718 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5719 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5720 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5721 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5722 long arg8
= (long) 0 ;
5723 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5724 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5725 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5726 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5734 bool temp4
= false ;
5737 bool temp7
= false ;
5742 bool temp10
= false ;
5743 PyObject
* obj0
= 0 ;
5744 PyObject
* obj1
= 0 ;
5745 PyObject
* obj2
= 0 ;
5746 PyObject
* obj3
= 0 ;
5747 PyObject
* obj4
= 0 ;
5748 PyObject
* obj5
= 0 ;
5749 PyObject
* obj6
= 0 ;
5750 PyObject
* obj7
= 0 ;
5751 PyObject
* obj8
= 0 ;
5752 PyObject
* obj9
= 0 ;
5753 char * kwnames
[] = {
5754 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5759 if (!SWIG_IsOK(res1
)) {
5760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5762 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5764 if (!SWIG_IsOK(res2
)) {
5765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5767 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5770 if (!SWIG_IsOK(ecode3
)) {
5771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5773 arg3
= static_cast< int >(val3
);
5777 arg4
= wxString_in_helper(obj3
);
5778 if (arg4
== NULL
) SWIG_fail
;
5785 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5791 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5796 if (! PySequence_Check(obj6
)) {
5797 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5800 arg7
= new wxArrayString
;
5802 int i
, len
=PySequence_Length(obj6
);
5803 for (i
=0; i
<len
; i
++) {
5804 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5805 wxString
* s
= wxString_in_helper(item
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5814 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5815 if (!SWIG_IsOK(ecode8
)) {
5816 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5818 arg8
= static_cast< long >(val8
);
5821 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5822 if (!SWIG_IsOK(res9
)) {
5823 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5828 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5832 arg10
= wxString_in_helper(obj9
);
5833 if (arg10
== NULL
) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 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
);
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5851 if (temp7
) delete arg7
;
5864 if (temp7
) delete arg7
;
5874 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5875 PyObject
*resultobj
= 0;
5876 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5880 PyObject
*swig_obj
[1] ;
5882 if (!args
) SWIG_fail
;
5884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5885 if (!SWIG_IsOK(res1
)) {
5886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5888 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 result
= ((wxComboBox
const *)arg1
)->GetValue();
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5908 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
= 0;
5910 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5911 wxString
*arg2
= 0 ;
5914 bool temp2
= false ;
5915 PyObject
* obj0
= 0 ;
5916 PyObject
* obj1
= 0 ;
5917 char * kwnames
[] = {
5918 (char *) "self",(char *) "value", NULL
5921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5923 if (!SWIG_IsOK(res1
)) {
5924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5926 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5928 arg2
= wxString_in_helper(obj1
);
5929 if (arg2
== NULL
) SWIG_fail
;
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 (arg1
)->SetValue((wxString
const &)*arg2
);
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= SWIG_Py_Void();
5953 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5954 PyObject
*resultobj
= 0;
5955 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5958 PyObject
*swig_obj
[1] ;
5960 if (!args
) SWIG_fail
;
5962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5963 if (!SWIG_IsOK(res1
)) {
5964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5966 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= SWIG_Py_Void();
5980 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5981 PyObject
*resultobj
= 0;
5982 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5985 PyObject
*swig_obj
[1] ;
5987 if (!args
) SWIG_fail
;
5989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5990 if (!SWIG_IsOK(res1
)) {
5991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5993 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6000 resultobj
= SWIG_Py_Void();
6007 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6008 PyObject
*resultobj
= 0;
6009 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6012 PyObject
*swig_obj
[1] ;
6014 if (!args
) SWIG_fail
;
6016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6017 if (!SWIG_IsOK(res1
)) {
6018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6020 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= SWIG_Py_Void();
6034 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
= 0;
6036 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6042 PyObject
* obj0
= 0 ;
6043 PyObject
* obj1
= 0 ;
6044 char * kwnames
[] = {
6045 (char *) "self",(char *) "pos", NULL
6048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6050 if (!SWIG_IsOK(res1
)) {
6051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6053 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6054 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6055 if (!SWIG_IsOK(ecode2
)) {
6056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6058 arg2
= static_cast< long >(val2
);
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 (arg1
)->SetInsertionPoint(arg2
);
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= SWIG_Py_Void();
6072 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6073 PyObject
*resultobj
= 0;
6074 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6078 PyObject
*swig_obj
[1] ;
6080 if (!args
) SWIG_fail
;
6082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6083 if (!SWIG_IsOK(res1
)) {
6084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6086 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= SWIG_From_long(static_cast< long >(result
));
6100 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6101 PyObject
*resultobj
= 0;
6102 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6106 PyObject
*swig_obj
[1] ;
6108 if (!args
) SWIG_fail
;
6110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6111 if (!SWIG_IsOK(res1
)) {
6112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6114 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= SWIG_From_long(static_cast< long >(result
));
6128 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
= 0;
6130 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6133 wxString
*arg4
= 0 ;
6140 bool temp4
= false ;
6141 PyObject
* obj0
= 0 ;
6142 PyObject
* obj1
= 0 ;
6143 PyObject
* obj2
= 0 ;
6144 PyObject
* obj3
= 0 ;
6145 char * kwnames
[] = {
6146 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6151 if (!SWIG_IsOK(res1
)) {
6152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6154 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6155 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6156 if (!SWIG_IsOK(ecode2
)) {
6157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6159 arg2
= static_cast< long >(val2
);
6160 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6161 if (!SWIG_IsOK(ecode3
)) {
6162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6164 arg3
= static_cast< long >(val3
);
6166 arg4
= wxString_in_helper(obj3
);
6167 if (arg4
== NULL
) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6176 resultobj
= SWIG_Py_Void();
6191 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
= 0;
6193 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6202 PyObject
* obj0
= 0 ;
6203 PyObject
* obj1
= 0 ;
6204 PyObject
* obj2
= 0 ;
6205 char * kwnames
[] = {
6206 (char *) "self",(char *) "from",(char *) "to", NULL
6209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6211 if (!SWIG_IsOK(res1
)) {
6212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6214 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6215 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6216 if (!SWIG_IsOK(ecode2
)) {
6217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6219 arg2
= static_cast< long >(val2
);
6220 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6221 if (!SWIG_IsOK(ecode3
)) {
6222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6224 arg3
= static_cast< long >(val3
);
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 (arg1
)->SetSelection(arg2
,arg3
);
6228 wxPyEndAllowThreads(__tstate
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= SWIG_Py_Void();
6238 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6239 PyObject
*resultobj
= 0;
6240 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6241 long *arg2
= (long *) 0 ;
6242 long *arg3
= (long *) 0 ;
6246 int res2
= SWIG_TMPOBJ
;
6248 int res3
= SWIG_TMPOBJ
;
6249 PyObject
*swig_obj
[1] ;
6253 if (!args
) SWIG_fail
;
6255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6256 if (!SWIG_IsOK(res1
)) {
6257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6259 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 (arg1
)->GetSelection(arg2
,arg3
);
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= SWIG_Py_Void();
6267 if (SWIG_IsTmpObj(res2
)) {
6268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6270 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6273 if (SWIG_IsTmpObj(res3
)) {
6274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6276 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6285 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6286 PyObject
*resultobj
= 0;
6287 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6291 PyObject
*swig_obj
[1] ;
6293 if (!args
) SWIG_fail
;
6295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6296 if (!SWIG_IsOK(res1
)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6299 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6303 wxPyEndAllowThreads(__tstate
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6306 resultobj
= SWIG_From_int(static_cast< int >(result
));
6313 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
*resultobj
= 0;
6315 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6316 wxString
*arg2
= 0 ;
6320 bool temp2
= false ;
6321 PyObject
* obj0
= 0 ;
6322 PyObject
* obj1
= 0 ;
6323 char * kwnames
[] = {
6324 (char *) "self",(char *) "string", NULL
6327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6329 if (!SWIG_IsOK(res1
)) {
6330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6332 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6334 arg2
= wxString_in_helper(obj1
);
6335 if (arg2
== NULL
) SWIG_fail
;
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6341 wxPyEndAllowThreads(__tstate
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6361 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
= 0;
6363 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6369 PyObject
* obj0
= 0 ;
6370 PyObject
* obj1
= 0 ;
6371 char * kwnames
[] = {
6372 (char *) "self",(char *) "editable", NULL
6375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6377 if (!SWIG_IsOK(res1
)) {
6378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6380 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6381 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6382 if (!SWIG_IsOK(ecode2
)) {
6383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6385 arg2
= static_cast< bool >(val2
);
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 (arg1
)->SetEditable(arg2
);
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= SWIG_Py_Void();
6399 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6400 PyObject
*resultobj
= 0;
6401 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6404 PyObject
*swig_obj
[1] ;
6406 if (!args
) SWIG_fail
;
6408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6409 if (!SWIG_IsOK(res1
)) {
6410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6412 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 (arg1
)->SetInsertionPointEnd();
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 resultobj
= SWIG_Py_Void();
6426 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
= 0;
6428 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6438 PyObject
* obj1
= 0 ;
6439 PyObject
* obj2
= 0 ;
6440 char * kwnames
[] = {
6441 (char *) "self",(char *) "from",(char *) "to", NULL
6444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6446 if (!SWIG_IsOK(res1
)) {
6447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6449 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6450 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6451 if (!SWIG_IsOK(ecode2
)) {
6452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6454 arg2
= static_cast< long >(val2
);
6455 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6456 if (!SWIG_IsOK(ecode3
)) {
6457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6459 arg3
= static_cast< long >(val3
);
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 (arg1
)->Remove(arg2
,arg3
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 resultobj
= SWIG_Py_Void();
6473 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6474 PyObject
*resultobj
= 0;
6475 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6479 PyObject
*swig_obj
[1] ;
6481 if (!args
) SWIG_fail
;
6483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6484 if (!SWIG_IsOK(res1
)) {
6485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6487 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) SWIG_fail
;
6495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6503 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6504 PyObject
*resultobj
= 0;
6505 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6508 PyObject
*swig_obj
[1] ;
6510 if (!args
) SWIG_fail
;
6512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6513 if (!SWIG_IsOK(res1
)) {
6514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6516 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 resultobj
= SWIG_Py_Void();
6530 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6531 PyObject
*resultobj
= 0;
6532 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6535 PyObject
*swig_obj
[1] ;
6537 if (!args
) SWIG_fail
;
6539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6540 if (!SWIG_IsOK(res1
)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6543 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= SWIG_Py_Void();
6557 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6558 PyObject
*resultobj
= 0;
6559 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6562 PyObject
*swig_obj
[1] ;
6564 if (!args
) SWIG_fail
;
6566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6567 if (!SWIG_IsOK(res1
)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6570 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 (arg1
)->SelectAll();
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 resultobj
= SWIG_Py_Void();
6584 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6585 PyObject
*resultobj
= 0;
6586 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6590 PyObject
*swig_obj
[1] ;
6592 if (!args
) SWIG_fail
;
6594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6595 if (!SWIG_IsOK(res1
)) {
6596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6598 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6614 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6615 PyObject
*resultobj
= 0;
6616 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6620 PyObject
*swig_obj
[1] ;
6622 if (!args
) SWIG_fail
;
6624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6625 if (!SWIG_IsOK(res1
)) {
6626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6628 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6644 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6645 PyObject
*resultobj
= 0;
6646 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6650 PyObject
*swig_obj
[1] ;
6652 if (!args
) SWIG_fail
;
6654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6655 if (!SWIG_IsOK(res1
)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6658 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6662 wxPyEndAllowThreads(__tstate
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6674 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6675 PyObject
*resultobj
= 0;
6676 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6680 PyObject
*swig_obj
[1] ;
6682 if (!args
) SWIG_fail
;
6684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6685 if (!SWIG_IsOK(res1
)) {
6686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6688 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6704 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6705 PyObject
*resultobj
= 0;
6706 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6710 PyObject
*swig_obj
[1] ;
6712 if (!args
) SWIG_fail
;
6714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6715 if (!SWIG_IsOK(res1
)) {
6716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6718 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6722 wxPyEndAllowThreads(__tstate
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6734 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
= 0;
6736 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6737 SwigValueWrapper
<wxVisualAttributes
> result
;
6740 PyObject
* obj0
= 0 ;
6741 char * kwnames
[] = {
6742 (char *) "variant", NULL
6745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6747 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6748 if (!SWIG_IsOK(ecode1
)) {
6749 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6751 arg1
= static_cast< wxWindowVariant
>(val1
);
6754 if (!wxPyCheckForApp()) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6757 wxPyEndAllowThreads(__tstate
);
6758 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6767 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6770 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6771 return SWIG_Py_Void();
6774 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6775 return SWIG_Python_InitShadowInstance(args
);
6778 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6779 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6784 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6785 PyObject
*pyobj
= 0;
6789 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6791 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6798 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
= 0;
6800 wxWindow
*arg1
= (wxWindow
*) 0 ;
6801 int arg2
= (int) -1 ;
6802 int arg3
= (int) 100 ;
6803 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6804 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6805 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6806 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6807 long arg6
= (long) wxGA_HORIZONTAL
;
6808 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6809 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6810 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6811 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6812 wxGauge
*result
= 0 ;
6825 bool temp8
= false ;
6826 PyObject
* obj0
= 0 ;
6827 PyObject
* obj1
= 0 ;
6828 PyObject
* obj2
= 0 ;
6829 PyObject
* obj3
= 0 ;
6830 PyObject
* obj4
= 0 ;
6831 PyObject
* obj5
= 0 ;
6832 PyObject
* obj6
= 0 ;
6833 PyObject
* obj7
= 0 ;
6834 char * kwnames
[] = {
6835 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6840 if (!SWIG_IsOK(res1
)) {
6841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6843 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6846 if (!SWIG_IsOK(ecode2
)) {
6847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6849 arg2
= static_cast< int >(val2
);
6852 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6853 if (!SWIG_IsOK(ecode3
)) {
6854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6856 arg3
= static_cast< int >(val3
);
6861 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6867 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6871 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6872 if (!SWIG_IsOK(ecode6
)) {
6873 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6875 arg6
= static_cast< long >(val6
);
6878 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6879 if (!SWIG_IsOK(res7
)) {
6880 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6885 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6889 arg8
= wxString_in_helper(obj7
);
6890 if (arg8
== NULL
) SWIG_fail
;
6895 if (!wxPyCheckForApp()) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6916 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6917 PyObject
*resultobj
= 0;
6918 wxGauge
*result
= 0 ;
6920 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6922 if (!wxPyCheckForApp()) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 result
= (wxGauge
*)new wxGauge();
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6935 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
= 0;
6937 wxGauge
*arg1
= (wxGauge
*) 0 ;
6938 wxWindow
*arg2
= (wxWindow
*) 0 ;
6939 int arg3
= (int) -1 ;
6940 int arg4
= (int) 100 ;
6941 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6942 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6943 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6944 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6945 long arg7
= (long) wxGA_HORIZONTAL
;
6946 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6947 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6948 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6949 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6965 bool temp9
= false ;
6966 PyObject
* obj0
= 0 ;
6967 PyObject
* obj1
= 0 ;
6968 PyObject
* obj2
= 0 ;
6969 PyObject
* obj3
= 0 ;
6970 PyObject
* obj4
= 0 ;
6971 PyObject
* obj5
= 0 ;
6972 PyObject
* obj6
= 0 ;
6973 PyObject
* obj7
= 0 ;
6974 PyObject
* obj8
= 0 ;
6975 char * kwnames
[] = {
6976 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6981 if (!SWIG_IsOK(res1
)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6984 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6985 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6986 if (!SWIG_IsOK(res2
)) {
6987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6989 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6992 if (!SWIG_IsOK(ecode3
)) {
6993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6995 arg3
= static_cast< int >(val3
);
6998 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6999 if (!SWIG_IsOK(ecode4
)) {
7000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7002 arg4
= static_cast< int >(val4
);
7007 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7013 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7017 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7018 if (!SWIG_IsOK(ecode7
)) {
7019 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7021 arg7
= static_cast< long >(val7
);
7024 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7025 if (!SWIG_IsOK(res8
)) {
7026 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7031 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7035 arg9
= wxString_in_helper(obj8
);
7036 if (arg9
== NULL
) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7063 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
= 0;
7065 wxGauge
*arg1
= (wxGauge
*) 0 ;
7071 PyObject
* obj0
= 0 ;
7072 PyObject
* obj1
= 0 ;
7073 char * kwnames
[] = {
7074 (char *) "self",(char *) "range", NULL
7077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7079 if (!SWIG_IsOK(res1
)) {
7080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7082 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7084 if (!SWIG_IsOK(ecode2
)) {
7085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7087 arg2
= static_cast< int >(val2
);
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 (arg1
)->SetRange(arg2
);
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 resultobj
= SWIG_Py_Void();
7101 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7102 PyObject
*resultobj
= 0;
7103 wxGauge
*arg1
= (wxGauge
*) 0 ;
7107 PyObject
*swig_obj
[1] ;
7109 if (!args
) SWIG_fail
;
7111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7112 if (!SWIG_IsOK(res1
)) {
7113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7115 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7122 resultobj
= SWIG_From_int(static_cast< int >(result
));
7129 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
*resultobj
= 0;
7131 wxGauge
*arg1
= (wxGauge
*) 0 ;
7137 PyObject
* obj0
= 0 ;
7138 PyObject
* obj1
= 0 ;
7139 char * kwnames
[] = {
7140 (char *) "self",(char *) "pos", NULL
7143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7145 if (!SWIG_IsOK(res1
)) {
7146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7148 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7150 if (!SWIG_IsOK(ecode2
)) {
7151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7153 arg2
= static_cast< int >(val2
);
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 (arg1
)->SetValue(arg2
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7160 resultobj
= SWIG_Py_Void();
7167 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7168 PyObject
*resultobj
= 0;
7169 wxGauge
*arg1
= (wxGauge
*) 0 ;
7173 PyObject
*swig_obj
[1] ;
7175 if (!args
) SWIG_fail
;
7177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7178 if (!SWIG_IsOK(res1
)) {
7179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7181 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7188 resultobj
= SWIG_From_int(static_cast< int >(result
));
7195 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7196 PyObject
*resultobj
= 0;
7197 wxGauge
*arg1
= (wxGauge
*) 0 ;
7200 PyObject
*swig_obj
[1] ;
7202 if (!args
) SWIG_fail
;
7204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7205 if (!SWIG_IsOK(res1
)) {
7206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7208 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= SWIG_Py_Void();
7222 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7223 PyObject
*resultobj
= 0;
7224 wxGauge
*arg1
= (wxGauge
*) 0 ;
7228 PyObject
*swig_obj
[1] ;
7230 if (!args
) SWIG_fail
;
7232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7233 if (!SWIG_IsOK(res1
)) {
7234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7236 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7252 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
= 0;
7254 wxGauge
*arg1
= (wxGauge
*) 0 ;
7260 PyObject
* obj0
= 0 ;
7261 PyObject
* obj1
= 0 ;
7262 char * kwnames
[] = {
7263 (char *) "self",(char *) "w", NULL
7266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7268 if (!SWIG_IsOK(res1
)) {
7269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7271 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7273 if (!SWIG_IsOK(ecode2
)) {
7274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7276 arg2
= static_cast< int >(val2
);
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 (arg1
)->SetShadowWidth(arg2
);
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7283 resultobj
= SWIG_Py_Void();
7290 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7291 PyObject
*resultobj
= 0;
7292 wxGauge
*arg1
= (wxGauge
*) 0 ;
7296 PyObject
*swig_obj
[1] ;
7298 if (!args
) SWIG_fail
;
7300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7301 if (!SWIG_IsOK(res1
)) {
7302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7304 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 resultobj
= SWIG_From_int(static_cast< int >(result
));
7318 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
= 0;
7320 wxGauge
*arg1
= (wxGauge
*) 0 ;
7326 PyObject
* obj0
= 0 ;
7327 PyObject
* obj1
= 0 ;
7328 char * kwnames
[] = {
7329 (char *) "self",(char *) "w", NULL
7332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7334 if (!SWIG_IsOK(res1
)) {
7335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7337 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7339 if (!SWIG_IsOK(ecode2
)) {
7340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7342 arg2
= static_cast< int >(val2
);
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 (arg1
)->SetBezelFace(arg2
);
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 resultobj
= SWIG_Py_Void();
7356 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7357 PyObject
*resultobj
= 0;
7358 wxGauge
*arg1
= (wxGauge
*) 0 ;
7362 PyObject
*swig_obj
[1] ;
7364 if (!args
) SWIG_fail
;
7366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7367 if (!SWIG_IsOK(res1
)) {
7368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7370 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 resultobj
= SWIG_From_int(static_cast< int >(result
));
7384 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
= 0;
7386 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7387 SwigValueWrapper
<wxVisualAttributes
> result
;
7390 PyObject
* obj0
= 0 ;
7391 char * kwnames
[] = {
7392 (char *) "variant", NULL
7395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7397 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7398 if (!SWIG_IsOK(ecode1
)) {
7399 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7401 arg1
= static_cast< wxWindowVariant
>(val1
);
7404 if (!wxPyCheckForApp()) SWIG_fail
;
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7417 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7420 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7421 return SWIG_Py_Void();
7424 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7425 return SWIG_Python_InitShadowInstance(args
);
7428 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7429 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7434 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7435 PyObject
*pyobj
= 0;
7439 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7441 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7448 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7449 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7454 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7455 PyObject
*pyobj
= 0;
7459 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7461 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7468 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7469 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7474 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7475 PyObject
*pyobj
= 0;
7479 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7481 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7488 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7489 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7494 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7495 PyObject
*pyobj
= 0;
7499 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7501 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7508 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
*resultobj
= 0;
7510 wxWindow
*arg1
= (wxWindow
*) 0 ;
7511 int arg2
= (int) -1 ;
7512 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7513 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7514 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7515 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7516 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7517 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7518 long arg6
= (long) 0 ;
7519 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7520 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7521 wxStaticBox
*result
= 0 ;
7526 bool temp3
= false ;
7531 bool temp7
= false ;
7532 PyObject
* obj0
= 0 ;
7533 PyObject
* obj1
= 0 ;
7534 PyObject
* obj2
= 0 ;
7535 PyObject
* obj3
= 0 ;
7536 PyObject
* obj4
= 0 ;
7537 PyObject
* obj5
= 0 ;
7538 PyObject
* obj6
= 0 ;
7539 char * kwnames
[] = {
7540 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7545 if (!SWIG_IsOK(res1
)) {
7546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7548 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7551 if (!SWIG_IsOK(ecode2
)) {
7552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7554 arg2
= static_cast< int >(val2
);
7558 arg3
= wxString_in_helper(obj2
);
7559 if (arg3
== NULL
) SWIG_fail
;
7566 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7572 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7576 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7577 if (!SWIG_IsOK(ecode6
)) {
7578 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7580 arg6
= static_cast< long >(val6
);
7584 arg7
= wxString_in_helper(obj6
);
7585 if (arg7
== NULL
) SWIG_fail
;
7590 if (!wxPyCheckForApp()) SWIG_fail
;
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7619 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7620 PyObject
*resultobj
= 0;
7621 wxStaticBox
*result
= 0 ;
7623 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7625 if (!wxPyCheckForApp()) SWIG_fail
;
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 result
= (wxStaticBox
*)new wxStaticBox();
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7638 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7639 PyObject
*resultobj
= 0;
7640 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7641 wxWindow
*arg2
= (wxWindow
*) 0 ;
7642 int arg3
= (int) -1 ;
7643 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7644 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7645 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7646 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7647 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7648 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7649 long arg7
= (long) 0 ;
7650 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7651 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7659 bool temp4
= false ;
7664 bool temp8
= false ;
7665 PyObject
* obj0
= 0 ;
7666 PyObject
* obj1
= 0 ;
7667 PyObject
* obj2
= 0 ;
7668 PyObject
* obj3
= 0 ;
7669 PyObject
* obj4
= 0 ;
7670 PyObject
* obj5
= 0 ;
7671 PyObject
* obj6
= 0 ;
7672 PyObject
* obj7
= 0 ;
7673 char * kwnames
[] = {
7674 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7679 if (!SWIG_IsOK(res1
)) {
7680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7682 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7683 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7684 if (!SWIG_IsOK(res2
)) {
7685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7687 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7690 if (!SWIG_IsOK(ecode3
)) {
7691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7693 arg3
= static_cast< int >(val3
);
7697 arg4
= wxString_in_helper(obj3
);
7698 if (arg4
== NULL
) SWIG_fail
;
7705 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7711 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7715 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7716 if (!SWIG_IsOK(ecode7
)) {
7717 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7719 arg7
= static_cast< long >(val7
);
7723 arg8
= wxString_in_helper(obj7
);
7724 if (arg8
== NULL
) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7759 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
= 0;
7761 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7762 SwigValueWrapper
<wxVisualAttributes
> result
;
7765 PyObject
* obj0
= 0 ;
7766 char * kwnames
[] = {
7767 (char *) "variant", NULL
7770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7772 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7773 if (!SWIG_IsOK(ecode1
)) {
7774 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7776 arg1
= static_cast< wxWindowVariant
>(val1
);
7779 if (!wxPyCheckForApp()) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7792 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7794 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7795 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7796 return SWIG_Py_Void();
7799 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7800 return SWIG_Python_InitShadowInstance(args
);
7803 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7804 PyObject
*resultobj
= 0;
7805 wxWindow
*arg1
= (wxWindow
*) 0 ;
7806 int arg2
= (int) -1 ;
7807 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7808 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7809 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7810 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7811 long arg5
= (long) wxLI_HORIZONTAL
;
7812 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7813 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7814 wxStaticLine
*result
= 0 ;
7823 bool temp6
= false ;
7824 PyObject
* obj0
= 0 ;
7825 PyObject
* obj1
= 0 ;
7826 PyObject
* obj2
= 0 ;
7827 PyObject
* obj3
= 0 ;
7828 PyObject
* obj4
= 0 ;
7829 PyObject
* obj5
= 0 ;
7830 char * kwnames
[] = {
7831 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7836 if (!SWIG_IsOK(res1
)) {
7837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7839 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7842 if (!SWIG_IsOK(ecode2
)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7845 arg2
= static_cast< int >(val2
);
7850 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7856 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7860 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7861 if (!SWIG_IsOK(ecode5
)) {
7862 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7864 arg5
= static_cast< long >(val5
);
7868 arg6
= wxString_in_helper(obj5
);
7869 if (arg6
== NULL
) SWIG_fail
;
7874 if (!wxPyCheckForApp()) SWIG_fail
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7895 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7896 PyObject
*resultobj
= 0;
7897 wxStaticLine
*result
= 0 ;
7899 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7901 if (!wxPyCheckForApp()) SWIG_fail
;
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 result
= (wxStaticLine
*)new wxStaticLine();
7904 wxPyEndAllowThreads(__tstate
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7914 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
*resultobj
= 0;
7916 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7917 wxWindow
*arg2
= (wxWindow
*) 0 ;
7918 int arg3
= (int) -1 ;
7919 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7920 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7921 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7922 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7923 long arg6
= (long) wxLI_HORIZONTAL
;
7924 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7925 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7937 bool temp7
= false ;
7938 PyObject
* obj0
= 0 ;
7939 PyObject
* obj1
= 0 ;
7940 PyObject
* obj2
= 0 ;
7941 PyObject
* obj3
= 0 ;
7942 PyObject
* obj4
= 0 ;
7943 PyObject
* obj5
= 0 ;
7944 PyObject
* obj6
= 0 ;
7945 char * kwnames
[] = {
7946 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7951 if (!SWIG_IsOK(res1
)) {
7952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7954 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7955 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7956 if (!SWIG_IsOK(res2
)) {
7957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7959 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7961 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7962 if (!SWIG_IsOK(ecode3
)) {
7963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7965 arg3
= static_cast< int >(val3
);
7970 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7976 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7980 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7981 if (!SWIG_IsOK(ecode6
)) {
7982 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7984 arg6
= static_cast< long >(val6
);
7988 arg7
= wxString_in_helper(obj6
);
7989 if (arg7
== NULL
) SWIG_fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
8000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8016 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8017 PyObject
*resultobj
= 0;
8018 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
8022 PyObject
*swig_obj
[1] ;
8024 if (!args
) SWIG_fail
;
8026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
8027 if (!SWIG_IsOK(res1
)) {
8028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8030 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
8032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8033 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8046 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8047 PyObject
*resultobj
= 0;
8050 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 result
= (int)wxStaticLine::GetDefaultSize();
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= SWIG_From_int(static_cast< int >(result
));
8064 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
*resultobj
= 0;
8066 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8067 SwigValueWrapper
<wxVisualAttributes
> result
;
8070 PyObject
* obj0
= 0 ;
8071 char * kwnames
[] = {
8072 (char *) "variant", NULL
8075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8077 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8078 if (!SWIG_IsOK(ecode1
)) {
8079 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8081 arg1
= static_cast< wxWindowVariant
>(val1
);
8084 if (!wxPyCheckForApp()) SWIG_fail
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8097 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8100 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8101 return SWIG_Py_Void();
8104 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8105 return SWIG_Python_InitShadowInstance(args
);
8108 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
= 0;
8110 wxWindow
*arg1
= (wxWindow
*) 0 ;
8111 int arg2
= (int) -1 ;
8112 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8113 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8114 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8115 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8116 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8117 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8118 long arg6
= (long) 0 ;
8119 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8120 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8121 wxStaticText
*result
= 0 ;
8126 bool temp3
= false ;
8131 bool temp7
= false ;
8132 PyObject
* obj0
= 0 ;
8133 PyObject
* obj1
= 0 ;
8134 PyObject
* obj2
= 0 ;
8135 PyObject
* obj3
= 0 ;
8136 PyObject
* obj4
= 0 ;
8137 PyObject
* obj5
= 0 ;
8138 PyObject
* obj6
= 0 ;
8139 char * kwnames
[] = {
8140 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8145 if (!SWIG_IsOK(res1
)) {
8146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8148 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8151 if (!SWIG_IsOK(ecode2
)) {
8152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8154 arg2
= static_cast< int >(val2
);
8158 arg3
= wxString_in_helper(obj2
);
8159 if (arg3
== NULL
) SWIG_fail
;
8166 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8172 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8176 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8177 if (!SWIG_IsOK(ecode6
)) {
8178 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8180 arg6
= static_cast< long >(val6
);
8184 arg7
= wxString_in_helper(obj6
);
8185 if (arg7
== NULL
) SWIG_fail
;
8190 if (!wxPyCheckForApp()) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8219 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8220 PyObject
*resultobj
= 0;
8221 wxStaticText
*result
= 0 ;
8223 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8225 if (!wxPyCheckForApp()) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 result
= (wxStaticText
*)new wxStaticText();
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8238 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
= 0;
8240 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8241 wxWindow
*arg2
= (wxWindow
*) 0 ;
8242 int arg3
= (int) -1 ;
8243 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8244 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8245 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8246 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8247 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8248 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8249 long arg7
= (long) 0 ;
8250 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8251 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8259 bool temp4
= false ;
8264 bool temp8
= false ;
8265 PyObject
* obj0
= 0 ;
8266 PyObject
* obj1
= 0 ;
8267 PyObject
* obj2
= 0 ;
8268 PyObject
* obj3
= 0 ;
8269 PyObject
* obj4
= 0 ;
8270 PyObject
* obj5
= 0 ;
8271 PyObject
* obj6
= 0 ;
8272 PyObject
* obj7
= 0 ;
8273 char * kwnames
[] = {
8274 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8279 if (!SWIG_IsOK(res1
)) {
8280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8282 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8283 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8284 if (!SWIG_IsOK(res2
)) {
8285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8287 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8289 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8290 if (!SWIG_IsOK(ecode3
)) {
8291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8293 arg3
= static_cast< int >(val3
);
8297 arg4
= wxString_in_helper(obj3
);
8298 if (arg4
== NULL
) SWIG_fail
;
8305 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8311 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8315 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8316 if (!SWIG_IsOK(ecode7
)) {
8317 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8319 arg7
= static_cast< long >(val7
);
8323 arg8
= wxString_in_helper(obj7
);
8324 if (arg8
== NULL
) SWIG_fail
;
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8359 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
= 0;
8361 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8367 PyObject
* obj0
= 0 ;
8368 PyObject
* obj1
= 0 ;
8369 char * kwnames
[] = {
8370 (char *) "self",(char *) "width", NULL
8373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8375 if (!SWIG_IsOK(res1
)) {
8376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8378 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8380 if (!SWIG_IsOK(ecode2
)) {
8381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8383 arg2
= static_cast< int >(val2
);
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8390 resultobj
= SWIG_Py_Void();
8397 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
= 0;
8399 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8400 SwigValueWrapper
<wxVisualAttributes
> result
;
8403 PyObject
* obj0
= 0 ;
8404 char * kwnames
[] = {
8405 (char *) "variant", NULL
8408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8410 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8411 if (!SWIG_IsOK(ecode1
)) {
8412 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8414 arg1
= static_cast< wxWindowVariant
>(val1
);
8417 if (!wxPyCheckForApp()) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8430 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8433 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8434 return SWIG_Py_Void();
8437 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8438 return SWIG_Python_InitShadowInstance(args
);
8441 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8442 PyObject
*resultobj
= 0;
8443 wxWindow
*arg1
= (wxWindow
*) 0 ;
8444 int arg2
= (int) -1 ;
8445 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8446 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8447 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8448 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8449 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8450 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8451 long arg6
= (long) 0 ;
8452 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8453 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8454 wxStaticBitmap
*result
= 0 ;
8465 bool temp7
= false ;
8466 PyObject
* obj0
= 0 ;
8467 PyObject
* obj1
= 0 ;
8468 PyObject
* obj2
= 0 ;
8469 PyObject
* obj3
= 0 ;
8470 PyObject
* obj4
= 0 ;
8471 PyObject
* obj5
= 0 ;
8472 PyObject
* obj6
= 0 ;
8473 char * kwnames
[] = {
8474 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8479 if (!SWIG_IsOK(res1
)) {
8480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8482 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8485 if (!SWIG_IsOK(ecode2
)) {
8486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8488 arg2
= static_cast< int >(val2
);
8491 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8492 if (!SWIG_IsOK(res3
)) {
8493 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8498 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8503 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8509 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8513 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8514 if (!SWIG_IsOK(ecode6
)) {
8515 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8517 arg6
= static_cast< long >(val6
);
8521 arg7
= wxString_in_helper(obj6
);
8522 if (arg7
== NULL
) SWIG_fail
;
8527 if (!wxPyCheckForApp()) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8548 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8549 PyObject
*resultobj
= 0;
8550 wxStaticBitmap
*result
= 0 ;
8552 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8554 if (!wxPyCheckForApp()) SWIG_fail
;
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8567 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8568 PyObject
*resultobj
= 0;
8569 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8570 wxWindow
*arg2
= (wxWindow
*) 0 ;
8571 int arg3
= (int) -1 ;
8572 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8573 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8574 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8575 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8576 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8577 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8578 long arg7
= (long) 0 ;
8579 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8580 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8594 bool temp8
= false ;
8595 PyObject
* obj0
= 0 ;
8596 PyObject
* obj1
= 0 ;
8597 PyObject
* obj2
= 0 ;
8598 PyObject
* obj3
= 0 ;
8599 PyObject
* obj4
= 0 ;
8600 PyObject
* obj5
= 0 ;
8601 PyObject
* obj6
= 0 ;
8602 PyObject
* obj7
= 0 ;
8603 char * kwnames
[] = {
8604 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8609 if (!SWIG_IsOK(res1
)) {
8610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8612 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8613 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8614 if (!SWIG_IsOK(res2
)) {
8615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8617 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8619 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8620 if (!SWIG_IsOK(ecode3
)) {
8621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8623 arg3
= static_cast< int >(val3
);
8626 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8627 if (!SWIG_IsOK(res4
)) {
8628 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8633 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8638 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8644 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8648 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8649 if (!SWIG_IsOK(ecode7
)) {
8650 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8652 arg7
= static_cast< long >(val7
);
8656 arg8
= wxString_in_helper(obj7
);
8657 if (arg8
== NULL
) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8684 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8685 PyObject
*resultobj
= 0;
8686 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8690 PyObject
*swig_obj
[1] ;
8692 if (!args
) SWIG_fail
;
8694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8695 if (!SWIG_IsOK(res1
)) {
8696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8698 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 result
= (arg1
)->GetBitmap();
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8705 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8712 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
= 0;
8714 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8715 wxBitmap
*arg2
= 0 ;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8722 char * kwnames
[] = {
8723 (char *) "self",(char *) "bitmap", NULL
8726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8728 if (!SWIG_IsOK(res1
)) {
8729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8731 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8733 if (!SWIG_IsOK(res2
)) {
8734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8739 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8742 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 resultobj
= SWIG_Py_Void();
8753 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
= 0;
8755 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8762 PyObject
* obj1
= 0 ;
8763 char * kwnames
[] = {
8764 (char *) "self",(char *) "icon", NULL
8767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8769 if (!SWIG_IsOK(res1
)) {
8770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8772 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8773 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8774 if (!SWIG_IsOK(res2
)) {
8775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8780 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 resultobj
= SWIG_Py_Void();
8794 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
= 0;
8796 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8797 SwigValueWrapper
<wxVisualAttributes
> result
;
8800 PyObject
* obj0
= 0 ;
8801 char * kwnames
[] = {
8802 (char *) "variant", NULL
8805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8807 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8808 if (!SWIG_IsOK(ecode1
)) {
8809 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8811 arg1
= static_cast< wxWindowVariant
>(val1
);
8814 if (!wxPyCheckForApp()) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8820 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8827 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8830 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8831 return SWIG_Py_Void();
8834 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8835 return SWIG_Python_InitShadowInstance(args
);
8838 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8839 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8844 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8845 PyObject
*pyobj
= 0;
8849 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8851 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8858 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
= 0;
8860 wxWindow
*arg1
= (wxWindow
*) 0 ;
8861 int arg2
= (int) -1 ;
8862 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8863 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8864 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8865 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8866 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8867 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8868 long arg6
= (long) 0 ;
8869 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8870 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8871 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8872 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8873 wxListBox
*result
= 0 ;
8880 bool temp5
= false ;
8885 bool temp8
= false ;
8886 PyObject
* obj0
= 0 ;
8887 PyObject
* obj1
= 0 ;
8888 PyObject
* obj2
= 0 ;
8889 PyObject
* obj3
= 0 ;
8890 PyObject
* obj4
= 0 ;
8891 PyObject
* obj5
= 0 ;
8892 PyObject
* obj6
= 0 ;
8893 PyObject
* obj7
= 0 ;
8894 char * kwnames
[] = {
8895 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8900 if (!SWIG_IsOK(res1
)) {
8901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8903 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8906 if (!SWIG_IsOK(ecode2
)) {
8907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8909 arg2
= static_cast< int >(val2
);
8914 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8920 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8925 if (! PySequence_Check(obj4
)) {
8926 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8929 arg5
= new wxArrayString
;
8931 int i
, len
=PySequence_Length(obj4
);
8932 for (i
=0; i
<len
; i
++) {
8933 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8934 wxString
* s
= wxString_in_helper(item
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8943 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8944 if (!SWIG_IsOK(ecode6
)) {
8945 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8947 arg6
= static_cast< long >(val6
);
8950 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8951 if (!SWIG_IsOK(res7
)) {
8952 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8957 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8961 arg8
= wxString_in_helper(obj7
);
8962 if (arg8
== NULL
) SWIG_fail
;
8967 if (!wxPyCheckForApp()) SWIG_fail
;
8968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8969 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8975 if (temp5
) delete arg5
;
8984 if (temp5
) delete arg5
;
8994 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8995 PyObject
*resultobj
= 0;
8996 wxListBox
*result
= 0 ;
8998 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
9000 if (!wxPyCheckForApp()) SWIG_fail
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 result
= (wxListBox
*)new wxListBox();
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
9013 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
= 0;
9015 wxListBox
*arg1
= (wxListBox
*) 0 ;
9016 wxWindow
*arg2
= (wxWindow
*) 0 ;
9017 int arg3
= (int) -1 ;
9018 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9019 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9020 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9021 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9022 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
9023 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
9024 long arg7
= (long) 0 ;
9025 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9026 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9027 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
9028 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9038 bool temp6
= false ;
9043 bool temp9
= false ;
9044 PyObject
* obj0
= 0 ;
9045 PyObject
* obj1
= 0 ;
9046 PyObject
* obj2
= 0 ;
9047 PyObject
* obj3
= 0 ;
9048 PyObject
* obj4
= 0 ;
9049 PyObject
* obj5
= 0 ;
9050 PyObject
* obj6
= 0 ;
9051 PyObject
* obj7
= 0 ;
9052 PyObject
* obj8
= 0 ;
9053 char * kwnames
[] = {
9054 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9059 if (!SWIG_IsOK(res1
)) {
9060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9062 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9063 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9064 if (!SWIG_IsOK(res2
)) {
9065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9067 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9070 if (!SWIG_IsOK(ecode3
)) {
9071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9073 arg3
= static_cast< int >(val3
);
9078 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9084 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9089 if (! PySequence_Check(obj5
)) {
9090 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9093 arg6
= new wxArrayString
;
9095 int i
, len
=PySequence_Length(obj5
);
9096 for (i
=0; i
<len
; i
++) {
9097 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9098 wxString
* s
= wxString_in_helper(item
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9107 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9108 if (!SWIG_IsOK(ecode7
)) {
9109 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9111 arg7
= static_cast< long >(val7
);
9114 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9115 if (!SWIG_IsOK(res8
)) {
9116 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9121 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9125 arg9
= wxString_in_helper(obj8
);
9126 if (arg9
== NULL
) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9140 if (temp6
) delete arg6
;
9149 if (temp6
) delete arg6
;
9159 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
= 0;
9161 wxListBox
*arg1
= (wxListBox
*) 0 ;
9162 wxString
*arg2
= 0 ;
9164 PyObject
*arg4
= (PyObject
*) NULL
;
9167 bool temp2
= false ;
9170 PyObject
* obj0
= 0 ;
9171 PyObject
* obj1
= 0 ;
9172 PyObject
* obj2
= 0 ;
9173 PyObject
* obj3
= 0 ;
9174 char * kwnames
[] = {
9175 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9180 if (!SWIG_IsOK(res1
)) {
9181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9183 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9185 arg2
= wxString_in_helper(obj1
);
9186 if (arg2
== NULL
) SWIG_fail
;
9189 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9190 if (!SWIG_IsOK(ecode3
)) {
9191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9193 arg3
= static_cast< int >(val3
);
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= SWIG_Py_Void();
9218 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
= 0;
9220 wxListBox
*arg1
= (wxListBox
*) 0 ;
9221 wxArrayString
*arg2
= 0 ;
9225 bool temp2
= false ;
9228 PyObject
* obj0
= 0 ;
9229 PyObject
* obj1
= 0 ;
9230 PyObject
* obj2
= 0 ;
9231 char * kwnames
[] = {
9232 (char *) "self",(char *) "items",(char *) "pos", NULL
9235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9237 if (!SWIG_IsOK(res1
)) {
9238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9240 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9242 if (! PySequence_Check(obj1
)) {
9243 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9246 arg2
= new wxArrayString
;
9248 int i
, len
=PySequence_Length(obj1
);
9249 for (i
=0; i
<len
; i
++) {
9250 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9251 wxString
* s
= wxString_in_helper(item
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9258 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9259 if (!SWIG_IsOK(ecode3
)) {
9260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9262 arg3
= static_cast< unsigned int >(val3
);
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9269 resultobj
= SWIG_Py_Void();
9271 if (temp2
) delete arg2
;
9276 if (temp2
) delete arg2
;
9282 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
*resultobj
= 0;
9284 wxListBox
*arg1
= (wxListBox
*) 0 ;
9285 wxArrayString
*arg2
= 0 ;
9288 bool temp2
= false ;
9289 PyObject
* obj0
= 0 ;
9290 PyObject
* obj1
= 0 ;
9291 char * kwnames
[] = {
9292 (char *) "self",(char *) "items", NULL
9295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9297 if (!SWIG_IsOK(res1
)) {
9298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9300 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9302 if (! PySequence_Check(obj1
)) {
9303 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9306 arg2
= new wxArrayString
;
9308 int i
, len
=PySequence_Length(obj1
);
9309 for (i
=0; i
<len
; i
++) {
9310 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9311 wxString
* s
= wxString_in_helper(item
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 (arg1
)->Set((wxArrayString
const &)*arg2
);
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 resultobj
= SWIG_Py_Void();
9326 if (temp2
) delete arg2
;
9331 if (temp2
) delete arg2
;
9337 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
= 0;
9339 wxListBox
*arg1
= (wxListBox
*) 0 ;
9346 PyObject
* obj0
= 0 ;
9347 PyObject
* obj1
= 0 ;
9348 char * kwnames
[] = {
9349 (char *) "self",(char *) "n", NULL
9352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9354 if (!SWIG_IsOK(res1
)) {
9355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9357 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9359 if (!SWIG_IsOK(ecode2
)) {
9360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9362 arg2
= static_cast< int >(val2
);
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9366 wxPyEndAllowThreads(__tstate
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9378 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
= 0;
9380 wxListBox
*arg1
= (wxListBox
*) 0 ;
9382 bool arg3
= (bool) true ;
9389 PyObject
* obj0
= 0 ;
9390 PyObject
* obj1
= 0 ;
9391 PyObject
* obj2
= 0 ;
9392 char * kwnames
[] = {
9393 (char *) "self",(char *) "n",(char *) "select", NULL
9396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9398 if (!SWIG_IsOK(res1
)) {
9399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9401 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9403 if (!SWIG_IsOK(ecode2
)) {
9404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9406 arg2
= static_cast< int >(val2
);
9408 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9409 if (!SWIG_IsOK(ecode3
)) {
9410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9412 arg3
= static_cast< bool >(val3
);
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 (arg1
)->SetSelection(arg2
,arg3
);
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= SWIG_Py_Void();
9427 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
= 0;
9429 wxListBox
*arg1
= (wxListBox
*) 0 ;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9437 char * kwnames
[] = {
9438 (char *) "self",(char *) "n", NULL
9441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9443 if (!SWIG_IsOK(res1
)) {
9444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9446 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9448 if (!SWIG_IsOK(ecode2
)) {
9449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9451 arg2
= static_cast< int >(val2
);
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 (arg1
)->Select(arg2
);
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9458 resultobj
= SWIG_Py_Void();
9465 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
*resultobj
= 0;
9467 wxListBox
*arg1
= (wxListBox
*) 0 ;
9473 PyObject
* obj0
= 0 ;
9474 PyObject
* obj1
= 0 ;
9475 char * kwnames
[] = {
9476 (char *) "self",(char *) "n", NULL
9479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9481 if (!SWIG_IsOK(res1
)) {
9482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9484 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9486 if (!SWIG_IsOK(ecode2
)) {
9487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9489 arg2
= static_cast< int >(val2
);
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 (arg1
)->Deselect(arg2
);
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 resultobj
= SWIG_Py_Void();
9503 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
*resultobj
= 0;
9505 wxListBox
*arg1
= (wxListBox
*) 0 ;
9506 int arg2
= (int) -1 ;
9511 PyObject
* obj0
= 0 ;
9512 PyObject
* obj1
= 0 ;
9513 char * kwnames
[] = {
9514 (char *) "self",(char *) "itemToLeaveSelected", NULL
9517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9519 if (!SWIG_IsOK(res1
)) {
9520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9522 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9525 if (!SWIG_IsOK(ecode2
)) {
9526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9528 arg2
= static_cast< int >(val2
);
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 (arg1
)->DeselectAll(arg2
);
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= SWIG_Py_Void();
9543 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
= 0;
9545 wxListBox
*arg1
= (wxListBox
*) 0 ;
9546 wxString
*arg2
= 0 ;
9547 bool arg3
= (bool) true ;
9551 bool temp2
= false ;
9554 PyObject
* obj0
= 0 ;
9555 PyObject
* obj1
= 0 ;
9556 PyObject
* obj2
= 0 ;
9557 char * kwnames
[] = {
9558 (char *) "self",(char *) "s",(char *) "select", NULL
9561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9563 if (!SWIG_IsOK(res1
)) {
9564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9566 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9568 arg2
= wxString_in_helper(obj1
);
9569 if (arg2
== NULL
) SWIG_fail
;
9573 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9574 if (!SWIG_IsOK(ecode3
)) {
9575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9577 arg3
= static_cast< bool >(val3
);
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9602 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9603 PyObject
*resultobj
= 0;
9604 wxListBox
*arg1
= (wxListBox
*) 0 ;
9605 PyObject
*result
= 0 ;
9608 PyObject
*swig_obj
[1] ;
9610 if (!args
) SWIG_fail
;
9612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9613 if (!SWIG_IsOK(res1
)) {
9614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9616 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9630 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
= 0;
9632 wxListBox
*arg1
= (wxListBox
*) 0 ;
9638 PyObject
* obj0
= 0 ;
9639 PyObject
* obj1
= 0 ;
9640 char * kwnames
[] = {
9641 (char *) "self",(char *) "n", NULL
9644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9646 if (!SWIG_IsOK(res1
)) {
9647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9649 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9651 if (!SWIG_IsOK(ecode2
)) {
9652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9654 arg2
= static_cast< int >(val2
);
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 (arg1
)->SetFirstItem(arg2
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= SWIG_Py_Void();
9668 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
= 0;
9670 wxListBox
*arg1
= (wxListBox
*) 0 ;
9671 wxString
*arg2
= 0 ;
9674 bool temp2
= false ;
9675 PyObject
* obj0
= 0 ;
9676 PyObject
* obj1
= 0 ;
9677 char * kwnames
[] = {
9678 (char *) "self",(char *) "s", NULL
9681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9683 if (!SWIG_IsOK(res1
)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9686 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9688 arg2
= wxString_in_helper(obj1
);
9689 if (arg2
== NULL
) SWIG_fail
;
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_Py_Void();
9713 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9714 PyObject
*resultobj
= 0;
9715 wxListBox
*arg1
= (wxListBox
*) 0 ;
9721 PyObject
* obj0
= 0 ;
9722 PyObject
* obj1
= 0 ;
9723 char * kwnames
[] = {
9724 (char *) "self",(char *) "n", NULL
9727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9729 if (!SWIG_IsOK(res1
)) {
9730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9732 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9734 if (!SWIG_IsOK(ecode2
)) {
9735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9737 arg2
= static_cast< int >(val2
);
9739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9740 (arg1
)->EnsureVisible(arg2
);
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 resultobj
= SWIG_Py_Void();
9751 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
= 0;
9753 wxListBox
*arg1
= (wxListBox
*) 0 ;
9754 wxString
*arg2
= 0 ;
9757 bool temp2
= false ;
9758 PyObject
* obj0
= 0 ;
9759 PyObject
* obj1
= 0 ;
9760 char * kwnames
[] = {
9761 (char *) "self",(char *) "s", NULL
9764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9766 if (!SWIG_IsOK(res1
)) {
9767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9769 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9771 arg2
= wxString_in_helper(obj1
);
9772 if (arg2
== NULL
) SWIG_fail
;
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= SWIG_Py_Void();
9796 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9797 PyObject
*resultobj
= 0;
9798 wxListBox
*arg1
= (wxListBox
*) 0 ;
9802 PyObject
*swig_obj
[1] ;
9804 if (!args
) SWIG_fail
;
9806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9807 if (!SWIG_IsOK(res1
)) {
9808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9810 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9826 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
= 0;
9828 wxListBox
*arg1
= (wxListBox
*) 0 ;
9834 PyObject
* obj0
= 0 ;
9835 PyObject
* obj1
= 0 ;
9836 char * kwnames
[] = {
9837 (char *) "self",(char *) "pt", NULL
9840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9842 if (!SWIG_IsOK(res1
)) {
9843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9845 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9848 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= SWIG_From_int(static_cast< int >(result
));
9863 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
= 0;
9865 wxListBox
*arg1
= (wxListBox
*) 0 ;
9867 wxColour
*arg3
= 0 ;
9873 PyObject
* obj0
= 0 ;
9874 PyObject
* obj1
= 0 ;
9875 PyObject
* obj2
= 0 ;
9876 char * kwnames
[] = {
9877 (char *) "self",(char *) "item",(char *) "c", NULL
9880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9882 if (!SWIG_IsOK(res1
)) {
9883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9885 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9887 if (!SWIG_IsOK(ecode2
)) {
9888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9890 arg2
= static_cast< int >(val2
);
9893 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= SWIG_Py_Void();
9908 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
= 0;
9910 wxListBox
*arg1
= (wxListBox
*) 0 ;
9912 wxColour
*arg3
= 0 ;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9920 PyObject
* obj2
= 0 ;
9921 char * kwnames
[] = {
9922 (char *) "self",(char *) "item",(char *) "c", NULL
9925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9927 if (!SWIG_IsOK(res1
)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9930 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9932 if (!SWIG_IsOK(ecode2
)) {
9933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9935 arg2
= static_cast< int >(val2
);
9938 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= SWIG_Py_Void();
9953 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
= 0;
9955 wxListBox
*arg1
= (wxListBox
*) 0 ;
9964 PyObject
* obj0
= 0 ;
9965 PyObject
* obj1
= 0 ;
9966 PyObject
* obj2
= 0 ;
9967 char * kwnames
[] = {
9968 (char *) "self",(char *) "item",(char *) "f", NULL
9971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9973 if (!SWIG_IsOK(res1
)) {
9974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9976 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9978 if (!SWIG_IsOK(ecode2
)) {
9979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9981 arg2
= static_cast< int >(val2
);
9982 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9983 if (!SWIG_IsOK(res3
)) {
9984 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9989 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9996 resultobj
= SWIG_Py_Void();
10003 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
= 0;
10005 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10006 SwigValueWrapper
<wxVisualAttributes
> result
;
10009 PyObject
* obj0
= 0 ;
10010 char * kwnames
[] = {
10011 (char *) "variant", NULL
10014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10016 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10017 if (!SWIG_IsOK(ecode1
)) {
10018 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10020 arg1
= static_cast< wxWindowVariant
>(val1
);
10023 if (!wxPyCheckForApp()) SWIG_fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 result
= wxListBox::GetClassDefaultAttributes(arg1
);
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10029 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10036 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10039 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
10040 return SWIG_Py_Void();
10043 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10044 return SWIG_Python_InitShadowInstance(args
);
10047 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
= 0;
10049 wxWindow
*arg1
= (wxWindow
*) 0 ;
10050 int arg2
= (int) -1 ;
10051 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10052 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10053 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10054 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10055 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10056 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10057 long arg6
= (long) 0 ;
10058 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10059 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10060 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10061 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10062 wxCheckListBox
*result
= 0 ;
10069 bool temp5
= false ;
10074 bool temp8
= false ;
10075 PyObject
* obj0
= 0 ;
10076 PyObject
* obj1
= 0 ;
10077 PyObject
* obj2
= 0 ;
10078 PyObject
* obj3
= 0 ;
10079 PyObject
* obj4
= 0 ;
10080 PyObject
* obj5
= 0 ;
10081 PyObject
* obj6
= 0 ;
10082 PyObject
* obj7
= 0 ;
10083 char * kwnames
[] = {
10084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10089 if (!SWIG_IsOK(res1
)) {
10090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10092 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10095 if (!SWIG_IsOK(ecode2
)) {
10096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10098 arg2
= static_cast< int >(val2
);
10103 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10109 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10114 if (! PySequence_Check(obj4
)) {
10115 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10118 arg5
= new wxArrayString
;
10120 int i
, len
=PySequence_Length(obj4
);
10121 for (i
=0; i
<len
; i
++) {
10122 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10123 wxString
* s
= wxString_in_helper(item
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10132 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10133 if (!SWIG_IsOK(ecode6
)) {
10134 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10136 arg6
= static_cast< long >(val6
);
10139 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10140 if (!SWIG_IsOK(res7
)) {
10141 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10146 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10150 arg8
= wxString_in_helper(obj7
);
10151 if (arg8
== NULL
) SWIG_fail
;
10156 if (!wxPyCheckForApp()) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10164 if (temp5
) delete arg5
;
10173 if (temp5
) delete arg5
;
10183 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10184 PyObject
*resultobj
= 0;
10185 wxCheckListBox
*result
= 0 ;
10187 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10189 if (!wxPyCheckForApp()) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (wxCheckListBox
*)new wxCheckListBox();
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10202 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
= 0;
10204 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10205 wxWindow
*arg2
= (wxWindow
*) 0 ;
10206 int arg3
= (int) -1 ;
10207 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10208 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10209 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10210 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10211 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10212 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10213 long arg7
= (long) 0 ;
10214 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10215 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10216 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10217 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10227 bool temp6
= false ;
10232 bool temp9
= false ;
10233 PyObject
* obj0
= 0 ;
10234 PyObject
* obj1
= 0 ;
10235 PyObject
* obj2
= 0 ;
10236 PyObject
* obj3
= 0 ;
10237 PyObject
* obj4
= 0 ;
10238 PyObject
* obj5
= 0 ;
10239 PyObject
* obj6
= 0 ;
10240 PyObject
* obj7
= 0 ;
10241 PyObject
* obj8
= 0 ;
10242 char * kwnames
[] = {
10243 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10248 if (!SWIG_IsOK(res1
)) {
10249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10251 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10253 if (!SWIG_IsOK(res2
)) {
10254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10256 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10258 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10259 if (!SWIG_IsOK(ecode3
)) {
10260 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10262 arg3
= static_cast< int >(val3
);
10267 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10273 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10278 if (! PySequence_Check(obj5
)) {
10279 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10282 arg6
= new wxArrayString
;
10284 int i
, len
=PySequence_Length(obj5
);
10285 for (i
=0; i
<len
; i
++) {
10286 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10287 wxString
* s
= wxString_in_helper(item
);
10288 if (PyErr_Occurred()) SWIG_fail
;
10296 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10297 if (!SWIG_IsOK(ecode7
)) {
10298 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10300 arg7
= static_cast< long >(val7
);
10303 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10304 if (!SWIG_IsOK(res8
)) {
10305 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10310 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10314 arg9
= wxString_in_helper(obj8
);
10315 if (arg9
== NULL
) SWIG_fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10329 if (temp6
) delete arg6
;
10338 if (temp6
) delete arg6
;
10348 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
*resultobj
= 0;
10350 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10351 unsigned int arg2
;
10355 unsigned int val2
;
10357 PyObject
* obj0
= 0 ;
10358 PyObject
* obj1
= 0 ;
10359 char * kwnames
[] = {
10360 (char *) "self",(char *) "index", NULL
10363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10365 if (!SWIG_IsOK(res1
)) {
10366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10368 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10369 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10370 if (!SWIG_IsOK(ecode2
)) {
10371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10373 arg2
= static_cast< unsigned int >(val2
);
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 result
= (bool)(arg1
)->IsChecked(arg2
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10389 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
= 0;
10391 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10392 unsigned int arg2
;
10393 int arg3
= (int) true ;
10396 unsigned int val2
;
10400 PyObject
* obj0
= 0 ;
10401 PyObject
* obj1
= 0 ;
10402 PyObject
* obj2
= 0 ;
10403 char * kwnames
[] = {
10404 (char *) "self",(char *) "index",(char *) "check", NULL
10407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10409 if (!SWIG_IsOK(res1
)) {
10410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10412 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10413 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10414 if (!SWIG_IsOK(ecode2
)) {
10415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10417 arg2
= static_cast< unsigned int >(val2
);
10419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10420 if (!SWIG_IsOK(ecode3
)) {
10421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10423 arg3
= static_cast< int >(val3
);
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 (arg1
)->Check(arg2
,arg3
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= SWIG_Py_Void();
10438 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10439 PyObject
*resultobj
= 0;
10440 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10444 PyObject
*swig_obj
[1] ;
10446 if (!args
) SWIG_fail
;
10447 swig_obj
[0] = args
;
10448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10449 if (!SWIG_IsOK(res1
)) {
10450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10452 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 result
= (int)(arg1
)->GetItemHeight();
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 resultobj
= SWIG_From_int(static_cast< int >(result
));
10466 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10469 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10470 return SWIG_Py_Void();
10473 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10474 return SWIG_Python_InitShadowInstance(args
);
10477 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10478 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10483 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10484 PyObject
*pyobj
= 0;
10488 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10490 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10497 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10498 PyObject
*resultobj
= 0;
10499 wxColour
const &arg1_defvalue
= wxNullColour
;
10500 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10501 wxColour
const &arg2_defvalue
= wxNullColour
;
10502 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10503 wxFont
const &arg3_defvalue
= wxNullFont
;
10504 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10505 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10506 wxTextAttr
*result
= 0 ;
10513 PyObject
* obj0
= 0 ;
10514 PyObject
* obj1
= 0 ;
10515 PyObject
* obj2
= 0 ;
10516 PyObject
* obj3
= 0 ;
10517 char * kwnames
[] = {
10518 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10525 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10531 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10535 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10536 if (!SWIG_IsOK(res3
)) {
10537 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10542 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10545 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10546 if (!SWIG_IsOK(ecode4
)) {
10547 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10549 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10564 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10565 PyObject
*resultobj
= 0;
10566 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10569 PyObject
*swig_obj
[1] ;
10571 if (!args
) SWIG_fail
;
10572 swig_obj
[0] = args
;
10573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10574 if (!SWIG_IsOK(res1
)) {
10575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10577 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= SWIG_Py_Void();
10592 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10593 PyObject
*resultobj
= 0;
10594 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10597 PyObject
*swig_obj
[1] ;
10599 if (!args
) SWIG_fail
;
10600 swig_obj
[0] = args
;
10601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10602 if (!SWIG_IsOK(res1
)) {
10603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10605 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10612 resultobj
= SWIG_Py_Void();
10619 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
= 0;
10621 wxTextAttr
*arg1
= 0 ;
10622 wxTextAttr
*arg2
= 0 ;
10628 PyObject
* obj0
= 0 ;
10629 PyObject
* obj1
= 0 ;
10630 char * kwnames
[] = {
10631 (char *) "base",(char *) "overlay", NULL
10634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10635 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10636 if (!SWIG_IsOK(res1
)) {
10637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10642 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10643 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10644 if (!SWIG_IsOK(res2
)) {
10645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10650 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10664 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
= 0;
10666 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10667 wxColour
*arg2
= 0 ;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 char * kwnames
[] = {
10674 (char *) "self",(char *) "colText", NULL
10677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10679 if (!SWIG_IsOK(res1
)) {
10680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10682 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10685 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= SWIG_Py_Void();
10700 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
= 0;
10702 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10703 wxColour
*arg2
= 0 ;
10707 PyObject
* obj0
= 0 ;
10708 PyObject
* obj1
= 0 ;
10709 char * kwnames
[] = {
10710 (char *) "self",(char *) "colBack", NULL
10713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10715 if (!SWIG_IsOK(res1
)) {
10716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10718 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10721 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10726 wxPyEndAllowThreads(__tstate
);
10727 if (PyErr_Occurred()) SWIG_fail
;
10729 resultobj
= SWIG_Py_Void();
10736 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
= 0;
10738 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10740 long arg3
= (long) wxTEXT_ATTR_FONT
;
10747 PyObject
* obj0
= 0 ;
10748 PyObject
* obj1
= 0 ;
10749 PyObject
* obj2
= 0 ;
10750 char * kwnames
[] = {
10751 (char *) "self",(char *) "font",(char *) "flags", NULL
10754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10756 if (!SWIG_IsOK(res1
)) {
10757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10759 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10761 if (!SWIG_IsOK(res2
)) {
10762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10767 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10769 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10770 if (!SWIG_IsOK(ecode3
)) {
10771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10773 arg3
= static_cast< long >(val3
);
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= SWIG_Py_Void();
10788 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
*resultobj
= 0;
10790 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10791 wxTextAttrAlignment arg2
;
10796 PyObject
* obj0
= 0 ;
10797 PyObject
* obj1
= 0 ;
10798 char * kwnames
[] = {
10799 (char *) "self",(char *) "alignment", NULL
10802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10804 if (!SWIG_IsOK(res1
)) {
10805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10807 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10809 if (!SWIG_IsOK(ecode2
)) {
10810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10812 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 (arg1
)->SetAlignment(arg2
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= SWIG_Py_Void();
10826 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
= 0;
10828 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10829 wxArrayInt
*arg2
= 0 ;
10832 bool temp2
= false ;
10833 PyObject
* obj0
= 0 ;
10834 PyObject
* obj1
= 0 ;
10835 char * kwnames
[] = {
10836 (char *) "self",(char *) "tabs", NULL
10839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10841 if (!SWIG_IsOK(res1
)) {
10842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10844 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10846 if (! PySequence_Check(obj1
)) {
10847 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10850 arg2
= new wxArrayInt
;
10852 int i
, len
=PySequence_Length(obj1
);
10853 for (i
=0; i
<len
; i
++) {
10854 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10855 PyObject
* number
= PyNumber_Int(item
);
10857 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10860 arg2
->Add(PyInt_AS_LONG(number
));
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10868 wxPyEndAllowThreads(__tstate
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10871 resultobj
= SWIG_Py_Void();
10873 if (temp2
) delete arg2
;
10878 if (temp2
) delete arg2
;
10884 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10885 PyObject
*resultobj
= 0;
10886 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10888 int arg3
= (int) 0 ;
10895 PyObject
* obj0
= 0 ;
10896 PyObject
* obj1
= 0 ;
10897 PyObject
* obj2
= 0 ;
10898 char * kwnames
[] = {
10899 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10904 if (!SWIG_IsOK(res1
)) {
10905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10907 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10909 if (!SWIG_IsOK(ecode2
)) {
10910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10912 arg2
= static_cast< int >(val2
);
10914 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10915 if (!SWIG_IsOK(ecode3
)) {
10916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10918 arg3
= static_cast< int >(val3
);
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 (arg1
)->SetLeftIndent(arg2
,arg3
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 resultobj
= SWIG_Py_Void();
10933 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
= 0;
10935 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10941 PyObject
* obj0
= 0 ;
10942 PyObject
* obj1
= 0 ;
10943 char * kwnames
[] = {
10944 (char *) "self",(char *) "indent", NULL
10947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10949 if (!SWIG_IsOK(res1
)) {
10950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10952 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10954 if (!SWIG_IsOK(ecode2
)) {
10955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10957 arg2
= static_cast< int >(val2
);
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 (arg1
)->SetRightIndent(arg2
);
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10964 resultobj
= SWIG_Py_Void();
10971 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10972 PyObject
*resultobj
= 0;
10973 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10979 PyObject
* obj0
= 0 ;
10980 PyObject
* obj1
= 0 ;
10981 char * kwnames
[] = {
10982 (char *) "self",(char *) "flags", NULL
10985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10987 if (!SWIG_IsOK(res1
)) {
10988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10990 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10991 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10992 if (!SWIG_IsOK(ecode2
)) {
10993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10995 arg2
= static_cast< long >(val2
);
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 (arg1
)->SetFlags(arg2
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= SWIG_Py_Void();
11009 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11010 PyObject
*resultobj
= 0;
11011 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11015 PyObject
*swig_obj
[1] ;
11017 if (!args
) SWIG_fail
;
11018 swig_obj
[0] = args
;
11019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11020 if (!SWIG_IsOK(res1
)) {
11021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11023 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11039 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11040 PyObject
*resultobj
= 0;
11041 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11045 PyObject
*swig_obj
[1] ;
11047 if (!args
) SWIG_fail
;
11048 swig_obj
[0] = args
;
11049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11050 if (!SWIG_IsOK(res1
)) {
11051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11053 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11057 wxPyEndAllowThreads(__tstate
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11069 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11070 PyObject
*resultobj
= 0;
11071 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11075 PyObject
*swig_obj
[1] ;
11077 if (!args
) SWIG_fail
;
11078 swig_obj
[0] = args
;
11079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11080 if (!SWIG_IsOK(res1
)) {
11081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11083 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11099 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11100 PyObject
*resultobj
= 0;
11101 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11105 PyObject
*swig_obj
[1] ;
11107 if (!args
) SWIG_fail
;
11108 swig_obj
[0] = args
;
11109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11110 if (!SWIG_IsOK(res1
)) {
11111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11113 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11129 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11130 PyObject
*resultobj
= 0;
11131 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11135 PyObject
*swig_obj
[1] ;
11137 if (!args
) SWIG_fail
;
11138 swig_obj
[0] = args
;
11139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11140 if (!SWIG_IsOK(res1
)) {
11141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11143 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11159 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11160 PyObject
*resultobj
= 0;
11161 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11165 PyObject
*swig_obj
[1] ;
11167 if (!args
) SWIG_fail
;
11168 swig_obj
[0] = args
;
11169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11170 if (!SWIG_IsOK(res1
)) {
11171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11173 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11189 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11190 PyObject
*resultobj
= 0;
11191 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11195 PyObject
*swig_obj
[1] ;
11197 if (!args
) SWIG_fail
;
11198 swig_obj
[0] = args
;
11199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11200 if (!SWIG_IsOK(res1
)) {
11201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11203 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11219 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
= 0;
11221 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11228 PyObject
* obj0
= 0 ;
11229 PyObject
* obj1
= 0 ;
11230 char * kwnames
[] = {
11231 (char *) "self",(char *) "flag", NULL
11234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11236 if (!SWIG_IsOK(res1
)) {
11237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11239 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11240 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11241 if (!SWIG_IsOK(ecode2
)) {
11242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11244 arg2
= static_cast< long >(val2
);
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11260 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11261 PyObject
*resultobj
= 0;
11262 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11263 wxColour
*result
= 0 ;
11266 PyObject
*swig_obj
[1] ;
11268 if (!args
) SWIG_fail
;
11269 swig_obj
[0] = args
;
11270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11271 if (!SWIG_IsOK(res1
)) {
11272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11274 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11279 result
= (wxColour
*) &_result_ref
;
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11291 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11292 PyObject
*resultobj
= 0;
11293 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11294 wxColour
*result
= 0 ;
11297 PyObject
*swig_obj
[1] ;
11299 if (!args
) SWIG_fail
;
11300 swig_obj
[0] = args
;
11301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11302 if (!SWIG_IsOK(res1
)) {
11303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11305 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11310 result
= (wxColour
*) &_result_ref
;
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11322 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11323 PyObject
*resultobj
= 0;
11324 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11325 wxFont
*result
= 0 ;
11328 PyObject
*swig_obj
[1] ;
11330 if (!args
) SWIG_fail
;
11331 swig_obj
[0] = args
;
11332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11333 if (!SWIG_IsOK(res1
)) {
11334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11336 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11341 result
= (wxFont
*) &_result_ref
;
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11347 wxFont
* resultptr
= new wxFont(*result
);
11348 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11356 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11357 PyObject
*resultobj
= 0;
11358 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11359 wxTextAttrAlignment result
;
11362 PyObject
*swig_obj
[1] ;
11364 if (!args
) SWIG_fail
;
11365 swig_obj
[0] = args
;
11366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11367 if (!SWIG_IsOK(res1
)) {
11368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11370 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= SWIG_From_int(static_cast< int >(result
));
11384 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11385 PyObject
*resultobj
= 0;
11386 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11387 wxArrayInt
*result
= 0 ;
11390 PyObject
*swig_obj
[1] ;
11392 if (!args
) SWIG_fail
;
11393 swig_obj
[0] = args
;
11394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11395 if (!SWIG_IsOK(res1
)) {
11396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11398 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11403 result
= (wxArrayInt
*) &_result_ref
;
11405 wxPyEndAllowThreads(__tstate
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= wxArrayInt2PyList_helper(*result
);
11417 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11418 PyObject
*resultobj
= 0;
11419 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11423 PyObject
*swig_obj
[1] ;
11425 if (!args
) SWIG_fail
;
11426 swig_obj
[0] = args
;
11427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11428 if (!SWIG_IsOK(res1
)) {
11429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11431 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= SWIG_From_long(static_cast< long >(result
));
11445 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11446 PyObject
*resultobj
= 0;
11447 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11451 PyObject
*swig_obj
[1] ;
11453 if (!args
) SWIG_fail
;
11454 swig_obj
[0] = args
;
11455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11456 if (!SWIG_IsOK(res1
)) {
11457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11459 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11462 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 resultobj
= SWIG_From_long(static_cast< long >(result
));
11473 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11474 PyObject
*resultobj
= 0;
11475 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11479 PyObject
*swig_obj
[1] ;
11481 if (!args
) SWIG_fail
;
11482 swig_obj
[0] = args
;
11483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11484 if (!SWIG_IsOK(res1
)) {
11485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11487 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_From_long(static_cast< long >(result
));
11501 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11502 PyObject
*resultobj
= 0;
11503 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11507 PyObject
*swig_obj
[1] ;
11509 if (!args
) SWIG_fail
;
11510 swig_obj
[0] = args
;
11511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11512 if (!SWIG_IsOK(res1
)) {
11513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11515 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= SWIG_From_long(static_cast< long >(result
));
11529 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11530 PyObject
*resultobj
= 0;
11531 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11535 PyObject
*swig_obj
[1] ;
11537 if (!args
) SWIG_fail
;
11538 swig_obj
[0] = args
;
11539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11540 if (!SWIG_IsOK(res1
)) {
11541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11543 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11559 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
= 0;
11561 wxTextAttr
*arg1
= 0 ;
11562 wxTextAttr
*arg2
= 0 ;
11563 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11571 PyObject
* obj0
= 0 ;
11572 PyObject
* obj1
= 0 ;
11573 PyObject
* obj2
= 0 ;
11574 char * kwnames
[] = {
11575 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11579 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11580 if (!SWIG_IsOK(res1
)) {
11581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11586 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11588 if (!SWIG_IsOK(res2
)) {
11589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11594 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11595 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11596 if (!SWIG_IsOK(res3
)) {
11597 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11599 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11603 wxPyEndAllowThreads(__tstate
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11606 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11613 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11616 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11617 return SWIG_Py_Void();
11620 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11621 return SWIG_Python_InitShadowInstance(args
);
11624 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
= 0;
11626 wxWindow
*arg1
= (wxWindow
*) 0 ;
11627 int arg2
= (int) -1 ;
11628 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11629 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11630 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11631 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11632 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11633 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11634 long arg6
= (long) 0 ;
11635 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11636 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11637 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11638 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11639 wxTextCtrl
*result
= 0 ;
11644 bool temp3
= false ;
11651 bool temp8
= false ;
11652 PyObject
* obj0
= 0 ;
11653 PyObject
* obj1
= 0 ;
11654 PyObject
* obj2
= 0 ;
11655 PyObject
* obj3
= 0 ;
11656 PyObject
* obj4
= 0 ;
11657 PyObject
* obj5
= 0 ;
11658 PyObject
* obj6
= 0 ;
11659 PyObject
* obj7
= 0 ;
11660 char * kwnames
[] = {
11661 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11666 if (!SWIG_IsOK(res1
)) {
11667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11669 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11672 if (!SWIG_IsOK(ecode2
)) {
11673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11675 arg2
= static_cast< int >(val2
);
11679 arg3
= wxString_in_helper(obj2
);
11680 if (arg3
== NULL
) SWIG_fail
;
11687 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11693 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11697 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11698 if (!SWIG_IsOK(ecode6
)) {
11699 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11701 arg6
= static_cast< long >(val6
);
11704 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11705 if (!SWIG_IsOK(res7
)) {
11706 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11711 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11715 arg8
= wxString_in_helper(obj7
);
11716 if (arg8
== NULL
) SWIG_fail
;
11721 if (!wxPyCheckForApp()) SWIG_fail
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11750 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11751 PyObject
*resultobj
= 0;
11752 wxTextCtrl
*result
= 0 ;
11754 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11756 if (!wxPyCheckForApp()) SWIG_fail
;
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 result
= (wxTextCtrl
*)new wxTextCtrl();
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11769 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
= 0;
11771 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11772 wxWindow
*arg2
= (wxWindow
*) 0 ;
11773 int arg3
= (int) -1 ;
11774 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11775 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11776 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11777 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11778 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11779 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11780 long arg7
= (long) 0 ;
11781 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11782 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11783 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11784 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11792 bool temp4
= false ;
11799 bool temp9
= false ;
11800 PyObject
* obj0
= 0 ;
11801 PyObject
* obj1
= 0 ;
11802 PyObject
* obj2
= 0 ;
11803 PyObject
* obj3
= 0 ;
11804 PyObject
* obj4
= 0 ;
11805 PyObject
* obj5
= 0 ;
11806 PyObject
* obj6
= 0 ;
11807 PyObject
* obj7
= 0 ;
11808 PyObject
* obj8
= 0 ;
11809 char * kwnames
[] = {
11810 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11815 if (!SWIG_IsOK(res1
)) {
11816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11818 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11819 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11820 if (!SWIG_IsOK(res2
)) {
11821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11823 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11826 if (!SWIG_IsOK(ecode3
)) {
11827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11829 arg3
= static_cast< int >(val3
);
11833 arg4
= wxString_in_helper(obj3
);
11834 if (arg4
== NULL
) SWIG_fail
;
11841 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11847 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11851 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11852 if (!SWIG_IsOK(ecode7
)) {
11853 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11855 arg7
= static_cast< long >(val7
);
11858 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11859 if (!SWIG_IsOK(res8
)) {
11860 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11865 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11869 arg9
= wxString_in_helper(obj8
);
11870 if (arg9
== NULL
) SWIG_fail
;
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11905 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11906 PyObject
*resultobj
= 0;
11907 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11911 PyObject
*swig_obj
[1] ;
11913 if (!args
) SWIG_fail
;
11914 swig_obj
[0] = args
;
11915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11916 if (!SWIG_IsOK(res1
)) {
11917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11919 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11928 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11930 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11939 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
= 0;
11941 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11942 wxString
*arg2
= 0 ;
11945 bool temp2
= false ;
11946 PyObject
* obj0
= 0 ;
11947 PyObject
* obj1
= 0 ;
11948 char * kwnames
[] = {
11949 (char *) "self",(char *) "value", NULL
11952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11954 if (!SWIG_IsOK(res1
)) {
11955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11957 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11959 arg2
= wxString_in_helper(obj1
);
11960 if (arg2
== NULL
) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 (arg1
)->SetValue((wxString
const &)*arg2
);
11966 wxPyEndAllowThreads(__tstate
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= SWIG_Py_Void();
11984 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11985 PyObject
*resultobj
= 0;
11986 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11990 PyObject
*swig_obj
[1] ;
11992 if (!args
) SWIG_fail
;
11993 swig_obj
[0] = args
;
11994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11995 if (!SWIG_IsOK(res1
)) {
11996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11998 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12001 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12014 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12015 PyObject
*resultobj
= 0;
12016 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12017 wxString
*arg2
= 0 ;
12020 bool temp2
= false ;
12021 PyObject
* obj0
= 0 ;
12022 PyObject
* obj1
= 0 ;
12023 char * kwnames
[] = {
12024 (char *) "self",(char *) "value", NULL
12027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12029 if (!SWIG_IsOK(res1
)) {
12030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12032 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12034 arg2
= wxString_in_helper(obj1
);
12035 if (arg2
== NULL
) SWIG_fail
;
12039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 (arg1
)->ChangeValue((wxString
const &)*arg2
);
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= SWIG_Py_Void();
12059 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
= 0;
12061 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12071 PyObject
* obj0
= 0 ;
12072 PyObject
* obj1
= 0 ;
12073 PyObject
* obj2
= 0 ;
12074 char * kwnames
[] = {
12075 (char *) "self",(char *) "from",(char *) "to", NULL
12078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12080 if (!SWIG_IsOK(res1
)) {
12081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12083 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12084 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12085 if (!SWIG_IsOK(ecode2
)) {
12086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12088 arg2
= static_cast< long >(val2
);
12089 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12090 if (!SWIG_IsOK(ecode3
)) {
12091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12093 arg3
= static_cast< long >(val3
);
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12113 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
*resultobj
= 0;
12115 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 PyObject
* obj1
= 0 ;
12124 char * kwnames
[] = {
12125 (char *) "self",(char *) "lineNo", NULL
12128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12130 if (!SWIG_IsOK(res1
)) {
12131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12133 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12134 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12135 if (!SWIG_IsOK(ecode2
)) {
12136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12138 arg2
= static_cast< long >(val2
);
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= SWIG_From_int(static_cast< int >(result
));
12152 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
= 0;
12154 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12161 PyObject
* obj0
= 0 ;
12162 PyObject
* obj1
= 0 ;
12163 char * kwnames
[] = {
12164 (char *) "self",(char *) "lineNo", NULL
12167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12169 if (!SWIG_IsOK(res1
)) {
12170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12172 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12173 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12174 if (!SWIG_IsOK(ecode2
)) {
12175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12177 arg2
= static_cast< long >(val2
);
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12197 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12198 PyObject
*resultobj
= 0;
12199 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12203 PyObject
*swig_obj
[1] ;
12205 if (!args
) SWIG_fail
;
12206 swig_obj
[0] = args
;
12207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12208 if (!SWIG_IsOK(res1
)) {
12209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12211 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12215 wxPyEndAllowThreads(__tstate
);
12216 if (PyErr_Occurred()) SWIG_fail
;
12218 resultobj
= SWIG_From_int(static_cast< int >(result
));
12225 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12226 PyObject
*resultobj
= 0;
12227 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12231 PyObject
*swig_obj
[1] ;
12233 if (!args
) SWIG_fail
;
12234 swig_obj
[0] = args
;
12235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12236 if (!SWIG_IsOK(res1
)) {
12237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12239 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12255 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12256 PyObject
*resultobj
= 0;
12257 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12261 PyObject
*swig_obj
[1] ;
12263 if (!args
) SWIG_fail
;
12264 swig_obj
[0] = args
;
12265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12266 if (!SWIG_IsOK(res1
)) {
12267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12269 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12285 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12286 PyObject
*resultobj
= 0;
12287 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12291 PyObject
*swig_obj
[1] ;
12293 if (!args
) SWIG_fail
;
12294 swig_obj
[0] = args
;
12295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12296 if (!SWIG_IsOK(res1
)) {
12297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12299 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12315 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12316 PyObject
*resultobj
= 0;
12317 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12321 PyObject
*swig_obj
[1] ;
12323 if (!args
) SWIG_fail
;
12324 swig_obj
[0] = args
;
12325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12326 if (!SWIG_IsOK(res1
)) {
12327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12329 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12345 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12346 PyObject
*resultobj
= 0;
12347 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12348 long *arg2
= (long *) 0 ;
12349 long *arg3
= (long *) 0 ;
12353 int res2
= SWIG_TMPOBJ
;
12355 int res3
= SWIG_TMPOBJ
;
12356 PyObject
*swig_obj
[1] ;
12360 if (!args
) SWIG_fail
;
12361 swig_obj
[0] = args
;
12362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12363 if (!SWIG_IsOK(res1
)) {
12364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12366 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 resultobj
= SWIG_Py_Void();
12374 if (SWIG_IsTmpObj(res2
)) {
12375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12377 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12380 if (SWIG_IsTmpObj(res3
)) {
12381 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12383 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12384 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12392 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12393 PyObject
*resultobj
= 0;
12394 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12398 PyObject
*swig_obj
[1] ;
12400 if (!args
) SWIG_fail
;
12401 swig_obj
[0] = args
;
12402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12403 if (!SWIG_IsOK(res1
)) {
12404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12406 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12426 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12427 PyObject
*resultobj
= 0;
12428 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12431 PyObject
*swig_obj
[1] ;
12433 if (!args
) SWIG_fail
;
12434 swig_obj
[0] = args
;
12435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12436 if (!SWIG_IsOK(res1
)) {
12437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12439 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 wxPyEndAllowThreads(__tstate
);
12444 if (PyErr_Occurred()) SWIG_fail
;
12446 resultobj
= SWIG_Py_Void();
12453 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12454 PyObject
*resultobj
= 0;
12455 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12458 wxString
*arg4
= 0 ;
12465 bool temp4
= false ;
12466 PyObject
* obj0
= 0 ;
12467 PyObject
* obj1
= 0 ;
12468 PyObject
* obj2
= 0 ;
12469 PyObject
* obj3
= 0 ;
12470 char * kwnames
[] = {
12471 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12476 if (!SWIG_IsOK(res1
)) {
12477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12479 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12480 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12481 if (!SWIG_IsOK(ecode2
)) {
12482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12484 arg2
= static_cast< long >(val2
);
12485 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12486 if (!SWIG_IsOK(ecode3
)) {
12487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12489 arg3
= static_cast< long >(val3
);
12491 arg4
= wxString_in_helper(obj3
);
12492 if (arg4
== NULL
) SWIG_fail
;
12496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12497 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= SWIG_Py_Void();
12516 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
= 0;
12518 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12527 PyObject
* obj0
= 0 ;
12528 PyObject
* obj1
= 0 ;
12529 PyObject
* obj2
= 0 ;
12530 char * kwnames
[] = {
12531 (char *) "self",(char *) "from",(char *) "to", NULL
12534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12536 if (!SWIG_IsOK(res1
)) {
12537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12539 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12540 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12541 if (!SWIG_IsOK(ecode2
)) {
12542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12544 arg2
= static_cast< long >(val2
);
12545 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12546 if (!SWIG_IsOK(ecode3
)) {
12547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12549 arg3
= static_cast< long >(val3
);
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 (arg1
)->Remove(arg2
,arg3
);
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= SWIG_Py_Void();
12563 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
= 0;
12565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12566 wxString
*arg2
= 0 ;
12567 int arg3
= (int) wxTEXT_TYPE_ANY
;
12571 bool temp2
= false ;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 PyObject
* obj2
= 0 ;
12577 char * kwnames
[] = {
12578 (char *) "self",(char *) "file",(char *) "fileType", NULL
12581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12583 if (!SWIG_IsOK(res1
)) {
12584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12586 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12588 arg2
= wxString_in_helper(obj1
);
12589 if (arg2
== NULL
) SWIG_fail
;
12593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12594 if (!SWIG_IsOK(ecode3
)) {
12595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12597 arg3
= static_cast< int >(val3
);
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12622 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
= 0;
12624 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12625 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12626 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12627 int arg3
= (int) wxTEXT_TYPE_ANY
;
12631 bool temp2
= false ;
12634 PyObject
* obj0
= 0 ;
12635 PyObject
* obj1
= 0 ;
12636 PyObject
* obj2
= 0 ;
12637 char * kwnames
[] = {
12638 (char *) "self",(char *) "file",(char *) "fileType", NULL
12641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12643 if (!SWIG_IsOK(res1
)) {
12644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12646 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12649 arg2
= wxString_in_helper(obj1
);
12650 if (arg2
== NULL
) SWIG_fail
;
12655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12656 if (!SWIG_IsOK(ecode3
)) {
12657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12659 arg3
= static_cast< int >(val3
);
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12684 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12685 PyObject
*resultobj
= 0;
12686 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12689 PyObject
*swig_obj
[1] ;
12691 if (!args
) SWIG_fail
;
12692 swig_obj
[0] = args
;
12693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12694 if (!SWIG_IsOK(res1
)) {
12695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12697 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 (arg1
)->MarkDirty();
12701 wxPyEndAllowThreads(__tstate
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12704 resultobj
= SWIG_Py_Void();
12711 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12712 PyObject
*resultobj
= 0;
12713 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12716 PyObject
*swig_obj
[1] ;
12718 if (!args
) SWIG_fail
;
12719 swig_obj
[0] = args
;
12720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12721 if (!SWIG_IsOK(res1
)) {
12722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12724 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 (arg1
)->DiscardEdits();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= SWIG_Py_Void();
12738 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
= 0;
12740 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12746 PyObject
* obj0
= 0 ;
12747 PyObject
* obj1
= 0 ;
12748 char * kwnames
[] = {
12749 (char *) "self",(char *) "modified", NULL
12752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12754 if (!SWIG_IsOK(res1
)) {
12755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12757 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12758 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12759 if (!SWIG_IsOK(ecode2
)) {
12760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12762 arg2
= static_cast< bool >(val2
);
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 (arg1
)->SetModified(arg2
);
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 resultobj
= SWIG_Py_Void();
12776 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12777 PyObject
*resultobj
= 0;
12778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12779 unsigned long arg2
;
12782 unsigned long val2
;
12784 PyObject
* obj0
= 0 ;
12785 PyObject
* obj1
= 0 ;
12786 char * kwnames
[] = {
12787 (char *) "self",(char *) "len", NULL
12790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12792 if (!SWIG_IsOK(res1
)) {
12793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12795 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12796 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12797 if (!SWIG_IsOK(ecode2
)) {
12798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12800 arg2
= static_cast< unsigned long >(val2
);
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 (arg1
)->SetMaxLength(arg2
);
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= SWIG_Py_Void();
12814 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
*resultobj
= 0;
12816 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12817 wxString
*arg2
= 0 ;
12820 bool temp2
= false ;
12821 PyObject
* obj0
= 0 ;
12822 PyObject
* obj1
= 0 ;
12823 char * kwnames
[] = {
12824 (char *) "self",(char *) "text", NULL
12827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12829 if (!SWIG_IsOK(res1
)) {
12830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12832 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12834 arg2
= wxString_in_helper(obj1
);
12835 if (arg2
== NULL
) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 (arg1
)->WriteText((wxString
const &)*arg2
);
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12844 resultobj
= SWIG_Py_Void();
12859 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
= 0;
12861 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12862 wxString
*arg2
= 0 ;
12865 bool temp2
= false ;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 char * kwnames
[] = {
12869 (char *) "self",(char *) "text", NULL
12872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12874 if (!SWIG_IsOK(res1
)) {
12875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12877 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12879 arg2
= wxString_in_helper(obj1
);
12880 if (arg2
== NULL
) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->AppendText((wxString
const &)*arg2
);
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= SWIG_Py_Void();
12904 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
= 0;
12906 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12907 wxKeyEvent
*arg2
= 0 ;
12913 PyObject
* obj0
= 0 ;
12914 PyObject
* obj1
= 0 ;
12915 char * kwnames
[] = {
12916 (char *) "self",(char *) "event", NULL
12919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12921 if (!SWIG_IsOK(res1
)) {
12922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12924 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12925 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12926 if (!SWIG_IsOK(res2
)) {
12927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12932 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12935 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12936 wxPyEndAllowThreads(__tstate
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12948 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12949 PyObject
*resultobj
= 0;
12950 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12953 wxTextAttr
*arg4
= 0 ;
12963 PyObject
* obj0
= 0 ;
12964 PyObject
* obj1
= 0 ;
12965 PyObject
* obj2
= 0 ;
12966 PyObject
* obj3
= 0 ;
12967 char * kwnames
[] = {
12968 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12973 if (!SWIG_IsOK(res1
)) {
12974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12976 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12977 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12978 if (!SWIG_IsOK(ecode2
)) {
12979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12981 arg2
= static_cast< long >(val2
);
12982 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12983 if (!SWIG_IsOK(ecode3
)) {
12984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12986 arg3
= static_cast< long >(val3
);
12987 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12988 if (!SWIG_IsOK(res4
)) {
12989 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12994 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13010 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
= 0;
13012 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13014 wxTextAttr
*arg3
= 0 ;
13022 PyObject
* obj0
= 0 ;
13023 PyObject
* obj1
= 0 ;
13024 PyObject
* obj2
= 0 ;
13025 char * kwnames
[] = {
13026 (char *) "self",(char *) "position",(char *) "style", NULL
13029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13031 if (!SWIG_IsOK(res1
)) {
13032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13034 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13035 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13036 if (!SWIG_IsOK(ecode2
)) {
13037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13039 arg2
= static_cast< long >(val2
);
13040 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
13041 if (!SWIG_IsOK(res3
)) {
13042 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13047 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13063 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
= 0;
13065 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13066 wxTextAttr
*arg2
= 0 ;
13072 PyObject
* obj0
= 0 ;
13073 PyObject
* obj1
= 0 ;
13074 char * kwnames
[] = {
13075 (char *) "self",(char *) "style", NULL
13078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13080 if (!SWIG_IsOK(res1
)) {
13081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13083 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13085 if (!SWIG_IsOK(res2
)) {
13086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13091 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13107 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13108 PyObject
*resultobj
= 0;
13109 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13110 wxTextAttr
*result
= 0 ;
13113 PyObject
*swig_obj
[1] ;
13115 if (!args
) SWIG_fail
;
13116 swig_obj
[0] = args
;
13117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13118 if (!SWIG_IsOK(res1
)) {
13119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13121 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13126 result
= (wxTextAttr
*) &_result_ref
;
13128 wxPyEndAllowThreads(__tstate
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13138 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13139 PyObject
*resultobj
= 0;
13140 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13150 PyObject
* obj0
= 0 ;
13151 PyObject
* obj1
= 0 ;
13152 PyObject
* obj2
= 0 ;
13153 char * kwnames
[] = {
13154 (char *) "self",(char *) "x",(char *) "y", NULL
13157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13159 if (!SWIG_IsOK(res1
)) {
13160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13162 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13163 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13164 if (!SWIG_IsOK(ecode2
)) {
13165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13167 arg2
= static_cast< long >(val2
);
13168 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13169 if (!SWIG_IsOK(ecode3
)) {
13170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13172 arg3
= static_cast< long >(val3
);
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= SWIG_From_long(static_cast< long >(result
));
13186 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
= 0;
13188 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13190 long *arg3
= (long *) 0 ;
13191 long *arg4
= (long *) 0 ;
13197 int res3
= SWIG_TMPOBJ
;
13199 int res4
= SWIG_TMPOBJ
;
13200 PyObject
* obj0
= 0 ;
13201 PyObject
* obj1
= 0 ;
13202 char * kwnames
[] = {
13203 (char *) "self",(char *) "pos", NULL
13208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13210 if (!SWIG_IsOK(res1
)) {
13211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13213 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13214 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13215 if (!SWIG_IsOK(ecode2
)) {
13216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13218 arg2
= static_cast< long >(val2
);
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13225 resultobj
= SWIG_Py_Void();
13226 if (SWIG_IsTmpObj(res3
)) {
13227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13229 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13232 if (SWIG_IsTmpObj(res4
)) {
13233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13235 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13236 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13244 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
= 0;
13246 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13252 PyObject
* obj0
= 0 ;
13253 PyObject
* obj1
= 0 ;
13254 char * kwnames
[] = {
13255 (char *) "self",(char *) "pos", NULL
13258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13260 if (!SWIG_IsOK(res1
)) {
13261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13263 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13264 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13265 if (!SWIG_IsOK(ecode2
)) {
13266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13268 arg2
= static_cast< long >(val2
);
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 (arg1
)->ShowPosition(arg2
);
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= SWIG_Py_Void();
13282 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
= 0;
13284 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13285 wxPoint
*arg2
= 0 ;
13286 long *arg3
= (long *) 0 ;
13287 long *arg4
= (long *) 0 ;
13288 wxTextCtrlHitTestResult result
;
13293 int res3
= SWIG_TMPOBJ
;
13295 int res4
= SWIG_TMPOBJ
;
13296 PyObject
* obj0
= 0 ;
13297 PyObject
* obj1
= 0 ;
13298 char * kwnames
[] = {
13299 (char *) "self",(char *) "pt", NULL
13304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13306 if (!SWIG_IsOK(res1
)) {
13307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13309 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13312 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= SWIG_From_int(static_cast< int >(result
));
13321 if (SWIG_IsTmpObj(res3
)) {
13322 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13324 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13325 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13327 if (SWIG_IsTmpObj(res4
)) {
13328 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13330 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13331 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13339 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
= 0;
13341 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13342 wxPoint
*arg2
= 0 ;
13343 long *arg3
= (long *) 0 ;
13344 wxTextCtrlHitTestResult result
;
13349 int res3
= SWIG_TMPOBJ
;
13350 PyObject
* obj0
= 0 ;
13351 PyObject
* obj1
= 0 ;
13352 char * kwnames
[] = {
13353 (char *) "self",(char *) "pt", NULL
13357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13359 if (!SWIG_IsOK(res1
)) {
13360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13362 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13365 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 resultobj
= SWIG_From_int(static_cast< int >(result
));
13374 if (SWIG_IsTmpObj(res3
)) {
13375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13377 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13386 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13387 PyObject
*resultobj
= 0;
13388 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13391 PyObject
*swig_obj
[1] ;
13393 if (!args
) SWIG_fail
;
13394 swig_obj
[0] = args
;
13395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13396 if (!SWIG_IsOK(res1
)) {
13397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13399 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 resultobj
= SWIG_Py_Void();
13413 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13414 PyObject
*resultobj
= 0;
13415 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13418 PyObject
*swig_obj
[1] ;
13420 if (!args
) SWIG_fail
;
13421 swig_obj
[0] = args
;
13422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13423 if (!SWIG_IsOK(res1
)) {
13424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13426 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 resultobj
= SWIG_Py_Void();
13440 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13441 PyObject
*resultobj
= 0;
13442 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13445 PyObject
*swig_obj
[1] ;
13447 if (!args
) SWIG_fail
;
13448 swig_obj
[0] = args
;
13449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13450 if (!SWIG_IsOK(res1
)) {
13451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13453 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_Py_Void();
13467 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13468 PyObject
*resultobj
= 0;
13469 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13473 PyObject
*swig_obj
[1] ;
13475 if (!args
) SWIG_fail
;
13476 swig_obj
[0] = args
;
13477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13478 if (!SWIG_IsOK(res1
)) {
13479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13481 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13497 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13498 PyObject
*resultobj
= 0;
13499 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13503 PyObject
*swig_obj
[1] ;
13505 if (!args
) SWIG_fail
;
13506 swig_obj
[0] = args
;
13507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13508 if (!SWIG_IsOK(res1
)) {
13509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13511 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13527 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13528 PyObject
*resultobj
= 0;
13529 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13533 PyObject
*swig_obj
[1] ;
13535 if (!args
) SWIG_fail
;
13536 swig_obj
[0] = args
;
13537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13538 if (!SWIG_IsOK(res1
)) {
13539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13541 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13557 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13558 PyObject
*resultobj
= 0;
13559 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13562 PyObject
*swig_obj
[1] ;
13564 if (!args
) SWIG_fail
;
13565 swig_obj
[0] = args
;
13566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13567 if (!SWIG_IsOK(res1
)) {
13568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13570 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_Py_Void();
13584 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13585 PyObject
*resultobj
= 0;
13586 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13589 PyObject
*swig_obj
[1] ;
13591 if (!args
) SWIG_fail
;
13592 swig_obj
[0] = args
;
13593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13594 if (!SWIG_IsOK(res1
)) {
13595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13597 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 resultobj
= SWIG_Py_Void();
13611 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13612 PyObject
*resultobj
= 0;
13613 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13617 PyObject
*swig_obj
[1] ;
13619 if (!args
) SWIG_fail
;
13620 swig_obj
[0] = args
;
13621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13622 if (!SWIG_IsOK(res1
)) {
13623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13625 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13641 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13642 PyObject
*resultobj
= 0;
13643 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13647 PyObject
*swig_obj
[1] ;
13649 if (!args
) SWIG_fail
;
13650 swig_obj
[0] = args
;
13651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13652 if (!SWIG_IsOK(res1
)) {
13653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13655 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13658 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13659 wxPyEndAllowThreads(__tstate
);
13660 if (PyErr_Occurred()) SWIG_fail
;
13663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13671 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
= 0;
13673 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13679 PyObject
* obj0
= 0 ;
13680 PyObject
* obj1
= 0 ;
13681 char * kwnames
[] = {
13682 (char *) "self",(char *) "pos", NULL
13685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13687 if (!SWIG_IsOK(res1
)) {
13688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13690 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13691 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13692 if (!SWIG_IsOK(ecode2
)) {
13693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13695 arg2
= static_cast< long >(val2
);
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 (arg1
)->SetInsertionPoint(arg2
);
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= SWIG_Py_Void();
13709 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13710 PyObject
*resultobj
= 0;
13711 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13714 PyObject
*swig_obj
[1] ;
13716 if (!args
) SWIG_fail
;
13717 swig_obj
[0] = args
;
13718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13719 if (!SWIG_IsOK(res1
)) {
13720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13722 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 (arg1
)->SetInsertionPointEnd();
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= SWIG_Py_Void();
13736 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13737 PyObject
*resultobj
= 0;
13738 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13742 PyObject
*swig_obj
[1] ;
13744 if (!args
) SWIG_fail
;
13745 swig_obj
[0] = args
;
13746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13747 if (!SWIG_IsOK(res1
)) {
13748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13750 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13757 resultobj
= SWIG_From_long(static_cast< long >(result
));
13764 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13765 PyObject
*resultobj
= 0;
13766 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13770 PyObject
*swig_obj
[1] ;
13772 if (!args
) SWIG_fail
;
13773 swig_obj
[0] = args
;
13774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13775 if (!SWIG_IsOK(res1
)) {
13776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13778 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13785 resultobj
= SWIG_From_long(static_cast< long >(result
));
13792 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
= 0;
13794 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13803 PyObject
* obj0
= 0 ;
13804 PyObject
* obj1
= 0 ;
13805 PyObject
* obj2
= 0 ;
13806 char * kwnames
[] = {
13807 (char *) "self",(char *) "from",(char *) "to", NULL
13810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13812 if (!SWIG_IsOK(res1
)) {
13813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13815 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13816 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13817 if (!SWIG_IsOK(ecode2
)) {
13818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13820 arg2
= static_cast< long >(val2
);
13821 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13822 if (!SWIG_IsOK(ecode3
)) {
13823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13825 arg3
= static_cast< long >(val3
);
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13828 (arg1
)->SetSelection(arg2
,arg3
);
13829 wxPyEndAllowThreads(__tstate
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13832 resultobj
= SWIG_Py_Void();
13839 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13840 PyObject
*resultobj
= 0;
13841 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13844 PyObject
*swig_obj
[1] ;
13846 if (!args
) SWIG_fail
;
13847 swig_obj
[0] = args
;
13848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13849 if (!SWIG_IsOK(res1
)) {
13850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13852 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 (arg1
)->SelectAll();
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13859 resultobj
= SWIG_Py_Void();
13866 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13867 PyObject
*resultobj
= 0;
13868 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13874 PyObject
* obj0
= 0 ;
13875 PyObject
* obj1
= 0 ;
13876 char * kwnames
[] = {
13877 (char *) "self",(char *) "editable", NULL
13880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13882 if (!SWIG_IsOK(res1
)) {
13883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13885 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13886 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13887 if (!SWIG_IsOK(ecode2
)) {
13888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13890 arg2
= static_cast< bool >(val2
);
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 (arg1
)->SetEditable(arg2
);
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= SWIG_Py_Void();
13904 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13905 PyObject
*resultobj
= 0;
13906 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13912 PyObject
* obj0
= 0 ;
13913 PyObject
* obj1
= 0 ;
13914 char * kwnames
[] = {
13915 (char *) "self",(char *) "check", NULL
13918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13920 if (!SWIG_IsOK(res1
)) {
13921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13923 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13924 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13925 if (!SWIG_IsOK(ecode2
)) {
13926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13928 arg2
= static_cast< bool >(val2
);
13930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13931 wxTextCtrl_MacCheckSpelling(arg1
,arg2
);
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13935 resultobj
= SWIG_Py_Void();
13942 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13943 PyObject
*resultobj
= 0;
13944 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13947 PyObject
*swig_obj
[1] ;
13949 if (!args
) SWIG_fail
;
13950 swig_obj
[0] = args
;
13951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13952 if (!SWIG_IsOK(res1
)) {
13953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13955 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 (arg1
)->SendTextUpdatedEvent();
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= SWIG_Py_Void();
13969 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
= 0;
13971 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13972 wxString
*arg2
= 0 ;
13975 bool temp2
= false ;
13976 PyObject
* obj0
= 0 ;
13977 PyObject
* obj1
= 0 ;
13978 char * kwnames
[] = {
13979 (char *) "self",(char *) "text", NULL
13982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13984 if (!SWIG_IsOK(res1
)) {
13985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13987 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13989 arg2
= wxString_in_helper(obj1
);
13990 if (arg2
== NULL
) SWIG_fail
;
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= SWIG_Py_Void();
14014 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
= 0;
14016 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14026 PyObject
* obj0
= 0 ;
14027 PyObject
* obj1
= 0 ;
14028 PyObject
* obj2
= 0 ;
14029 char * kwnames
[] = {
14030 (char *) "self",(char *) "from",(char *) "to", NULL
14033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14035 if (!SWIG_IsOK(res1
)) {
14036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14038 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14039 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14040 if (!SWIG_IsOK(ecode2
)) {
14041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14043 arg2
= static_cast< long >(val2
);
14044 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14045 if (!SWIG_IsOK(ecode3
)) {
14046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14048 arg3
= static_cast< long >(val3
);
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14068 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
*resultobj
= 0;
14070 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14071 SwigValueWrapper
<wxVisualAttributes
> result
;
14074 PyObject
* obj0
= 0 ;
14075 char * kwnames
[] = {
14076 (char *) "variant", NULL
14079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14081 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14082 if (!SWIG_IsOK(ecode1
)) {
14083 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14085 arg1
= static_cast< wxWindowVariant
>(val1
);
14088 if (!wxPyCheckForApp()) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14094 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14101 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14104 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14105 return SWIG_Py_Void();
14108 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14109 return SWIG_Python_InitShadowInstance(args
);
14112 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14113 PyObject
*resultobj
= 0;
14115 wxMouseEvent
*arg2
= 0 ;
14118 wxTextUrlEvent
*result
= 0 ;
14127 PyObject
* obj0
= 0 ;
14128 PyObject
* obj1
= 0 ;
14129 PyObject
* obj2
= 0 ;
14130 PyObject
* obj3
= 0 ;
14131 char * kwnames
[] = {
14132 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14136 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14137 if (!SWIG_IsOK(ecode1
)) {
14138 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14140 arg1
= static_cast< int >(val1
);
14141 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14142 if (!SWIG_IsOK(res2
)) {
14143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14148 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14149 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14150 if (!SWIG_IsOK(ecode3
)) {
14151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14153 arg3
= static_cast< long >(val3
);
14154 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14155 if (!SWIG_IsOK(ecode4
)) {
14156 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14158 arg4
= static_cast< long >(val4
);
14160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14172 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14173 PyObject
*resultobj
= 0;
14174 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14175 wxMouseEvent
*result
= 0 ;
14178 PyObject
*swig_obj
[1] ;
14180 if (!args
) SWIG_fail
;
14181 swig_obj
[0] = args
;
14182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14183 if (!SWIG_IsOK(res1
)) {
14184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14186 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14191 result
= (wxMouseEvent
*) &_result_ref
;
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14203 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14204 PyObject
*resultobj
= 0;
14205 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14209 PyObject
*swig_obj
[1] ;
14211 if (!args
) SWIG_fail
;
14212 swig_obj
[0] = args
;
14213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14214 if (!SWIG_IsOK(res1
)) {
14215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14217 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 resultobj
= SWIG_From_long(static_cast< long >(result
));
14231 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14232 PyObject
*resultobj
= 0;
14233 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14237 PyObject
*swig_obj
[1] ;
14239 if (!args
) SWIG_fail
;
14240 swig_obj
[0] = args
;
14241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14242 if (!SWIG_IsOK(res1
)) {
14243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14245 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= SWIG_From_long(static_cast< long >(result
));
14259 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14262 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14263 return SWIG_Py_Void();
14266 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14267 return SWIG_Python_InitShadowInstance(args
);
14270 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14271 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14276 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14277 PyObject
*pyobj
= 0;
14281 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14283 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14290 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
= 0;
14292 wxWindow
*arg1
= (wxWindow
*) 0 ;
14293 int arg2
= (int) -1 ;
14294 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14295 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14296 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14297 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14298 long arg5
= (long) wxSB_HORIZONTAL
;
14299 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14300 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14301 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14302 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14303 wxScrollBar
*result
= 0 ;
14314 bool temp7
= false ;
14315 PyObject
* obj0
= 0 ;
14316 PyObject
* obj1
= 0 ;
14317 PyObject
* obj2
= 0 ;
14318 PyObject
* obj3
= 0 ;
14319 PyObject
* obj4
= 0 ;
14320 PyObject
* obj5
= 0 ;
14321 PyObject
* obj6
= 0 ;
14322 char * kwnames
[] = {
14323 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14328 if (!SWIG_IsOK(res1
)) {
14329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14331 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14334 if (!SWIG_IsOK(ecode2
)) {
14335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14337 arg2
= static_cast< int >(val2
);
14342 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14348 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14352 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14353 if (!SWIG_IsOK(ecode5
)) {
14354 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14356 arg5
= static_cast< long >(val5
);
14359 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14360 if (!SWIG_IsOK(res6
)) {
14361 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14366 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14370 arg7
= wxString_in_helper(obj6
);
14371 if (arg7
== NULL
) SWIG_fail
;
14376 if (!wxPyCheckForApp()) SWIG_fail
;
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14397 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14398 PyObject
*resultobj
= 0;
14399 wxScrollBar
*result
= 0 ;
14401 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14403 if (!wxPyCheckForApp()) SWIG_fail
;
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 result
= (wxScrollBar
*)new wxScrollBar();
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14416 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
= 0;
14418 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14419 wxWindow
*arg2
= (wxWindow
*) 0 ;
14420 int arg3
= (int) -1 ;
14421 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14422 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14423 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14424 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14425 long arg6
= (long) wxSB_HORIZONTAL
;
14426 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14427 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14428 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14429 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14443 bool temp8
= false ;
14444 PyObject
* obj0
= 0 ;
14445 PyObject
* obj1
= 0 ;
14446 PyObject
* obj2
= 0 ;
14447 PyObject
* obj3
= 0 ;
14448 PyObject
* obj4
= 0 ;
14449 PyObject
* obj5
= 0 ;
14450 PyObject
* obj6
= 0 ;
14451 PyObject
* obj7
= 0 ;
14452 char * kwnames
[] = {
14453 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14458 if (!SWIG_IsOK(res1
)) {
14459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14461 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14462 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14463 if (!SWIG_IsOK(res2
)) {
14464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14466 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14469 if (!SWIG_IsOK(ecode3
)) {
14470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14472 arg3
= static_cast< int >(val3
);
14477 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14483 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14487 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14488 if (!SWIG_IsOK(ecode6
)) {
14489 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14491 arg6
= static_cast< long >(val6
);
14494 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14495 if (!SWIG_IsOK(res7
)) {
14496 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14501 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14505 arg8
= wxString_in_helper(obj7
);
14506 if (arg8
== NULL
) SWIG_fail
;
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14533 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14534 PyObject
*resultobj
= 0;
14535 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14539 PyObject
*swig_obj
[1] ;
14541 if (!args
) SWIG_fail
;
14542 swig_obj
[0] = args
;
14543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14544 if (!SWIG_IsOK(res1
)) {
14545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14547 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14550 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= SWIG_From_int(static_cast< int >(result
));
14561 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14562 PyObject
*resultobj
= 0;
14563 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14567 PyObject
*swig_obj
[1] ;
14569 if (!args
) SWIG_fail
;
14570 swig_obj
[0] = args
;
14571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14572 if (!SWIG_IsOK(res1
)) {
14573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14575 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= SWIG_From_int(static_cast< int >(result
));
14589 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14590 PyObject
*resultobj
= 0;
14591 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14595 PyObject
*swig_obj
[1] ;
14597 if (!args
) SWIG_fail
;
14598 swig_obj
[0] = args
;
14599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14600 if (!SWIG_IsOK(res1
)) {
14601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14603 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= SWIG_From_int(static_cast< int >(result
));
14617 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14618 PyObject
*resultobj
= 0;
14619 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14623 PyObject
*swig_obj
[1] ;
14625 if (!args
) SWIG_fail
;
14626 swig_obj
[0] = args
;
14627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14628 if (!SWIG_IsOK(res1
)) {
14629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14631 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= SWIG_From_int(static_cast< int >(result
));
14645 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14646 PyObject
*resultobj
= 0;
14647 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14651 PyObject
*swig_obj
[1] ;
14653 if (!args
) SWIG_fail
;
14654 swig_obj
[0] = args
;
14655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14656 if (!SWIG_IsOK(res1
)) {
14657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14659 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14663 wxPyEndAllowThreads(__tstate
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14675 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14676 PyObject
*resultobj
= 0;
14677 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 PyObject
* obj1
= 0 ;
14685 char * kwnames
[] = {
14686 (char *) "self",(char *) "viewStart", NULL
14689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14691 if (!SWIG_IsOK(res1
)) {
14692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14694 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14696 if (!SWIG_IsOK(ecode2
)) {
14697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14699 arg2
= static_cast< int >(val2
);
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14702 (arg1
)->SetThumbPosition(arg2
);
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14706 resultobj
= SWIG_Py_Void();
14713 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
= 0;
14715 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14716 SwigValueWrapper
<wxVisualAttributes
> result
;
14719 PyObject
* obj0
= 0 ;
14720 char * kwnames
[] = {
14721 (char *) "variant", NULL
14724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14726 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14727 if (!SWIG_IsOK(ecode1
)) {
14728 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14730 arg1
= static_cast< wxWindowVariant
>(val1
);
14733 if (!wxPyCheckForApp()) SWIG_fail
;
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14739 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14746 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14749 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14750 return SWIG_Py_Void();
14753 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14754 return SWIG_Python_InitShadowInstance(args
);
14757 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14758 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14763 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14764 PyObject
*pyobj
= 0;
14768 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14770 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14777 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14778 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14783 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14784 PyObject
*pyobj
= 0;
14788 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14790 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14797 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
= 0;
14799 wxWindow
*arg1
= (wxWindow
*) 0 ;
14800 int arg2
= (int) -1 ;
14801 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14802 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14803 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14804 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14805 long arg5
= (long) wxSP_HORIZONTAL
;
14806 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14807 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14808 wxSpinButton
*result
= 0 ;
14817 bool temp6
= false ;
14818 PyObject
* obj0
= 0 ;
14819 PyObject
* obj1
= 0 ;
14820 PyObject
* obj2
= 0 ;
14821 PyObject
* obj3
= 0 ;
14822 PyObject
* obj4
= 0 ;
14823 PyObject
* obj5
= 0 ;
14824 char * kwnames
[] = {
14825 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14830 if (!SWIG_IsOK(res1
)) {
14831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14833 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14836 if (!SWIG_IsOK(ecode2
)) {
14837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14839 arg2
= static_cast< int >(val2
);
14844 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14850 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14854 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14855 if (!SWIG_IsOK(ecode5
)) {
14856 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14858 arg5
= static_cast< long >(val5
);
14862 arg6
= wxString_in_helper(obj5
);
14863 if (arg6
== NULL
) SWIG_fail
;
14868 if (!wxPyCheckForApp()) SWIG_fail
;
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14871 wxPyEndAllowThreads(__tstate
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14889 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14890 PyObject
*resultobj
= 0;
14891 wxSpinButton
*result
= 0 ;
14893 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14895 if (!wxPyCheckForApp()) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (wxSpinButton
*)new wxSpinButton();
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14908 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
= 0;
14910 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14911 wxWindow
*arg2
= (wxWindow
*) 0 ;
14912 int arg3
= (int) -1 ;
14913 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14914 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14915 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14916 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14917 long arg6
= (long) wxSP_HORIZONTAL
;
14918 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14919 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14931 bool temp7
= false ;
14932 PyObject
* obj0
= 0 ;
14933 PyObject
* obj1
= 0 ;
14934 PyObject
* obj2
= 0 ;
14935 PyObject
* obj3
= 0 ;
14936 PyObject
* obj4
= 0 ;
14937 PyObject
* obj5
= 0 ;
14938 PyObject
* obj6
= 0 ;
14939 char * kwnames
[] = {
14940 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14945 if (!SWIG_IsOK(res1
)) {
14946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14948 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14949 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14950 if (!SWIG_IsOK(res2
)) {
14951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14953 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14956 if (!SWIG_IsOK(ecode3
)) {
14957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14959 arg3
= static_cast< int >(val3
);
14964 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14970 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14974 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14975 if (!SWIG_IsOK(ecode6
)) {
14976 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14978 arg6
= static_cast< long >(val6
);
14982 arg7
= wxString_in_helper(obj6
);
14983 if (arg7
== NULL
) SWIG_fail
;
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14989 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15010 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15011 PyObject
*resultobj
= 0;
15012 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15016 PyObject
*swig_obj
[1] ;
15018 if (!args
) SWIG_fail
;
15019 swig_obj
[0] = args
;
15020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15021 if (!SWIG_IsOK(res1
)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15024 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15027 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15031 resultobj
= SWIG_From_int(static_cast< int >(result
));
15038 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15039 PyObject
*resultobj
= 0;
15040 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15044 PyObject
*swig_obj
[1] ;
15046 if (!args
) SWIG_fail
;
15047 swig_obj
[0] = args
;
15048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15049 if (!SWIG_IsOK(res1
)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15052 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15059 resultobj
= SWIG_From_int(static_cast< int >(result
));
15066 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15067 PyObject
*resultobj
= 0;
15068 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15072 PyObject
*swig_obj
[1] ;
15074 if (!args
) SWIG_fail
;
15075 swig_obj
[0] = args
;
15076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15077 if (!SWIG_IsOK(res1
)) {
15078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15080 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15087 resultobj
= SWIG_From_int(static_cast< int >(result
));
15094 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
= 0;
15096 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15102 PyObject
* obj0
= 0 ;
15103 PyObject
* obj1
= 0 ;
15104 char * kwnames
[] = {
15105 (char *) "self",(char *) "val", NULL
15108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15110 if (!SWIG_IsOK(res1
)) {
15111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15113 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15115 if (!SWIG_IsOK(ecode2
)) {
15116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15118 arg2
= static_cast< int >(val2
);
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 (arg1
)->SetValue(arg2
);
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15125 resultobj
= SWIG_Py_Void();
15132 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15133 PyObject
*resultobj
= 0;
15134 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15140 PyObject
* obj0
= 0 ;
15141 PyObject
* obj1
= 0 ;
15142 char * kwnames
[] = {
15143 (char *) "self",(char *) "minVal", NULL
15146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15148 if (!SWIG_IsOK(res1
)) {
15149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15151 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15153 if (!SWIG_IsOK(ecode2
)) {
15154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15156 arg2
= static_cast< int >(val2
);
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 (arg1
)->SetMin(arg2
);
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= SWIG_Py_Void();
15170 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
= 0;
15172 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15178 PyObject
* obj0
= 0 ;
15179 PyObject
* obj1
= 0 ;
15180 char * kwnames
[] = {
15181 (char *) "self",(char *) "maxVal", NULL
15184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15186 if (!SWIG_IsOK(res1
)) {
15187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15189 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15191 if (!SWIG_IsOK(ecode2
)) {
15192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15194 arg2
= static_cast< int >(val2
);
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 (arg1
)->SetMax(arg2
);
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15201 resultobj
= SWIG_Py_Void();
15208 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
= 0;
15210 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 PyObject
* obj2
= 0 ;
15222 char * kwnames
[] = {
15223 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15228 if (!SWIG_IsOK(res1
)) {
15229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15231 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15233 if (!SWIG_IsOK(ecode2
)) {
15234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15236 arg2
= static_cast< int >(val2
);
15237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15238 if (!SWIG_IsOK(ecode3
)) {
15239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15241 arg3
= static_cast< int >(val3
);
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 (arg1
)->SetRange(arg2
,arg3
);
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= SWIG_Py_Void();
15255 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15256 PyObject
*resultobj
= 0;
15257 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15261 PyObject
*swig_obj
[1] ;
15263 if (!args
) SWIG_fail
;
15264 swig_obj
[0] = args
;
15265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15266 if (!SWIG_IsOK(res1
)) {
15267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15269 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15285 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
= 0;
15287 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15288 SwigValueWrapper
<wxVisualAttributes
> result
;
15291 PyObject
* obj0
= 0 ;
15292 char * kwnames
[] = {
15293 (char *) "variant", NULL
15296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15298 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15299 if (!SWIG_IsOK(ecode1
)) {
15300 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15302 arg1
= static_cast< wxWindowVariant
>(val1
);
15305 if (!wxPyCheckForApp()) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15311 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15318 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15321 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15322 return SWIG_Py_Void();
15325 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15326 return SWIG_Python_InitShadowInstance(args
);
15329 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
= 0;
15331 wxWindow
*arg1
= (wxWindow
*) 0 ;
15332 int arg2
= (int) -1 ;
15333 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15334 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15335 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15336 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15337 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15338 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15339 long arg6
= (long) wxSP_ARROW_KEYS
;
15340 int arg7
= (int) 0 ;
15341 int arg8
= (int) 100 ;
15342 int arg9
= (int) 0 ;
15343 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15344 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15345 wxSpinCtrl
*result
= 0 ;
15350 bool temp3
= false ;
15361 bool temp10
= false ;
15362 PyObject
* obj0
= 0 ;
15363 PyObject
* obj1
= 0 ;
15364 PyObject
* obj2
= 0 ;
15365 PyObject
* obj3
= 0 ;
15366 PyObject
* obj4
= 0 ;
15367 PyObject
* obj5
= 0 ;
15368 PyObject
* obj6
= 0 ;
15369 PyObject
* obj7
= 0 ;
15370 PyObject
* obj8
= 0 ;
15371 PyObject
* obj9
= 0 ;
15372 char * kwnames
[] = {
15373 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15378 if (!SWIG_IsOK(res1
)) {
15379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15381 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15384 if (!SWIG_IsOK(ecode2
)) {
15385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15387 arg2
= static_cast< int >(val2
);
15391 arg3
= wxString_in_helper(obj2
);
15392 if (arg3
== NULL
) SWIG_fail
;
15399 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15405 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15409 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15410 if (!SWIG_IsOK(ecode6
)) {
15411 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15413 arg6
= static_cast< long >(val6
);
15416 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15417 if (!SWIG_IsOK(ecode7
)) {
15418 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15420 arg7
= static_cast< int >(val7
);
15423 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15424 if (!SWIG_IsOK(ecode8
)) {
15425 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15427 arg8
= static_cast< int >(val8
);
15430 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15431 if (!SWIG_IsOK(ecode9
)) {
15432 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15434 arg9
= static_cast< int >(val9
);
15438 arg10
= wxString_in_helper(obj9
);
15439 if (arg10
== NULL
) SWIG_fail
;
15444 if (!wxPyCheckForApp()) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15473 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15474 PyObject
*resultobj
= 0;
15475 wxSpinCtrl
*result
= 0 ;
15477 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15479 if (!wxPyCheckForApp()) SWIG_fail
;
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15492 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
= 0;
15494 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15495 wxWindow
*arg2
= (wxWindow
*) 0 ;
15496 int arg3
= (int) -1 ;
15497 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15498 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15499 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15500 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15501 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15502 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15503 long arg7
= (long) wxSP_ARROW_KEYS
;
15504 int arg8
= (int) 0 ;
15505 int arg9
= (int) 100 ;
15506 int arg10
= (int) 0 ;
15507 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15508 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15516 bool temp4
= false ;
15527 bool temp11
= false ;
15528 PyObject
* obj0
= 0 ;
15529 PyObject
* obj1
= 0 ;
15530 PyObject
* obj2
= 0 ;
15531 PyObject
* obj3
= 0 ;
15532 PyObject
* obj4
= 0 ;
15533 PyObject
* obj5
= 0 ;
15534 PyObject
* obj6
= 0 ;
15535 PyObject
* obj7
= 0 ;
15536 PyObject
* obj8
= 0 ;
15537 PyObject
* obj9
= 0 ;
15538 PyObject
* obj10
= 0 ;
15539 char * kwnames
[] = {
15540 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15545 if (!SWIG_IsOK(res1
)) {
15546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15548 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15549 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15550 if (!SWIG_IsOK(res2
)) {
15551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15553 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15556 if (!SWIG_IsOK(ecode3
)) {
15557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15559 arg3
= static_cast< int >(val3
);
15563 arg4
= wxString_in_helper(obj3
);
15564 if (arg4
== NULL
) SWIG_fail
;
15571 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15577 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15581 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15582 if (!SWIG_IsOK(ecode7
)) {
15583 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15585 arg7
= static_cast< long >(val7
);
15588 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15589 if (!SWIG_IsOK(ecode8
)) {
15590 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15592 arg8
= static_cast< int >(val8
);
15595 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15596 if (!SWIG_IsOK(ecode9
)) {
15597 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15599 arg9
= static_cast< int >(val9
);
15602 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15603 if (!SWIG_IsOK(ecode10
)) {
15604 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15606 arg10
= static_cast< int >(val10
);
15610 arg11
= wxString_in_helper(obj10
);
15611 if (arg11
== NULL
) SWIG_fail
;
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15646 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15647 PyObject
*resultobj
= 0;
15648 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15652 PyObject
*swig_obj
[1] ;
15654 if (!args
) SWIG_fail
;
15655 swig_obj
[0] = args
;
15656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15657 if (!SWIG_IsOK(res1
)) {
15658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15660 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15667 resultobj
= SWIG_From_int(static_cast< int >(result
));
15674 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15675 PyObject
*resultobj
= 0;
15676 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15682 PyObject
* obj0
= 0 ;
15683 PyObject
* obj1
= 0 ;
15684 char * kwnames
[] = {
15685 (char *) "self",(char *) "value", NULL
15688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15690 if (!SWIG_IsOK(res1
)) {
15691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15693 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15695 if (!SWIG_IsOK(ecode2
)) {
15696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15698 arg2
= static_cast< int >(val2
);
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 (arg1
)->SetValue(arg2
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 resultobj
= SWIG_Py_Void();
15712 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
= 0;
15714 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15715 wxString
*arg2
= 0 ;
15718 bool temp2
= false ;
15719 PyObject
* obj0
= 0 ;
15720 PyObject
* obj1
= 0 ;
15721 char * kwnames
[] = {
15722 (char *) "self",(char *) "text", NULL
15725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15727 if (!SWIG_IsOK(res1
)) {
15728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15730 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15732 arg2
= wxString_in_helper(obj1
);
15733 if (arg2
== NULL
) SWIG_fail
;
15737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15738 (arg1
)->SetValue((wxString
const &)*arg2
);
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15742 resultobj
= SWIG_Py_Void();
15757 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
= 0;
15759 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15768 PyObject
* obj0
= 0 ;
15769 PyObject
* obj1
= 0 ;
15770 PyObject
* obj2
= 0 ;
15771 char * kwnames
[] = {
15772 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15777 if (!SWIG_IsOK(res1
)) {
15778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15780 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15782 if (!SWIG_IsOK(ecode2
)) {
15783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15785 arg2
= static_cast< int >(val2
);
15786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15787 if (!SWIG_IsOK(ecode3
)) {
15788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15790 arg3
= static_cast< int >(val3
);
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 (arg1
)->SetRange(arg2
,arg3
);
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= SWIG_Py_Void();
15804 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15805 PyObject
*resultobj
= 0;
15806 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15810 PyObject
*swig_obj
[1] ;
15812 if (!args
) SWIG_fail
;
15813 swig_obj
[0] = args
;
15814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15815 if (!SWIG_IsOK(res1
)) {
15816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15818 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= SWIG_From_int(static_cast< int >(result
));
15832 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15833 PyObject
*resultobj
= 0;
15834 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15838 PyObject
*swig_obj
[1] ;
15840 if (!args
) SWIG_fail
;
15841 swig_obj
[0] = args
;
15842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15843 if (!SWIG_IsOK(res1
)) {
15844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15846 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15853 resultobj
= SWIG_From_int(static_cast< int >(result
));
15860 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
= 0;
15862 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 PyObject
* obj1
= 0 ;
15873 PyObject
* obj2
= 0 ;
15874 char * kwnames
[] = {
15875 (char *) "self",(char *) "from",(char *) "to", NULL
15878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15880 if (!SWIG_IsOK(res1
)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15883 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15884 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15885 if (!SWIG_IsOK(ecode2
)) {
15886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15888 arg2
= static_cast< long >(val2
);
15889 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15890 if (!SWIG_IsOK(ecode3
)) {
15891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15893 arg3
= static_cast< long >(val3
);
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 (arg1
)->SetSelection(arg2
,arg3
);
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= SWIG_Py_Void();
15907 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15908 PyObject
*resultobj
= 0;
15909 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15910 SwigValueWrapper
<wxVisualAttributes
> result
;
15913 PyObject
* obj0
= 0 ;
15914 char * kwnames
[] = {
15915 (char *) "variant", NULL
15918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15920 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15921 if (!SWIG_IsOK(ecode1
)) {
15922 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15924 arg1
= static_cast< wxWindowVariant
>(val1
);
15927 if (!wxPyCheckForApp()) SWIG_fail
;
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15930 wxPyEndAllowThreads(__tstate
);
15931 if (PyErr_Occurred()) SWIG_fail
;
15933 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15940 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15942 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15943 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15944 return SWIG_Py_Void();
15947 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15948 return SWIG_Python_InitShadowInstance(args
);
15951 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15952 PyObject
*resultobj
= 0;
15953 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15954 int arg2
= (int) 0 ;
15955 wxSpinEvent
*result
= 0 ;
15960 PyObject
* obj0
= 0 ;
15961 PyObject
* obj1
= 0 ;
15962 char * kwnames
[] = {
15963 (char *) "commandType",(char *) "winid", NULL
15966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15968 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15969 if (!SWIG_IsOK(ecode1
)) {
15970 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15972 arg1
= static_cast< wxEventType
>(val1
);
15975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15976 if (!SWIG_IsOK(ecode2
)) {
15977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15979 arg2
= static_cast< int >(val2
);
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15983 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15994 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15995 PyObject
*resultobj
= 0;
15996 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16000 PyObject
*swig_obj
[1] ;
16002 if (!args
) SWIG_fail
;
16003 swig_obj
[0] = args
;
16004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16005 if (!SWIG_IsOK(res1
)) {
16006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16008 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16011 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 resultobj
= SWIG_From_int(static_cast< int >(result
));
16022 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
= 0;
16024 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16030 PyObject
* obj0
= 0 ;
16031 PyObject
* obj1
= 0 ;
16032 char * kwnames
[] = {
16033 (char *) "self",(char *) "pos", NULL
16036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16038 if (!SWIG_IsOK(res1
)) {
16039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16041 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16043 if (!SWIG_IsOK(ecode2
)) {
16044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16046 arg2
= static_cast< int >(val2
);
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 (arg1
)->SetPosition(arg2
);
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16053 resultobj
= SWIG_Py_Void();
16060 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16063 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16064 return SWIG_Py_Void();
16067 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16068 return SWIG_Python_InitShadowInstance(args
);
16071 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16072 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16077 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16078 PyObject
*pyobj
= 0;
16082 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16084 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16091 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16092 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16097 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16098 PyObject
*pyobj
= 0;
16102 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16104 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16111 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16112 PyObject
*resultobj
= 0;
16113 wxWindow
*arg1
= (wxWindow
*) 0 ;
16114 int arg2
= (int) -1 ;
16115 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16116 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16117 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16118 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16119 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16120 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16121 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16122 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16123 int arg7
= (int) 0 ;
16124 long arg8
= (long) wxRA_HORIZONTAL
;
16125 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16126 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16127 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16128 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16129 wxRadioBox
*result
= 0 ;
16134 bool temp3
= false ;
16137 bool temp6
= false ;
16144 bool temp10
= false ;
16145 PyObject
* obj0
= 0 ;
16146 PyObject
* obj1
= 0 ;
16147 PyObject
* obj2
= 0 ;
16148 PyObject
* obj3
= 0 ;
16149 PyObject
* obj4
= 0 ;
16150 PyObject
* obj5
= 0 ;
16151 PyObject
* obj6
= 0 ;
16152 PyObject
* obj7
= 0 ;
16153 PyObject
* obj8
= 0 ;
16154 PyObject
* obj9
= 0 ;
16155 char * kwnames
[] = {
16156 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16161 if (!SWIG_IsOK(res1
)) {
16162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16164 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16167 if (!SWIG_IsOK(ecode2
)) {
16168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16170 arg2
= static_cast< int >(val2
);
16174 arg3
= wxString_in_helper(obj2
);
16175 if (arg3
== NULL
) SWIG_fail
;
16182 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16188 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16193 if (! PySequence_Check(obj5
)) {
16194 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16197 arg6
= new wxArrayString
;
16199 int i
, len
=PySequence_Length(obj5
);
16200 for (i
=0; i
<len
; i
++) {
16201 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16202 wxString
* s
= wxString_in_helper(item
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16211 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16212 if (!SWIG_IsOK(ecode7
)) {
16213 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16215 arg7
= static_cast< int >(val7
);
16218 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16219 if (!SWIG_IsOK(ecode8
)) {
16220 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16222 arg8
= static_cast< long >(val8
);
16225 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16226 if (!SWIG_IsOK(res9
)) {
16227 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16232 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16236 arg10
= wxString_in_helper(obj9
);
16237 if (arg10
== NULL
) SWIG_fail
;
16242 if (!wxPyCheckForApp()) SWIG_fail
;
16243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16244 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
);
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16254 if (temp6
) delete arg6
;
16267 if (temp6
) delete arg6
;
16277 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16278 PyObject
*resultobj
= 0;
16279 wxRadioBox
*result
= 0 ;
16281 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16283 if (!wxPyCheckForApp()) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 result
= (wxRadioBox
*)new wxRadioBox();
16286 wxPyEndAllowThreads(__tstate
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16296 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16297 PyObject
*resultobj
= 0;
16298 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16299 wxWindow
*arg2
= (wxWindow
*) 0 ;
16300 int arg3
= (int) -1 ;
16301 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16302 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16303 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16304 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16305 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16306 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16307 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16308 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16309 int arg8
= (int) 0 ;
16310 long arg9
= (long) wxRA_HORIZONTAL
;
16311 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16312 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16313 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16314 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16322 bool temp4
= false ;
16325 bool temp7
= false ;
16332 bool temp11
= false ;
16333 PyObject
* obj0
= 0 ;
16334 PyObject
* obj1
= 0 ;
16335 PyObject
* obj2
= 0 ;
16336 PyObject
* obj3
= 0 ;
16337 PyObject
* obj4
= 0 ;
16338 PyObject
* obj5
= 0 ;
16339 PyObject
* obj6
= 0 ;
16340 PyObject
* obj7
= 0 ;
16341 PyObject
* obj8
= 0 ;
16342 PyObject
* obj9
= 0 ;
16343 PyObject
* obj10
= 0 ;
16344 char * kwnames
[] = {
16345 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16350 if (!SWIG_IsOK(res1
)) {
16351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16353 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16354 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16355 if (!SWIG_IsOK(res2
)) {
16356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16358 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16360 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16361 if (!SWIG_IsOK(ecode3
)) {
16362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16364 arg3
= static_cast< int >(val3
);
16368 arg4
= wxString_in_helper(obj3
);
16369 if (arg4
== NULL
) SWIG_fail
;
16376 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16382 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16387 if (! PySequence_Check(obj6
)) {
16388 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16391 arg7
= new wxArrayString
;
16393 int i
, len
=PySequence_Length(obj6
);
16394 for (i
=0; i
<len
; i
++) {
16395 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16396 wxString
* s
= wxString_in_helper(item
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16405 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16406 if (!SWIG_IsOK(ecode8
)) {
16407 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16409 arg8
= static_cast< int >(val8
);
16412 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16413 if (!SWIG_IsOK(ecode9
)) {
16414 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16416 arg9
= static_cast< long >(val9
);
16419 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16420 if (!SWIG_IsOK(res10
)) {
16421 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16426 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16430 arg11
= wxString_in_helper(obj10
);
16431 if (arg11
== NULL
) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 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
);
16438 wxPyEndAllowThreads(__tstate
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16449 if (temp7
) delete arg7
;
16462 if (temp7
) delete arg7
;
16472 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16473 PyObject
*resultobj
= 0;
16474 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16480 PyObject
* obj0
= 0 ;
16481 PyObject
* obj1
= 0 ;
16482 char * kwnames
[] = {
16483 (char *) "self",(char *) "n", NULL
16486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16488 if (!SWIG_IsOK(res1
)) {
16489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16491 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16493 if (!SWIG_IsOK(ecode2
)) {
16494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16496 arg2
= static_cast< int >(val2
);
16498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 (arg1
)->SetSelection(arg2
);
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16503 resultobj
= SWIG_Py_Void();
16510 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16511 PyObject
*resultobj
= 0;
16512 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16516 PyObject
*swig_obj
[1] ;
16518 if (!args
) SWIG_fail
;
16519 swig_obj
[0] = args
;
16520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16521 if (!SWIG_IsOK(res1
)) {
16522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16524 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= SWIG_From_int(static_cast< int >(result
));
16538 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16539 PyObject
*resultobj
= 0;
16540 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16544 PyObject
*swig_obj
[1] ;
16546 if (!args
) SWIG_fail
;
16547 swig_obj
[0] = args
;
16548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16549 if (!SWIG_IsOK(res1
)) {
16550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16552 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16572 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
= 0;
16574 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16575 wxString
*arg2
= 0 ;
16579 bool temp2
= false ;
16580 PyObject
* obj0
= 0 ;
16581 PyObject
* obj1
= 0 ;
16582 char * kwnames
[] = {
16583 (char *) "self",(char *) "s", NULL
16586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16588 if (!SWIG_IsOK(res1
)) {
16589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16591 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16593 arg2
= wxString_in_helper(obj1
);
16594 if (arg2
== NULL
) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16620 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16621 PyObject
*resultobj
= 0;
16622 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16626 PyObject
*swig_obj
[1] ;
16628 if (!args
) SWIG_fail
;
16629 swig_obj
[0] = args
;
16630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16631 if (!SWIG_IsOK(res1
)) {
16632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16634 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16648 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
= 0;
16650 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16651 wxString
*arg2
= 0 ;
16655 bool temp2
= false ;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 char * kwnames
[] = {
16659 (char *) "self",(char *) "s", NULL
16662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16664 if (!SWIG_IsOK(res1
)) {
16665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16667 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16669 arg2
= wxString_in_helper(obj1
);
16670 if (arg2
== NULL
) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= SWIG_From_int(static_cast< int >(result
));
16694 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
= 0;
16696 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16703 PyObject
* obj0
= 0 ;
16704 PyObject
* obj1
= 0 ;
16705 char * kwnames
[] = {
16706 (char *) "self",(char *) "n", NULL
16709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16711 if (!SWIG_IsOK(res1
)) {
16712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16714 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16716 if (!SWIG_IsOK(ecode2
)) {
16717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16719 arg2
= static_cast< int >(val2
);
16721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16722 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16723 wxPyEndAllowThreads(__tstate
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16739 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16740 PyObject
*resultobj
= 0;
16741 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16743 wxString
*arg3
= 0 ;
16748 bool temp3
= false ;
16749 PyObject
* obj0
= 0 ;
16750 PyObject
* obj1
= 0 ;
16751 PyObject
* obj2
= 0 ;
16752 char * kwnames
[] = {
16753 (char *) "self",(char *) "n",(char *) "label", NULL
16756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16758 if (!SWIG_IsOK(res1
)) {
16759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16761 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16763 if (!SWIG_IsOK(ecode2
)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16766 arg2
= static_cast< int >(val2
);
16768 arg3
= wxString_in_helper(obj2
);
16769 if (arg3
== NULL
) SWIG_fail
;
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16778 resultobj
= SWIG_Py_Void();
16793 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16794 PyObject
*resultobj
= 0;
16795 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16796 unsigned int arg2
;
16797 bool arg3
= (bool) true ;
16800 unsigned int val2
;
16804 PyObject
* obj0
= 0 ;
16805 PyObject
* obj1
= 0 ;
16806 PyObject
* obj2
= 0 ;
16807 char * kwnames
[] = {
16808 (char *) "self",(char *) "n",(char *) "enable", NULL
16811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16813 if (!SWIG_IsOK(res1
)) {
16814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16816 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16817 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16818 if (!SWIG_IsOK(ecode2
)) {
16819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16821 arg2
= static_cast< unsigned int >(val2
);
16823 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16824 if (!SWIG_IsOK(ecode3
)) {
16825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16827 arg3
= static_cast< bool >(val3
);
16830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16831 (arg1
)->Enable(arg2
,arg3
);
16832 wxPyEndAllowThreads(__tstate
);
16833 if (PyErr_Occurred()) SWIG_fail
;
16835 resultobj
= SWIG_Py_Void();
16842 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
= 0;
16844 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16845 unsigned int arg2
;
16846 bool arg3
= (bool) true ;
16849 unsigned int val2
;
16853 PyObject
* obj0
= 0 ;
16854 PyObject
* obj1
= 0 ;
16855 PyObject
* obj2
= 0 ;
16856 char * kwnames
[] = {
16857 (char *) "self",(char *) "n",(char *) "show", NULL
16860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16862 if (!SWIG_IsOK(res1
)) {
16863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16865 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16866 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16867 if (!SWIG_IsOK(ecode2
)) {
16868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16870 arg2
= static_cast< unsigned int >(val2
);
16872 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16873 if (!SWIG_IsOK(ecode3
)) {
16874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16876 arg3
= static_cast< bool >(val3
);
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16880 (arg1
)->Show(arg2
,arg3
);
16881 wxPyEndAllowThreads(__tstate
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16884 resultobj
= SWIG_Py_Void();
16891 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16892 PyObject
*resultobj
= 0;
16893 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16894 unsigned int arg2
;
16898 unsigned int val2
;
16900 PyObject
* obj0
= 0 ;
16901 PyObject
* obj1
= 0 ;
16902 char * kwnames
[] = {
16903 (char *) "self",(char *) "n", NULL
16906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16908 if (!SWIG_IsOK(res1
)) {
16909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16911 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16912 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16913 if (!SWIG_IsOK(ecode2
)) {
16914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16916 arg2
= static_cast< unsigned int >(val2
);
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16932 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
= 0;
16934 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16935 unsigned int arg2
;
16939 unsigned int val2
;
16941 PyObject
* obj0
= 0 ;
16942 PyObject
* obj1
= 0 ;
16943 char * kwnames
[] = {
16944 (char *) "self",(char *) "n", NULL
16947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16949 if (!SWIG_IsOK(res1
)) {
16950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16952 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16953 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16954 if (!SWIG_IsOK(ecode2
)) {
16955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16957 arg2
= static_cast< unsigned int >(val2
);
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16973 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16974 PyObject
*resultobj
= 0;
16975 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16976 unsigned int result
;
16979 PyObject
*swig_obj
[1] ;
16981 if (!args
) SWIG_fail
;
16982 swig_obj
[0] = args
;
16983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16984 if (!SWIG_IsOK(res1
)) {
16985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16987 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16990 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16991 wxPyEndAllowThreads(__tstate
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16994 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17001 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17002 PyObject
*resultobj
= 0;
17003 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17004 unsigned int result
;
17007 PyObject
*swig_obj
[1] ;
17009 if (!args
) SWIG_fail
;
17010 swig_obj
[0] = args
;
17011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17012 if (!SWIG_IsOK(res1
)) {
17013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17015 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17022 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17029 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
= 0;
17031 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17044 PyObject
* obj0
= 0 ;
17045 PyObject
* obj1
= 0 ;
17046 PyObject
* obj2
= 0 ;
17047 PyObject
* obj3
= 0 ;
17048 char * kwnames
[] = {
17049 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17054 if (!SWIG_IsOK(res1
)) {
17055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17057 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17059 if (!SWIG_IsOK(ecode2
)) {
17060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17062 arg2
= static_cast< int >(val2
);
17063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17064 if (!SWIG_IsOK(ecode3
)) {
17065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17067 arg3
= static_cast< wxDirection
>(val3
);
17068 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17069 if (!SWIG_IsOK(ecode4
)) {
17070 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17072 arg4
= static_cast< long >(val4
);
17074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17075 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17079 resultobj
= SWIG_From_int(static_cast< int >(result
));
17086 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
= 0;
17088 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17089 unsigned int arg2
;
17090 wxString
*arg3
= 0 ;
17093 unsigned int val2
;
17095 bool temp3
= false ;
17096 PyObject
* obj0
= 0 ;
17097 PyObject
* obj1
= 0 ;
17098 PyObject
* obj2
= 0 ;
17099 char * kwnames
[] = {
17100 (char *) "self",(char *) "item",(char *) "text", NULL
17103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17105 if (!SWIG_IsOK(res1
)) {
17106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17108 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17109 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17110 if (!SWIG_IsOK(ecode2
)) {
17111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17113 arg2
= static_cast< unsigned int >(val2
);
17115 arg3
= wxString_in_helper(obj2
);
17116 if (arg3
== NULL
) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 resultobj
= SWIG_Py_Void();
17140 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
= 0;
17142 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17143 unsigned int arg2
;
17144 wxToolTip
*result
= 0 ;
17147 unsigned int val2
;
17149 PyObject
* obj0
= 0 ;
17150 PyObject
* obj1
= 0 ;
17151 char * kwnames
[] = {
17152 (char *) "self",(char *) "item", NULL
17155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17157 if (!SWIG_IsOK(res1
)) {
17158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17160 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17161 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17162 if (!SWIG_IsOK(ecode2
)) {
17163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17165 arg2
= static_cast< unsigned int >(val2
);
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17173 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17181 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17182 PyObject
*resultobj
= 0;
17183 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17184 unsigned int arg2
;
17185 wxString
*arg3
= 0 ;
17188 unsigned int val2
;
17190 bool temp3
= false ;
17191 PyObject
* obj0
= 0 ;
17192 PyObject
* obj1
= 0 ;
17193 PyObject
* obj2
= 0 ;
17194 char * kwnames
[] = {
17195 (char *) "self",(char *) "n",(char *) "helpText", NULL
17198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17200 if (!SWIG_IsOK(res1
)) {
17201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17203 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17204 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17205 if (!SWIG_IsOK(ecode2
)) {
17206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17208 arg2
= static_cast< unsigned int >(val2
);
17210 arg3
= wxString_in_helper(obj2
);
17211 if (arg3
== NULL
) SWIG_fail
;
17215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17216 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17220 resultobj
= SWIG_Py_Void();
17235 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
= 0;
17237 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17238 unsigned int arg2
;
17242 unsigned int val2
;
17244 PyObject
* obj0
= 0 ;
17245 PyObject
* obj1
= 0 ;
17246 char * kwnames
[] = {
17247 (char *) "self",(char *) "n", NULL
17250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17252 if (!SWIG_IsOK(res1
)) {
17253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17255 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17256 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17257 if (!SWIG_IsOK(ecode2
)) {
17258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17260 arg2
= static_cast< unsigned int >(val2
);
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17280 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
= 0;
17282 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17283 SwigValueWrapper
<wxVisualAttributes
> result
;
17286 PyObject
* obj0
= 0 ;
17287 char * kwnames
[] = {
17288 (char *) "variant", NULL
17291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17293 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17294 if (!SWIG_IsOK(ecode1
)) {
17295 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17297 arg1
= static_cast< wxWindowVariant
>(val1
);
17300 if (!wxPyCheckForApp()) SWIG_fail
;
17301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17302 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17303 wxPyEndAllowThreads(__tstate
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17306 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17313 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17315 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17316 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17317 return SWIG_Py_Void();
17320 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17321 return SWIG_Python_InitShadowInstance(args
);
17324 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
= 0;
17326 wxWindow
*arg1
= (wxWindow
*) 0 ;
17327 int arg2
= (int) -1 ;
17328 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17329 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17330 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17331 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17332 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17333 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17334 long arg6
= (long) 0 ;
17335 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17336 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17337 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17338 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17339 wxRadioButton
*result
= 0 ;
17344 bool temp3
= false ;
17351 bool temp8
= false ;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 PyObject
* obj2
= 0 ;
17355 PyObject
* obj3
= 0 ;
17356 PyObject
* obj4
= 0 ;
17357 PyObject
* obj5
= 0 ;
17358 PyObject
* obj6
= 0 ;
17359 PyObject
* obj7
= 0 ;
17360 char * kwnames
[] = {
17361 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17366 if (!SWIG_IsOK(res1
)) {
17367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17369 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17372 if (!SWIG_IsOK(ecode2
)) {
17373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17375 arg2
= static_cast< int >(val2
);
17379 arg3
= wxString_in_helper(obj2
);
17380 if (arg3
== NULL
) SWIG_fail
;
17387 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17393 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17397 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17398 if (!SWIG_IsOK(ecode6
)) {
17399 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17401 arg6
= static_cast< long >(val6
);
17404 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17405 if (!SWIG_IsOK(res7
)) {
17406 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17411 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17415 arg8
= wxString_in_helper(obj7
);
17416 if (arg8
== NULL
) SWIG_fail
;
17421 if (!wxPyCheckForApp()) SWIG_fail
;
17422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17423 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17424 wxPyEndAllowThreads(__tstate
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17450 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17451 PyObject
*resultobj
= 0;
17452 wxRadioButton
*result
= 0 ;
17454 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17456 if (!wxPyCheckForApp()) SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 result
= (wxRadioButton
*)new wxRadioButton();
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17469 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17470 PyObject
*resultobj
= 0;
17471 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17472 wxWindow
*arg2
= (wxWindow
*) 0 ;
17473 int arg3
= (int) -1 ;
17474 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17475 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17476 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17477 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17478 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17479 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17480 long arg7
= (long) 0 ;
17481 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17482 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17483 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17484 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17492 bool temp4
= false ;
17499 bool temp9
= false ;
17500 PyObject
* obj0
= 0 ;
17501 PyObject
* obj1
= 0 ;
17502 PyObject
* obj2
= 0 ;
17503 PyObject
* obj3
= 0 ;
17504 PyObject
* obj4
= 0 ;
17505 PyObject
* obj5
= 0 ;
17506 PyObject
* obj6
= 0 ;
17507 PyObject
* obj7
= 0 ;
17508 PyObject
* obj8
= 0 ;
17509 char * kwnames
[] = {
17510 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17515 if (!SWIG_IsOK(res1
)) {
17516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17518 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17520 if (!SWIG_IsOK(res2
)) {
17521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17523 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17526 if (!SWIG_IsOK(ecode3
)) {
17527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17529 arg3
= static_cast< int >(val3
);
17533 arg4
= wxString_in_helper(obj3
);
17534 if (arg4
== NULL
) SWIG_fail
;
17541 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17547 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17551 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17552 if (!SWIG_IsOK(ecode7
)) {
17553 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17555 arg7
= static_cast< long >(val7
);
17558 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17559 if (!SWIG_IsOK(res8
)) {
17560 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17565 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17569 arg9
= wxString_in_helper(obj8
);
17570 if (arg9
== NULL
) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17577 wxPyEndAllowThreads(__tstate
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17605 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17606 PyObject
*resultobj
= 0;
17607 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17611 PyObject
*swig_obj
[1] ;
17613 if (!args
) SWIG_fail
;
17614 swig_obj
[0] = args
;
17615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17616 if (!SWIG_IsOK(res1
)) {
17617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17619 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 result
= (bool)(arg1
)->GetValue();
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17635 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17636 PyObject
*resultobj
= 0;
17637 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17643 PyObject
* obj0
= 0 ;
17644 PyObject
* obj1
= 0 ;
17645 char * kwnames
[] = {
17646 (char *) "self",(char *) "value", NULL
17649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17651 if (!SWIG_IsOK(res1
)) {
17652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17654 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17655 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17656 if (!SWIG_IsOK(ecode2
)) {
17657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17659 arg2
= static_cast< bool >(val2
);
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 (arg1
)->SetValue(arg2
);
17663 wxPyEndAllowThreads(__tstate
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17666 resultobj
= SWIG_Py_Void();
17673 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17674 PyObject
*resultobj
= 0;
17675 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17676 SwigValueWrapper
<wxVisualAttributes
> result
;
17679 PyObject
* obj0
= 0 ;
17680 char * kwnames
[] = {
17681 (char *) "variant", NULL
17684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17686 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17687 if (!SWIG_IsOK(ecode1
)) {
17688 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17690 arg1
= static_cast< wxWindowVariant
>(val1
);
17693 if (!wxPyCheckForApp()) SWIG_fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17699 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17706 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17708 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17709 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17710 return SWIG_Py_Void();
17713 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17714 return SWIG_Python_InitShadowInstance(args
);
17717 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17718 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17723 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17724 PyObject
*pyobj
= 0;
17728 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17730 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17737 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
= 0;
17739 wxWindow
*arg1
= (wxWindow
*) 0 ;
17740 int arg2
= (int) -1 ;
17741 int arg3
= (int) 0 ;
17742 int arg4
= (int) 0 ;
17743 int arg5
= (int) 100 ;
17744 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17745 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17746 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17747 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17748 long arg8
= (long) wxSL_HORIZONTAL
;
17749 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17750 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17751 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17752 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17753 wxSlider
*result
= 0 ;
17770 bool temp10
= false ;
17771 PyObject
* obj0
= 0 ;
17772 PyObject
* obj1
= 0 ;
17773 PyObject
* obj2
= 0 ;
17774 PyObject
* obj3
= 0 ;
17775 PyObject
* obj4
= 0 ;
17776 PyObject
* obj5
= 0 ;
17777 PyObject
* obj6
= 0 ;
17778 PyObject
* obj7
= 0 ;
17779 PyObject
* obj8
= 0 ;
17780 PyObject
* obj9
= 0 ;
17781 char * kwnames
[] = {
17782 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17787 if (!SWIG_IsOK(res1
)) {
17788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17790 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17793 if (!SWIG_IsOK(ecode2
)) {
17794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17796 arg2
= static_cast< int >(val2
);
17799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17800 if (!SWIG_IsOK(ecode3
)) {
17801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17803 arg3
= static_cast< int >(val3
);
17806 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17807 if (!SWIG_IsOK(ecode4
)) {
17808 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17810 arg4
= static_cast< int >(val4
);
17813 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17814 if (!SWIG_IsOK(ecode5
)) {
17815 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17817 arg5
= static_cast< int >(val5
);
17822 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17828 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17832 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17833 if (!SWIG_IsOK(ecode8
)) {
17834 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17836 arg8
= static_cast< long >(val8
);
17839 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17840 if (!SWIG_IsOK(res9
)) {
17841 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17846 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17850 arg10
= wxString_in_helper(obj9
);
17851 if (arg10
== NULL
) SWIG_fail
;
17856 if (!wxPyCheckForApp()) SWIG_fail
;
17857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17858 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17877 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17878 PyObject
*resultobj
= 0;
17879 wxSlider
*result
= 0 ;
17881 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17883 if (!wxPyCheckForApp()) SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 result
= (wxSlider
*)new wxSlider();
17886 wxPyEndAllowThreads(__tstate
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17896 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17897 PyObject
*resultobj
= 0;
17898 wxSlider
*arg1
= (wxSlider
*) 0 ;
17899 wxWindow
*arg2
= (wxWindow
*) 0 ;
17900 int arg3
= (int) -1 ;
17901 int arg4
= (int) 0 ;
17902 int arg5
= (int) 0 ;
17903 int arg6
= (int) 100 ;
17904 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17905 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17906 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17907 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17908 long arg9
= (long) wxSL_HORIZONTAL
;
17909 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17910 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17911 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17912 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17932 bool temp11
= false ;
17933 PyObject
* obj0
= 0 ;
17934 PyObject
* obj1
= 0 ;
17935 PyObject
* obj2
= 0 ;
17936 PyObject
* obj3
= 0 ;
17937 PyObject
* obj4
= 0 ;
17938 PyObject
* obj5
= 0 ;
17939 PyObject
* obj6
= 0 ;
17940 PyObject
* obj7
= 0 ;
17941 PyObject
* obj8
= 0 ;
17942 PyObject
* obj9
= 0 ;
17943 PyObject
* obj10
= 0 ;
17944 char * kwnames
[] = {
17945 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17950 if (!SWIG_IsOK(res1
)) {
17951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17953 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17954 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17955 if (!SWIG_IsOK(res2
)) {
17956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17958 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17960 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17961 if (!SWIG_IsOK(ecode3
)) {
17962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17964 arg3
= static_cast< int >(val3
);
17967 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17968 if (!SWIG_IsOK(ecode4
)) {
17969 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17971 arg4
= static_cast< int >(val4
);
17974 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17975 if (!SWIG_IsOK(ecode5
)) {
17976 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17978 arg5
= static_cast< int >(val5
);
17981 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17982 if (!SWIG_IsOK(ecode6
)) {
17983 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17985 arg6
= static_cast< int >(val6
);
17990 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17996 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
18000 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
18001 if (!SWIG_IsOK(ecode9
)) {
18002 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18004 arg9
= static_cast< long >(val9
);
18007 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
18008 if (!SWIG_IsOK(res10
)) {
18009 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18014 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
18018 arg11
= wxString_in_helper(obj10
);
18019 if (arg11
== NULL
) SWIG_fail
;
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18046 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18047 PyObject
*resultobj
= 0;
18048 wxSlider
*arg1
= (wxSlider
*) 0 ;
18052 PyObject
*swig_obj
[1] ;
18054 if (!args
) SWIG_fail
;
18055 swig_obj
[0] = args
;
18056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18057 if (!SWIG_IsOK(res1
)) {
18058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18060 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18063 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18064 wxPyEndAllowThreads(__tstate
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18067 resultobj
= SWIG_From_int(static_cast< int >(result
));
18074 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18075 PyObject
*resultobj
= 0;
18076 wxSlider
*arg1
= (wxSlider
*) 0 ;
18082 PyObject
* obj0
= 0 ;
18083 PyObject
* obj1
= 0 ;
18084 char * kwnames
[] = {
18085 (char *) "self",(char *) "value", NULL
18088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18090 if (!SWIG_IsOK(res1
)) {
18091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18093 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18095 if (!SWIG_IsOK(ecode2
)) {
18096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18098 arg2
= static_cast< int >(val2
);
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 (arg1
)->SetValue(arg2
);
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= SWIG_Py_Void();
18112 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
= 0;
18114 wxSlider
*arg1
= (wxSlider
*) 0 ;
18123 PyObject
* obj0
= 0 ;
18124 PyObject
* obj1
= 0 ;
18125 PyObject
* obj2
= 0 ;
18126 char * kwnames
[] = {
18127 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18132 if (!SWIG_IsOK(res1
)) {
18133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18135 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18137 if (!SWIG_IsOK(ecode2
)) {
18138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18140 arg2
= static_cast< int >(val2
);
18141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18142 if (!SWIG_IsOK(ecode3
)) {
18143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18145 arg3
= static_cast< int >(val3
);
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 (arg1
)->SetRange(arg2
,arg3
);
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= SWIG_Py_Void();
18159 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18160 PyObject
*resultobj
= 0;
18161 wxSlider
*arg1
= (wxSlider
*) 0 ;
18165 PyObject
*swig_obj
[1] ;
18167 if (!args
) SWIG_fail
;
18168 swig_obj
[0] = args
;
18169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18170 if (!SWIG_IsOK(res1
)) {
18171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18173 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18180 resultobj
= SWIG_From_int(static_cast< int >(result
));
18187 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18188 PyObject
*resultobj
= 0;
18189 wxSlider
*arg1
= (wxSlider
*) 0 ;
18193 PyObject
*swig_obj
[1] ;
18195 if (!args
) SWIG_fail
;
18196 swig_obj
[0] = args
;
18197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18198 if (!SWIG_IsOK(res1
)) {
18199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18201 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 resultobj
= SWIG_From_int(static_cast< int >(result
));
18215 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
= 0;
18217 wxSlider
*arg1
= (wxSlider
*) 0 ;
18223 PyObject
* obj0
= 0 ;
18224 PyObject
* obj1
= 0 ;
18225 char * kwnames
[] = {
18226 (char *) "self",(char *) "minValue", NULL
18229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18231 if (!SWIG_IsOK(res1
)) {
18232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18234 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18236 if (!SWIG_IsOK(ecode2
)) {
18237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18239 arg2
= static_cast< int >(val2
);
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 (arg1
)->SetMin(arg2
);
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= SWIG_Py_Void();
18253 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
= 0;
18255 wxSlider
*arg1
= (wxSlider
*) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 PyObject
* obj1
= 0 ;
18263 char * kwnames
[] = {
18264 (char *) "self",(char *) "maxValue", NULL
18267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18269 if (!SWIG_IsOK(res1
)) {
18270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18272 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18274 if (!SWIG_IsOK(ecode2
)) {
18275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18277 arg2
= static_cast< int >(val2
);
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 (arg1
)->SetMax(arg2
);
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 resultobj
= SWIG_Py_Void();
18291 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
= 0;
18293 wxSlider
*arg1
= (wxSlider
*) 0 ;
18299 PyObject
* obj0
= 0 ;
18300 PyObject
* obj1
= 0 ;
18301 char * kwnames
[] = {
18302 (char *) "self",(char *) "lineSize", NULL
18305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18307 if (!SWIG_IsOK(res1
)) {
18308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18310 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18312 if (!SWIG_IsOK(ecode2
)) {
18313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18315 arg2
= static_cast< int >(val2
);
18317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18318 (arg1
)->SetLineSize(arg2
);
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 resultobj
= SWIG_Py_Void();
18329 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
= 0;
18331 wxSlider
*arg1
= (wxSlider
*) 0 ;
18337 PyObject
* obj0
= 0 ;
18338 PyObject
* obj1
= 0 ;
18339 char * kwnames
[] = {
18340 (char *) "self",(char *) "pageSize", NULL
18343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18345 if (!SWIG_IsOK(res1
)) {
18346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18348 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18350 if (!SWIG_IsOK(ecode2
)) {
18351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18353 arg2
= static_cast< int >(val2
);
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 (arg1
)->SetPageSize(arg2
);
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 resultobj
= SWIG_Py_Void();
18367 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18368 PyObject
*resultobj
= 0;
18369 wxSlider
*arg1
= (wxSlider
*) 0 ;
18373 PyObject
*swig_obj
[1] ;
18375 if (!args
) SWIG_fail
;
18376 swig_obj
[0] = args
;
18377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18378 if (!SWIG_IsOK(res1
)) {
18379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18381 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 resultobj
= SWIG_From_int(static_cast< int >(result
));
18395 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18396 PyObject
*resultobj
= 0;
18397 wxSlider
*arg1
= (wxSlider
*) 0 ;
18401 PyObject
*swig_obj
[1] ;
18403 if (!args
) SWIG_fail
;
18404 swig_obj
[0] = args
;
18405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18406 if (!SWIG_IsOK(res1
)) {
18407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18409 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18413 wxPyEndAllowThreads(__tstate
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18416 resultobj
= SWIG_From_int(static_cast< int >(result
));
18423 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
= 0;
18425 wxSlider
*arg1
= (wxSlider
*) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 PyObject
* obj1
= 0 ;
18433 char * kwnames
[] = {
18434 (char *) "self",(char *) "lenPixels", NULL
18437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18439 if (!SWIG_IsOK(res1
)) {
18440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18442 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18444 if (!SWIG_IsOK(ecode2
)) {
18445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18447 arg2
= static_cast< int >(val2
);
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 (arg1
)->SetThumbLength(arg2
);
18451 wxPyEndAllowThreads(__tstate
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18454 resultobj
= SWIG_Py_Void();
18461 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18462 PyObject
*resultobj
= 0;
18463 wxSlider
*arg1
= (wxSlider
*) 0 ;
18467 PyObject
*swig_obj
[1] ;
18469 if (!args
) SWIG_fail
;
18470 swig_obj
[0] = args
;
18471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18472 if (!SWIG_IsOK(res1
)) {
18473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18475 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= SWIG_From_int(static_cast< int >(result
));
18489 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
= 0;
18491 wxSlider
*arg1
= (wxSlider
*) 0 ;
18493 int arg3
= (int) 1 ;
18500 PyObject
* obj0
= 0 ;
18501 PyObject
* obj1
= 0 ;
18502 PyObject
* obj2
= 0 ;
18503 char * kwnames
[] = {
18504 (char *) "self",(char *) "n",(char *) "pos", NULL
18507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18509 if (!SWIG_IsOK(res1
)) {
18510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18512 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18514 if (!SWIG_IsOK(ecode2
)) {
18515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18517 arg2
= static_cast< int >(val2
);
18519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18520 if (!SWIG_IsOK(ecode3
)) {
18521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18523 arg3
= static_cast< int >(val3
);
18526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 (arg1
)->SetTickFreq(arg2
,arg3
);
18528 wxPyEndAllowThreads(__tstate
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18531 resultobj
= SWIG_Py_Void();
18538 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18539 PyObject
*resultobj
= 0;
18540 wxSlider
*arg1
= (wxSlider
*) 0 ;
18544 PyObject
*swig_obj
[1] ;
18546 if (!args
) SWIG_fail
;
18547 swig_obj
[0] = args
;
18548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18549 if (!SWIG_IsOK(res1
)) {
18550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18552 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18555 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18559 resultobj
= SWIG_From_int(static_cast< int >(result
));
18566 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18567 PyObject
*resultobj
= 0;
18568 wxSlider
*arg1
= (wxSlider
*) 0 ;
18571 PyObject
*swig_obj
[1] ;
18573 if (!args
) SWIG_fail
;
18574 swig_obj
[0] = args
;
18575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18576 if (!SWIG_IsOK(res1
)) {
18577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18579 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 (arg1
)->ClearTicks();
18583 wxPyEndAllowThreads(__tstate
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18586 resultobj
= SWIG_Py_Void();
18593 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18594 PyObject
*resultobj
= 0;
18595 wxSlider
*arg1
= (wxSlider
*) 0 ;
18601 PyObject
* obj0
= 0 ;
18602 PyObject
* obj1
= 0 ;
18603 char * kwnames
[] = {
18604 (char *) "self",(char *) "tickPos", NULL
18607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18609 if (!SWIG_IsOK(res1
)) {
18610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18612 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18614 if (!SWIG_IsOK(ecode2
)) {
18615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18617 arg2
= static_cast< int >(val2
);
18619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18620 (arg1
)->SetTick(arg2
);
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= SWIG_Py_Void();
18631 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18632 PyObject
*resultobj
= 0;
18633 wxSlider
*arg1
= (wxSlider
*) 0 ;
18636 PyObject
*swig_obj
[1] ;
18638 if (!args
) SWIG_fail
;
18639 swig_obj
[0] = args
;
18640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18641 if (!SWIG_IsOK(res1
)) {
18642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18644 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 (arg1
)->ClearSel();
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= SWIG_Py_Void();
18658 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18659 PyObject
*resultobj
= 0;
18660 wxSlider
*arg1
= (wxSlider
*) 0 ;
18664 PyObject
*swig_obj
[1] ;
18666 if (!args
) SWIG_fail
;
18667 swig_obj
[0] = args
;
18668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18669 if (!SWIG_IsOK(res1
)) {
18670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18672 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 resultobj
= SWIG_From_int(static_cast< int >(result
));
18686 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18687 PyObject
*resultobj
= 0;
18688 wxSlider
*arg1
= (wxSlider
*) 0 ;
18692 PyObject
*swig_obj
[1] ;
18694 if (!args
) SWIG_fail
;
18695 swig_obj
[0] = args
;
18696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18697 if (!SWIG_IsOK(res1
)) {
18698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18700 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18707 resultobj
= SWIG_From_int(static_cast< int >(result
));
18714 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18715 PyObject
*resultobj
= 0;
18716 wxSlider
*arg1
= (wxSlider
*) 0 ;
18725 PyObject
* obj0
= 0 ;
18726 PyObject
* obj1
= 0 ;
18727 PyObject
* obj2
= 0 ;
18728 char * kwnames
[] = {
18729 (char *) "self",(char *) "min",(char *) "max", NULL
18732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18734 if (!SWIG_IsOK(res1
)) {
18735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18737 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18739 if (!SWIG_IsOK(ecode2
)) {
18740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18742 arg2
= static_cast< int >(val2
);
18743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18744 if (!SWIG_IsOK(ecode3
)) {
18745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18747 arg3
= static_cast< int >(val3
);
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 (arg1
)->SetSelection(arg2
,arg3
);
18751 wxPyEndAllowThreads(__tstate
);
18752 if (PyErr_Occurred()) SWIG_fail
;
18754 resultobj
= SWIG_Py_Void();
18761 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18762 PyObject
*resultobj
= 0;
18763 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18764 SwigValueWrapper
<wxVisualAttributes
> result
;
18767 PyObject
* obj0
= 0 ;
18768 char * kwnames
[] = {
18769 (char *) "variant", NULL
18772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18774 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18775 if (!SWIG_IsOK(ecode1
)) {
18776 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18778 arg1
= static_cast< wxWindowVariant
>(val1
);
18781 if (!wxPyCheckForApp()) SWIG_fail
;
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18784 wxPyEndAllowThreads(__tstate
);
18785 if (PyErr_Occurred()) SWIG_fail
;
18787 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18794 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18796 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18797 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18798 return SWIG_Py_Void();
18801 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18802 return SWIG_Python_InitShadowInstance(args
);
18805 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18806 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18811 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18812 PyObject
*pyobj
= 0;
18816 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18818 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18825 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
= 0;
18827 wxWindow
*arg1
= (wxWindow
*) 0 ;
18828 int arg2
= (int) -1 ;
18829 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18830 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18831 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18832 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18833 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18834 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18835 long arg6
= (long) 0 ;
18836 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18837 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18838 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18839 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18840 wxToggleButton
*result
= 0 ;
18845 bool temp3
= false ;
18852 bool temp8
= false ;
18853 PyObject
* obj0
= 0 ;
18854 PyObject
* obj1
= 0 ;
18855 PyObject
* obj2
= 0 ;
18856 PyObject
* obj3
= 0 ;
18857 PyObject
* obj4
= 0 ;
18858 PyObject
* obj5
= 0 ;
18859 PyObject
* obj6
= 0 ;
18860 PyObject
* obj7
= 0 ;
18861 char * kwnames
[] = {
18862 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18867 if (!SWIG_IsOK(res1
)) {
18868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18870 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18873 if (!SWIG_IsOK(ecode2
)) {
18874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18876 arg2
= static_cast< int >(val2
);
18880 arg3
= wxString_in_helper(obj2
);
18881 if (arg3
== NULL
) SWIG_fail
;
18888 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18894 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18898 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18899 if (!SWIG_IsOK(ecode6
)) {
18900 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18902 arg6
= static_cast< long >(val6
);
18905 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18906 if (!SWIG_IsOK(res7
)) {
18907 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18912 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18916 arg8
= wxString_in_helper(obj7
);
18917 if (arg8
== NULL
) SWIG_fail
;
18922 if (!wxPyCheckForApp()) SWIG_fail
;
18923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18951 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18952 PyObject
*resultobj
= 0;
18953 wxToggleButton
*result
= 0 ;
18955 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18957 if (!wxPyCheckForApp()) SWIG_fail
;
18958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18959 result
= (wxToggleButton
*)new wxToggleButton();
18960 wxPyEndAllowThreads(__tstate
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18970 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18971 PyObject
*resultobj
= 0;
18972 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18973 wxWindow
*arg2
= (wxWindow
*) 0 ;
18974 int arg3
= (int) -1 ;
18975 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18976 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18977 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18978 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18979 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18980 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18981 long arg7
= (long) 0 ;
18982 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18983 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18984 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18985 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18993 bool temp4
= false ;
19000 bool temp9
= false ;
19001 PyObject
* obj0
= 0 ;
19002 PyObject
* obj1
= 0 ;
19003 PyObject
* obj2
= 0 ;
19004 PyObject
* obj3
= 0 ;
19005 PyObject
* obj4
= 0 ;
19006 PyObject
* obj5
= 0 ;
19007 PyObject
* obj6
= 0 ;
19008 PyObject
* obj7
= 0 ;
19009 PyObject
* obj8
= 0 ;
19010 char * kwnames
[] = {
19011 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
19015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19016 if (!SWIG_IsOK(res1
)) {
19017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19019 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19020 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19021 if (!SWIG_IsOK(res2
)) {
19022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19024 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19026 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19027 if (!SWIG_IsOK(ecode3
)) {
19028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19030 arg3
= static_cast< int >(val3
);
19034 arg4
= wxString_in_helper(obj3
);
19035 if (arg4
== NULL
) SWIG_fail
;
19042 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19048 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19052 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19053 if (!SWIG_IsOK(ecode7
)) {
19054 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19056 arg7
= static_cast< long >(val7
);
19059 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19060 if (!SWIG_IsOK(res8
)) {
19061 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19066 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19070 arg9
= wxString_in_helper(obj8
);
19071 if (arg9
== NULL
) SWIG_fail
;
19076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19077 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19106 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
= 0;
19108 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19114 PyObject
* obj0
= 0 ;
19115 PyObject
* obj1
= 0 ;
19116 char * kwnames
[] = {
19117 (char *) "self",(char *) "value", NULL
19120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19122 if (!SWIG_IsOK(res1
)) {
19123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19125 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19126 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19127 if (!SWIG_IsOK(ecode2
)) {
19128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19130 arg2
= static_cast< bool >(val2
);
19132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19133 (arg1
)->SetValue(arg2
);
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19137 resultobj
= SWIG_Py_Void();
19144 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19145 PyObject
*resultobj
= 0;
19146 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19150 PyObject
*swig_obj
[1] ;
19152 if (!args
) SWIG_fail
;
19153 swig_obj
[0] = args
;
19154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19155 if (!SWIG_IsOK(res1
)) {
19156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19158 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19161 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19162 wxPyEndAllowThreads(__tstate
);
19163 if (PyErr_Occurred()) SWIG_fail
;
19166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19174 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19175 PyObject
*resultobj
= 0;
19176 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19177 SwigValueWrapper
<wxVisualAttributes
> result
;
19180 PyObject
* obj0
= 0 ;
19181 char * kwnames
[] = {
19182 (char *) "variant", NULL
19185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19187 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19188 if (!SWIG_IsOK(ecode1
)) {
19189 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19191 arg1
= static_cast< wxWindowVariant
>(val1
);
19194 if (!wxPyCheckForApp()) SWIG_fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19200 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19207 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19209 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19210 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19211 return SWIG_Py_Void();
19214 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19215 return SWIG_Python_InitShadowInstance(args
);
19218 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19219 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19224 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19225 PyObject
*pyobj
= 0;
19229 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19231 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19238 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19239 PyObject
*resultobj
= 0;
19240 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19244 PyObject
*swig_obj
[1] ;
19246 if (!args
) SWIG_fail
;
19247 swig_obj
[0] = args
;
19248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19249 if (!SWIG_IsOK(res1
)) {
19250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19252 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19255 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19256 wxPyEndAllowThreads(__tstate
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19259 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19266 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
= 0;
19268 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19270 wxWindow
*result
= 0 ;
19275 PyObject
* obj0
= 0 ;
19276 PyObject
* obj1
= 0 ;
19277 char * kwnames
[] = {
19278 (char *) "self",(char *) "n", NULL
19281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19283 if (!SWIG_IsOK(res1
)) {
19284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19286 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19287 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19288 if (!SWIG_IsOK(ecode2
)) {
19289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19291 arg2
= static_cast< size_t >(val2
);
19293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19294 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19299 resultobj
= wxPyMake_wxObject(result
, 0);
19307 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19308 PyObject
*resultobj
= 0;
19309 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19310 wxWindow
*result
= 0 ;
19313 PyObject
*swig_obj
[1] ;
19315 if (!args
) SWIG_fail
;
19316 swig_obj
[0] = args
;
19317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19318 if (!SWIG_IsOK(res1
)) {
19319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19321 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19329 resultobj
= wxPyMake_wxObject(result
, 0);
19337 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19338 PyObject
*resultobj
= 0;
19339 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19343 PyObject
*swig_obj
[1] ;
19345 if (!args
) SWIG_fail
;
19346 swig_obj
[0] = args
;
19347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19348 if (!SWIG_IsOK(res1
)) {
19349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19351 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19355 wxPyEndAllowThreads(__tstate
);
19356 if (PyErr_Occurred()) SWIG_fail
;
19358 resultobj
= SWIG_From_int(static_cast< int >(result
));
19365 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19366 PyObject
*resultobj
= 0;
19367 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19369 wxString
*arg3
= 0 ;
19375 bool temp3
= false ;
19376 PyObject
* obj0
= 0 ;
19377 PyObject
* obj1
= 0 ;
19378 PyObject
* obj2
= 0 ;
19379 char * kwnames
[] = {
19380 (char *) "self",(char *) "n",(char *) "strText", NULL
19383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19385 if (!SWIG_IsOK(res1
)) {
19386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19388 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19389 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19390 if (!SWIG_IsOK(ecode2
)) {
19391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19393 arg2
= static_cast< size_t >(val2
);
19395 arg3
= wxString_in_helper(obj2
);
19396 if (arg3
== NULL
) SWIG_fail
;
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19402 wxPyEndAllowThreads(__tstate
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19422 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19423 PyObject
*resultobj
= 0;
19424 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19431 PyObject
* obj0
= 0 ;
19432 PyObject
* obj1
= 0 ;
19433 char * kwnames
[] = {
19434 (char *) "self",(char *) "n", NULL
19437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19439 if (!SWIG_IsOK(res1
)) {
19440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19442 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19443 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19444 if (!SWIG_IsOK(ecode2
)) {
19445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19447 arg2
= static_cast< size_t >(val2
);
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19467 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
= 0;
19469 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19470 wxImageList
*arg2
= (wxImageList
*) 0 ;
19475 PyObject
* obj0
= 0 ;
19476 PyObject
* obj1
= 0 ;
19477 char * kwnames
[] = {
19478 (char *) "self",(char *) "imageList", NULL
19481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19483 if (!SWIG_IsOK(res1
)) {
19484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19486 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19487 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19488 if (!SWIG_IsOK(res2
)) {
19489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19491 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 (arg1
)->SetImageList(arg2
);
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19498 resultobj
= SWIG_Py_Void();
19505 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
= 0;
19507 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19508 wxImageList
*arg2
= (wxImageList
*) 0 ;
19512 PyObject
* obj0
= 0 ;
19513 PyObject
* obj1
= 0 ;
19514 char * kwnames
[] = {
19515 (char *) "self",(char *) "imageList", NULL
19518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19520 if (!SWIG_IsOK(res1
)) {
19521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19523 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19524 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19525 if (!SWIG_IsOK(res2
)) {
19526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19530 (arg1
)->AssignImageList(arg2
);
19531 wxPyEndAllowThreads(__tstate
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19534 resultobj
= SWIG_Py_Void();
19541 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19542 PyObject
*resultobj
= 0;
19543 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19544 wxImageList
*result
= 0 ;
19547 PyObject
*swig_obj
[1] ;
19549 if (!args
) SWIG_fail
;
19550 swig_obj
[0] = args
;
19551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19552 if (!SWIG_IsOK(res1
)) {
19553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19555 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19558 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19563 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19571 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
= 0;
19573 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19580 PyObject
* obj0
= 0 ;
19581 PyObject
* obj1
= 0 ;
19582 char * kwnames
[] = {
19583 (char *) "self",(char *) "n", NULL
19586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19588 if (!SWIG_IsOK(res1
)) {
19589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19591 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19592 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19593 if (!SWIG_IsOK(ecode2
)) {
19594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19596 arg2
= static_cast< size_t >(val2
);
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19600 wxPyEndAllowThreads(__tstate
);
19601 if (PyErr_Occurred()) SWIG_fail
;
19603 resultobj
= SWIG_From_int(static_cast< int >(result
));
19610 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19611 PyObject
*resultobj
= 0;
19612 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19622 PyObject
* obj0
= 0 ;
19623 PyObject
* obj1
= 0 ;
19624 PyObject
* obj2
= 0 ;
19625 char * kwnames
[] = {
19626 (char *) "self",(char *) "n",(char *) "imageId", NULL
19629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19631 if (!SWIG_IsOK(res1
)) {
19632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19634 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19635 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19636 if (!SWIG_IsOK(ecode2
)) {
19637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19639 arg2
= static_cast< size_t >(val2
);
19640 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19641 if (!SWIG_IsOK(ecode3
)) {
19642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19644 arg3
= static_cast< int >(val3
);
19646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19660 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
= 0;
19662 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19669 char * kwnames
[] = {
19670 (char *) "self",(char *) "size", NULL
19673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19675 if (!SWIG_IsOK(res1
)) {
19676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19678 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19681 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19686 wxPyEndAllowThreads(__tstate
);
19687 if (PyErr_Occurred()) SWIG_fail
;
19689 resultobj
= SWIG_Py_Void();
19696 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19697 PyObject
*resultobj
= 0;
19698 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19704 PyObject
* obj0
= 0 ;
19705 PyObject
* obj1
= 0 ;
19706 char * kwnames
[] = {
19707 (char *) "self",(char *) "sizePage", NULL
19710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19712 if (!SWIG_IsOK(res1
)) {
19713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19715 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19718 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19722 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19726 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19733 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19734 PyObject
*resultobj
= 0;
19735 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19736 unsigned int result
;
19739 PyObject
*swig_obj
[1] ;
19741 if (!args
) SWIG_fail
;
19742 swig_obj
[0] = args
;
19743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19744 if (!SWIG_IsOK(res1
)) {
19745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19747 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19750 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19751 wxPyEndAllowThreads(__tstate
);
19752 if (PyErr_Occurred()) SWIG_fail
;
19754 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19761 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
= 0;
19763 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19764 unsigned int arg2
;
19767 unsigned int val2
;
19769 PyObject
* obj0
= 0 ;
19770 PyObject
* obj1
= 0 ;
19771 char * kwnames
[] = {
19772 (char *) "self",(char *) "internalBorder", NULL
19775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19777 if (!SWIG_IsOK(res1
)) {
19778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19780 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19781 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19782 if (!SWIG_IsOK(ecode2
)) {
19783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19785 arg2
= static_cast< unsigned int >(val2
);
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 (arg1
)->SetInternalBorder(arg2
);
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19792 resultobj
= SWIG_Py_Void();
19799 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19800 PyObject
*resultobj
= 0;
19801 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19805 PyObject
*swig_obj
[1] ;
19807 if (!args
) SWIG_fail
;
19808 swig_obj
[0] = args
;
19809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19810 if (!SWIG_IsOK(res1
)) {
19811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19813 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19829 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
= 0;
19831 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19837 PyObject
* obj0
= 0 ;
19838 PyObject
* obj1
= 0 ;
19839 char * kwnames
[] = {
19840 (char *) "self",(char *) "margin", NULL
19843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19845 if (!SWIG_IsOK(res1
)) {
19846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19848 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19850 if (!SWIG_IsOK(ecode2
)) {
19851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19853 arg2
= static_cast< int >(val2
);
19855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19856 (arg1
)->SetControlMargin(arg2
);
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19860 resultobj
= SWIG_Py_Void();
19867 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19868 PyObject
*resultobj
= 0;
19869 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19873 PyObject
*swig_obj
[1] ;
19875 if (!args
) SWIG_fail
;
19876 swig_obj
[0] = args
;
19877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19878 if (!SWIG_IsOK(res1
)) {
19879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19881 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19888 resultobj
= SWIG_From_int(static_cast< int >(result
));
19895 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19896 PyObject
*resultobj
= 0;
19897 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19903 PyObject
* obj0
= 0 ;
19904 PyObject
* obj1
= 0 ;
19905 char * kwnames
[] = {
19906 (char *) "self",(char *) "fit", NULL
19909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19911 if (!SWIG_IsOK(res1
)) {
19912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19914 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19915 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19916 if (!SWIG_IsOK(ecode2
)) {
19917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19919 arg2
= static_cast< bool >(val2
);
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 (arg1
)->SetFitToCurrentPage(arg2
);
19923 wxPyEndAllowThreads(__tstate
);
19924 if (PyErr_Occurred()) SWIG_fail
;
19926 resultobj
= SWIG_Py_Void();
19933 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19934 PyObject
*resultobj
= 0;
19935 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19939 PyObject
*swig_obj
[1] ;
19941 if (!args
) SWIG_fail
;
19942 swig_obj
[0] = args
;
19943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19944 if (!SWIG_IsOK(res1
)) {
19945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19947 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19963 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19964 PyObject
*resultobj
= 0;
19965 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19966 wxSizer
*result
= 0 ;
19969 PyObject
*swig_obj
[1] ;
19971 if (!args
) SWIG_fail
;
19972 swig_obj
[0] = args
;
19973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19974 if (!SWIG_IsOK(res1
)) {
19975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19977 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19981 wxPyEndAllowThreads(__tstate
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19985 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19993 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19994 PyObject
*resultobj
= 0;
19995 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20002 PyObject
* obj0
= 0 ;
20003 PyObject
* obj1
= 0 ;
20004 char * kwnames
[] = {
20005 (char *) "self",(char *) "n", NULL
20008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20010 if (!SWIG_IsOK(res1
)) {
20011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20013 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20014 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20015 if (!SWIG_IsOK(ecode2
)) {
20016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20018 arg2
= static_cast< size_t >(val2
);
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 result
= (bool)(arg1
)->DeletePage(arg2
);
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20034 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20035 PyObject
*resultobj
= 0;
20036 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20043 PyObject
* obj0
= 0 ;
20044 PyObject
* obj1
= 0 ;
20045 char * kwnames
[] = {
20046 (char *) "self",(char *) "n", NULL
20049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20051 if (!SWIG_IsOK(res1
)) {
20052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20054 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20055 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20056 if (!SWIG_IsOK(ecode2
)) {
20057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20059 arg2
= static_cast< size_t >(val2
);
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 result
= (bool)(arg1
)->RemovePage(arg2
);
20063 wxPyEndAllowThreads(__tstate
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20075 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20076 PyObject
*resultobj
= 0;
20077 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20081 PyObject
*swig_obj
[1] ;
20083 if (!args
) SWIG_fail
;
20084 swig_obj
[0] = args
;
20085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20086 if (!SWIG_IsOK(res1
)) {
20087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20089 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 result
= (bool)(arg1
)->DeleteAllPages();
20093 wxPyEndAllowThreads(__tstate
);
20094 if (PyErr_Occurred()) SWIG_fail
;
20097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20105 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20106 PyObject
*resultobj
= 0;
20107 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20108 wxWindow
*arg2
= (wxWindow
*) 0 ;
20109 wxString
*arg3
= 0 ;
20110 bool arg4
= (bool) false ;
20111 int arg5
= (int) -1 ;
20117 bool temp3
= false ;
20122 PyObject
* obj0
= 0 ;
20123 PyObject
* obj1
= 0 ;
20124 PyObject
* obj2
= 0 ;
20125 PyObject
* obj3
= 0 ;
20126 PyObject
* obj4
= 0 ;
20127 char * kwnames
[] = {
20128 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20133 if (!SWIG_IsOK(res1
)) {
20134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20136 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20137 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20138 if (!SWIG_IsOK(res2
)) {
20139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20141 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20143 arg3
= wxString_in_helper(obj2
);
20144 if (arg3
== NULL
) SWIG_fail
;
20148 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20149 if (!SWIG_IsOK(ecode4
)) {
20150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20152 arg4
= static_cast< bool >(val4
);
20155 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20156 if (!SWIG_IsOK(ecode5
)) {
20157 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20159 arg5
= static_cast< int >(val5
);
20162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20164 wxPyEndAllowThreads(__tstate
);
20165 if (PyErr_Occurred()) SWIG_fail
;
20168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20184 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
= 0;
20186 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20188 wxWindow
*arg3
= (wxWindow
*) 0 ;
20189 wxString
*arg4
= 0 ;
20190 bool arg5
= (bool) false ;
20191 int arg6
= (int) -1 ;
20199 bool temp4
= false ;
20204 PyObject
* obj0
= 0 ;
20205 PyObject
* obj1
= 0 ;
20206 PyObject
* obj2
= 0 ;
20207 PyObject
* obj3
= 0 ;
20208 PyObject
* obj4
= 0 ;
20209 PyObject
* obj5
= 0 ;
20210 char * kwnames
[] = {
20211 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20216 if (!SWIG_IsOK(res1
)) {
20217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20219 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20220 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20221 if (!SWIG_IsOK(ecode2
)) {
20222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20224 arg2
= static_cast< size_t >(val2
);
20225 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20226 if (!SWIG_IsOK(res3
)) {
20227 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20229 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20231 arg4
= wxString_in_helper(obj3
);
20232 if (arg4
== NULL
) SWIG_fail
;
20236 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20237 if (!SWIG_IsOK(ecode5
)) {
20238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20240 arg5
= static_cast< bool >(val5
);
20243 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20244 if (!SWIG_IsOK(ecode6
)) {
20245 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20247 arg6
= static_cast< int >(val6
);
20250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20251 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20252 wxPyEndAllowThreads(__tstate
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20272 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
= 0;
20274 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20281 PyObject
* obj0
= 0 ;
20282 PyObject
* obj1
= 0 ;
20283 char * kwnames
[] = {
20284 (char *) "self",(char *) "n", NULL
20287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20289 if (!SWIG_IsOK(res1
)) {
20290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20292 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20293 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20294 if (!SWIG_IsOK(ecode2
)) {
20295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20297 arg2
= static_cast< size_t >(val2
);
20299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20300 result
= (int)(arg1
)->SetSelection(arg2
);
20301 wxPyEndAllowThreads(__tstate
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= SWIG_From_int(static_cast< int >(result
));
20311 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
= 0;
20313 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20320 PyObject
* obj0
= 0 ;
20321 PyObject
* obj1
= 0 ;
20322 char * kwnames
[] = {
20323 (char *) "self",(char *) "n", NULL
20326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20328 if (!SWIG_IsOK(res1
)) {
20329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20331 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20332 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20333 if (!SWIG_IsOK(ecode2
)) {
20334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20336 arg2
= static_cast< size_t >(val2
);
20338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20339 result
= (int)(arg1
)->ChangeSelection(arg2
);
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20343 resultobj
= SWIG_From_int(static_cast< int >(result
));
20350 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20351 PyObject
*resultobj
= 0;
20352 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20353 bool arg2
= (bool) true ;
20358 PyObject
* obj0
= 0 ;
20359 PyObject
* obj1
= 0 ;
20360 char * kwnames
[] = {
20361 (char *) "self",(char *) "forward", NULL
20364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20366 if (!SWIG_IsOK(res1
)) {
20367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20369 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20371 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20372 if (!SWIG_IsOK(ecode2
)) {
20373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20375 arg2
= static_cast< bool >(val2
);
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 (arg1
)->AdvanceSelection(arg2
);
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= SWIG_Py_Void();
20390 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
= 0;
20392 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20393 wxPoint
*arg2
= 0 ;
20394 long *arg3
= (long *) 0 ;
20400 int res3
= SWIG_TMPOBJ
;
20401 PyObject
* obj0
= 0 ;
20402 PyObject
* obj1
= 0 ;
20403 char * kwnames
[] = {
20404 (char *) "self",(char *) "pt", NULL
20408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20410 if (!SWIG_IsOK(res1
)) {
20411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20413 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20416 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 resultobj
= SWIG_From_int(static_cast< int >(result
));
20425 if (SWIG_IsTmpObj(res3
)) {
20426 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20428 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20429 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20437 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
= 0;
20439 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20440 SwigValueWrapper
<wxVisualAttributes
> result
;
20443 PyObject
* obj0
= 0 ;
20444 char * kwnames
[] = {
20445 (char *) "variant", NULL
20448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20450 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20451 if (!SWIG_IsOK(ecode1
)) {
20452 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20454 arg1
= static_cast< wxWindowVariant
>(val1
);
20457 if (!wxPyCheckForApp()) SWIG_fail
;
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20470 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20473 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20474 return SWIG_Py_Void();
20477 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
= 0;
20479 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20480 int arg2
= (int) 0 ;
20481 int arg3
= (int) -1 ;
20482 int arg4
= (int) -1 ;
20483 wxBookCtrlBaseEvent
*result
= 0 ;
20492 PyObject
* obj0
= 0 ;
20493 PyObject
* obj1
= 0 ;
20494 PyObject
* obj2
= 0 ;
20495 PyObject
* obj3
= 0 ;
20496 char * kwnames
[] = {
20497 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20502 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20503 if (!SWIG_IsOK(ecode1
)) {
20504 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20506 arg1
= static_cast< wxEventType
>(val1
);
20509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20510 if (!SWIG_IsOK(ecode2
)) {
20511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20513 arg2
= static_cast< int >(val2
);
20516 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20517 if (!SWIG_IsOK(ecode3
)) {
20518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20520 arg3
= static_cast< int >(val3
);
20523 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20524 if (!SWIG_IsOK(ecode4
)) {
20525 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20527 arg4
= static_cast< int >(val4
);
20530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20531 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20532 wxPyEndAllowThreads(__tstate
);
20533 if (PyErr_Occurred()) SWIG_fail
;
20535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20542 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20543 PyObject
*resultobj
= 0;
20544 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20548 PyObject
*swig_obj
[1] ;
20550 if (!args
) SWIG_fail
;
20551 swig_obj
[0] = args
;
20552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20553 if (!SWIG_IsOK(res1
)) {
20554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20556 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20560 wxPyEndAllowThreads(__tstate
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20563 resultobj
= SWIG_From_int(static_cast< int >(result
));
20570 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20571 PyObject
*resultobj
= 0;
20572 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20578 PyObject
* obj0
= 0 ;
20579 PyObject
* obj1
= 0 ;
20580 char * kwnames
[] = {
20581 (char *) "self",(char *) "nSel", NULL
20584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20586 if (!SWIG_IsOK(res1
)) {
20587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20589 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20591 if (!SWIG_IsOK(ecode2
)) {
20592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20594 arg2
= static_cast< int >(val2
);
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 (arg1
)->SetSelection(arg2
);
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 resultobj
= SWIG_Py_Void();
20608 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20609 PyObject
*resultobj
= 0;
20610 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20614 PyObject
*swig_obj
[1] ;
20616 if (!args
) SWIG_fail
;
20617 swig_obj
[0] = args
;
20618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20619 if (!SWIG_IsOK(res1
)) {
20620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20622 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20629 resultobj
= SWIG_From_int(static_cast< int >(result
));
20636 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20637 PyObject
*resultobj
= 0;
20638 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20644 PyObject
* obj0
= 0 ;
20645 PyObject
* obj1
= 0 ;
20646 char * kwnames
[] = {
20647 (char *) "self",(char *) "nOldSel", NULL
20650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20652 if (!SWIG_IsOK(res1
)) {
20653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20655 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20657 if (!SWIG_IsOK(ecode2
)) {
20658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20660 arg2
= static_cast< int >(val2
);
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 (arg1
)->SetOldSelection(arg2
);
20664 wxPyEndAllowThreads(__tstate
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20667 resultobj
= SWIG_Py_Void();
20674 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20676 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20677 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20678 return SWIG_Py_Void();
20681 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20682 return SWIG_Python_InitShadowInstance(args
);
20685 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20686 PyObject
*resultobj
= 0;
20687 wxWindow
*arg1
= (wxWindow
*) 0 ;
20688 int arg2
= (int) -1 ;
20689 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20690 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20691 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20692 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20693 long arg5
= (long) 0 ;
20694 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20695 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20696 wxNotebook
*result
= 0 ;
20705 bool temp6
= false ;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj1
= 0 ;
20708 PyObject
* obj2
= 0 ;
20709 PyObject
* obj3
= 0 ;
20710 PyObject
* obj4
= 0 ;
20711 PyObject
* obj5
= 0 ;
20712 char * kwnames
[] = {
20713 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20718 if (!SWIG_IsOK(res1
)) {
20719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20721 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20724 if (!SWIG_IsOK(ecode2
)) {
20725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20727 arg2
= static_cast< int >(val2
);
20732 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20738 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20742 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20743 if (!SWIG_IsOK(ecode5
)) {
20744 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20746 arg5
= static_cast< long >(val5
);
20750 arg6
= wxString_in_helper(obj5
);
20751 if (arg6
== NULL
) SWIG_fail
;
20756 if (!wxPyCheckForApp()) SWIG_fail
;
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20777 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20778 PyObject
*resultobj
= 0;
20779 wxNotebook
*result
= 0 ;
20781 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20783 if (!wxPyCheckForApp()) SWIG_fail
;
20784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20785 result
= (wxNotebook
*)new wxNotebook();
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20796 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
= 0;
20798 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20799 wxWindow
*arg2
= (wxWindow
*) 0 ;
20800 int arg3
= (int) -1 ;
20801 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20802 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20803 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20804 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20805 long arg6
= (long) 0 ;
20806 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20807 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20819 bool temp7
= false ;
20820 PyObject
* obj0
= 0 ;
20821 PyObject
* obj1
= 0 ;
20822 PyObject
* obj2
= 0 ;
20823 PyObject
* obj3
= 0 ;
20824 PyObject
* obj4
= 0 ;
20825 PyObject
* obj5
= 0 ;
20826 PyObject
* obj6
= 0 ;
20827 char * kwnames
[] = {
20828 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20833 if (!SWIG_IsOK(res1
)) {
20834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20836 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20837 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20838 if (!SWIG_IsOK(res2
)) {
20839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20841 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20843 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20844 if (!SWIG_IsOK(ecode3
)) {
20845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20847 arg3
= static_cast< int >(val3
);
20852 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20858 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20862 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20863 if (!SWIG_IsOK(ecode6
)) {
20864 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20866 arg6
= static_cast< long >(val6
);
20870 arg7
= wxString_in_helper(obj6
);
20871 if (arg7
== NULL
) SWIG_fail
;
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20898 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20899 PyObject
*resultobj
= 0;
20900 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20904 PyObject
*swig_obj
[1] ;
20906 if (!args
) SWIG_fail
;
20907 swig_obj
[0] = args
;
20908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20909 if (!SWIG_IsOK(res1
)) {
20910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20912 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20916 wxPyEndAllowThreads(__tstate
);
20917 if (PyErr_Occurred()) SWIG_fail
;
20919 resultobj
= SWIG_From_int(static_cast< int >(result
));
20926 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20927 PyObject
*resultobj
= 0;
20928 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20933 PyObject
* obj0
= 0 ;
20934 PyObject
* obj1
= 0 ;
20935 char * kwnames
[] = {
20936 (char *) "self",(char *) "padding", NULL
20939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20941 if (!SWIG_IsOK(res1
)) {
20942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20944 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20947 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20955 resultobj
= SWIG_Py_Void();
20962 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20963 PyObject
*resultobj
= 0;
20964 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20969 PyObject
* obj0
= 0 ;
20970 PyObject
* obj1
= 0 ;
20971 char * kwnames
[] = {
20972 (char *) "self",(char *) "sz", NULL
20975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20977 if (!SWIG_IsOK(res1
)) {
20978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20980 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20983 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20987 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20991 resultobj
= SWIG_Py_Void();
20998 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20999 PyObject
*resultobj
= 0;
21000 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21004 PyObject
*swig_obj
[1] ;
21006 if (!args
) SWIG_fail
;
21007 swig_obj
[0] = args
;
21008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21009 if (!SWIG_IsOK(res1
)) {
21010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21012 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21019 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21026 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
= 0;
21028 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21029 SwigValueWrapper
<wxVisualAttributes
> result
;
21032 PyObject
* obj0
= 0 ;
21033 char * kwnames
[] = {
21034 (char *) "variant", NULL
21037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
21039 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21040 if (!SWIG_IsOK(ecode1
)) {
21041 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21043 arg1
= static_cast< wxWindowVariant
>(val1
);
21046 if (!wxPyCheckForApp()) SWIG_fail
;
21047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21048 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
21049 wxPyEndAllowThreads(__tstate
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21052 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21059 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21060 PyObject
*resultobj
= 0;
21061 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21068 PyObject
* obj0
= 0 ;
21069 PyObject
* obj1
= 0 ;
21070 char * kwnames
[] = {
21071 (char *) "self",(char *) "nPage", NULL
21074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21076 if (!SWIG_IsOK(res1
)) {
21077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21079 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21081 if (!SWIG_IsOK(ecode2
)) {
21082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21084 arg2
= static_cast< int >(val2
);
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21100 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21101 PyObject
*resultobj
= 0;
21102 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21104 int arg3
= (int) -1 ;
21111 PyObject
* obj0
= 0 ;
21112 PyObject
* obj1
= 0 ;
21113 PyObject
* obj2
= 0 ;
21114 char * kwnames
[] = {
21115 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21120 if (!SWIG_IsOK(res1
)) {
21121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21123 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21125 if (!SWIG_IsOK(ecode2
)) {
21126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21128 arg2
= static_cast< int >(val2
);
21130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21131 if (!SWIG_IsOK(ecode3
)) {
21132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21134 arg3
= static_cast< int >(val3
);
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 resultobj
= SWIG_Py_Void();
21149 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21151 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21152 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21153 return SWIG_Py_Void();
21156 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21157 return SWIG_Python_InitShadowInstance(args
);
21160 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
= 0;
21162 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21163 int arg2
= (int) 0 ;
21164 int arg3
= (int) -1 ;
21165 int arg4
= (int) -1 ;
21166 wxNotebookEvent
*result
= 0 ;
21175 PyObject
* obj0
= 0 ;
21176 PyObject
* obj1
= 0 ;
21177 PyObject
* obj2
= 0 ;
21178 PyObject
* obj3
= 0 ;
21179 char * kwnames
[] = {
21180 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21186 if (!SWIG_IsOK(ecode1
)) {
21187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21189 arg1
= static_cast< wxEventType
>(val1
);
21192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21193 if (!SWIG_IsOK(ecode2
)) {
21194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21196 arg2
= static_cast< int >(val2
);
21199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21200 if (!SWIG_IsOK(ecode3
)) {
21201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21203 arg3
= static_cast< int >(val3
);
21206 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21207 if (!SWIG_IsOK(ecode4
)) {
21208 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21210 arg4
= static_cast< int >(val4
);
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21225 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21228 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21229 return SWIG_Py_Void();
21232 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21233 return SWIG_Python_InitShadowInstance(args
);
21236 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
= 0;
21238 wxWindow
*arg1
= (wxWindow
*) 0 ;
21239 int arg2
= (int) -1 ;
21240 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21241 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21242 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21243 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21244 long arg5
= (long) 0 ;
21245 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21246 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21247 wxListbook
*result
= 0 ;
21256 bool temp6
= false ;
21257 PyObject
* obj0
= 0 ;
21258 PyObject
* obj1
= 0 ;
21259 PyObject
* obj2
= 0 ;
21260 PyObject
* obj3
= 0 ;
21261 PyObject
* obj4
= 0 ;
21262 PyObject
* obj5
= 0 ;
21263 char * kwnames
[] = {
21264 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21269 if (!SWIG_IsOK(res1
)) {
21270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21272 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21275 if (!SWIG_IsOK(ecode2
)) {
21276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21278 arg2
= static_cast< int >(val2
);
21283 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21289 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21293 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21294 if (!SWIG_IsOK(ecode5
)) {
21295 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21297 arg5
= static_cast< long >(val5
);
21301 arg6
= wxString_in_helper(obj5
);
21302 if (arg6
== NULL
) SWIG_fail
;
21307 if (!wxPyCheckForApp()) SWIG_fail
;
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21309 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21328 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21329 PyObject
*resultobj
= 0;
21330 wxListbook
*result
= 0 ;
21332 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21334 if (!wxPyCheckForApp()) SWIG_fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 result
= (wxListbook
*)new wxListbook();
21337 wxPyEndAllowThreads(__tstate
);
21338 if (PyErr_Occurred()) SWIG_fail
;
21340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21347 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21348 PyObject
*resultobj
= 0;
21349 wxListbook
*arg1
= (wxListbook
*) 0 ;
21350 wxWindow
*arg2
= (wxWindow
*) 0 ;
21351 int arg3
= (int) -1 ;
21352 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21353 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21354 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21355 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21356 long arg6
= (long) 0 ;
21357 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21358 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21370 bool temp7
= false ;
21371 PyObject
* obj0
= 0 ;
21372 PyObject
* obj1
= 0 ;
21373 PyObject
* obj2
= 0 ;
21374 PyObject
* obj3
= 0 ;
21375 PyObject
* obj4
= 0 ;
21376 PyObject
* obj5
= 0 ;
21377 PyObject
* obj6
= 0 ;
21378 char * kwnames
[] = {
21379 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21384 if (!SWIG_IsOK(res1
)) {
21385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21387 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21388 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21389 if (!SWIG_IsOK(res2
)) {
21390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21392 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21395 if (!SWIG_IsOK(ecode3
)) {
21396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21398 arg3
= static_cast< int >(val3
);
21403 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21409 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21413 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21414 if (!SWIG_IsOK(ecode6
)) {
21415 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21417 arg6
= static_cast< long >(val6
);
21421 arg7
= wxString_in_helper(obj6
);
21422 if (arg7
== NULL
) SWIG_fail
;
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21449 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21450 PyObject
*resultobj
= 0;
21451 wxListbook
*arg1
= (wxListbook
*) 0 ;
21452 wxListView
*result
= 0 ;
21455 PyObject
*swig_obj
[1] ;
21457 if (!args
) SWIG_fail
;
21458 swig_obj
[0] = args
;
21459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21460 if (!SWIG_IsOK(res1
)) {
21461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21463 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 result
= (wxListView
*)(arg1
)->GetListView();
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21477 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21480 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21481 return SWIG_Py_Void();
21484 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21485 return SWIG_Python_InitShadowInstance(args
);
21488 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21489 PyObject
*resultobj
= 0;
21490 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21491 int arg2
= (int) 0 ;
21492 int arg3
= (int) -1 ;
21493 int arg4
= (int) -1 ;
21494 wxListbookEvent
*result
= 0 ;
21503 PyObject
* obj0
= 0 ;
21504 PyObject
* obj1
= 0 ;
21505 PyObject
* obj2
= 0 ;
21506 PyObject
* obj3
= 0 ;
21507 char * kwnames
[] = {
21508 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21513 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21514 if (!SWIG_IsOK(ecode1
)) {
21515 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21517 arg1
= static_cast< wxEventType
>(val1
);
21520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21521 if (!SWIG_IsOK(ecode2
)) {
21522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21524 arg2
= static_cast< int >(val2
);
21527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21528 if (!SWIG_IsOK(ecode3
)) {
21529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21531 arg3
= static_cast< int >(val3
);
21534 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21535 if (!SWIG_IsOK(ecode4
)) {
21536 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21538 arg4
= static_cast< int >(val4
);
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21543 wxPyEndAllowThreads(__tstate
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21553 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21555 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21556 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21557 return SWIG_Py_Void();
21560 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21561 return SWIG_Python_InitShadowInstance(args
);
21564 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
= 0;
21566 wxWindow
*arg1
= (wxWindow
*) 0 ;
21568 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21569 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21570 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21571 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21572 long arg5
= (long) 0 ;
21573 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21574 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21575 wxChoicebook
*result
= 0 ;
21584 bool temp6
= false ;
21585 PyObject
* obj0
= 0 ;
21586 PyObject
* obj1
= 0 ;
21587 PyObject
* obj2
= 0 ;
21588 PyObject
* obj3
= 0 ;
21589 PyObject
* obj4
= 0 ;
21590 PyObject
* obj5
= 0 ;
21591 char * kwnames
[] = {
21592 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21597 if (!SWIG_IsOK(res1
)) {
21598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21600 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21602 if (!SWIG_IsOK(ecode2
)) {
21603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21605 arg2
= static_cast< int >(val2
);
21609 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21615 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21619 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21620 if (!SWIG_IsOK(ecode5
)) {
21621 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21623 arg5
= static_cast< long >(val5
);
21627 arg6
= wxString_in_helper(obj5
);
21628 if (arg6
== NULL
) SWIG_fail
;
21633 if (!wxPyCheckForApp()) SWIG_fail
;
21634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21635 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21654 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21655 PyObject
*resultobj
= 0;
21656 wxChoicebook
*result
= 0 ;
21658 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21660 if (!wxPyCheckForApp()) SWIG_fail
;
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 result
= (wxChoicebook
*)new wxChoicebook();
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21673 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21674 PyObject
*resultobj
= 0;
21675 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21676 wxWindow
*arg2
= (wxWindow
*) 0 ;
21678 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21679 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21680 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21681 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21682 long arg6
= (long) 0 ;
21683 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21684 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21696 bool temp7
= false ;
21697 PyObject
* obj0
= 0 ;
21698 PyObject
* obj1
= 0 ;
21699 PyObject
* obj2
= 0 ;
21700 PyObject
* obj3
= 0 ;
21701 PyObject
* obj4
= 0 ;
21702 PyObject
* obj5
= 0 ;
21703 PyObject
* obj6
= 0 ;
21704 char * kwnames
[] = {
21705 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21710 if (!SWIG_IsOK(res1
)) {
21711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21713 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21714 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21715 if (!SWIG_IsOK(res2
)) {
21716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21718 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21720 if (!SWIG_IsOK(ecode3
)) {
21721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21723 arg3
= static_cast< int >(val3
);
21727 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21733 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21737 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21738 if (!SWIG_IsOK(ecode6
)) {
21739 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21741 arg6
= static_cast< long >(val6
);
21745 arg7
= wxString_in_helper(obj6
);
21746 if (arg7
== NULL
) SWIG_fail
;
21751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21752 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21773 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21774 PyObject
*resultobj
= 0;
21775 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21776 wxChoice
*result
= 0 ;
21779 PyObject
*swig_obj
[1] ;
21781 if (!args
) SWIG_fail
;
21782 swig_obj
[0] = args
;
21783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21784 if (!SWIG_IsOK(res1
)) {
21785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21787 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21801 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21803 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21804 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21805 return SWIG_Py_Void();
21808 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21809 return SWIG_Python_InitShadowInstance(args
);
21812 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21813 PyObject
*resultobj
= 0;
21814 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21815 int arg2
= (int) 0 ;
21816 int arg3
= (int) -1 ;
21817 int arg4
= (int) -1 ;
21818 wxChoicebookEvent
*result
= 0 ;
21827 PyObject
* obj0
= 0 ;
21828 PyObject
* obj1
= 0 ;
21829 PyObject
* obj2
= 0 ;
21830 PyObject
* obj3
= 0 ;
21831 char * kwnames
[] = {
21832 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21837 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21838 if (!SWIG_IsOK(ecode1
)) {
21839 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21841 arg1
= static_cast< wxEventType
>(val1
);
21844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21845 if (!SWIG_IsOK(ecode2
)) {
21846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21848 arg2
= static_cast< int >(val2
);
21851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21852 if (!SWIG_IsOK(ecode3
)) {
21853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21855 arg3
= static_cast< int >(val3
);
21858 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21859 if (!SWIG_IsOK(ecode4
)) {
21860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21862 arg4
= static_cast< int >(val4
);
21865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21866 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21877 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21879 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21880 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21881 return SWIG_Py_Void();
21884 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21885 return SWIG_Python_InitShadowInstance(args
);
21888 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
= 0;
21890 wxWindow
*arg1
= (wxWindow
*) 0 ;
21892 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21893 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21894 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21895 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21896 long arg5
= (long) wxBK_DEFAULT
;
21897 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21898 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21899 wxTreebook
*result
= 0 ;
21908 bool temp6
= false ;
21909 PyObject
* obj0
= 0 ;
21910 PyObject
* obj1
= 0 ;
21911 PyObject
* obj2
= 0 ;
21912 PyObject
* obj3
= 0 ;
21913 PyObject
* obj4
= 0 ;
21914 PyObject
* obj5
= 0 ;
21915 char * kwnames
[] = {
21916 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21921 if (!SWIG_IsOK(res1
)) {
21922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21924 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21926 if (!SWIG_IsOK(ecode2
)) {
21927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21929 arg2
= static_cast< int >(val2
);
21933 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21939 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21943 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21944 if (!SWIG_IsOK(ecode5
)) {
21945 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21947 arg5
= static_cast< long >(val5
);
21951 arg6
= wxString_in_helper(obj5
);
21952 if (arg6
== NULL
) SWIG_fail
;
21957 if (!wxPyCheckForApp()) SWIG_fail
;
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21978 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21979 PyObject
*resultobj
= 0;
21980 wxTreebook
*result
= 0 ;
21982 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21984 if (!wxPyCheckForApp()) SWIG_fail
;
21985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21986 result
= (wxTreebook
*)new wxTreebook();
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21997 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21998 PyObject
*resultobj
= 0;
21999 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22000 wxWindow
*arg2
= (wxWindow
*) 0 ;
22002 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22003 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22004 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22005 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22006 long arg6
= (long) wxBK_DEFAULT
;
22007 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22008 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22020 bool temp7
= false ;
22021 PyObject
* obj0
= 0 ;
22022 PyObject
* obj1
= 0 ;
22023 PyObject
* obj2
= 0 ;
22024 PyObject
* obj3
= 0 ;
22025 PyObject
* obj4
= 0 ;
22026 PyObject
* obj5
= 0 ;
22027 PyObject
* obj6
= 0 ;
22028 char * kwnames
[] = {
22029 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22034 if (!SWIG_IsOK(res1
)) {
22035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22037 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22038 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22039 if (!SWIG_IsOK(res2
)) {
22040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22042 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22043 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22044 if (!SWIG_IsOK(ecode3
)) {
22045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22047 arg3
= static_cast< int >(val3
);
22051 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22057 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22061 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22062 if (!SWIG_IsOK(ecode6
)) {
22063 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22065 arg6
= static_cast< long >(val6
);
22069 arg7
= wxString_in_helper(obj6
);
22070 if (arg7
== NULL
) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22077 wxPyEndAllowThreads(__tstate
);
22078 if (PyErr_Occurred()) SWIG_fail
;
22081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22097 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
= 0;
22099 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22101 wxWindow
*arg3
= (wxWindow
*) 0 ;
22102 wxString
*arg4
= 0 ;
22103 bool arg5
= (bool) false ;
22104 int arg6
= (int) wxNOT_FOUND
;
22112 bool temp4
= false ;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 PyObject
* obj2
= 0 ;
22120 PyObject
* obj3
= 0 ;
22121 PyObject
* obj4
= 0 ;
22122 PyObject
* obj5
= 0 ;
22123 char * kwnames
[] = {
22124 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22129 if (!SWIG_IsOK(res1
)) {
22130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22132 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22133 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22134 if (!SWIG_IsOK(ecode2
)) {
22135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22137 arg2
= static_cast< size_t >(val2
);
22138 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22139 if (!SWIG_IsOK(res3
)) {
22140 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22142 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22144 arg4
= wxString_in_helper(obj3
);
22145 if (arg4
== NULL
) SWIG_fail
;
22149 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22150 if (!SWIG_IsOK(ecode5
)) {
22151 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22153 arg5
= static_cast< bool >(val5
);
22156 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22157 if (!SWIG_IsOK(ecode6
)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22160 arg6
= static_cast< int >(val6
);
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22185 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22186 PyObject
*resultobj
= 0;
22187 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22188 wxWindow
*arg2
= (wxWindow
*) 0 ;
22189 wxString
*arg3
= 0 ;
22190 bool arg4
= (bool) false ;
22191 int arg5
= (int) wxNOT_FOUND
;
22197 bool temp3
= false ;
22202 PyObject
* obj0
= 0 ;
22203 PyObject
* obj1
= 0 ;
22204 PyObject
* obj2
= 0 ;
22205 PyObject
* obj3
= 0 ;
22206 PyObject
* obj4
= 0 ;
22207 char * kwnames
[] = {
22208 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22213 if (!SWIG_IsOK(res1
)) {
22214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22216 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22218 if (!SWIG_IsOK(res2
)) {
22219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22221 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22223 arg3
= wxString_in_helper(obj2
);
22224 if (arg3
== NULL
) SWIG_fail
;
22228 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22229 if (!SWIG_IsOK(ecode4
)) {
22230 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22232 arg4
= static_cast< bool >(val4
);
22235 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22236 if (!SWIG_IsOK(ecode5
)) {
22237 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22239 arg5
= static_cast< int >(val5
);
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22264 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22265 PyObject
*resultobj
= 0;
22266 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22273 PyObject
* obj0
= 0 ;
22274 PyObject
* obj1
= 0 ;
22275 char * kwnames
[] = {
22276 (char *) "self",(char *) "pos", NULL
22279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22281 if (!SWIG_IsOK(res1
)) {
22282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22284 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22285 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22286 if (!SWIG_IsOK(ecode2
)) {
22287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22289 arg2
= static_cast< size_t >(val2
);
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22305 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
= 0;
22307 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22309 bool arg3
= (bool) true ;
22317 PyObject
* obj0
= 0 ;
22318 PyObject
* obj1
= 0 ;
22319 PyObject
* obj2
= 0 ;
22320 char * kwnames
[] = {
22321 (char *) "self",(char *) "pos",(char *) "expand", NULL
22324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22326 if (!SWIG_IsOK(res1
)) {
22327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22329 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22330 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22331 if (!SWIG_IsOK(ecode2
)) {
22332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22334 arg2
= static_cast< size_t >(val2
);
22336 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22337 if (!SWIG_IsOK(ecode3
)) {
22338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22340 arg3
= static_cast< bool >(val3
);
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22357 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
= 0;
22359 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22366 PyObject
* obj0
= 0 ;
22367 PyObject
* obj1
= 0 ;
22368 char * kwnames
[] = {
22369 (char *) "self",(char *) "pos", NULL
22372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22374 if (!SWIG_IsOK(res1
)) {
22375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22377 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22378 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22379 if (!SWIG_IsOK(ecode2
)) {
22380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22382 arg2
= static_cast< size_t >(val2
);
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 result
= (bool)(arg1
)->CollapseNode(arg2
);
22386 wxPyEndAllowThreads(__tstate
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22398 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22399 PyObject
*resultobj
= 0;
22400 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 PyObject
* obj1
= 0 ;
22409 char * kwnames
[] = {
22410 (char *) "self",(char *) "pos", NULL
22413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22415 if (!SWIG_IsOK(res1
)) {
22416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22418 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22419 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22420 if (!SWIG_IsOK(ecode2
)) {
22421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22423 arg2
= static_cast< size_t >(val2
);
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= SWIG_From_int(static_cast< int >(result
));
22437 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22438 PyObject
*resultobj
= 0;
22439 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22440 wxPyTreeCtrl
*result
= 0 ;
22443 PyObject
*swig_obj
[1] ;
22445 if (!args
) SWIG_fail
;
22446 swig_obj
[0] = args
;
22447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22448 if (!SWIG_IsOK(res1
)) {
22449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22451 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22454 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22459 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22467 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22470 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22471 return SWIG_Py_Void();
22474 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22475 return SWIG_Python_InitShadowInstance(args
);
22478 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22479 PyObject
*resultobj
= 0;
22480 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22481 int arg2
= (int) 0 ;
22482 int arg3
= (int) wxNOT_FOUND
;
22483 int arg4
= (int) wxNOT_FOUND
;
22484 wxTreebookEvent
*result
= 0 ;
22493 PyObject
* obj0
= 0 ;
22494 PyObject
* obj1
= 0 ;
22495 PyObject
* obj2
= 0 ;
22496 PyObject
* obj3
= 0 ;
22497 char * kwnames
[] = {
22498 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22503 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22504 if (!SWIG_IsOK(ecode1
)) {
22505 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22507 arg1
= static_cast< wxEventType
>(val1
);
22510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22511 if (!SWIG_IsOK(ecode2
)) {
22512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22514 arg2
= static_cast< int >(val2
);
22517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22518 if (!SWIG_IsOK(ecode3
)) {
22519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22521 arg3
= static_cast< int >(val3
);
22524 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22525 if (!SWIG_IsOK(ecode4
)) {
22526 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22528 arg4
= static_cast< int >(val4
);
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22533 wxPyEndAllowThreads(__tstate
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22543 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22546 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22547 return SWIG_Py_Void();
22550 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22551 return SWIG_Python_InitShadowInstance(args
);
22554 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22555 PyObject
*resultobj
= 0;
22556 wxWindow
*arg1
= (wxWindow
*) 0 ;
22558 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22559 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22560 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22561 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22562 long arg5
= (long) wxBK_DEFAULT
;
22563 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22564 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22565 wxToolbook
*result
= 0 ;
22574 bool temp6
= false ;
22575 PyObject
* obj0
= 0 ;
22576 PyObject
* obj1
= 0 ;
22577 PyObject
* obj2
= 0 ;
22578 PyObject
* obj3
= 0 ;
22579 PyObject
* obj4
= 0 ;
22580 PyObject
* obj5
= 0 ;
22581 char * kwnames
[] = {
22582 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22587 if (!SWIG_IsOK(res1
)) {
22588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22590 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22592 if (!SWIG_IsOK(ecode2
)) {
22593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22595 arg2
= static_cast< int >(val2
);
22599 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22605 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22609 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22610 if (!SWIG_IsOK(ecode5
)) {
22611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22613 arg5
= static_cast< long >(val5
);
22617 arg6
= wxString_in_helper(obj5
);
22618 if (arg6
== NULL
) SWIG_fail
;
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22643 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22644 PyObject
*resultobj
= 0;
22645 wxToolbook
*result
= 0 ;
22647 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22650 result
= (wxToolbook
*)new wxToolbook();
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22661 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
= 0;
22663 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22664 wxWindow
*arg2
= (wxWindow
*) 0 ;
22666 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22667 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22668 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22669 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22670 long arg6
= (long) 0 ;
22671 wxString
const &arg7_defvalue
= wxEmptyString
;
22672 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22684 bool temp7
= false ;
22685 PyObject
* obj0
= 0 ;
22686 PyObject
* obj1
= 0 ;
22687 PyObject
* obj2
= 0 ;
22688 PyObject
* obj3
= 0 ;
22689 PyObject
* obj4
= 0 ;
22690 PyObject
* obj5
= 0 ;
22691 PyObject
* obj6
= 0 ;
22692 char * kwnames
[] = {
22693 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22698 if (!SWIG_IsOK(res1
)) {
22699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22701 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22702 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22703 if (!SWIG_IsOK(res2
)) {
22704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22706 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22707 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22708 if (!SWIG_IsOK(ecode3
)) {
22709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22711 arg3
= static_cast< int >(val3
);
22715 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22721 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22725 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22726 if (!SWIG_IsOK(ecode6
)) {
22727 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22729 arg6
= static_cast< long >(val6
);
22733 arg7
= wxString_in_helper(obj6
);
22734 if (arg7
== NULL
) SWIG_fail
;
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22761 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22762 PyObject
*resultobj
= 0;
22763 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22764 wxToolBarBase
*result
= 0 ;
22767 PyObject
*swig_obj
[1] ;
22769 if (!args
) SWIG_fail
;
22770 swig_obj
[0] = args
;
22771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22772 if (!SWIG_IsOK(res1
)) {
22773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22775 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22779 wxPyEndAllowThreads(__tstate
);
22780 if (PyErr_Occurred()) SWIG_fail
;
22783 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22791 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22792 PyObject
*resultobj
= 0;
22793 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22796 PyObject
*swig_obj
[1] ;
22798 if (!args
) SWIG_fail
;
22799 swig_obj
[0] = args
;
22800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22801 if (!SWIG_IsOK(res1
)) {
22802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22804 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 resultobj
= SWIG_Py_Void();
22818 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22820 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22821 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22822 return SWIG_Py_Void();
22825 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22826 return SWIG_Python_InitShadowInstance(args
);
22829 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
= 0;
22831 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22832 int arg2
= (int) 0 ;
22833 int arg3
= (int) wxNOT_FOUND
;
22834 int arg4
= (int) wxNOT_FOUND
;
22835 wxToolbookEvent
*result
= 0 ;
22844 PyObject
* obj0
= 0 ;
22845 PyObject
* obj1
= 0 ;
22846 PyObject
* obj2
= 0 ;
22847 PyObject
* obj3
= 0 ;
22848 char * kwnames
[] = {
22849 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22854 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22855 if (!SWIG_IsOK(ecode1
)) {
22856 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22858 arg1
= static_cast< wxEventType
>(val1
);
22861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22862 if (!SWIG_IsOK(ecode2
)) {
22863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22865 arg2
= static_cast< int >(val2
);
22868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22869 if (!SWIG_IsOK(ecode3
)) {
22870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22872 arg3
= static_cast< int >(val3
);
22875 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22876 if (!SWIG_IsOK(ecode4
)) {
22877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22879 arg4
= static_cast< int >(val4
);
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22894 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22897 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22898 return SWIG_Py_Void();
22901 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22902 return SWIG_Python_InitShadowInstance(args
);
22905 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22906 PyObject
*resultobj
= 0;
22907 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22911 PyObject
*swig_obj
[1] ;
22913 if (!args
) SWIG_fail
;
22914 swig_obj
[0] = args
;
22915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22916 if (!SWIG_IsOK(res1
)) {
22917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22919 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 result
= (int)(arg1
)->GetId();
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 resultobj
= SWIG_From_int(static_cast< int >(result
));
22933 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22934 PyObject
*resultobj
= 0;
22935 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22936 wxControl
*result
= 0 ;
22939 PyObject
*swig_obj
[1] ;
22941 if (!args
) SWIG_fail
;
22942 swig_obj
[0] = args
;
22943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22944 if (!SWIG_IsOK(res1
)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22947 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 result
= (wxControl
*)(arg1
)->GetControl();
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22955 resultobj
= wxPyMake_wxObject(result
, 0);
22963 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22964 PyObject
*resultobj
= 0;
22965 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22966 wxToolBarBase
*result
= 0 ;
22969 PyObject
*swig_obj
[1] ;
22971 if (!args
) SWIG_fail
;
22972 swig_obj
[0] = args
;
22973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22974 if (!SWIG_IsOK(res1
)) {
22975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22977 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22980 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22993 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22994 PyObject
*resultobj
= 0;
22995 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22999 PyObject
*swig_obj
[1] ;
23001 if (!args
) SWIG_fail
;
23002 swig_obj
[0] = args
;
23003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23004 if (!SWIG_IsOK(res1
)) {
23005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23007 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23010 result
= (int)(arg1
)->IsButton();
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23014 resultobj
= SWIG_From_int(static_cast< int >(result
));
23021 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23022 PyObject
*resultobj
= 0;
23023 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23027 PyObject
*swig_obj
[1] ;
23029 if (!args
) SWIG_fail
;
23030 swig_obj
[0] = args
;
23031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23032 if (!SWIG_IsOK(res1
)) {
23033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23035 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23038 result
= (int)(arg1
)->IsControl();
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23042 resultobj
= SWIG_From_int(static_cast< int >(result
));
23049 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23050 PyObject
*resultobj
= 0;
23051 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23055 PyObject
*swig_obj
[1] ;
23057 if (!args
) SWIG_fail
;
23058 swig_obj
[0] = args
;
23059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23060 if (!SWIG_IsOK(res1
)) {
23061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23063 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 result
= (int)(arg1
)->IsSeparator();
23067 wxPyEndAllowThreads(__tstate
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23070 resultobj
= SWIG_From_int(static_cast< int >(result
));
23077 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23078 PyObject
*resultobj
= 0;
23079 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23083 PyObject
*swig_obj
[1] ;
23085 if (!args
) SWIG_fail
;
23086 swig_obj
[0] = args
;
23087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23088 if (!SWIG_IsOK(res1
)) {
23089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23091 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 result
= (int)(arg1
)->GetStyle();
23095 wxPyEndAllowThreads(__tstate
);
23096 if (PyErr_Occurred()) SWIG_fail
;
23098 resultobj
= SWIG_From_int(static_cast< int >(result
));
23105 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23106 PyObject
*resultobj
= 0;
23107 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23111 PyObject
*swig_obj
[1] ;
23113 if (!args
) SWIG_fail
;
23114 swig_obj
[0] = args
;
23115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23116 if (!SWIG_IsOK(res1
)) {
23117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23119 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 result
= (wxItemKind
)(arg1
)->GetKind();
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23126 resultobj
= SWIG_From_int(static_cast< int >(result
));
23133 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23134 PyObject
*resultobj
= 0;
23135 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23139 PyObject
*swig_obj
[1] ;
23141 if (!args
) SWIG_fail
;
23142 swig_obj
[0] = args
;
23143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23144 if (!SWIG_IsOK(res1
)) {
23145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23147 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23150 result
= (bool)(arg1
)->IsEnabled();
23151 wxPyEndAllowThreads(__tstate
);
23152 if (PyErr_Occurred()) SWIG_fail
;
23155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23163 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23164 PyObject
*resultobj
= 0;
23165 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23169 PyObject
*swig_obj
[1] ;
23171 if (!args
) SWIG_fail
;
23172 swig_obj
[0] = args
;
23173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23174 if (!SWIG_IsOK(res1
)) {
23175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23177 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 result
= (bool)(arg1
)->IsToggled();
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23193 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23194 PyObject
*resultobj
= 0;
23195 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23199 PyObject
*swig_obj
[1] ;
23201 if (!args
) SWIG_fail
;
23202 swig_obj
[0] = args
;
23203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23204 if (!SWIG_IsOK(res1
)) {
23205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23207 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23210 result
= (bool)(arg1
)->CanBeToggled();
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23223 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23224 PyObject
*resultobj
= 0;
23225 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23226 wxBitmap
*result
= 0 ;
23229 PyObject
*swig_obj
[1] ;
23231 if (!args
) SWIG_fail
;
23232 swig_obj
[0] = args
;
23233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23234 if (!SWIG_IsOK(res1
)) {
23235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23237 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23241 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23242 result
= (wxBitmap
*) &_result_ref
;
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23248 wxBitmap
* resultptr
= new wxBitmap(*result
);
23249 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23257 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23258 PyObject
*resultobj
= 0;
23259 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23260 wxBitmap
*result
= 0 ;
23263 PyObject
*swig_obj
[1] ;
23265 if (!args
) SWIG_fail
;
23266 swig_obj
[0] = args
;
23267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23268 if (!SWIG_IsOK(res1
)) {
23269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23271 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23275 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23276 result
= (wxBitmap
*) &_result_ref
;
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23282 wxBitmap
* resultptr
= new wxBitmap(*result
);
23283 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23291 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23292 PyObject
*resultobj
= 0;
23293 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23297 PyObject
*swig_obj
[1] ;
23299 if (!args
) SWIG_fail
;
23300 swig_obj
[0] = args
;
23301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23302 if (!SWIG_IsOK(res1
)) {
23303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23305 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23308 result
= (arg1
)->GetBitmap();
23309 wxPyEndAllowThreads(__tstate
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23312 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23319 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23320 PyObject
*resultobj
= 0;
23321 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23325 PyObject
*swig_obj
[1] ;
23327 if (!args
) SWIG_fail
;
23328 swig_obj
[0] = args
;
23329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23330 if (!SWIG_IsOK(res1
)) {
23331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23333 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23336 result
= (arg1
)->GetLabel();
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23353 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23354 PyObject
*resultobj
= 0;
23355 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23359 PyObject
*swig_obj
[1] ;
23361 if (!args
) SWIG_fail
;
23362 swig_obj
[0] = args
;
23363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23364 if (!SWIG_IsOK(res1
)) {
23365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23367 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 result
= (arg1
)->GetShortHelp();
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23387 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23388 PyObject
*resultobj
= 0;
23389 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23393 PyObject
*swig_obj
[1] ;
23395 if (!args
) SWIG_fail
;
23396 swig_obj
[0] = args
;
23397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23398 if (!SWIG_IsOK(res1
)) {
23399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23401 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 result
= (arg1
)->GetLongHelp();
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23421 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23422 PyObject
*resultobj
= 0;
23423 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23430 PyObject
* obj0
= 0 ;
23431 PyObject
* obj1
= 0 ;
23432 char * kwnames
[] = {
23433 (char *) "self",(char *) "enable", NULL
23436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23438 if (!SWIG_IsOK(res1
)) {
23439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23441 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23442 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23443 if (!SWIG_IsOK(ecode2
)) {
23444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23446 arg2
= static_cast< bool >(val2
);
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 result
= (bool)(arg1
)->Enable(arg2
);
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23462 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23463 PyObject
*resultobj
= 0;
23464 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23467 PyObject
*swig_obj
[1] ;
23469 if (!args
) SWIG_fail
;
23470 swig_obj
[0] = args
;
23471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23472 if (!SWIG_IsOK(res1
)) {
23473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23475 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23479 wxPyEndAllowThreads(__tstate
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23482 resultobj
= SWIG_Py_Void();
23489 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23490 PyObject
*resultobj
= 0;
23491 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23498 PyObject
* obj0
= 0 ;
23499 PyObject
* obj1
= 0 ;
23500 char * kwnames
[] = {
23501 (char *) "self",(char *) "toggle", NULL
23504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23506 if (!SWIG_IsOK(res1
)) {
23507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23509 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23510 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23511 if (!SWIG_IsOK(ecode2
)) {
23512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23514 arg2
= static_cast< bool >(val2
);
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 result
= (bool)(arg1
)->SetToggle(arg2
);
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23530 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23531 PyObject
*resultobj
= 0;
23532 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23533 wxString
*arg2
= 0 ;
23537 bool temp2
= false ;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj1
= 0 ;
23540 char * kwnames
[] = {
23541 (char *) "self",(char *) "help", NULL
23544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23546 if (!SWIG_IsOK(res1
)) {
23547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23549 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23551 arg2
= wxString_in_helper(obj1
);
23552 if (arg2
== NULL
) SWIG_fail
;
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23578 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23579 PyObject
*resultobj
= 0;
23580 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23581 wxString
*arg2
= 0 ;
23585 bool temp2
= false ;
23586 PyObject
* obj0
= 0 ;
23587 PyObject
* obj1
= 0 ;
23588 char * kwnames
[] = {
23589 (char *) "self",(char *) "help", NULL
23592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23594 if (!SWIG_IsOK(res1
)) {
23595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23597 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23599 arg2
= wxString_in_helper(obj1
);
23600 if (arg2
== NULL
) SWIG_fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23626 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23627 PyObject
*resultobj
= 0;
23628 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23629 wxBitmap
*arg2
= 0 ;
23634 PyObject
* obj0
= 0 ;
23635 PyObject
* obj1
= 0 ;
23636 char * kwnames
[] = {
23637 (char *) "self",(char *) "bmp", NULL
23640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23642 if (!SWIG_IsOK(res1
)) {
23643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23645 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23646 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23647 if (!SWIG_IsOK(res2
)) {
23648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23653 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23656 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23660 resultobj
= SWIG_Py_Void();
23667 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
= 0;
23669 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23670 wxBitmap
*arg2
= 0 ;
23675 PyObject
* obj0
= 0 ;
23676 PyObject
* obj1
= 0 ;
23677 char * kwnames
[] = {
23678 (char *) "self",(char *) "bmp", NULL
23681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23683 if (!SWIG_IsOK(res1
)) {
23684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23686 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23687 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23688 if (!SWIG_IsOK(res2
)) {
23689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23694 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23698 wxPyEndAllowThreads(__tstate
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23701 resultobj
= SWIG_Py_Void();
23708 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23709 PyObject
*resultobj
= 0;
23710 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23711 wxString
*arg2
= 0 ;
23714 bool temp2
= false ;
23715 PyObject
* obj0
= 0 ;
23716 PyObject
* obj1
= 0 ;
23717 char * kwnames
[] = {
23718 (char *) "self",(char *) "label", NULL
23721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23723 if (!SWIG_IsOK(res1
)) {
23724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23726 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23728 arg2
= wxString_in_helper(obj1
);
23729 if (arg2
== NULL
) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 (arg1
)->SetLabel((wxString
const &)*arg2
);
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 resultobj
= SWIG_Py_Void();
23753 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23754 PyObject
*resultobj
= 0;
23755 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23758 PyObject
*swig_obj
[1] ;
23760 if (!args
) SWIG_fail
;
23761 swig_obj
[0] = args
;
23762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23763 if (!SWIG_IsOK(res1
)) {
23764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23766 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 wxPyEndAllowThreads(__tstate
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23773 resultobj
= SWIG_Py_Void();
23780 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23781 PyObject
*resultobj
= 0;
23782 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23783 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23788 PyObject
* obj0
= 0 ;
23789 PyObject
* obj1
= 0 ;
23790 char * kwnames
[] = {
23791 (char *) "self",(char *) "tbar", NULL
23794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23796 if (!SWIG_IsOK(res1
)) {
23797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23799 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23800 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23801 if (!SWIG_IsOK(res2
)) {
23802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23804 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 (arg1
)->Attach(arg2
);
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23811 resultobj
= SWIG_Py_Void();
23818 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23819 PyObject
*resultobj
= 0;
23820 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23821 PyObject
*result
= 0 ;
23824 PyObject
*swig_obj
[1] ;
23826 if (!args
) SWIG_fail
;
23827 swig_obj
[0] = args
;
23828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23829 if (!SWIG_IsOK(res1
)) {
23830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23832 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23836 wxPyEndAllowThreads(__tstate
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23839 resultobj
= result
;
23846 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23847 PyObject
*resultobj
= 0;
23848 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23849 PyObject
*arg2
= (PyObject
*) 0 ;
23852 PyObject
* obj0
= 0 ;
23853 PyObject
* obj1
= 0 ;
23854 char * kwnames
[] = {
23855 (char *) "self",(char *) "clientData", NULL
23858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23860 if (!SWIG_IsOK(res1
)) {
23861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23863 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23867 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23871 resultobj
= SWIG_Py_Void();
23878 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23881 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23882 return SWIG_Py_Void();
23885 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
= 0;
23887 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23889 wxString
*arg3
= 0 ;
23890 wxBitmap
*arg4
= 0 ;
23891 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23892 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23893 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23894 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23895 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23896 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23897 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23898 PyObject
*arg9
= (PyObject
*) NULL
;
23899 wxToolBarToolBase
*result
= 0 ;
23904 bool temp3
= false ;
23911 bool temp7
= false ;
23912 bool temp8
= false ;
23913 PyObject
* obj0
= 0 ;
23914 PyObject
* obj1
= 0 ;
23915 PyObject
* obj2
= 0 ;
23916 PyObject
* obj3
= 0 ;
23917 PyObject
* obj4
= 0 ;
23918 PyObject
* obj5
= 0 ;
23919 PyObject
* obj6
= 0 ;
23920 PyObject
* obj7
= 0 ;
23921 PyObject
* obj8
= 0 ;
23922 char * kwnames
[] = {
23923 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23928 if (!SWIG_IsOK(res1
)) {
23929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23931 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23933 if (!SWIG_IsOK(ecode2
)) {
23934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23936 arg2
= static_cast< int >(val2
);
23938 arg3
= wxString_in_helper(obj2
);
23939 if (arg3
== NULL
) SWIG_fail
;
23942 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23943 if (!SWIG_IsOK(res4
)) {
23944 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23949 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23951 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23952 if (!SWIG_IsOK(res5
)) {
23953 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23958 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23961 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23962 if (!SWIG_IsOK(ecode6
)) {
23963 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23965 arg6
= static_cast< wxItemKind
>(val6
);
23969 arg7
= wxString_in_helper(obj6
);
23970 if (arg7
== NULL
) SWIG_fail
;
23976 arg8
= wxString_in_helper(obj7
);
23977 if (arg8
== NULL
) SWIG_fail
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23991 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24023 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
= 0;
24025 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24028 wxString
*arg4
= 0 ;
24029 wxBitmap
*arg5
= 0 ;
24030 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
24031 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
24032 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
24033 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24034 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24035 wxString
const &arg9_defvalue
= wxPyEmptyString
;
24036 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
24037 PyObject
*arg10
= (PyObject
*) NULL
;
24038 wxToolBarToolBase
*result
= 0 ;
24045 bool temp4
= false ;
24052 bool temp8
= false ;
24053 bool temp9
= false ;
24054 PyObject
* obj0
= 0 ;
24055 PyObject
* obj1
= 0 ;
24056 PyObject
* obj2
= 0 ;
24057 PyObject
* obj3
= 0 ;
24058 PyObject
* obj4
= 0 ;
24059 PyObject
* obj5
= 0 ;
24060 PyObject
* obj6
= 0 ;
24061 PyObject
* obj7
= 0 ;
24062 PyObject
* obj8
= 0 ;
24063 PyObject
* obj9
= 0 ;
24064 char * kwnames
[] = {
24065 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24070 if (!SWIG_IsOK(res1
)) {
24071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24073 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24074 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24075 if (!SWIG_IsOK(ecode2
)) {
24076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24078 arg2
= static_cast< size_t >(val2
);
24079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24080 if (!SWIG_IsOK(ecode3
)) {
24081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24083 arg3
= static_cast< int >(val3
);
24085 arg4
= wxString_in_helper(obj3
);
24086 if (arg4
== NULL
) SWIG_fail
;
24089 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24090 if (!SWIG_IsOK(res5
)) {
24091 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24096 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24098 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24099 if (!SWIG_IsOK(res6
)) {
24100 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24105 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24108 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24109 if (!SWIG_IsOK(ecode7
)) {
24110 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24112 arg7
= static_cast< wxItemKind
>(val7
);
24116 arg8
= wxString_in_helper(obj7
);
24117 if (arg8
== NULL
) SWIG_fail
;
24123 arg9
= wxString_in_helper(obj8
);
24124 if (arg9
== NULL
) SWIG_fail
;
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24134 wxPyEndAllowThreads(__tstate
);
24135 if (PyErr_Occurred()) SWIG_fail
;
24138 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24170 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
= 0;
24172 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24173 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24174 wxToolBarToolBase
*result
= 0 ;
24179 PyObject
* obj0
= 0 ;
24180 PyObject
* obj1
= 0 ;
24181 char * kwnames
[] = {
24182 (char *) "self",(char *) "tool", NULL
24185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24187 if (!SWIG_IsOK(res1
)) {
24188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24190 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24192 if (!SWIG_IsOK(res2
)) {
24193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24195 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24203 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24211 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
= 0;
24213 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24215 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24216 wxToolBarToolBase
*result
= 0 ;
24223 PyObject
* obj0
= 0 ;
24224 PyObject
* obj1
= 0 ;
24225 PyObject
* obj2
= 0 ;
24226 char * kwnames
[] = {
24227 (char *) "self",(char *) "pos",(char *) "tool", NULL
24230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24232 if (!SWIG_IsOK(res1
)) {
24233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24235 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24236 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24237 if (!SWIG_IsOK(ecode2
)) {
24238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24240 arg2
= static_cast< size_t >(val2
);
24241 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24242 if (!SWIG_IsOK(res3
)) {
24243 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24245 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24261 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
= 0;
24263 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24264 wxControl
*arg2
= (wxControl
*) 0 ;
24265 wxToolBarToolBase
*result
= 0 ;
24270 PyObject
* obj0
= 0 ;
24271 PyObject
* obj1
= 0 ;
24272 char * kwnames
[] = {
24273 (char *) "self",(char *) "control", NULL
24276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24278 if (!SWIG_IsOK(res1
)) {
24279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24281 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24282 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24283 if (!SWIG_IsOK(res2
)) {
24284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24286 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24289 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24290 wxPyEndAllowThreads(__tstate
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24294 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24302 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
= 0;
24304 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24306 wxControl
*arg3
= (wxControl
*) 0 ;
24307 wxToolBarToolBase
*result
= 0 ;
24314 PyObject
* obj0
= 0 ;
24315 PyObject
* obj1
= 0 ;
24316 PyObject
* obj2
= 0 ;
24317 char * kwnames
[] = {
24318 (char *) "self",(char *) "pos",(char *) "control", NULL
24321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24323 if (!SWIG_IsOK(res1
)) {
24324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24326 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24327 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24328 if (!SWIG_IsOK(ecode2
)) {
24329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24331 arg2
= static_cast< size_t >(val2
);
24332 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24333 if (!SWIG_IsOK(res3
)) {
24334 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24336 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24344 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24352 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24353 PyObject
*resultobj
= 0;
24354 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24356 wxControl
*result
= 0 ;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 char * kwnames
[] = {
24364 (char *) "self",(char *) "id", NULL
24367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24369 if (!SWIG_IsOK(res1
)) {
24370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24372 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24374 if (!SWIG_IsOK(ecode2
)) {
24375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24377 arg2
= static_cast< int >(val2
);
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24380 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24381 wxPyEndAllowThreads(__tstate
);
24382 if (PyErr_Occurred()) SWIG_fail
;
24385 resultobj
= wxPyMake_wxObject(result
, 0);
24393 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24394 PyObject
*resultobj
= 0;
24395 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24396 wxToolBarToolBase
*result
= 0 ;
24399 PyObject
*swig_obj
[1] ;
24401 if (!args
) SWIG_fail
;
24402 swig_obj
[0] = args
;
24403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24404 if (!SWIG_IsOK(res1
)) {
24405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24407 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24411 wxPyEndAllowThreads(__tstate
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24415 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24423 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24424 PyObject
*resultobj
= 0;
24425 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24427 wxToolBarToolBase
*result
= 0 ;
24432 PyObject
* obj0
= 0 ;
24433 PyObject
* obj1
= 0 ;
24434 char * kwnames
[] = {
24435 (char *) "self",(char *) "pos", NULL
24438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24440 if (!SWIG_IsOK(res1
)) {
24441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24443 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24444 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24445 if (!SWIG_IsOK(ecode2
)) {
24446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24448 arg2
= static_cast< size_t >(val2
);
24450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24451 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24456 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24464 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24465 PyObject
*resultobj
= 0;
24466 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24468 wxToolBarToolBase
*result
= 0 ;
24473 PyObject
* obj0
= 0 ;
24474 PyObject
* obj1
= 0 ;
24475 char * kwnames
[] = {
24476 (char *) "self",(char *) "id", NULL
24479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24481 if (!SWIG_IsOK(res1
)) {
24482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24484 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24486 if (!SWIG_IsOK(ecode2
)) {
24487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24489 arg2
= static_cast< int >(val2
);
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24492 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24493 wxPyEndAllowThreads(__tstate
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24497 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24505 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24506 PyObject
*resultobj
= 0;
24507 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24514 PyObject
* obj0
= 0 ;
24515 PyObject
* obj1
= 0 ;
24516 char * kwnames
[] = {
24517 (char *) "self",(char *) "pos", NULL
24520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24522 if (!SWIG_IsOK(res1
)) {
24523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24525 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24526 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24527 if (!SWIG_IsOK(ecode2
)) {
24528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24530 arg2
= static_cast< size_t >(val2
);
24532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24533 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24534 wxPyEndAllowThreads(__tstate
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24546 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24547 PyObject
*resultobj
= 0;
24548 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24555 PyObject
* obj0
= 0 ;
24556 PyObject
* obj1
= 0 ;
24557 char * kwnames
[] = {
24558 (char *) "self",(char *) "id", NULL
24561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24563 if (!SWIG_IsOK(res1
)) {
24564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24566 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24568 if (!SWIG_IsOK(ecode2
)) {
24569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24571 arg2
= static_cast< int >(val2
);
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 result
= (bool)(arg1
)->DeleteTool(arg2
);
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24587 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24588 PyObject
*resultobj
= 0;
24589 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24592 PyObject
*swig_obj
[1] ;
24594 if (!args
) SWIG_fail
;
24595 swig_obj
[0] = args
;
24596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24597 if (!SWIG_IsOK(res1
)) {
24598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24600 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24603 (arg1
)->ClearTools();
24604 wxPyEndAllowThreads(__tstate
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24607 resultobj
= SWIG_Py_Void();
24614 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24615 PyObject
*resultobj
= 0;
24616 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24620 PyObject
*swig_obj
[1] ;
24622 if (!args
) SWIG_fail
;
24623 swig_obj
[0] = args
;
24624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24625 if (!SWIG_IsOK(res1
)) {
24626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24628 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24631 result
= (bool)(arg1
)->Realize();
24632 wxPyEndAllowThreads(__tstate
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24644 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
= 0;
24646 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24655 PyObject
* obj0
= 0 ;
24656 PyObject
* obj1
= 0 ;
24657 PyObject
* obj2
= 0 ;
24658 char * kwnames
[] = {
24659 (char *) "self",(char *) "id",(char *) "enable", NULL
24662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24664 if (!SWIG_IsOK(res1
)) {
24665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24667 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24669 if (!SWIG_IsOK(ecode2
)) {
24670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24672 arg2
= static_cast< int >(val2
);
24673 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24674 if (!SWIG_IsOK(ecode3
)) {
24675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24677 arg3
= static_cast< bool >(val3
);
24679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24680 (arg1
)->EnableTool(arg2
,arg3
);
24681 wxPyEndAllowThreads(__tstate
);
24682 if (PyErr_Occurred()) SWIG_fail
;
24684 resultobj
= SWIG_Py_Void();
24691 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24692 PyObject
*resultobj
= 0;
24693 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24702 PyObject
* obj0
= 0 ;
24703 PyObject
* obj1
= 0 ;
24704 PyObject
* obj2
= 0 ;
24705 char * kwnames
[] = {
24706 (char *) "self",(char *) "id",(char *) "toggle", NULL
24709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24711 if (!SWIG_IsOK(res1
)) {
24712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24714 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24716 if (!SWIG_IsOK(ecode2
)) {
24717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24719 arg2
= static_cast< int >(val2
);
24720 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24721 if (!SWIG_IsOK(ecode3
)) {
24722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24724 arg3
= static_cast< bool >(val3
);
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 (arg1
)->ToggleTool(arg2
,arg3
);
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24731 resultobj
= SWIG_Py_Void();
24738 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24739 PyObject
*resultobj
= 0;
24740 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24749 PyObject
* obj0
= 0 ;
24750 PyObject
* obj1
= 0 ;
24751 PyObject
* obj2
= 0 ;
24752 char * kwnames
[] = {
24753 (char *) "self",(char *) "id",(char *) "toggle", NULL
24756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24758 if (!SWIG_IsOK(res1
)) {
24759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24761 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24763 if (!SWIG_IsOK(ecode2
)) {
24764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24766 arg2
= static_cast< int >(val2
);
24767 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24768 if (!SWIG_IsOK(ecode3
)) {
24769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24771 arg3
= static_cast< bool >(val3
);
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 (arg1
)->SetToggle(arg2
,arg3
);
24775 wxPyEndAllowThreads(__tstate
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24778 resultobj
= SWIG_Py_Void();
24785 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24786 PyObject
*resultobj
= 0;
24787 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24789 PyObject
*result
= 0 ;
24794 PyObject
* obj0
= 0 ;
24795 PyObject
* obj1
= 0 ;
24796 char * kwnames
[] = {
24797 (char *) "self",(char *) "id", NULL
24800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24802 if (!SWIG_IsOK(res1
)) {
24803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24805 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24807 if (!SWIG_IsOK(ecode2
)) {
24808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24810 arg2
= static_cast< int >(val2
);
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24817 resultobj
= result
;
24824 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
= 0;
24826 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24828 PyObject
*arg3
= (PyObject
*) 0 ;
24833 PyObject
* obj0
= 0 ;
24834 PyObject
* obj1
= 0 ;
24835 PyObject
* obj2
= 0 ;
24836 char * kwnames
[] = {
24837 (char *) "self",(char *) "id",(char *) "clientData", NULL
24840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24842 if (!SWIG_IsOK(res1
)) {
24843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24845 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24847 if (!SWIG_IsOK(ecode2
)) {
24848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24850 arg2
= static_cast< int >(val2
);
24853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24854 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24858 resultobj
= SWIG_Py_Void();
24865 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24866 PyObject
*resultobj
= 0;
24867 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24874 PyObject
* obj0
= 0 ;
24875 PyObject
* obj1
= 0 ;
24876 char * kwnames
[] = {
24877 (char *) "self",(char *) "id", NULL
24880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24882 if (!SWIG_IsOK(res1
)) {
24883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24885 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24887 if (!SWIG_IsOK(ecode2
)) {
24888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24890 arg2
= static_cast< int >(val2
);
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24894 wxPyEndAllowThreads(__tstate
);
24895 if (PyErr_Occurred()) SWIG_fail
;
24897 resultobj
= SWIG_From_int(static_cast< int >(result
));
24904 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24905 PyObject
*resultobj
= 0;
24906 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24913 PyObject
* obj0
= 0 ;
24914 PyObject
* obj1
= 0 ;
24915 char * kwnames
[] = {
24916 (char *) "self",(char *) "id", NULL
24919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24921 if (!SWIG_IsOK(res1
)) {
24922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24924 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24926 if (!SWIG_IsOK(ecode2
)) {
24927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24929 arg2
= static_cast< int >(val2
);
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 result
= (bool)(arg1
)->GetToolState(arg2
);
24933 wxPyEndAllowThreads(__tstate
);
24934 if (PyErr_Occurred()) SWIG_fail
;
24937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24945 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
= 0;
24947 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24954 PyObject
* obj0
= 0 ;
24955 PyObject
* obj1
= 0 ;
24956 char * kwnames
[] = {
24957 (char *) "self",(char *) "id", NULL
24960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24962 if (!SWIG_IsOK(res1
)) {
24963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24965 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24967 if (!SWIG_IsOK(ecode2
)) {
24968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24970 arg2
= static_cast< int >(val2
);
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24974 wxPyEndAllowThreads(__tstate
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24986 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
= 0;
24988 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24990 wxString
*arg3
= 0 ;
24995 bool temp3
= false ;
24996 PyObject
* obj0
= 0 ;
24997 PyObject
* obj1
= 0 ;
24998 PyObject
* obj2
= 0 ;
24999 char * kwnames
[] = {
25000 (char *) "self",(char *) "id",(char *) "helpString", NULL
25003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25005 if (!SWIG_IsOK(res1
)) {
25006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25008 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25010 if (!SWIG_IsOK(ecode2
)) {
25011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25013 arg2
= static_cast< int >(val2
);
25015 arg3
= wxString_in_helper(obj2
);
25016 if (arg3
== NULL
) SWIG_fail
;
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
25022 wxPyEndAllowThreads(__tstate
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25025 resultobj
= SWIG_Py_Void();
25040 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25041 PyObject
*resultobj
= 0;
25042 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25049 PyObject
* obj0
= 0 ;
25050 PyObject
* obj1
= 0 ;
25051 char * kwnames
[] = {
25052 (char *) "self",(char *) "id", NULL
25055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25057 if (!SWIG_IsOK(res1
)) {
25058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25060 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25062 if (!SWIG_IsOK(ecode2
)) {
25063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25065 arg2
= static_cast< int >(val2
);
25067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25068 result
= (arg1
)->GetToolShortHelp(arg2
);
25069 wxPyEndAllowThreads(__tstate
);
25070 if (PyErr_Occurred()) SWIG_fail
;
25074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25085 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
= 0;
25087 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25089 wxString
*arg3
= 0 ;
25094 bool temp3
= false ;
25095 PyObject
* obj0
= 0 ;
25096 PyObject
* obj1
= 0 ;
25097 PyObject
* obj2
= 0 ;
25098 char * kwnames
[] = {
25099 (char *) "self",(char *) "id",(char *) "helpString", NULL
25102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25104 if (!SWIG_IsOK(res1
)) {
25105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25107 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25109 if (!SWIG_IsOK(ecode2
)) {
25110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25112 arg2
= static_cast< int >(val2
);
25114 arg3
= wxString_in_helper(obj2
);
25115 if (arg3
== NULL
) SWIG_fail
;
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25124 resultobj
= SWIG_Py_Void();
25139 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25140 PyObject
*resultobj
= 0;
25141 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25148 PyObject
* obj0
= 0 ;
25149 PyObject
* obj1
= 0 ;
25150 char * kwnames
[] = {
25151 (char *) "self",(char *) "id", NULL
25154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25156 if (!SWIG_IsOK(res1
)) {
25157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25159 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25161 if (!SWIG_IsOK(ecode2
)) {
25162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25164 arg2
= static_cast< int >(val2
);
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 result
= (arg1
)->GetToolLongHelp(arg2
);
25168 wxPyEndAllowThreads(__tstate
);
25169 if (PyErr_Occurred()) SWIG_fail
;
25173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25184 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25185 PyObject
*resultobj
= 0;
25186 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25195 PyObject
* obj0
= 0 ;
25196 PyObject
* obj1
= 0 ;
25197 PyObject
* obj2
= 0 ;
25198 char * kwnames
[] = {
25199 (char *) "self",(char *) "x",(char *) "y", NULL
25202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25204 if (!SWIG_IsOK(res1
)) {
25205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25207 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25209 if (!SWIG_IsOK(ecode2
)) {
25210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25212 arg2
= static_cast< int >(val2
);
25213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25214 if (!SWIG_IsOK(ecode3
)) {
25215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25217 arg3
= static_cast< int >(val3
);
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 (arg1
)->SetMargins(arg2
,arg3
);
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25224 resultobj
= SWIG_Py_Void();
25231 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
= 0;
25233 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj1
= 0 ;
25240 char * kwnames
[] = {
25241 (char *) "self",(char *) "size", NULL
25244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25246 if (!SWIG_IsOK(res1
)) {
25247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25249 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25252 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25260 resultobj
= SWIG_Py_Void();
25267 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25268 PyObject
*resultobj
= 0;
25269 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25275 PyObject
* obj0
= 0 ;
25276 PyObject
* obj1
= 0 ;
25277 char * kwnames
[] = {
25278 (char *) "self",(char *) "packing", NULL
25281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25283 if (!SWIG_IsOK(res1
)) {
25284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25286 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25288 if (!SWIG_IsOK(ecode2
)) {
25289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25291 arg2
= static_cast< int >(val2
);
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 (arg1
)->SetToolPacking(arg2
);
25295 wxPyEndAllowThreads(__tstate
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25298 resultobj
= SWIG_Py_Void();
25305 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25306 PyObject
*resultobj
= 0;
25307 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25313 PyObject
* obj0
= 0 ;
25314 PyObject
* obj1
= 0 ;
25315 char * kwnames
[] = {
25316 (char *) "self",(char *) "separation", NULL
25319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25321 if (!SWIG_IsOK(res1
)) {
25322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25324 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25326 if (!SWIG_IsOK(ecode2
)) {
25327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25329 arg2
= static_cast< int >(val2
);
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 (arg1
)->SetToolSeparation(arg2
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 resultobj
= SWIG_Py_Void();
25343 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25344 PyObject
*resultobj
= 0;
25345 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25349 PyObject
*swig_obj
[1] ;
25351 if (!args
) SWIG_fail
;
25352 swig_obj
[0] = args
;
25353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25354 if (!SWIG_IsOK(res1
)) {
25355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25357 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25360 result
= (arg1
)->GetToolMargins();
25361 wxPyEndAllowThreads(__tstate
);
25362 if (PyErr_Occurred()) SWIG_fail
;
25364 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25371 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25372 PyObject
*resultobj
= 0;
25373 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25377 PyObject
*swig_obj
[1] ;
25379 if (!args
) SWIG_fail
;
25380 swig_obj
[0] = args
;
25381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25382 if (!SWIG_IsOK(res1
)) {
25383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25385 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25388 result
= (arg1
)->GetMargins();
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25392 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25399 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25400 PyObject
*resultobj
= 0;
25401 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25405 PyObject
*swig_obj
[1] ;
25407 if (!args
) SWIG_fail
;
25408 swig_obj
[0] = args
;
25409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25410 if (!SWIG_IsOK(res1
)) {
25411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25413 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 result
= (int)(arg1
)->GetToolPacking();
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 resultobj
= SWIG_From_int(static_cast< int >(result
));
25427 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25428 PyObject
*resultobj
= 0;
25429 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25433 PyObject
*swig_obj
[1] ;
25435 if (!args
) SWIG_fail
;
25436 swig_obj
[0] = args
;
25437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25438 if (!SWIG_IsOK(res1
)) {
25439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25441 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 result
= (int)(arg1
)->GetToolSeparation();
25445 wxPyEndAllowThreads(__tstate
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25448 resultobj
= SWIG_From_int(static_cast< int >(result
));
25455 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25456 PyObject
*resultobj
= 0;
25457 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25463 PyObject
* obj0
= 0 ;
25464 PyObject
* obj1
= 0 ;
25465 char * kwnames
[] = {
25466 (char *) "self",(char *) "nRows", NULL
25469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25471 if (!SWIG_IsOK(res1
)) {
25472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25474 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25476 if (!SWIG_IsOK(ecode2
)) {
25477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25479 arg2
= static_cast< int >(val2
);
25481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25482 (arg1
)->SetRows(arg2
);
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25486 resultobj
= SWIG_Py_Void();
25493 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25494 PyObject
*resultobj
= 0;
25495 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25504 PyObject
* obj0
= 0 ;
25505 PyObject
* obj1
= 0 ;
25506 PyObject
* obj2
= 0 ;
25507 char * kwnames
[] = {
25508 (char *) "self",(char *) "rows",(char *) "cols", NULL
25511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25513 if (!SWIG_IsOK(res1
)) {
25514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25516 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25518 if (!SWIG_IsOK(ecode2
)) {
25519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25521 arg2
= static_cast< int >(val2
);
25522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25523 if (!SWIG_IsOK(ecode3
)) {
25524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25526 arg3
= static_cast< int >(val3
);
25528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25529 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 resultobj
= SWIG_Py_Void();
25540 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25541 PyObject
*resultobj
= 0;
25542 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25546 PyObject
*swig_obj
[1] ;
25548 if (!args
) SWIG_fail
;
25549 swig_obj
[0] = args
;
25550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25551 if (!SWIG_IsOK(res1
)) {
25552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25554 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25557 result
= (int)(arg1
)->GetMaxRows();
25558 wxPyEndAllowThreads(__tstate
);
25559 if (PyErr_Occurred()) SWIG_fail
;
25561 resultobj
= SWIG_From_int(static_cast< int >(result
));
25568 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25569 PyObject
*resultobj
= 0;
25570 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25574 PyObject
*swig_obj
[1] ;
25576 if (!args
) SWIG_fail
;
25577 swig_obj
[0] = args
;
25578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25579 if (!SWIG_IsOK(res1
)) {
25580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25582 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25585 result
= (int)(arg1
)->GetMaxCols();
25586 wxPyEndAllowThreads(__tstate
);
25587 if (PyErr_Occurred()) SWIG_fail
;
25589 resultobj
= SWIG_From_int(static_cast< int >(result
));
25596 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
= 0;
25598 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25603 PyObject
* obj0
= 0 ;
25604 PyObject
* obj1
= 0 ;
25605 char * kwnames
[] = {
25606 (char *) "self",(char *) "size", NULL
25609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25611 if (!SWIG_IsOK(res1
)) {
25612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25614 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25617 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25621 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25625 resultobj
= SWIG_Py_Void();
25632 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25633 PyObject
*resultobj
= 0;
25634 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25638 PyObject
*swig_obj
[1] ;
25640 if (!args
) SWIG_fail
;
25641 swig_obj
[0] = args
;
25642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25643 if (!SWIG_IsOK(res1
)) {
25644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25646 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25649 result
= (arg1
)->GetToolBitmapSize();
25650 wxPyEndAllowThreads(__tstate
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25653 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25660 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25661 PyObject
*resultobj
= 0;
25662 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25666 PyObject
*swig_obj
[1] ;
25668 if (!args
) SWIG_fail
;
25669 swig_obj
[0] = args
;
25670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25671 if (!SWIG_IsOK(res1
)) {
25672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25674 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 result
= (arg1
)->GetToolSize();
25678 wxPyEndAllowThreads(__tstate
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25681 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25688 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25689 PyObject
*resultobj
= 0;
25690 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25693 wxToolBarToolBase
*result
= 0 ;
25700 PyObject
* obj0
= 0 ;
25701 PyObject
* obj1
= 0 ;
25702 PyObject
* obj2
= 0 ;
25703 char * kwnames
[] = {
25704 (char *) "self",(char *) "x",(char *) "y", NULL
25707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25709 if (!SWIG_IsOK(res1
)) {
25710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25712 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25714 if (!SWIG_IsOK(ecode2
)) {
25715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25717 arg2
= static_cast< int >(val2
);
25718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25719 if (!SWIG_IsOK(ecode3
)) {
25720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25722 arg3
= static_cast< int >(val3
);
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25730 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25738 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25739 PyObject
*resultobj
= 0;
25740 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25742 wxToolBarToolBase
*result
= 0 ;
25747 PyObject
* obj0
= 0 ;
25748 PyObject
* obj1
= 0 ;
25749 char * kwnames
[] = {
25750 (char *) "self",(char *) "toolid", NULL
25753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25755 if (!SWIG_IsOK(res1
)) {
25756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25758 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25760 if (!SWIG_IsOK(ecode2
)) {
25761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25763 arg2
= static_cast< int >(val2
);
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25771 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25779 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25780 PyObject
*resultobj
= 0;
25781 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25785 PyObject
*swig_obj
[1] ;
25787 if (!args
) SWIG_fail
;
25788 swig_obj
[0] = args
;
25789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25790 if (!SWIG_IsOK(res1
)) {
25791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25793 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 result
= (bool)(arg1
)->IsVertical();
25797 wxPyEndAllowThreads(__tstate
);
25798 if (PyErr_Occurred()) SWIG_fail
;
25801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25809 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25810 PyObject
*resultobj
= 0;
25811 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25815 PyObject
*swig_obj
[1] ;
25817 if (!args
) SWIG_fail
;
25818 swig_obj
[0] = args
;
25819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25820 if (!SWIG_IsOK(res1
)) {
25821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25823 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25827 wxPyEndAllowThreads(__tstate
);
25828 if (PyErr_Occurred()) SWIG_fail
;
25830 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25837 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25839 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25840 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25841 return SWIG_Py_Void();
25844 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25845 PyObject
*resultobj
= 0;
25846 wxWindow
*arg1
= (wxWindow
*) 0 ;
25847 int arg2
= (int) -1 ;
25848 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25849 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25850 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25851 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25852 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25853 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25854 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25855 wxToolBar
*result
= 0 ;
25864 bool temp6
= false ;
25865 PyObject
* obj0
= 0 ;
25866 PyObject
* obj1
= 0 ;
25867 PyObject
* obj2
= 0 ;
25868 PyObject
* obj3
= 0 ;
25869 PyObject
* obj4
= 0 ;
25870 PyObject
* obj5
= 0 ;
25871 char * kwnames
[] = {
25872 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25877 if (!SWIG_IsOK(res1
)) {
25878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25880 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25883 if (!SWIG_IsOK(ecode2
)) {
25884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25886 arg2
= static_cast< int >(val2
);
25891 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25897 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25901 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25902 if (!SWIG_IsOK(ecode5
)) {
25903 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25905 arg5
= static_cast< long >(val5
);
25909 arg6
= wxString_in_helper(obj5
);
25910 if (arg6
== NULL
) SWIG_fail
;
25915 if (!wxPyCheckForApp()) SWIG_fail
;
25916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25917 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25936 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25937 PyObject
*resultobj
= 0;
25938 wxToolBar
*result
= 0 ;
25940 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25942 if (!wxPyCheckForApp()) SWIG_fail
;
25943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 result
= (wxToolBar
*)new wxToolBar();
25945 wxPyEndAllowThreads(__tstate
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25955 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25956 PyObject
*resultobj
= 0;
25957 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25958 wxWindow
*arg2
= (wxWindow
*) 0 ;
25959 int arg3
= (int) -1 ;
25960 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25961 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25962 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25963 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25964 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25965 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25966 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25978 bool temp7
= false ;
25979 PyObject
* obj0
= 0 ;
25980 PyObject
* obj1
= 0 ;
25981 PyObject
* obj2
= 0 ;
25982 PyObject
* obj3
= 0 ;
25983 PyObject
* obj4
= 0 ;
25984 PyObject
* obj5
= 0 ;
25985 PyObject
* obj6
= 0 ;
25986 char * kwnames
[] = {
25987 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25992 if (!SWIG_IsOK(res1
)) {
25993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25995 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25996 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25997 if (!SWIG_IsOK(res2
)) {
25998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26000 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26003 if (!SWIG_IsOK(ecode3
)) {
26004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26006 arg3
= static_cast< int >(val3
);
26011 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26017 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26021 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
26022 if (!SWIG_IsOK(ecode6
)) {
26023 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26025 arg6
= static_cast< long >(val6
);
26029 arg7
= wxString_in_helper(obj6
);
26030 if (arg7
== NULL
) SWIG_fail
;
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26037 wxPyEndAllowThreads(__tstate
);
26038 if (PyErr_Occurred()) SWIG_fail
;
26041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26057 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
= 0;
26059 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26060 SwigValueWrapper
<wxVisualAttributes
> result
;
26063 PyObject
* obj0
= 0 ;
26064 char * kwnames
[] = {
26065 (char *) "variant", NULL
26068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26070 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26071 if (!SWIG_IsOK(ecode1
)) {
26072 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26074 arg1
= static_cast< wxWindowVariant
>(val1
);
26077 if (!wxPyCheckForApp()) SWIG_fail
;
26078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26079 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26080 wxPyEndAllowThreads(__tstate
);
26081 if (PyErr_Occurred()) SWIG_fail
;
26083 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26090 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26093 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26094 return SWIG_Py_Void();
26097 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26098 return SWIG_Python_InitShadowInstance(args
);
26101 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26102 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26107 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26108 PyObject
*pyobj
= 0;
26112 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26114 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26121 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26122 PyObject
*resultobj
= 0;
26123 wxColour
const &arg1_defvalue
= wxNullColour
;
26124 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26125 wxColour
const &arg2_defvalue
= wxNullColour
;
26126 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26127 wxFont
const &arg3_defvalue
= wxNullFont
;
26128 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26129 wxListItemAttr
*result
= 0 ;
26134 PyObject
* obj0
= 0 ;
26135 PyObject
* obj1
= 0 ;
26136 PyObject
* obj2
= 0 ;
26137 char * kwnames
[] = {
26138 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26145 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26151 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26155 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26156 if (!SWIG_IsOK(res3
)) {
26157 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26162 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26166 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26167 wxPyEndAllowThreads(__tstate
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26177 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26178 PyObject
*resultobj
= 0;
26179 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26182 PyObject
*swig_obj
[1] ;
26184 if (!args
) SWIG_fail
;
26185 swig_obj
[0] = args
;
26186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26187 if (!SWIG_IsOK(res1
)) {
26188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26190 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26198 resultobj
= SWIG_Py_Void();
26205 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26206 PyObject
*resultobj
= 0;
26207 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26208 wxColour
*arg2
= 0 ;
26212 PyObject
* obj0
= 0 ;
26213 PyObject
* obj1
= 0 ;
26214 char * kwnames
[] = {
26215 (char *) "self",(char *) "colText", NULL
26218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26220 if (!SWIG_IsOK(res1
)) {
26221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26223 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26226 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26231 wxPyEndAllowThreads(__tstate
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26234 resultobj
= SWIG_Py_Void();
26241 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
= 0;
26243 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26244 wxColour
*arg2
= 0 ;
26248 PyObject
* obj0
= 0 ;
26249 PyObject
* obj1
= 0 ;
26250 char * kwnames
[] = {
26251 (char *) "self",(char *) "colBack", NULL
26254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26256 if (!SWIG_IsOK(res1
)) {
26257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26259 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26262 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26267 wxPyEndAllowThreads(__tstate
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26270 resultobj
= SWIG_Py_Void();
26277 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26278 PyObject
*resultobj
= 0;
26279 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26285 PyObject
* obj0
= 0 ;
26286 PyObject
* obj1
= 0 ;
26287 char * kwnames
[] = {
26288 (char *) "self",(char *) "font", NULL
26291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26293 if (!SWIG_IsOK(res1
)) {
26294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26296 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26298 if (!SWIG_IsOK(res2
)) {
26299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26304 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26307 (arg1
)->SetFont((wxFont
const &)*arg2
);
26308 wxPyEndAllowThreads(__tstate
);
26309 if (PyErr_Occurred()) SWIG_fail
;
26311 resultobj
= SWIG_Py_Void();
26318 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26319 PyObject
*resultobj
= 0;
26320 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26324 PyObject
*swig_obj
[1] ;
26326 if (!args
) SWIG_fail
;
26327 swig_obj
[0] = args
;
26328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26329 if (!SWIG_IsOK(res1
)) {
26330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26332 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26335 result
= (bool)(arg1
)->HasTextColour();
26336 wxPyEndAllowThreads(__tstate
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26348 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26349 PyObject
*resultobj
= 0;
26350 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26354 PyObject
*swig_obj
[1] ;
26356 if (!args
) SWIG_fail
;
26357 swig_obj
[0] = args
;
26358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26359 if (!SWIG_IsOK(res1
)) {
26360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26362 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26365 result
= (bool)(arg1
)->HasBackgroundColour();
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26378 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26379 PyObject
*resultobj
= 0;
26380 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26384 PyObject
*swig_obj
[1] ;
26386 if (!args
) SWIG_fail
;
26387 swig_obj
[0] = args
;
26388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26389 if (!SWIG_IsOK(res1
)) {
26390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26392 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 result
= (bool)(arg1
)->HasFont();
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26408 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26409 PyObject
*resultobj
= 0;
26410 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26414 PyObject
*swig_obj
[1] ;
26416 if (!args
) SWIG_fail
;
26417 swig_obj
[0] = args
;
26418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26419 if (!SWIG_IsOK(res1
)) {
26420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26422 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 result
= (arg1
)->GetTextColour();
26426 wxPyEndAllowThreads(__tstate
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26429 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26436 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26437 PyObject
*resultobj
= 0;
26438 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26442 PyObject
*swig_obj
[1] ;
26444 if (!args
) SWIG_fail
;
26445 swig_obj
[0] = args
;
26446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26447 if (!SWIG_IsOK(res1
)) {
26448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26450 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 result
= (arg1
)->GetBackgroundColour();
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26464 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26465 PyObject
*resultobj
= 0;
26466 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26470 PyObject
*swig_obj
[1] ;
26472 if (!args
) SWIG_fail
;
26473 swig_obj
[0] = args
;
26474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26475 if (!SWIG_IsOK(res1
)) {
26476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26478 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 result
= (arg1
)->GetFont();
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26492 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26493 PyObject
*resultobj
= 0;
26494 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26495 wxListItemAttr
*arg2
= 0 ;
26500 PyObject
* obj0
= 0 ;
26501 PyObject
* obj1
= 0 ;
26502 char * kwnames
[] = {
26503 (char *) "self",(char *) "source", NULL
26506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26508 if (!SWIG_IsOK(res1
)) {
26509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26511 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26512 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26513 if (!SWIG_IsOK(res2
)) {
26514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26519 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26522 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26523 wxPyEndAllowThreads(__tstate
);
26524 if (PyErr_Occurred()) SWIG_fail
;
26526 resultobj
= SWIG_Py_Void();
26533 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26534 PyObject
*resultobj
= 0;
26535 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26538 PyObject
*swig_obj
[1] ;
26540 if (!args
) SWIG_fail
;
26541 swig_obj
[0] = args
;
26542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26543 if (!SWIG_IsOK(res1
)) {
26544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26546 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 wxListItemAttr_Destroy(arg1
);
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 resultobj
= SWIG_Py_Void();
26560 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26563 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26564 return SWIG_Py_Void();
26567 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26568 return SWIG_Python_InitShadowInstance(args
);
26571 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26572 PyObject
*resultobj
= 0;
26573 wxListItem
*result
= 0 ;
26575 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 result
= (wxListItem
*)new wxListItem();
26579 wxPyEndAllowThreads(__tstate
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26589 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26590 PyObject
*resultobj
= 0;
26591 wxListItem
*arg1
= (wxListItem
*) 0 ;
26594 PyObject
*swig_obj
[1] ;
26596 if (!args
) SWIG_fail
;
26597 swig_obj
[0] = args
;
26598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26599 if (!SWIG_IsOK(res1
)) {
26600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26602 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 wxPyEndAllowThreads(__tstate
);
26608 if (PyErr_Occurred()) SWIG_fail
;
26610 resultobj
= SWIG_Py_Void();
26617 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26618 PyObject
*resultobj
= 0;
26619 wxListItem
*arg1
= (wxListItem
*) 0 ;
26622 PyObject
*swig_obj
[1] ;
26624 if (!args
) SWIG_fail
;
26625 swig_obj
[0] = args
;
26626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26627 if (!SWIG_IsOK(res1
)) {
26628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26630 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26637 resultobj
= SWIG_Py_Void();
26644 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26645 PyObject
*resultobj
= 0;
26646 wxListItem
*arg1
= (wxListItem
*) 0 ;
26649 PyObject
*swig_obj
[1] ;
26651 if (!args
) SWIG_fail
;
26652 swig_obj
[0] = args
;
26653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26654 if (!SWIG_IsOK(res1
)) {
26655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26657 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26660 (arg1
)->ClearAttributes();
26661 wxPyEndAllowThreads(__tstate
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26664 resultobj
= SWIG_Py_Void();
26671 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26672 PyObject
*resultobj
= 0;
26673 wxListItem
*arg1
= (wxListItem
*) 0 ;
26679 PyObject
* obj0
= 0 ;
26680 PyObject
* obj1
= 0 ;
26681 char * kwnames
[] = {
26682 (char *) "self",(char *) "mask", NULL
26685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26687 if (!SWIG_IsOK(res1
)) {
26688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26690 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26691 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26692 if (!SWIG_IsOK(ecode2
)) {
26693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26695 arg2
= static_cast< long >(val2
);
26697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26698 (arg1
)->SetMask(arg2
);
26699 wxPyEndAllowThreads(__tstate
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26702 resultobj
= SWIG_Py_Void();
26709 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26710 PyObject
*resultobj
= 0;
26711 wxListItem
*arg1
= (wxListItem
*) 0 ;
26717 PyObject
* obj0
= 0 ;
26718 PyObject
* obj1
= 0 ;
26719 char * kwnames
[] = {
26720 (char *) "self",(char *) "id", NULL
26723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26725 if (!SWIG_IsOK(res1
)) {
26726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26728 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26729 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26730 if (!SWIG_IsOK(ecode2
)) {
26731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26733 arg2
= static_cast< long >(val2
);
26735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26736 (arg1
)->SetId(arg2
);
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26740 resultobj
= SWIG_Py_Void();
26747 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26748 PyObject
*resultobj
= 0;
26749 wxListItem
*arg1
= (wxListItem
*) 0 ;
26755 PyObject
* obj0
= 0 ;
26756 PyObject
* obj1
= 0 ;
26757 char * kwnames
[] = {
26758 (char *) "self",(char *) "col", NULL
26761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26763 if (!SWIG_IsOK(res1
)) {
26764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26766 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26768 if (!SWIG_IsOK(ecode2
)) {
26769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26771 arg2
= static_cast< int >(val2
);
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 (arg1
)->SetColumn(arg2
);
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 resultobj
= SWIG_Py_Void();
26785 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
= 0;
26787 wxListItem
*arg1
= (wxListItem
*) 0 ;
26793 PyObject
* obj0
= 0 ;
26794 PyObject
* obj1
= 0 ;
26795 char * kwnames
[] = {
26796 (char *) "self",(char *) "state", NULL
26799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26801 if (!SWIG_IsOK(res1
)) {
26802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26804 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26805 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26806 if (!SWIG_IsOK(ecode2
)) {
26807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26809 arg2
= static_cast< long >(val2
);
26811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26812 (arg1
)->SetState(arg2
);
26813 wxPyEndAllowThreads(__tstate
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= SWIG_Py_Void();
26823 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26824 PyObject
*resultobj
= 0;
26825 wxListItem
*arg1
= (wxListItem
*) 0 ;
26831 PyObject
* obj0
= 0 ;
26832 PyObject
* obj1
= 0 ;
26833 char * kwnames
[] = {
26834 (char *) "self",(char *) "stateMask", NULL
26837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26839 if (!SWIG_IsOK(res1
)) {
26840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26842 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26843 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26844 if (!SWIG_IsOK(ecode2
)) {
26845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26847 arg2
= static_cast< long >(val2
);
26849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26850 (arg1
)->SetStateMask(arg2
);
26851 wxPyEndAllowThreads(__tstate
);
26852 if (PyErr_Occurred()) SWIG_fail
;
26854 resultobj
= SWIG_Py_Void();
26861 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26862 PyObject
*resultobj
= 0;
26863 wxListItem
*arg1
= (wxListItem
*) 0 ;
26864 wxString
*arg2
= 0 ;
26867 bool temp2
= false ;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 char * kwnames
[] = {
26871 (char *) "self",(char *) "text", NULL
26874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26876 if (!SWIG_IsOK(res1
)) {
26877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26879 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26881 arg2
= wxString_in_helper(obj1
);
26882 if (arg2
== NULL
) SWIG_fail
;
26886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26887 (arg1
)->SetText((wxString
const &)*arg2
);
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26891 resultobj
= SWIG_Py_Void();
26906 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26907 PyObject
*resultobj
= 0;
26908 wxListItem
*arg1
= (wxListItem
*) 0 ;
26914 PyObject
* obj0
= 0 ;
26915 PyObject
* obj1
= 0 ;
26916 char * kwnames
[] = {
26917 (char *) "self",(char *) "image", NULL
26920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26922 if (!SWIG_IsOK(res1
)) {
26923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26925 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26927 if (!SWIG_IsOK(ecode2
)) {
26928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26930 arg2
= static_cast< int >(val2
);
26932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26933 (arg1
)->SetImage(arg2
);
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26937 resultobj
= SWIG_Py_Void();
26944 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26945 PyObject
*resultobj
= 0;
26946 wxListItem
*arg1
= (wxListItem
*) 0 ;
26952 PyObject
* obj0
= 0 ;
26953 PyObject
* obj1
= 0 ;
26954 char * kwnames
[] = {
26955 (char *) "self",(char *) "data", NULL
26958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26960 if (!SWIG_IsOK(res1
)) {
26961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26963 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26964 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26965 if (!SWIG_IsOK(ecode2
)) {
26966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26968 arg2
= static_cast< long >(val2
);
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 (arg1
)->SetData(arg2
);
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= SWIG_Py_Void();
26982 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
= 0;
26984 wxListItem
*arg1
= (wxListItem
*) 0 ;
26990 PyObject
* obj0
= 0 ;
26991 PyObject
* obj1
= 0 ;
26992 char * kwnames
[] = {
26993 (char *) "self",(char *) "width", NULL
26996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26998 if (!SWIG_IsOK(res1
)) {
26999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27001 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27003 if (!SWIG_IsOK(ecode2
)) {
27004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27006 arg2
= static_cast< int >(val2
);
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 (arg1
)->SetWidth(arg2
);
27010 wxPyEndAllowThreads(__tstate
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27013 resultobj
= SWIG_Py_Void();
27020 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27021 PyObject
*resultobj
= 0;
27022 wxListItem
*arg1
= (wxListItem
*) 0 ;
27023 wxListColumnFormat arg2
;
27028 PyObject
* obj0
= 0 ;
27029 PyObject
* obj1
= 0 ;
27030 char * kwnames
[] = {
27031 (char *) "self",(char *) "align", NULL
27034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27036 if (!SWIG_IsOK(res1
)) {
27037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27039 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27041 if (!SWIG_IsOK(ecode2
)) {
27042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27044 arg2
= static_cast< wxListColumnFormat
>(val2
);
27046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27047 (arg1
)->SetAlign(arg2
);
27048 wxPyEndAllowThreads(__tstate
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27051 resultobj
= SWIG_Py_Void();
27058 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27059 PyObject
*resultobj
= 0;
27060 wxListItem
*arg1
= (wxListItem
*) 0 ;
27061 wxColour
*arg2
= 0 ;
27065 PyObject
* obj0
= 0 ;
27066 PyObject
* obj1
= 0 ;
27067 char * kwnames
[] = {
27068 (char *) "self",(char *) "colText", NULL
27071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27073 if (!SWIG_IsOK(res1
)) {
27074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27076 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27079 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27083 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27084 wxPyEndAllowThreads(__tstate
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27087 resultobj
= SWIG_Py_Void();
27094 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
= 0;
27096 wxListItem
*arg1
= (wxListItem
*) 0 ;
27097 wxColour
*arg2
= 0 ;
27101 PyObject
* obj0
= 0 ;
27102 PyObject
* obj1
= 0 ;
27103 char * kwnames
[] = {
27104 (char *) "self",(char *) "colBack", NULL
27107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27109 if (!SWIG_IsOK(res1
)) {
27110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27112 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27115 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27119 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27123 resultobj
= SWIG_Py_Void();
27130 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27131 PyObject
*resultobj
= 0;
27132 wxListItem
*arg1
= (wxListItem
*) 0 ;
27138 PyObject
* obj0
= 0 ;
27139 PyObject
* obj1
= 0 ;
27140 char * kwnames
[] = {
27141 (char *) "self",(char *) "font", NULL
27144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27146 if (!SWIG_IsOK(res1
)) {
27147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27149 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27150 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27151 if (!SWIG_IsOK(res2
)) {
27152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27157 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27160 (arg1
)->SetFont((wxFont
const &)*arg2
);
27161 wxPyEndAllowThreads(__tstate
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27164 resultobj
= SWIG_Py_Void();
27171 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27172 PyObject
*resultobj
= 0;
27173 wxListItem
*arg1
= (wxListItem
*) 0 ;
27177 PyObject
*swig_obj
[1] ;
27179 if (!args
) SWIG_fail
;
27180 swig_obj
[0] = args
;
27181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27182 if (!SWIG_IsOK(res1
)) {
27183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27185 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 result
= (long)(arg1
)->GetMask();
27189 wxPyEndAllowThreads(__tstate
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= SWIG_From_long(static_cast< long >(result
));
27199 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27200 PyObject
*resultobj
= 0;
27201 wxListItem
*arg1
= (wxListItem
*) 0 ;
27205 PyObject
*swig_obj
[1] ;
27207 if (!args
) SWIG_fail
;
27208 swig_obj
[0] = args
;
27209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27210 if (!SWIG_IsOK(res1
)) {
27211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27213 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27216 result
= (long)(arg1
)->GetId();
27217 wxPyEndAllowThreads(__tstate
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27220 resultobj
= SWIG_From_long(static_cast< long >(result
));
27227 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27228 PyObject
*resultobj
= 0;
27229 wxListItem
*arg1
= (wxListItem
*) 0 ;
27233 PyObject
*swig_obj
[1] ;
27235 if (!args
) SWIG_fail
;
27236 swig_obj
[0] = args
;
27237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27238 if (!SWIG_IsOK(res1
)) {
27239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27241 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27244 result
= (int)(arg1
)->GetColumn();
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27248 resultobj
= SWIG_From_int(static_cast< int >(result
));
27255 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27256 PyObject
*resultobj
= 0;
27257 wxListItem
*arg1
= (wxListItem
*) 0 ;
27261 PyObject
*swig_obj
[1] ;
27263 if (!args
) SWIG_fail
;
27264 swig_obj
[0] = args
;
27265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27266 if (!SWIG_IsOK(res1
)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27269 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27272 result
= (long)(arg1
)->GetState();
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27276 resultobj
= SWIG_From_long(static_cast< long >(result
));
27283 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27284 PyObject
*resultobj
= 0;
27285 wxListItem
*arg1
= (wxListItem
*) 0 ;
27286 wxString
*result
= 0 ;
27289 PyObject
*swig_obj
[1] ;
27291 if (!args
) SWIG_fail
;
27292 swig_obj
[0] = args
;
27293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27294 if (!SWIG_IsOK(res1
)) {
27295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27297 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27301 wxString
const &_result_ref
= (arg1
)->GetText();
27302 result
= (wxString
*) &_result_ref
;
27304 wxPyEndAllowThreads(__tstate
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27309 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27311 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27320 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27321 PyObject
*resultobj
= 0;
27322 wxListItem
*arg1
= (wxListItem
*) 0 ;
27326 PyObject
*swig_obj
[1] ;
27328 if (!args
) SWIG_fail
;
27329 swig_obj
[0] = args
;
27330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27331 if (!SWIG_IsOK(res1
)) {
27332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27334 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27337 result
= (int)(arg1
)->GetImage();
27338 wxPyEndAllowThreads(__tstate
);
27339 if (PyErr_Occurred()) SWIG_fail
;
27341 resultobj
= SWIG_From_int(static_cast< int >(result
));
27348 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27349 PyObject
*resultobj
= 0;
27350 wxListItem
*arg1
= (wxListItem
*) 0 ;
27354 PyObject
*swig_obj
[1] ;
27356 if (!args
) SWIG_fail
;
27357 swig_obj
[0] = args
;
27358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27359 if (!SWIG_IsOK(res1
)) {
27360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27362 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27365 result
= (long)(arg1
)->GetData();
27366 wxPyEndAllowThreads(__tstate
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27369 resultobj
= SWIG_From_long(static_cast< long >(result
));
27376 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27377 PyObject
*resultobj
= 0;
27378 wxListItem
*arg1
= (wxListItem
*) 0 ;
27382 PyObject
*swig_obj
[1] ;
27384 if (!args
) SWIG_fail
;
27385 swig_obj
[0] = args
;
27386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27387 if (!SWIG_IsOK(res1
)) {
27388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27390 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27393 result
= (int)(arg1
)->GetWidth();
27394 wxPyEndAllowThreads(__tstate
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27397 resultobj
= SWIG_From_int(static_cast< int >(result
));
27404 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27405 PyObject
*resultobj
= 0;
27406 wxListItem
*arg1
= (wxListItem
*) 0 ;
27407 wxListColumnFormat result
;
27410 PyObject
*swig_obj
[1] ;
27412 if (!args
) SWIG_fail
;
27413 swig_obj
[0] = args
;
27414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27415 if (!SWIG_IsOK(res1
)) {
27416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27418 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27421 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27425 resultobj
= SWIG_From_int(static_cast< int >(result
));
27432 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27433 PyObject
*resultobj
= 0;
27434 wxListItem
*arg1
= (wxListItem
*) 0 ;
27435 wxListItemAttr
*result
= 0 ;
27438 PyObject
*swig_obj
[1] ;
27440 if (!args
) SWIG_fail
;
27441 swig_obj
[0] = args
;
27442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27443 if (!SWIG_IsOK(res1
)) {
27444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27446 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27449 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27450 wxPyEndAllowThreads(__tstate
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27460 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27461 PyObject
*resultobj
= 0;
27462 wxListItem
*arg1
= (wxListItem
*) 0 ;
27466 PyObject
*swig_obj
[1] ;
27468 if (!args
) SWIG_fail
;
27469 swig_obj
[0] = args
;
27470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27471 if (!SWIG_IsOK(res1
)) {
27472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27474 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 result
= (bool)(arg1
)->HasAttributes();
27478 wxPyEndAllowThreads(__tstate
);
27479 if (PyErr_Occurred()) SWIG_fail
;
27482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27490 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27491 PyObject
*resultobj
= 0;
27492 wxListItem
*arg1
= (wxListItem
*) 0 ;
27496 PyObject
*swig_obj
[1] ;
27498 if (!args
) SWIG_fail
;
27499 swig_obj
[0] = args
;
27500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27501 if (!SWIG_IsOK(res1
)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27504 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27507 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27518 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27519 PyObject
*resultobj
= 0;
27520 wxListItem
*arg1
= (wxListItem
*) 0 ;
27524 PyObject
*swig_obj
[1] ;
27526 if (!args
) SWIG_fail
;
27527 swig_obj
[0] = args
;
27528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27529 if (!SWIG_IsOK(res1
)) {
27530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27532 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27535 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27536 wxPyEndAllowThreads(__tstate
);
27537 if (PyErr_Occurred()) SWIG_fail
;
27539 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27546 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27547 PyObject
*resultobj
= 0;
27548 wxListItem
*arg1
= (wxListItem
*) 0 ;
27552 PyObject
*swig_obj
[1] ;
27554 if (!args
) SWIG_fail
;
27555 swig_obj
[0] = args
;
27556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27557 if (!SWIG_IsOK(res1
)) {
27558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27560 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27563 result
= ((wxListItem
const *)arg1
)->GetFont();
27564 wxPyEndAllowThreads(__tstate
);
27565 if (PyErr_Occurred()) SWIG_fail
;
27567 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27574 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27575 PyObject
*resultobj
= 0;
27576 wxListItem
*arg1
= (wxListItem
*) 0 ;
27582 PyObject
*swig_obj
[2] ;
27584 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27586 if (!SWIG_IsOK(res1
)) {
27587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27589 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27590 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27591 if (!SWIG_IsOK(ecode2
)) {
27592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27594 arg2
= static_cast< long >(val2
);
27595 if (arg1
) (arg1
)->m_mask
= arg2
;
27597 resultobj
= SWIG_Py_Void();
27604 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27605 PyObject
*resultobj
= 0;
27606 wxListItem
*arg1
= (wxListItem
*) 0 ;
27610 PyObject
*swig_obj
[1] ;
27612 if (!args
) SWIG_fail
;
27613 swig_obj
[0] = args
;
27614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27615 if (!SWIG_IsOK(res1
)) {
27616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27618 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27619 result
= (long) ((arg1
)->m_mask
);
27620 resultobj
= SWIG_From_long(static_cast< long >(result
));
27627 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27628 PyObject
*resultobj
= 0;
27629 wxListItem
*arg1
= (wxListItem
*) 0 ;
27635 PyObject
*swig_obj
[2] ;
27637 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27639 if (!SWIG_IsOK(res1
)) {
27640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27642 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27643 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27644 if (!SWIG_IsOK(ecode2
)) {
27645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27647 arg2
= static_cast< long >(val2
);
27648 if (arg1
) (arg1
)->m_itemId
= arg2
;
27650 resultobj
= SWIG_Py_Void();
27657 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27658 PyObject
*resultobj
= 0;
27659 wxListItem
*arg1
= (wxListItem
*) 0 ;
27663 PyObject
*swig_obj
[1] ;
27665 if (!args
) SWIG_fail
;
27666 swig_obj
[0] = args
;
27667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27668 if (!SWIG_IsOK(res1
)) {
27669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27671 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27672 result
= (long) ((arg1
)->m_itemId
);
27673 resultobj
= SWIG_From_long(static_cast< long >(result
));
27680 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27681 PyObject
*resultobj
= 0;
27682 wxListItem
*arg1
= (wxListItem
*) 0 ;
27688 PyObject
*swig_obj
[2] ;
27690 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27692 if (!SWIG_IsOK(res1
)) {
27693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27695 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27696 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27697 if (!SWIG_IsOK(ecode2
)) {
27698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27700 arg2
= static_cast< int >(val2
);
27701 if (arg1
) (arg1
)->m_col
= arg2
;
27703 resultobj
= SWIG_Py_Void();
27710 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27711 PyObject
*resultobj
= 0;
27712 wxListItem
*arg1
= (wxListItem
*) 0 ;
27716 PyObject
*swig_obj
[1] ;
27718 if (!args
) SWIG_fail
;
27719 swig_obj
[0] = args
;
27720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27721 if (!SWIG_IsOK(res1
)) {
27722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27724 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27725 result
= (int) ((arg1
)->m_col
);
27726 resultobj
= SWIG_From_int(static_cast< int >(result
));
27733 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27734 PyObject
*resultobj
= 0;
27735 wxListItem
*arg1
= (wxListItem
*) 0 ;
27741 PyObject
*swig_obj
[2] ;
27743 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27745 if (!SWIG_IsOK(res1
)) {
27746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27748 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27749 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27750 if (!SWIG_IsOK(ecode2
)) {
27751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27753 arg2
= static_cast< long >(val2
);
27754 if (arg1
) (arg1
)->m_state
= arg2
;
27756 resultobj
= SWIG_Py_Void();
27763 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27764 PyObject
*resultobj
= 0;
27765 wxListItem
*arg1
= (wxListItem
*) 0 ;
27769 PyObject
*swig_obj
[1] ;
27771 if (!args
) SWIG_fail
;
27772 swig_obj
[0] = args
;
27773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27774 if (!SWIG_IsOK(res1
)) {
27775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27777 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27778 result
= (long) ((arg1
)->m_state
);
27779 resultobj
= SWIG_From_long(static_cast< long >(result
));
27786 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27787 PyObject
*resultobj
= 0;
27788 wxListItem
*arg1
= (wxListItem
*) 0 ;
27794 PyObject
*swig_obj
[2] ;
27796 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27798 if (!SWIG_IsOK(res1
)) {
27799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27801 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27802 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27803 if (!SWIG_IsOK(ecode2
)) {
27804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27806 arg2
= static_cast< long >(val2
);
27807 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27809 resultobj
= SWIG_Py_Void();
27816 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27817 PyObject
*resultobj
= 0;
27818 wxListItem
*arg1
= (wxListItem
*) 0 ;
27822 PyObject
*swig_obj
[1] ;
27824 if (!args
) SWIG_fail
;
27825 swig_obj
[0] = args
;
27826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27827 if (!SWIG_IsOK(res1
)) {
27828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27830 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27831 result
= (long) ((arg1
)->m_stateMask
);
27832 resultobj
= SWIG_From_long(static_cast< long >(result
));
27839 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27840 PyObject
*resultobj
= 0;
27841 wxListItem
*arg1
= (wxListItem
*) 0 ;
27842 wxString
*arg2
= (wxString
*) 0 ;
27845 bool temp2
= false ;
27846 PyObject
*swig_obj
[2] ;
27848 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27850 if (!SWIG_IsOK(res1
)) {
27851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27853 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27855 arg2
= wxString_in_helper(swig_obj
[1]);
27856 if (arg2
== NULL
) SWIG_fail
;
27859 if (arg1
) (arg1
)->m_text
= *arg2
;
27861 resultobj
= SWIG_Py_Void();
27876 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27877 PyObject
*resultobj
= 0;
27878 wxListItem
*arg1
= (wxListItem
*) 0 ;
27879 wxString
*result
= 0 ;
27882 PyObject
*swig_obj
[1] ;
27884 if (!args
) SWIG_fail
;
27885 swig_obj
[0] = args
;
27886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27887 if (!SWIG_IsOK(res1
)) {
27888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27890 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27891 result
= (wxString
*)& ((arg1
)->m_text
);
27894 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27896 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27905 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27906 PyObject
*resultobj
= 0;
27907 wxListItem
*arg1
= (wxListItem
*) 0 ;
27913 PyObject
*swig_obj
[2] ;
27915 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27917 if (!SWIG_IsOK(res1
)) {
27918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27920 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27921 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27922 if (!SWIG_IsOK(ecode2
)) {
27923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27925 arg2
= static_cast< int >(val2
);
27926 if (arg1
) (arg1
)->m_image
= arg2
;
27928 resultobj
= SWIG_Py_Void();
27935 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27936 PyObject
*resultobj
= 0;
27937 wxListItem
*arg1
= (wxListItem
*) 0 ;
27941 PyObject
*swig_obj
[1] ;
27943 if (!args
) SWIG_fail
;
27944 swig_obj
[0] = args
;
27945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27946 if (!SWIG_IsOK(res1
)) {
27947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27949 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27950 result
= (int) ((arg1
)->m_image
);
27951 resultobj
= SWIG_From_int(static_cast< int >(result
));
27958 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27959 PyObject
*resultobj
= 0;
27960 wxListItem
*arg1
= (wxListItem
*) 0 ;
27966 PyObject
*swig_obj
[2] ;
27968 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27970 if (!SWIG_IsOK(res1
)) {
27971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27973 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27974 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27975 if (!SWIG_IsOK(ecode2
)) {
27976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27978 arg2
= static_cast< long >(val2
);
27979 if (arg1
) (arg1
)->m_data
= arg2
;
27981 resultobj
= SWIG_Py_Void();
27988 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27989 PyObject
*resultobj
= 0;
27990 wxListItem
*arg1
= (wxListItem
*) 0 ;
27994 PyObject
*swig_obj
[1] ;
27996 if (!args
) SWIG_fail
;
27997 swig_obj
[0] = args
;
27998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27999 if (!SWIG_IsOK(res1
)) {
28000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28002 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28003 result
= (long) ((arg1
)->m_data
);
28004 resultobj
= SWIG_From_long(static_cast< long >(result
));
28011 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28012 PyObject
*resultobj
= 0;
28013 wxListItem
*arg1
= (wxListItem
*) 0 ;
28019 PyObject
*swig_obj
[2] ;
28021 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
28022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28023 if (!SWIG_IsOK(res1
)) {
28024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28026 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28027 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28028 if (!SWIG_IsOK(ecode2
)) {
28029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28031 arg2
= static_cast< int >(val2
);
28032 if (arg1
) (arg1
)->m_format
= arg2
;
28034 resultobj
= SWIG_Py_Void();
28041 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28042 PyObject
*resultobj
= 0;
28043 wxListItem
*arg1
= (wxListItem
*) 0 ;
28047 PyObject
*swig_obj
[1] ;
28049 if (!args
) SWIG_fail
;
28050 swig_obj
[0] = args
;
28051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28052 if (!SWIG_IsOK(res1
)) {
28053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28055 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28056 result
= (int) ((arg1
)->m_format
);
28057 resultobj
= SWIG_From_int(static_cast< int >(result
));
28064 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28065 PyObject
*resultobj
= 0;
28066 wxListItem
*arg1
= (wxListItem
*) 0 ;
28072 PyObject
*swig_obj
[2] ;
28074 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28076 if (!SWIG_IsOK(res1
)) {
28077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28079 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28080 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28081 if (!SWIG_IsOK(ecode2
)) {
28082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28084 arg2
= static_cast< int >(val2
);
28085 if (arg1
) (arg1
)->m_width
= arg2
;
28087 resultobj
= SWIG_Py_Void();
28094 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28095 PyObject
*resultobj
= 0;
28096 wxListItem
*arg1
= (wxListItem
*) 0 ;
28100 PyObject
*swig_obj
[1] ;
28102 if (!args
) SWIG_fail
;
28103 swig_obj
[0] = args
;
28104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28105 if (!SWIG_IsOK(res1
)) {
28106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28108 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28109 result
= (int) ((arg1
)->m_width
);
28110 resultobj
= SWIG_From_int(static_cast< int >(result
));
28117 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28120 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28121 return SWIG_Py_Void();
28124 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28125 return SWIG_Python_InitShadowInstance(args
);
28128 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28129 PyObject
*resultobj
= 0;
28130 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28131 int arg2
= (int) 0 ;
28132 wxListEvent
*result
= 0 ;
28137 PyObject
* obj0
= 0 ;
28138 PyObject
* obj1
= 0 ;
28139 char * kwnames
[] = {
28140 (char *) "commandType",(char *) "id", NULL
28143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28145 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28146 if (!SWIG_IsOK(ecode1
)) {
28147 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28149 arg1
= static_cast< wxEventType
>(val1
);
28152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28153 if (!SWIG_IsOK(ecode2
)) {
28154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28156 arg2
= static_cast< int >(val2
);
28159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28160 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28161 wxPyEndAllowThreads(__tstate
);
28162 if (PyErr_Occurred()) SWIG_fail
;
28164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28171 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28172 PyObject
*resultobj
= 0;
28173 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28179 PyObject
*swig_obj
[2] ;
28181 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28183 if (!SWIG_IsOK(res1
)) {
28184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28186 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28187 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28188 if (!SWIG_IsOK(ecode2
)) {
28189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28191 arg2
= static_cast< int >(val2
);
28192 if (arg1
) (arg1
)->m_code
= arg2
;
28194 resultobj
= SWIG_Py_Void();
28201 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28202 PyObject
*resultobj
= 0;
28203 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28207 PyObject
*swig_obj
[1] ;
28209 if (!args
) SWIG_fail
;
28210 swig_obj
[0] = args
;
28211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28212 if (!SWIG_IsOK(res1
)) {
28213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28215 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28216 result
= (int) ((arg1
)->m_code
);
28217 resultobj
= SWIG_From_int(static_cast< int >(result
));
28224 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28225 PyObject
*resultobj
= 0;
28226 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28232 PyObject
*swig_obj
[2] ;
28234 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28236 if (!SWIG_IsOK(res1
)) {
28237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28239 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28240 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28241 if (!SWIG_IsOK(ecode2
)) {
28242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28244 arg2
= static_cast< long >(val2
);
28245 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28247 resultobj
= SWIG_Py_Void();
28254 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28255 PyObject
*resultobj
= 0;
28256 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28260 PyObject
*swig_obj
[1] ;
28262 if (!args
) SWIG_fail
;
28263 swig_obj
[0] = args
;
28264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28265 if (!SWIG_IsOK(res1
)) {
28266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28268 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28269 result
= (long) ((arg1
)->m_oldItemIndex
);
28270 resultobj
= SWIG_From_long(static_cast< long >(result
));
28277 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28278 PyObject
*resultobj
= 0;
28279 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28285 PyObject
*swig_obj
[2] ;
28287 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28289 if (!SWIG_IsOK(res1
)) {
28290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28292 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28293 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28294 if (!SWIG_IsOK(ecode2
)) {
28295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28297 arg2
= static_cast< long >(val2
);
28298 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28300 resultobj
= SWIG_Py_Void();
28307 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28308 PyObject
*resultobj
= 0;
28309 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28313 PyObject
*swig_obj
[1] ;
28315 if (!args
) SWIG_fail
;
28316 swig_obj
[0] = args
;
28317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28318 if (!SWIG_IsOK(res1
)) {
28319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28321 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28322 result
= (long) ((arg1
)->m_itemIndex
);
28323 resultobj
= SWIG_From_long(static_cast< long >(result
));
28330 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28331 PyObject
*resultobj
= 0;
28332 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28338 PyObject
*swig_obj
[2] ;
28340 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28342 if (!SWIG_IsOK(res1
)) {
28343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28345 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28346 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28347 if (!SWIG_IsOK(ecode2
)) {
28348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28350 arg2
= static_cast< int >(val2
);
28351 if (arg1
) (arg1
)->m_col
= arg2
;
28353 resultobj
= SWIG_Py_Void();
28360 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28361 PyObject
*resultobj
= 0;
28362 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28366 PyObject
*swig_obj
[1] ;
28368 if (!args
) SWIG_fail
;
28369 swig_obj
[0] = args
;
28370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28371 if (!SWIG_IsOK(res1
)) {
28372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28374 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28375 result
= (int) ((arg1
)->m_col
);
28376 resultobj
= SWIG_From_int(static_cast< int >(result
));
28383 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28384 PyObject
*resultobj
= 0;
28385 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28386 wxPoint
*arg2
= (wxPoint
*) 0 ;
28391 PyObject
*swig_obj
[2] ;
28393 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28395 if (!SWIG_IsOK(res1
)) {
28396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28398 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28399 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28400 if (!SWIG_IsOK(res2
)) {
28401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28403 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28404 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28406 resultobj
= SWIG_Py_Void();
28413 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28414 PyObject
*resultobj
= 0;
28415 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28416 wxPoint
*result
= 0 ;
28419 PyObject
*swig_obj
[1] ;
28421 if (!args
) SWIG_fail
;
28422 swig_obj
[0] = args
;
28423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28424 if (!SWIG_IsOK(res1
)) {
28425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28427 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28428 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28436 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28437 PyObject
*resultobj
= 0;
28438 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28439 wxListItem
*result
= 0 ;
28442 PyObject
*swig_obj
[1] ;
28444 if (!args
) SWIG_fail
;
28445 swig_obj
[0] = args
;
28446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28447 if (!SWIG_IsOK(res1
)) {
28448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28450 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28451 result
= (wxListItem
*)& ((arg1
)->m_item
);
28453 resultobj
= wxPyMake_wxObject(result
, 0);
28461 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28462 PyObject
*resultobj
= 0;
28463 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28467 PyObject
*swig_obj
[1] ;
28469 if (!args
) SWIG_fail
;
28470 swig_obj
[0] = args
;
28471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28472 if (!SWIG_IsOK(res1
)) {
28473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28475 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28478 result
= (int)(arg1
)->GetKeyCode();
28479 wxPyEndAllowThreads(__tstate
);
28480 if (PyErr_Occurred()) SWIG_fail
;
28482 resultobj
= SWIG_From_int(static_cast< int >(result
));
28489 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28490 PyObject
*resultobj
= 0;
28491 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28495 PyObject
*swig_obj
[1] ;
28497 if (!args
) SWIG_fail
;
28498 swig_obj
[0] = args
;
28499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28500 if (!SWIG_IsOK(res1
)) {
28501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28503 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28506 result
= (long)(arg1
)->GetIndex();
28507 wxPyEndAllowThreads(__tstate
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28510 resultobj
= SWIG_From_long(static_cast< long >(result
));
28517 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28518 PyObject
*resultobj
= 0;
28519 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28523 PyObject
*swig_obj
[1] ;
28525 if (!args
) SWIG_fail
;
28526 swig_obj
[0] = args
;
28527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28528 if (!SWIG_IsOK(res1
)) {
28529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28531 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 result
= (int)(arg1
)->GetColumn();
28535 wxPyEndAllowThreads(__tstate
);
28536 if (PyErr_Occurred()) SWIG_fail
;
28538 resultobj
= SWIG_From_int(static_cast< int >(result
));
28545 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28546 PyObject
*resultobj
= 0;
28547 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28551 PyObject
*swig_obj
[1] ;
28553 if (!args
) SWIG_fail
;
28554 swig_obj
[0] = args
;
28555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28556 if (!SWIG_IsOK(res1
)) {
28557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28559 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28562 result
= (arg1
)->GetPoint();
28563 wxPyEndAllowThreads(__tstate
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28566 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28573 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28574 PyObject
*resultobj
= 0;
28575 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28576 wxString
*result
= 0 ;
28579 PyObject
*swig_obj
[1] ;
28581 if (!args
) SWIG_fail
;
28582 swig_obj
[0] = args
;
28583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28584 if (!SWIG_IsOK(res1
)) {
28585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28587 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28591 wxString
const &_result_ref
= (arg1
)->GetLabel();
28592 result
= (wxString
*) &_result_ref
;
28594 wxPyEndAllowThreads(__tstate
);
28595 if (PyErr_Occurred()) SWIG_fail
;
28599 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28601 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28610 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28611 PyObject
*resultobj
= 0;
28612 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28613 wxString
*result
= 0 ;
28616 PyObject
*swig_obj
[1] ;
28618 if (!args
) SWIG_fail
;
28619 swig_obj
[0] = args
;
28620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28621 if (!SWIG_IsOK(res1
)) {
28622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28624 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28628 wxString
const &_result_ref
= (arg1
)->GetText();
28629 result
= (wxString
*) &_result_ref
;
28631 wxPyEndAllowThreads(__tstate
);
28632 if (PyErr_Occurred()) SWIG_fail
;
28636 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28638 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28647 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28648 PyObject
*resultobj
= 0;
28649 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28653 PyObject
*swig_obj
[1] ;
28655 if (!args
) SWIG_fail
;
28656 swig_obj
[0] = args
;
28657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28658 if (!SWIG_IsOK(res1
)) {
28659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28661 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28664 result
= (int)(arg1
)->GetImage();
28665 wxPyEndAllowThreads(__tstate
);
28666 if (PyErr_Occurred()) SWIG_fail
;
28668 resultobj
= SWIG_From_int(static_cast< int >(result
));
28675 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28676 PyObject
*resultobj
= 0;
28677 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28681 PyObject
*swig_obj
[1] ;
28683 if (!args
) SWIG_fail
;
28684 swig_obj
[0] = args
;
28685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28686 if (!SWIG_IsOK(res1
)) {
28687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28689 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28692 result
= (long)(arg1
)->GetData();
28693 wxPyEndAllowThreads(__tstate
);
28694 if (PyErr_Occurred()) SWIG_fail
;
28696 resultobj
= SWIG_From_long(static_cast< long >(result
));
28703 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28704 PyObject
*resultobj
= 0;
28705 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28709 PyObject
*swig_obj
[1] ;
28711 if (!args
) SWIG_fail
;
28712 swig_obj
[0] = args
;
28713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28714 if (!SWIG_IsOK(res1
)) {
28715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28717 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28720 result
= (long)(arg1
)->GetMask();
28721 wxPyEndAllowThreads(__tstate
);
28722 if (PyErr_Occurred()) SWIG_fail
;
28724 resultobj
= SWIG_From_long(static_cast< long >(result
));
28731 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28732 PyObject
*resultobj
= 0;
28733 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28734 wxListItem
*result
= 0 ;
28737 PyObject
*swig_obj
[1] ;
28739 if (!args
) SWIG_fail
;
28740 swig_obj
[0] = args
;
28741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28742 if (!SWIG_IsOK(res1
)) {
28743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28745 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28749 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28750 result
= (wxListItem
*) &_result_ref
;
28752 wxPyEndAllowThreads(__tstate
);
28753 if (PyErr_Occurred()) SWIG_fail
;
28755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28762 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28763 PyObject
*resultobj
= 0;
28764 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28768 PyObject
*swig_obj
[1] ;
28770 if (!args
) SWIG_fail
;
28771 swig_obj
[0] = args
;
28772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28773 if (!SWIG_IsOK(res1
)) {
28774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28776 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28779 result
= (long)(arg1
)->GetCacheFrom();
28780 wxPyEndAllowThreads(__tstate
);
28781 if (PyErr_Occurred()) SWIG_fail
;
28783 resultobj
= SWIG_From_long(static_cast< long >(result
));
28790 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28791 PyObject
*resultobj
= 0;
28792 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28796 PyObject
*swig_obj
[1] ;
28798 if (!args
) SWIG_fail
;
28799 swig_obj
[0] = args
;
28800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28801 if (!SWIG_IsOK(res1
)) {
28802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28804 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28807 result
= (long)(arg1
)->GetCacheTo();
28808 wxPyEndAllowThreads(__tstate
);
28809 if (PyErr_Occurred()) SWIG_fail
;
28811 resultobj
= SWIG_From_long(static_cast< long >(result
));
28818 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28819 PyObject
*resultobj
= 0;
28820 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28824 PyObject
*swig_obj
[1] ;
28826 if (!args
) SWIG_fail
;
28827 swig_obj
[0] = args
;
28828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28829 if (!SWIG_IsOK(res1
)) {
28830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28832 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28835 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28836 wxPyEndAllowThreads(__tstate
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28848 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28849 PyObject
*resultobj
= 0;
28850 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28856 PyObject
* obj0
= 0 ;
28857 PyObject
* obj1
= 0 ;
28858 char * kwnames
[] = {
28859 (char *) "self",(char *) "editCancelled", NULL
28862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28864 if (!SWIG_IsOK(res1
)) {
28865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28867 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28868 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28869 if (!SWIG_IsOK(ecode2
)) {
28870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28872 arg2
= static_cast< bool >(val2
);
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 (arg1
)->SetEditCanceled(arg2
);
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28879 resultobj
= SWIG_Py_Void();
28886 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28888 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28889 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28890 return SWIG_Py_Void();
28893 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28894 return SWIG_Python_InitShadowInstance(args
);
28897 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28898 PyObject
*resultobj
= 0;
28899 wxWindow
*arg1
= (wxWindow
*) 0 ;
28900 int arg2
= (int) -1 ;
28901 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28902 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28903 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28904 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28905 long arg5
= (long) wxLC_ICON
;
28906 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28907 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28908 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28909 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28910 wxPyListCtrl
*result
= 0 ;
28921 bool temp7
= false ;
28922 PyObject
* obj0
= 0 ;
28923 PyObject
* obj1
= 0 ;
28924 PyObject
* obj2
= 0 ;
28925 PyObject
* obj3
= 0 ;
28926 PyObject
* obj4
= 0 ;
28927 PyObject
* obj5
= 0 ;
28928 PyObject
* obj6
= 0 ;
28929 char * kwnames
[] = {
28930 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28935 if (!SWIG_IsOK(res1
)) {
28936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28938 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28941 if (!SWIG_IsOK(ecode2
)) {
28942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28944 arg2
= static_cast< int >(val2
);
28949 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28955 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28959 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28960 if (!SWIG_IsOK(ecode5
)) {
28961 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28963 arg5
= static_cast< long >(val5
);
28966 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28967 if (!SWIG_IsOK(res6
)) {
28968 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28971 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28973 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28977 arg7
= wxString_in_helper(obj6
);
28978 if (arg7
== NULL
) SWIG_fail
;
28983 if (!wxPyCheckForApp()) SWIG_fail
;
28984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28985 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28986 wxPyEndAllowThreads(__tstate
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
29004 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29005 PyObject
*resultobj
= 0;
29006 wxPyListCtrl
*result
= 0 ;
29008 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
29010 if (!wxPyCheckForApp()) SWIG_fail
;
29011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29012 result
= (wxPyListCtrl
*)new wxPyListCtrl();
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
29023 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29024 PyObject
*resultobj
= 0;
29025 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29026 wxWindow
*arg2
= (wxWindow
*) 0 ;
29027 int arg3
= (int) -1 ;
29028 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29029 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29030 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29031 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29032 long arg6
= (long) wxLC_ICON
;
29033 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29034 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29035 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
29036 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29050 bool temp8
= false ;
29051 PyObject
* obj0
= 0 ;
29052 PyObject
* obj1
= 0 ;
29053 PyObject
* obj2
= 0 ;
29054 PyObject
* obj3
= 0 ;
29055 PyObject
* obj4
= 0 ;
29056 PyObject
* obj5
= 0 ;
29057 PyObject
* obj6
= 0 ;
29058 PyObject
* obj7
= 0 ;
29059 char * kwnames
[] = {
29060 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29065 if (!SWIG_IsOK(res1
)) {
29066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29068 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29069 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29070 if (!SWIG_IsOK(res2
)) {
29071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29073 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29076 if (!SWIG_IsOK(ecode3
)) {
29077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29079 arg3
= static_cast< int >(val3
);
29084 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29090 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29094 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29095 if (!SWIG_IsOK(ecode6
)) {
29096 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29098 arg6
= static_cast< long >(val6
);
29101 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29102 if (!SWIG_IsOK(res7
)) {
29103 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29108 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29112 arg8
= wxString_in_helper(obj7
);
29113 if (arg8
== NULL
) SWIG_fail
;
29118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29119 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29120 wxPyEndAllowThreads(__tstate
);
29121 if (PyErr_Occurred()) SWIG_fail
;
29124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29140 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29141 PyObject
*resultobj
= 0;
29142 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29143 PyObject
*arg2
= (PyObject
*) 0 ;
29144 PyObject
*arg3
= (PyObject
*) 0 ;
29147 PyObject
* obj0
= 0 ;
29148 PyObject
* obj1
= 0 ;
29149 PyObject
* obj2
= 0 ;
29150 char * kwnames
[] = {
29151 (char *) "self",(char *) "self",(char *) "_class", NULL
29154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29156 if (!SWIG_IsOK(res1
)) {
29157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29159 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29164 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29165 wxPyEndAllowThreads(__tstate
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29168 resultobj
= SWIG_Py_Void();
29175 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29176 PyObject
*resultobj
= 0;
29177 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29179 wxListItem
*result
= 0 ;
29184 PyObject
* obj0
= 0 ;
29185 PyObject
* obj1
= 0 ;
29186 char * kwnames
[] = {
29187 (char *) "self",(char *) "col", NULL
29190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29192 if (!SWIG_IsOK(res1
)) {
29193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29195 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29197 if (!SWIG_IsOK(ecode2
)) {
29198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29200 arg2
= static_cast< int >(val2
);
29202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29203 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29204 wxPyEndAllowThreads(__tstate
);
29205 if (PyErr_Occurred()) SWIG_fail
;
29208 resultobj
= wxPyMake_wxObject(result
, 0);
29216 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
= 0;
29218 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29220 wxListItem
*arg3
= 0 ;
29228 PyObject
* obj0
= 0 ;
29229 PyObject
* obj1
= 0 ;
29230 PyObject
* obj2
= 0 ;
29231 char * kwnames
[] = {
29232 (char *) "self",(char *) "col",(char *) "item", NULL
29235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29237 if (!SWIG_IsOK(res1
)) {
29238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29240 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29242 if (!SWIG_IsOK(ecode2
)) {
29243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29245 arg2
= static_cast< int >(val2
);
29246 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29247 if (!SWIG_IsOK(res3
)) {
29248 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29253 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29256 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29257 wxPyEndAllowThreads(__tstate
);
29258 if (PyErr_Occurred()) SWIG_fail
;
29261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29269 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29270 PyObject
*resultobj
= 0;
29271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29278 PyObject
* obj0
= 0 ;
29279 PyObject
* obj1
= 0 ;
29280 char * kwnames
[] = {
29281 (char *) "self",(char *) "col", NULL
29284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29286 if (!SWIG_IsOK(res1
)) {
29287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29289 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29291 if (!SWIG_IsOK(ecode2
)) {
29292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29294 arg2
= static_cast< int >(val2
);
29296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29297 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29298 wxPyEndAllowThreads(__tstate
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29301 resultobj
= SWIG_From_int(static_cast< int >(result
));
29308 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29309 PyObject
*resultobj
= 0;
29310 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29320 PyObject
* obj0
= 0 ;
29321 PyObject
* obj1
= 0 ;
29322 PyObject
* obj2
= 0 ;
29323 char * kwnames
[] = {
29324 (char *) "self",(char *) "col",(char *) "width", NULL
29327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29329 if (!SWIG_IsOK(res1
)) {
29330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29332 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29334 if (!SWIG_IsOK(ecode2
)) {
29335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29337 arg2
= static_cast< int >(val2
);
29338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29339 if (!SWIG_IsOK(ecode3
)) {
29340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29342 arg3
= static_cast< int >(val3
);
29344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29345 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29346 wxPyEndAllowThreads(__tstate
);
29347 if (PyErr_Occurred()) SWIG_fail
;
29350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29358 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29359 PyObject
*resultobj
= 0;
29360 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29364 PyObject
*swig_obj
[1] ;
29366 if (!args
) SWIG_fail
;
29367 swig_obj
[0] = args
;
29368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29369 if (!SWIG_IsOK(res1
)) {
29370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29372 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29375 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29376 wxPyEndAllowThreads(__tstate
);
29377 if (PyErr_Occurred()) SWIG_fail
;
29379 resultobj
= SWIG_From_int(static_cast< int >(result
));
29386 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29387 PyObject
*resultobj
= 0;
29388 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29392 PyObject
*swig_obj
[1] ;
29394 if (!args
) SWIG_fail
;
29395 swig_obj
[0] = args
;
29396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29397 if (!SWIG_IsOK(res1
)) {
29398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29400 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29403 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29404 wxPyEndAllowThreads(__tstate
);
29405 if (PyErr_Occurred()) SWIG_fail
;
29407 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29414 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29415 PyObject
*resultobj
= 0;
29416 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29417 wxTextCtrl
*result
= 0 ;
29420 PyObject
*swig_obj
[1] ;
29422 if (!args
) SWIG_fail
;
29423 swig_obj
[0] = args
;
29424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29425 if (!SWIG_IsOK(res1
)) {
29426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29428 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29431 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29432 wxPyEndAllowThreads(__tstate
);
29433 if (PyErr_Occurred()) SWIG_fail
;
29436 resultobj
= wxPyMake_wxObject(result
, 0);
29444 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29445 PyObject
*resultobj
= 0;
29446 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29448 int arg3
= (int) 0 ;
29449 wxListItem
*result
= 0 ;
29456 PyObject
* obj0
= 0 ;
29457 PyObject
* obj1
= 0 ;
29458 PyObject
* obj2
= 0 ;
29459 char * kwnames
[] = {
29460 (char *) "self",(char *) "itemId",(char *) "col", NULL
29463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29465 if (!SWIG_IsOK(res1
)) {
29466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29468 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29469 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29470 if (!SWIG_IsOK(ecode2
)) {
29471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29473 arg2
= static_cast< long >(val2
);
29475 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29476 if (!SWIG_IsOK(ecode3
)) {
29477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29479 arg3
= static_cast< int >(val3
);
29482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29483 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29484 wxPyEndAllowThreads(__tstate
);
29485 if (PyErr_Occurred()) SWIG_fail
;
29488 resultobj
= wxPyMake_wxObject(result
, 0);
29496 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29497 PyObject
*resultobj
= 0;
29498 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29499 wxListItem
*arg2
= 0 ;
29505 PyObject
* obj0
= 0 ;
29506 PyObject
* obj1
= 0 ;
29507 char * kwnames
[] = {
29508 (char *) "self",(char *) "info", NULL
29511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29513 if (!SWIG_IsOK(res1
)) {
29514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29516 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29518 if (!SWIG_IsOK(res2
)) {
29519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29524 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29527 result
= (bool)(arg1
)->SetItem(*arg2
);
29528 wxPyEndAllowThreads(__tstate
);
29529 if (PyErr_Occurred()) SWIG_fail
;
29532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29540 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29541 PyObject
*resultobj
= 0;
29542 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29545 wxString
*arg4
= 0 ;
29546 int arg5
= (int) -1 ;
29554 bool temp4
= false ;
29557 PyObject
* obj0
= 0 ;
29558 PyObject
* obj1
= 0 ;
29559 PyObject
* obj2
= 0 ;
29560 PyObject
* obj3
= 0 ;
29561 PyObject
* obj4
= 0 ;
29562 char * kwnames
[] = {
29563 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29568 if (!SWIG_IsOK(res1
)) {
29569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29571 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29572 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29573 if (!SWIG_IsOK(ecode2
)) {
29574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29576 arg2
= static_cast< long >(val2
);
29577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29578 if (!SWIG_IsOK(ecode3
)) {
29579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29581 arg3
= static_cast< int >(val3
);
29583 arg4
= wxString_in_helper(obj3
);
29584 if (arg4
== NULL
) SWIG_fail
;
29588 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29589 if (!SWIG_IsOK(ecode5
)) {
29590 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29592 arg5
= static_cast< int >(val5
);
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29600 resultobj
= SWIG_From_long(static_cast< long >(result
));
29615 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29616 PyObject
*resultobj
= 0;
29617 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29627 PyObject
* obj0
= 0 ;
29628 PyObject
* obj1
= 0 ;
29629 PyObject
* obj2
= 0 ;
29630 char * kwnames
[] = {
29631 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29636 if (!SWIG_IsOK(res1
)) {
29637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29639 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29640 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29641 if (!SWIG_IsOK(ecode2
)) {
29642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29644 arg2
= static_cast< long >(val2
);
29645 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29646 if (!SWIG_IsOK(ecode3
)) {
29647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29649 arg3
= static_cast< long >(val3
);
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= SWIG_From_int(static_cast< int >(result
));
29663 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29664 PyObject
*resultobj
= 0;
29665 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29678 PyObject
* obj0
= 0 ;
29679 PyObject
* obj1
= 0 ;
29680 PyObject
* obj2
= 0 ;
29681 PyObject
* obj3
= 0 ;
29682 char * kwnames
[] = {
29683 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29688 if (!SWIG_IsOK(res1
)) {
29689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29691 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29692 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29693 if (!SWIG_IsOK(ecode2
)) {
29694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29696 arg2
= static_cast< long >(val2
);
29697 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29698 if (!SWIG_IsOK(ecode3
)) {
29699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29701 arg3
= static_cast< long >(val3
);
29702 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29703 if (!SWIG_IsOK(ecode4
)) {
29704 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29706 arg4
= static_cast< long >(val4
);
29708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29709 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29710 wxPyEndAllowThreads(__tstate
);
29711 if (PyErr_Occurred()) SWIG_fail
;
29714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29722 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29723 PyObject
*resultobj
= 0;
29724 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29727 int arg4
= (int) -1 ;
29737 PyObject
* obj0
= 0 ;
29738 PyObject
* obj1
= 0 ;
29739 PyObject
* obj2
= 0 ;
29740 PyObject
* obj3
= 0 ;
29741 char * kwnames
[] = {
29742 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29747 if (!SWIG_IsOK(res1
)) {
29748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29750 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29751 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29752 if (!SWIG_IsOK(ecode2
)) {
29753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29755 arg2
= static_cast< long >(val2
);
29756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29757 if (!SWIG_IsOK(ecode3
)) {
29758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29760 arg3
= static_cast< int >(val3
);
29762 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29763 if (!SWIG_IsOK(ecode4
)) {
29764 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29766 arg4
= static_cast< int >(val4
);
29769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29770 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29771 wxPyEndAllowThreads(__tstate
);
29772 if (PyErr_Occurred()) SWIG_fail
;
29775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29783 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29784 PyObject
*resultobj
= 0;
29785 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29798 PyObject
* obj0
= 0 ;
29799 PyObject
* obj1
= 0 ;
29800 PyObject
* obj2
= 0 ;
29801 PyObject
* obj3
= 0 ;
29802 char * kwnames
[] = {
29803 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29808 if (!SWIG_IsOK(res1
)) {
29809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29811 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29812 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29813 if (!SWIG_IsOK(ecode2
)) {
29814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29816 arg2
= static_cast< long >(val2
);
29817 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29818 if (!SWIG_IsOK(ecode3
)) {
29819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29821 arg3
= static_cast< long >(val3
);
29822 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29823 if (!SWIG_IsOK(ecode4
)) {
29824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29826 arg4
= static_cast< int >(val4
);
29828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29829 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29830 wxPyEndAllowThreads(__tstate
);
29831 if (PyErr_Occurred()) SWIG_fail
;
29834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29842 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29843 PyObject
*resultobj
= 0;
29844 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29851 PyObject
* obj0
= 0 ;
29852 PyObject
* obj1
= 0 ;
29853 char * kwnames
[] = {
29854 (char *) "self",(char *) "item", NULL
29857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29859 if (!SWIG_IsOK(res1
)) {
29860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29862 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29863 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29864 if (!SWIG_IsOK(ecode2
)) {
29865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29867 arg2
= static_cast< long >(val2
);
29869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29870 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29871 wxPyEndAllowThreads(__tstate
);
29872 if (PyErr_Occurred()) SWIG_fail
;
29876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29887 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29888 PyObject
*resultobj
= 0;
29889 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29891 wxString
*arg3
= 0 ;
29896 bool temp3
= false ;
29897 PyObject
* obj0
= 0 ;
29898 PyObject
* obj1
= 0 ;
29899 PyObject
* obj2
= 0 ;
29900 char * kwnames
[] = {
29901 (char *) "self",(char *) "item",(char *) "str", NULL
29904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29906 if (!SWIG_IsOK(res1
)) {
29907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29909 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29910 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29911 if (!SWIG_IsOK(ecode2
)) {
29912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29914 arg2
= static_cast< long >(val2
);
29916 arg3
= wxString_in_helper(obj2
);
29917 if (arg3
== NULL
) SWIG_fail
;
29921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29922 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29923 wxPyEndAllowThreads(__tstate
);
29924 if (PyErr_Occurred()) SWIG_fail
;
29926 resultobj
= SWIG_Py_Void();
29941 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29942 PyObject
*resultobj
= 0;
29943 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29950 PyObject
* obj0
= 0 ;
29951 PyObject
* obj1
= 0 ;
29952 char * kwnames
[] = {
29953 (char *) "self",(char *) "item", NULL
29956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29958 if (!SWIG_IsOK(res1
)) {
29959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29961 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29962 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29963 if (!SWIG_IsOK(ecode2
)) {
29964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29966 arg2
= static_cast< long >(val2
);
29968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29969 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29970 wxPyEndAllowThreads(__tstate
);
29971 if (PyErr_Occurred()) SWIG_fail
;
29973 resultobj
= SWIG_From_long(static_cast< long >(result
));
29980 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29981 PyObject
*resultobj
= 0;
29982 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29992 PyObject
* obj0
= 0 ;
29993 PyObject
* obj1
= 0 ;
29994 PyObject
* obj2
= 0 ;
29995 char * kwnames
[] = {
29996 (char *) "self",(char *) "item",(char *) "data", NULL
29999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30001 if (!SWIG_IsOK(res1
)) {
30002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30004 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30005 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30006 if (!SWIG_IsOK(ecode2
)) {
30007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30009 arg2
= static_cast< long >(val2
);
30010 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30011 if (!SWIG_IsOK(ecode3
)) {
30012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30014 arg3
= static_cast< long >(val3
);
30016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30017 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
30018 wxPyEndAllowThreads(__tstate
);
30019 if (PyErr_Occurred()) SWIG_fail
;
30022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30030 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30031 PyObject
*resultobj
= 0;
30032 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30039 PyObject
* obj0
= 0 ;
30040 PyObject
* obj1
= 0 ;
30041 char * kwnames
[] = {
30042 (char *) "self",(char *) "item", NULL
30045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30047 if (!SWIG_IsOK(res1
)) {
30048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30050 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30051 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30052 if (!SWIG_IsOK(ecode2
)) {
30053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30055 arg2
= static_cast< long >(val2
);
30057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30058 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30059 wxPyEndAllowThreads(__tstate
);
30060 if (PyErr_Occurred()) SWIG_fail
;
30062 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30069 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30070 PyObject
*resultobj
= 0;
30071 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30073 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30081 PyObject
* obj0
= 0 ;
30082 PyObject
* obj1
= 0 ;
30083 PyObject
* obj2
= 0 ;
30084 char * kwnames
[] = {
30085 (char *) "self",(char *) "item",(char *) "code", NULL
30088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30090 if (!SWIG_IsOK(res1
)) {
30091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30093 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30094 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30095 if (!SWIG_IsOK(ecode2
)) {
30096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30098 arg2
= static_cast< long >(val2
);
30100 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30101 if (!SWIG_IsOK(ecode3
)) {
30102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30104 arg3
= static_cast< int >(val3
);
30107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30119 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
= 0;
30121 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30123 wxPoint
*arg3
= 0 ;
30130 PyObject
* obj0
= 0 ;
30131 PyObject
* obj1
= 0 ;
30132 PyObject
* obj2
= 0 ;
30133 char * kwnames
[] = {
30134 (char *) "self",(char *) "item",(char *) "pos", NULL
30137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30139 if (!SWIG_IsOK(res1
)) {
30140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30142 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30143 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30144 if (!SWIG_IsOK(ecode2
)) {
30145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30147 arg2
= static_cast< long >(val2
);
30150 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30154 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30155 wxPyEndAllowThreads(__tstate
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30167 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30168 PyObject
*resultobj
= 0;
30169 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30173 PyObject
*swig_obj
[1] ;
30175 if (!args
) SWIG_fail
;
30176 swig_obj
[0] = args
;
30177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30178 if (!SWIG_IsOK(res1
)) {
30179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30181 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30184 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30185 wxPyEndAllowThreads(__tstate
);
30186 if (PyErr_Occurred()) SWIG_fail
;
30188 resultobj
= SWIG_From_int(static_cast< int >(result
));
30195 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30196 PyObject
*resultobj
= 0;
30197 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30201 PyObject
*swig_obj
[1] ;
30203 if (!args
) SWIG_fail
;
30204 swig_obj
[0] = args
;
30205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30206 if (!SWIG_IsOK(res1
)) {
30207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30209 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30212 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30213 wxPyEndAllowThreads(__tstate
);
30214 if (PyErr_Occurred()) SWIG_fail
;
30216 resultobj
= SWIG_From_int(static_cast< int >(result
));
30223 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30224 PyObject
*resultobj
= 0;
30225 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30229 PyObject
*swig_obj
[1] ;
30231 if (!args
) SWIG_fail
;
30232 swig_obj
[0] = args
;
30233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30234 if (!SWIG_IsOK(res1
)) {
30235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30237 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30240 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30241 wxPyEndAllowThreads(__tstate
);
30242 if (PyErr_Occurred()) SWIG_fail
;
30244 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30251 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30252 PyObject
*resultobj
= 0;
30253 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30255 bool arg3
= (bool) false ;
30262 PyObject
* obj0
= 0 ;
30263 PyObject
* obj1
= 0 ;
30264 PyObject
* obj2
= 0 ;
30265 char * kwnames
[] = {
30266 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30271 if (!SWIG_IsOK(res1
)) {
30272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30274 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30276 if (!SWIG_IsOK(ecode2
)) {
30277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30279 arg2
= static_cast< int >(val2
);
30281 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30282 if (!SWIG_IsOK(ecode3
)) {
30283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30285 arg3
= static_cast< bool >(val3
);
30288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30289 (arg1
)->SetItemSpacing(arg2
,arg3
);
30290 wxPyEndAllowThreads(__tstate
);
30291 if (PyErr_Occurred()) SWIG_fail
;
30293 resultobj
= SWIG_Py_Void();
30300 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30301 PyObject
*resultobj
= 0;
30302 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30306 PyObject
*swig_obj
[1] ;
30308 if (!args
) SWIG_fail
;
30309 swig_obj
[0] = args
;
30310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30311 if (!SWIG_IsOK(res1
)) {
30312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30314 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30317 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30318 wxPyEndAllowThreads(__tstate
);
30319 if (PyErr_Occurred()) SWIG_fail
;
30321 resultobj
= SWIG_From_int(static_cast< int >(result
));
30328 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30329 PyObject
*resultobj
= 0;
30330 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30334 PyObject
*swig_obj
[1] ;
30336 if (!args
) SWIG_fail
;
30337 swig_obj
[0] = args
;
30338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30339 if (!SWIG_IsOK(res1
)) {
30340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30342 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30345 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30346 wxPyEndAllowThreads(__tstate
);
30347 if (PyErr_Occurred()) SWIG_fail
;
30349 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30356 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30357 PyObject
*resultobj
= 0;
30358 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30359 wxColour
*arg2
= 0 ;
30363 PyObject
* obj0
= 0 ;
30364 PyObject
* obj1
= 0 ;
30365 char * kwnames
[] = {
30366 (char *) "self",(char *) "col", NULL
30369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30371 if (!SWIG_IsOK(res1
)) {
30372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30374 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30377 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30381 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30382 wxPyEndAllowThreads(__tstate
);
30383 if (PyErr_Occurred()) SWIG_fail
;
30385 resultobj
= SWIG_Py_Void();
30392 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30393 PyObject
*resultobj
= 0;
30394 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30398 PyObject
*swig_obj
[1] ;
30400 if (!args
) SWIG_fail
;
30401 swig_obj
[0] = args
;
30402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30403 if (!SWIG_IsOK(res1
)) {
30404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30406 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30409 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30410 wxPyEndAllowThreads(__tstate
);
30411 if (PyErr_Occurred()) SWIG_fail
;
30413 resultobj
= SWIG_From_long(static_cast< long >(result
));
30420 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30421 PyObject
*resultobj
= 0;
30422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30424 bool arg3
= (bool) true ;
30431 PyObject
* obj0
= 0 ;
30432 PyObject
* obj1
= 0 ;
30433 PyObject
* obj2
= 0 ;
30434 char * kwnames
[] = {
30435 (char *) "self",(char *) "style",(char *) "add", NULL
30438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30440 if (!SWIG_IsOK(res1
)) {
30441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30443 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30444 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30445 if (!SWIG_IsOK(ecode2
)) {
30446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30448 arg2
= static_cast< long >(val2
);
30450 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30451 if (!SWIG_IsOK(ecode3
)) {
30452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30454 arg3
= static_cast< bool >(val3
);
30457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30458 (arg1
)->SetSingleStyle(arg2
,arg3
);
30459 wxPyEndAllowThreads(__tstate
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30462 resultobj
= SWIG_Py_Void();
30469 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30470 PyObject
*resultobj
= 0;
30471 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30473 int arg3
= (int) wxLIST_NEXT_ALL
;
30474 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30484 PyObject
* obj0
= 0 ;
30485 PyObject
* obj1
= 0 ;
30486 PyObject
* obj2
= 0 ;
30487 PyObject
* obj3
= 0 ;
30488 char * kwnames
[] = {
30489 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30494 if (!SWIG_IsOK(res1
)) {
30495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30497 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30498 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30499 if (!SWIG_IsOK(ecode2
)) {
30500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30502 arg2
= static_cast< long >(val2
);
30504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30505 if (!SWIG_IsOK(ecode3
)) {
30506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30508 arg3
= static_cast< int >(val3
);
30511 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30512 if (!SWIG_IsOK(ecode4
)) {
30513 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30515 arg4
= static_cast< int >(val4
);
30518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30519 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30520 wxPyEndAllowThreads(__tstate
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30523 resultobj
= SWIG_From_long(static_cast< long >(result
));
30530 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30531 PyObject
*resultobj
= 0;
30532 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30534 wxImageList
*result
= 0 ;
30539 PyObject
* obj0
= 0 ;
30540 PyObject
* obj1
= 0 ;
30541 char * kwnames
[] = {
30542 (char *) "self",(char *) "which", NULL
30545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30547 if (!SWIG_IsOK(res1
)) {
30548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30550 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30552 if (!SWIG_IsOK(ecode2
)) {
30553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30555 arg2
= static_cast< int >(val2
);
30557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30558 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30559 wxPyEndAllowThreads(__tstate
);
30560 if (PyErr_Occurred()) SWIG_fail
;
30563 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30571 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30572 PyObject
*resultobj
= 0;
30573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30574 wxImageList
*arg2
= (wxImageList
*) 0 ;
30582 PyObject
* obj0
= 0 ;
30583 PyObject
* obj1
= 0 ;
30584 PyObject
* obj2
= 0 ;
30585 char * kwnames
[] = {
30586 (char *) "self",(char *) "imageList",(char *) "which", NULL
30589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30591 if (!SWIG_IsOK(res1
)) {
30592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30594 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30595 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30596 if (!SWIG_IsOK(res2
)) {
30597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30599 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30601 if (!SWIG_IsOK(ecode3
)) {
30602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30604 arg3
= static_cast< int >(val3
);
30606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30607 (arg1
)->SetImageList(arg2
,arg3
);
30608 wxPyEndAllowThreads(__tstate
);
30609 if (PyErr_Occurred()) SWIG_fail
;
30611 resultobj
= SWIG_Py_Void();
30618 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30619 PyObject
*resultobj
= 0;
30620 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30621 wxImageList
*arg2
= (wxImageList
*) 0 ;
30628 PyObject
* obj0
= 0 ;
30629 PyObject
* obj1
= 0 ;
30630 PyObject
* obj2
= 0 ;
30631 char * kwnames
[] = {
30632 (char *) "self",(char *) "imageList",(char *) "which", NULL
30635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30637 if (!SWIG_IsOK(res1
)) {
30638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30640 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30641 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30642 if (!SWIG_IsOK(res2
)) {
30643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30646 if (!SWIG_IsOK(ecode3
)) {
30647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30649 arg3
= static_cast< int >(val3
);
30651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30652 (arg1
)->AssignImageList(arg2
,arg3
);
30653 wxPyEndAllowThreads(__tstate
);
30654 if (PyErr_Occurred()) SWIG_fail
;
30656 resultobj
= SWIG_Py_Void();
30663 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(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_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30677 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30680 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30681 wxPyEndAllowThreads(__tstate
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30693 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30694 PyObject
*resultobj
= 0;
30695 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30699 PyObject
*swig_obj
[1] ;
30701 if (!args
) SWIG_fail
;
30702 swig_obj
[0] = args
;
30703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30704 if (!SWIG_IsOK(res1
)) {
30705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30707 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30711 wxPyEndAllowThreads(__tstate
);
30712 if (PyErr_Occurred()) SWIG_fail
;
30715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30723 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30724 PyObject
*resultobj
= 0;
30725 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30731 PyObject
* obj0
= 0 ;
30732 PyObject
* obj1
= 0 ;
30733 char * kwnames
[] = {
30734 (char *) "self",(char *) "item", NULL
30737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30739 if (!SWIG_IsOK(res1
)) {
30740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30742 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30743 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30744 if (!SWIG_IsOK(ecode2
)) {
30745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30747 arg2
= static_cast< long >(val2
);
30749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30750 (arg1
)->RefreshItem(arg2
);
30751 wxPyEndAllowThreads(__tstate
);
30752 if (PyErr_Occurred()) SWIG_fail
;
30754 resultobj
= SWIG_Py_Void();
30761 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30762 PyObject
*resultobj
= 0;
30763 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30772 PyObject
* obj0
= 0 ;
30773 PyObject
* obj1
= 0 ;
30774 PyObject
* obj2
= 0 ;
30775 char * kwnames
[] = {
30776 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30781 if (!SWIG_IsOK(res1
)) {
30782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30784 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30785 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30786 if (!SWIG_IsOK(ecode2
)) {
30787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30789 arg2
= static_cast< long >(val2
);
30790 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30791 if (!SWIG_IsOK(ecode3
)) {
30792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30794 arg3
= static_cast< long >(val3
);
30796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30797 (arg1
)->RefreshItems(arg2
,arg3
);
30798 wxPyEndAllowThreads(__tstate
);
30799 if (PyErr_Occurred()) SWIG_fail
;
30801 resultobj
= SWIG_Py_Void();
30808 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30809 PyObject
*resultobj
= 0;
30810 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30811 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30817 PyObject
* obj0
= 0 ;
30818 PyObject
* obj1
= 0 ;
30819 char * kwnames
[] = {
30820 (char *) "self",(char *) "flag", NULL
30823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30825 if (!SWIG_IsOK(res1
)) {
30826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30828 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30831 if (!SWIG_IsOK(ecode2
)) {
30832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30834 arg2
= static_cast< int >(val2
);
30837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30838 result
= (bool)(arg1
)->Arrange(arg2
);
30839 wxPyEndAllowThreads(__tstate
);
30840 if (PyErr_Occurred()) SWIG_fail
;
30843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30851 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30852 PyObject
*resultobj
= 0;
30853 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30860 PyObject
* obj0
= 0 ;
30861 PyObject
* obj1
= 0 ;
30862 char * kwnames
[] = {
30863 (char *) "self",(char *) "item", NULL
30866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30868 if (!SWIG_IsOK(res1
)) {
30869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30871 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30872 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30873 if (!SWIG_IsOK(ecode2
)) {
30874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30876 arg2
= static_cast< long >(val2
);
30878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30879 result
= (bool)(arg1
)->DeleteItem(arg2
);
30880 wxPyEndAllowThreads(__tstate
);
30881 if (PyErr_Occurred()) SWIG_fail
;
30884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30892 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30893 PyObject
*resultobj
= 0;
30894 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30898 PyObject
*swig_obj
[1] ;
30900 if (!args
) SWIG_fail
;
30901 swig_obj
[0] = args
;
30902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30903 if (!SWIG_IsOK(res1
)) {
30904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30906 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30909 result
= (bool)(arg1
)->DeleteAllItems();
30910 wxPyEndAllowThreads(__tstate
);
30911 if (PyErr_Occurred()) SWIG_fail
;
30914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30922 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30923 PyObject
*resultobj
= 0;
30924 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30931 PyObject
* obj0
= 0 ;
30932 PyObject
* obj1
= 0 ;
30933 char * kwnames
[] = {
30934 (char *) "self",(char *) "col", NULL
30937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30939 if (!SWIG_IsOK(res1
)) {
30940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30942 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30944 if (!SWIG_IsOK(ecode2
)) {
30945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30947 arg2
= static_cast< int >(val2
);
30949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30951 wxPyEndAllowThreads(__tstate
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30963 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30964 PyObject
*resultobj
= 0;
30965 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30969 PyObject
*swig_obj
[1] ;
30971 if (!args
) SWIG_fail
;
30972 swig_obj
[0] = args
;
30973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30974 if (!SWIG_IsOK(res1
)) {
30975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30977 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30980 result
= (bool)(arg1
)->DeleteAllColumns();
30981 wxPyEndAllowThreads(__tstate
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30993 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30994 PyObject
*resultobj
= 0;
30995 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30998 PyObject
*swig_obj
[1] ;
31000 if (!args
) SWIG_fail
;
31001 swig_obj
[0] = args
;
31002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31003 if (!SWIG_IsOK(res1
)) {
31004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31006 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31009 (arg1
)->ClearAll();
31010 wxPyEndAllowThreads(__tstate
);
31011 if (PyErr_Occurred()) SWIG_fail
;
31013 resultobj
= SWIG_Py_Void();
31020 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31021 PyObject
*resultobj
= 0;
31022 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31028 PyObject
* obj0
= 0 ;
31029 PyObject
* obj1
= 0 ;
31030 char * kwnames
[] = {
31031 (char *) "self",(char *) "item", NULL
31034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31036 if (!SWIG_IsOK(res1
)) {
31037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31039 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31040 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31041 if (!SWIG_IsOK(ecode2
)) {
31042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31044 arg2
= static_cast< long >(val2
);
31046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31047 (arg1
)->EditLabel(arg2
);
31048 wxPyEndAllowThreads(__tstate
);
31049 if (PyErr_Occurred()) SWIG_fail
;
31051 resultobj
= SWIG_Py_Void();
31058 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31059 PyObject
*resultobj
= 0;
31060 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31067 PyObject
* obj0
= 0 ;
31068 PyObject
* obj1
= 0 ;
31069 char * kwnames
[] = {
31070 (char *) "self",(char *) "item", NULL
31073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31075 if (!SWIG_IsOK(res1
)) {
31076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31078 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31079 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31080 if (!SWIG_IsOK(ecode2
)) {
31081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31083 arg2
= static_cast< long >(val2
);
31085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31086 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31087 wxPyEndAllowThreads(__tstate
);
31088 if (PyErr_Occurred()) SWIG_fail
;
31091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31099 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31100 PyObject
*resultobj
= 0;
31101 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31103 wxString
*arg3
= 0 ;
31104 bool arg4
= (bool) false ;
31110 bool temp3
= false ;
31113 PyObject
* obj0
= 0 ;
31114 PyObject
* obj1
= 0 ;
31115 PyObject
* obj2
= 0 ;
31116 PyObject
* obj3
= 0 ;
31117 char * kwnames
[] = {
31118 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31123 if (!SWIG_IsOK(res1
)) {
31124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31126 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31127 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31128 if (!SWIG_IsOK(ecode2
)) {
31129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31131 arg2
= static_cast< long >(val2
);
31133 arg3
= wxString_in_helper(obj2
);
31134 if (arg3
== NULL
) SWIG_fail
;
31138 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31139 if (!SWIG_IsOK(ecode4
)) {
31140 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31142 arg4
= static_cast< bool >(val4
);
31145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31146 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31147 wxPyEndAllowThreads(__tstate
);
31148 if (PyErr_Occurred()) SWIG_fail
;
31150 resultobj
= SWIG_From_long(static_cast< long >(result
));
31165 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31166 PyObject
*resultobj
= 0;
31167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31177 PyObject
* obj0
= 0 ;
31178 PyObject
* obj1
= 0 ;
31179 PyObject
* obj2
= 0 ;
31180 char * kwnames
[] = {
31181 (char *) "self",(char *) "start",(char *) "data", NULL
31184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31186 if (!SWIG_IsOK(res1
)) {
31187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31189 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31190 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31191 if (!SWIG_IsOK(ecode2
)) {
31192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31194 arg2
= static_cast< long >(val2
);
31195 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31196 if (!SWIG_IsOK(ecode3
)) {
31197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31199 arg3
= static_cast< long >(val3
);
31201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31202 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31203 wxPyEndAllowThreads(__tstate
);
31204 if (PyErr_Occurred()) SWIG_fail
;
31206 resultobj
= SWIG_From_long(static_cast< long >(result
));
31213 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31214 PyObject
*resultobj
= 0;
31215 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31217 wxPoint
*arg3
= 0 ;
31227 PyObject
* obj0
= 0 ;
31228 PyObject
* obj1
= 0 ;
31229 PyObject
* obj2
= 0 ;
31230 PyObject
* obj3
= 0 ;
31231 char * kwnames
[] = {
31232 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31237 if (!SWIG_IsOK(res1
)) {
31238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31240 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31241 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31242 if (!SWIG_IsOK(ecode2
)) {
31243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31245 arg2
= static_cast< long >(val2
);
31248 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31250 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31251 if (!SWIG_IsOK(ecode4
)) {
31252 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31254 arg4
= static_cast< int >(val4
);
31256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31257 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31258 wxPyEndAllowThreads(__tstate
);
31259 if (PyErr_Occurred()) SWIG_fail
;
31261 resultobj
= SWIG_From_long(static_cast< long >(result
));
31268 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31269 PyObject
*resultobj
= 0;
31270 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31271 wxPoint
*arg2
= 0 ;
31278 int res3
= SWIG_TMPOBJ
;
31279 PyObject
* obj0
= 0 ;
31280 PyObject
* obj1
= 0 ;
31281 char * kwnames
[] = {
31282 (char *) "self",(char *) "point", NULL
31286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31288 if (!SWIG_IsOK(res1
)) {
31289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31291 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31294 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31298 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31299 wxPyEndAllowThreads(__tstate
);
31300 if (PyErr_Occurred()) SWIG_fail
;
31302 resultobj
= SWIG_From_long(static_cast< long >(result
));
31303 if (SWIG_IsTmpObj(res3
)) {
31304 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31306 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31307 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31315 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31316 PyObject
*resultobj
= 0;
31317 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31318 wxPoint
*arg2
= 0 ;
31320 long *arg4
= (long *) 0 ;
31326 int res3
= SWIG_TMPOBJ
;
31328 int res4
= SWIG_TMPOBJ
;
31329 PyObject
* obj0
= 0 ;
31330 PyObject
* obj1
= 0 ;
31331 char * kwnames
[] = {
31332 (char *) "self",(char *) "point", NULL
31337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31339 if (!SWIG_IsOK(res1
)) {
31340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31342 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31345 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31349 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31350 wxPyEndAllowThreads(__tstate
);
31351 if (PyErr_Occurred()) SWIG_fail
;
31353 resultobj
= SWIG_From_long(static_cast< long >(result
));
31354 if (SWIG_IsTmpObj(res3
)) {
31355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31357 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31358 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31360 if (SWIG_IsTmpObj(res4
)) {
31361 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31363 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31364 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31372 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31373 PyObject
*resultobj
= 0;
31374 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31375 wxListItem
*arg2
= 0 ;
31381 PyObject
* obj0
= 0 ;
31382 PyObject
* obj1
= 0 ;
31383 char * kwnames
[] = {
31384 (char *) "self",(char *) "info", NULL
31387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31389 if (!SWIG_IsOK(res1
)) {
31390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31392 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31393 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31394 if (!SWIG_IsOK(res2
)) {
31395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31400 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31403 result
= (long)(arg1
)->InsertItem(*arg2
);
31404 wxPyEndAllowThreads(__tstate
);
31405 if (PyErr_Occurred()) SWIG_fail
;
31407 resultobj
= SWIG_From_long(static_cast< long >(result
));
31414 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31415 PyObject
*resultobj
= 0;
31416 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31418 wxString
*arg3
= 0 ;
31419 int arg4
= (int) -1 ;
31425 bool temp3
= false ;
31428 PyObject
* obj0
= 0 ;
31429 PyObject
* obj1
= 0 ;
31430 PyObject
* obj2
= 0 ;
31431 PyObject
* obj3
= 0 ;
31432 char * kwnames
[] = {
31433 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31438 if (!SWIG_IsOK(res1
)) {
31439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31441 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31442 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31443 if (!SWIG_IsOK(ecode2
)) {
31444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31446 arg2
= static_cast< long >(val2
);
31448 arg3
= wxString_in_helper(obj2
);
31449 if (arg3
== NULL
) SWIG_fail
;
31453 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31454 if (!SWIG_IsOK(ecode4
)) {
31455 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31457 arg4
= static_cast< int >(val4
);
31460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31461 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31462 wxPyEndAllowThreads(__tstate
);
31463 if (PyErr_Occurred()) SWIG_fail
;
31465 resultobj
= SWIG_From_long(static_cast< long >(result
));
31480 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31481 PyObject
*resultobj
= 0;
31482 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31492 PyObject
* obj0
= 0 ;
31493 PyObject
* obj1
= 0 ;
31494 PyObject
* obj2
= 0 ;
31495 char * kwnames
[] = {
31496 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31501 if (!SWIG_IsOK(res1
)) {
31502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31504 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31505 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31506 if (!SWIG_IsOK(ecode2
)) {
31507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31509 arg2
= static_cast< long >(val2
);
31510 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31511 if (!SWIG_IsOK(ecode3
)) {
31512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31514 arg3
= static_cast< int >(val3
);
31516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31517 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31518 wxPyEndAllowThreads(__tstate
);
31519 if (PyErr_Occurred()) SWIG_fail
;
31521 resultobj
= SWIG_From_long(static_cast< long >(result
));
31528 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31529 PyObject
*resultobj
= 0;
31530 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31532 wxString
*arg3
= 0 ;
31539 bool temp3
= false ;
31542 PyObject
* obj0
= 0 ;
31543 PyObject
* obj1
= 0 ;
31544 PyObject
* obj2
= 0 ;
31545 PyObject
* obj3
= 0 ;
31546 char * kwnames
[] = {
31547 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31552 if (!SWIG_IsOK(res1
)) {
31553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31555 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31556 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31557 if (!SWIG_IsOK(ecode2
)) {
31558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31560 arg2
= static_cast< long >(val2
);
31562 arg3
= wxString_in_helper(obj2
);
31563 if (arg3
== NULL
) SWIG_fail
;
31566 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31567 if (!SWIG_IsOK(ecode4
)) {
31568 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31570 arg4
= static_cast< int >(val4
);
31572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31573 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31574 wxPyEndAllowThreads(__tstate
);
31575 if (PyErr_Occurred()) SWIG_fail
;
31577 resultobj
= SWIG_From_long(static_cast< long >(result
));
31592 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31593 PyObject
*resultobj
= 0;
31594 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31596 wxListItem
*arg3
= 0 ;
31604 PyObject
* obj0
= 0 ;
31605 PyObject
* obj1
= 0 ;
31606 PyObject
* obj2
= 0 ;
31607 char * kwnames
[] = {
31608 (char *) "self",(char *) "col",(char *) "info", NULL
31611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31613 if (!SWIG_IsOK(res1
)) {
31614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31616 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31617 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31618 if (!SWIG_IsOK(ecode2
)) {
31619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31621 arg2
= static_cast< long >(val2
);
31622 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31623 if (!SWIG_IsOK(res3
)) {
31624 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31629 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31636 resultobj
= SWIG_From_long(static_cast< long >(result
));
31643 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31644 PyObject
*resultobj
= 0;
31645 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31647 wxString
*arg3
= 0 ;
31648 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31649 int arg5
= (int) -1 ;
31655 bool temp3
= false ;
31660 PyObject
* obj0
= 0 ;
31661 PyObject
* obj1
= 0 ;
31662 PyObject
* obj2
= 0 ;
31663 PyObject
* obj3
= 0 ;
31664 PyObject
* obj4
= 0 ;
31665 char * kwnames
[] = {
31666 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31671 if (!SWIG_IsOK(res1
)) {
31672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31674 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31675 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31676 if (!SWIG_IsOK(ecode2
)) {
31677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31679 arg2
= static_cast< long >(val2
);
31681 arg3
= wxString_in_helper(obj2
);
31682 if (arg3
== NULL
) SWIG_fail
;
31686 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31687 if (!SWIG_IsOK(ecode4
)) {
31688 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31690 arg4
= static_cast< int >(val4
);
31693 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31694 if (!SWIG_IsOK(ecode5
)) {
31695 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31697 arg5
= static_cast< int >(val5
);
31700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31701 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31702 wxPyEndAllowThreads(__tstate
);
31703 if (PyErr_Occurred()) SWIG_fail
;
31705 resultobj
= SWIG_From_long(static_cast< long >(result
));
31720 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31721 PyObject
*resultobj
= 0;
31722 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31728 PyObject
* obj0
= 0 ;
31729 PyObject
* obj1
= 0 ;
31730 char * kwnames
[] = {
31731 (char *) "self",(char *) "count", NULL
31734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31736 if (!SWIG_IsOK(res1
)) {
31737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31739 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31740 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31741 if (!SWIG_IsOK(ecode2
)) {
31742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31744 arg2
= static_cast< long >(val2
);
31746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31747 (arg1
)->SetItemCount(arg2
);
31748 wxPyEndAllowThreads(__tstate
);
31749 if (PyErr_Occurred()) SWIG_fail
;
31751 resultobj
= SWIG_Py_Void();
31758 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31759 PyObject
*resultobj
= 0;
31760 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31770 PyObject
* obj0
= 0 ;
31771 PyObject
* obj1
= 0 ;
31772 PyObject
* obj2
= 0 ;
31773 char * kwnames
[] = {
31774 (char *) "self",(char *) "dx",(char *) "dy", NULL
31777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31779 if (!SWIG_IsOK(res1
)) {
31780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31782 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31784 if (!SWIG_IsOK(ecode2
)) {
31785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31787 arg2
= static_cast< int >(val2
);
31788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31789 if (!SWIG_IsOK(ecode3
)) {
31790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31792 arg3
= static_cast< int >(val3
);
31794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31795 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31796 wxPyEndAllowThreads(__tstate
);
31797 if (PyErr_Occurred()) SWIG_fail
;
31800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31808 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31809 PyObject
*resultobj
= 0;
31810 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31812 wxColour
*arg3
= 0 ;
31818 PyObject
* obj0
= 0 ;
31819 PyObject
* obj1
= 0 ;
31820 PyObject
* obj2
= 0 ;
31821 char * kwnames
[] = {
31822 (char *) "self",(char *) "item",(char *) "col", NULL
31825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31827 if (!SWIG_IsOK(res1
)) {
31828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31830 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31831 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31832 if (!SWIG_IsOK(ecode2
)) {
31833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31835 arg2
= static_cast< long >(val2
);
31838 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31842 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31843 wxPyEndAllowThreads(__tstate
);
31844 if (PyErr_Occurred()) SWIG_fail
;
31846 resultobj
= SWIG_Py_Void();
31853 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31854 PyObject
*resultobj
= 0;
31855 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31862 PyObject
* obj0
= 0 ;
31863 PyObject
* obj1
= 0 ;
31864 char * kwnames
[] = {
31865 (char *) "self",(char *) "item", NULL
31868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31870 if (!SWIG_IsOK(res1
)) {
31871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31873 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31874 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31875 if (!SWIG_IsOK(ecode2
)) {
31876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31878 arg2
= static_cast< long >(val2
);
31880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31881 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31882 wxPyEndAllowThreads(__tstate
);
31883 if (PyErr_Occurred()) SWIG_fail
;
31885 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31892 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31893 PyObject
*resultobj
= 0;
31894 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31896 wxColour
*arg3
= 0 ;
31902 PyObject
* obj0
= 0 ;
31903 PyObject
* obj1
= 0 ;
31904 PyObject
* obj2
= 0 ;
31905 char * kwnames
[] = {
31906 (char *) "self",(char *) "item",(char *) "col", NULL
31909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31911 if (!SWIG_IsOK(res1
)) {
31912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31914 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31915 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31916 if (!SWIG_IsOK(ecode2
)) {
31917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31919 arg2
= static_cast< long >(val2
);
31922 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31926 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31927 wxPyEndAllowThreads(__tstate
);
31928 if (PyErr_Occurred()) SWIG_fail
;
31930 resultobj
= SWIG_Py_Void();
31937 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31938 PyObject
*resultobj
= 0;
31939 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31946 PyObject
* obj0
= 0 ;
31947 PyObject
* obj1
= 0 ;
31948 char * kwnames
[] = {
31949 (char *) "self",(char *) "item", NULL
31952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31954 if (!SWIG_IsOK(res1
)) {
31955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31957 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31958 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31959 if (!SWIG_IsOK(ecode2
)) {
31960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31962 arg2
= static_cast< long >(val2
);
31964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31965 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31966 wxPyEndAllowThreads(__tstate
);
31967 if (PyErr_Occurred()) SWIG_fail
;
31969 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31976 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31977 PyObject
*resultobj
= 0;
31978 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31987 PyObject
* obj0
= 0 ;
31988 PyObject
* obj1
= 0 ;
31989 PyObject
* obj2
= 0 ;
31990 char * kwnames
[] = {
31991 (char *) "self",(char *) "item",(char *) "f", NULL
31994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31996 if (!SWIG_IsOK(res1
)) {
31997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31999 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32000 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32001 if (!SWIG_IsOK(ecode2
)) {
32002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32004 arg2
= static_cast< long >(val2
);
32005 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
32006 if (!SWIG_IsOK(res3
)) {
32007 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32012 arg3
= reinterpret_cast< wxFont
* >(argp3
);
32014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32015 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
32016 wxPyEndAllowThreads(__tstate
);
32017 if (PyErr_Occurred()) SWIG_fail
;
32019 resultobj
= SWIG_Py_Void();
32026 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32027 PyObject
*resultobj
= 0;
32028 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32035 PyObject
* obj0
= 0 ;
32036 PyObject
* obj1
= 0 ;
32037 char * kwnames
[] = {
32038 (char *) "self",(char *) "item", NULL
32041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32043 if (!SWIG_IsOK(res1
)) {
32044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32046 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32047 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32048 if (!SWIG_IsOK(ecode2
)) {
32049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32051 arg2
= static_cast< long >(val2
);
32053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32054 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32055 wxPyEndAllowThreads(__tstate
);
32056 if (PyErr_Occurred()) SWIG_fail
;
32058 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32065 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32066 PyObject
*resultobj
= 0;
32067 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32068 PyObject
*arg2
= (PyObject
*) 0 ;
32072 PyObject
* obj0
= 0 ;
32073 PyObject
* obj1
= 0 ;
32074 char * kwnames
[] = {
32075 (char *) "self",(char *) "func", NULL
32078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32080 if (!SWIG_IsOK(res1
)) {
32081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32083 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32087 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32088 wxPyEndAllowThreads(__tstate
);
32089 if (PyErr_Occurred()) SWIG_fail
;
32092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32100 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32101 PyObject
*resultobj
= 0;
32102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32103 wxWindow
*result
= 0 ;
32106 PyObject
*swig_obj
[1] ;
32108 if (!args
) SWIG_fail
;
32109 swig_obj
[0] = args
;
32110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32111 if (!SWIG_IsOK(res1
)) {
32112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32114 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32117 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32118 wxPyEndAllowThreads(__tstate
);
32119 if (PyErr_Occurred()) SWIG_fail
;
32122 resultobj
= wxPyMake_wxObject(result
, 0);
32130 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32131 PyObject
*resultobj
= 0;
32132 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32133 SwigValueWrapper
<wxVisualAttributes
> result
;
32136 PyObject
* obj0
= 0 ;
32137 char * kwnames
[] = {
32138 (char *) "variant", NULL
32141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32143 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32144 if (!SWIG_IsOK(ecode1
)) {
32145 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32147 arg1
= static_cast< wxWindowVariant
>(val1
);
32150 if (!wxPyCheckForApp()) SWIG_fail
;
32151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32152 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32153 wxPyEndAllowThreads(__tstate
);
32154 if (PyErr_Occurred()) SWIG_fail
;
32156 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32163 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32166 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32167 return SWIG_Py_Void();
32170 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32171 return SWIG_Python_InitShadowInstance(args
);
32174 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32175 PyObject
*resultobj
= 0;
32176 wxWindow
*arg1
= (wxWindow
*) 0 ;
32177 int arg2
= (int) -1 ;
32178 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32179 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32180 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32181 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32182 long arg5
= (long) wxLC_REPORT
;
32183 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32184 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32185 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32186 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32187 wxListView
*result
= 0 ;
32198 bool temp7
= false ;
32199 PyObject
* obj0
= 0 ;
32200 PyObject
* obj1
= 0 ;
32201 PyObject
* obj2
= 0 ;
32202 PyObject
* obj3
= 0 ;
32203 PyObject
* obj4
= 0 ;
32204 PyObject
* obj5
= 0 ;
32205 PyObject
* obj6
= 0 ;
32206 char * kwnames
[] = {
32207 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32212 if (!SWIG_IsOK(res1
)) {
32213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32215 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32218 if (!SWIG_IsOK(ecode2
)) {
32219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32221 arg2
= static_cast< int >(val2
);
32226 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32232 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32236 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32237 if (!SWIG_IsOK(ecode5
)) {
32238 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32240 arg5
= static_cast< long >(val5
);
32243 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32244 if (!SWIG_IsOK(res6
)) {
32245 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32250 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32254 arg7
= wxString_in_helper(obj6
);
32255 if (arg7
== NULL
) SWIG_fail
;
32260 if (!wxPyCheckForApp()) SWIG_fail
;
32261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32262 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32263 wxPyEndAllowThreads(__tstate
);
32264 if (PyErr_Occurred()) SWIG_fail
;
32266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32281 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32282 PyObject
*resultobj
= 0;
32283 wxListView
*result
= 0 ;
32285 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32287 if (!wxPyCheckForApp()) SWIG_fail
;
32288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32289 result
= (wxListView
*)new wxListView();
32290 wxPyEndAllowThreads(__tstate
);
32291 if (PyErr_Occurred()) SWIG_fail
;
32293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32300 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32301 PyObject
*resultobj
= 0;
32302 wxListView
*arg1
= (wxListView
*) 0 ;
32303 wxWindow
*arg2
= (wxWindow
*) 0 ;
32304 int arg3
= (int) -1 ;
32305 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32306 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32307 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32308 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32309 long arg6
= (long) wxLC_REPORT
;
32310 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32311 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32312 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32313 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32327 bool temp8
= false ;
32328 PyObject
* obj0
= 0 ;
32329 PyObject
* obj1
= 0 ;
32330 PyObject
* obj2
= 0 ;
32331 PyObject
* obj3
= 0 ;
32332 PyObject
* obj4
= 0 ;
32333 PyObject
* obj5
= 0 ;
32334 PyObject
* obj6
= 0 ;
32335 PyObject
* obj7
= 0 ;
32336 char * kwnames
[] = {
32337 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32342 if (!SWIG_IsOK(res1
)) {
32343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32345 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32346 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32347 if (!SWIG_IsOK(res2
)) {
32348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32350 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32353 if (!SWIG_IsOK(ecode3
)) {
32354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32356 arg3
= static_cast< int >(val3
);
32361 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32367 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32371 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32372 if (!SWIG_IsOK(ecode6
)) {
32373 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32375 arg6
= static_cast< long >(val6
);
32378 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32379 if (!SWIG_IsOK(res7
)) {
32380 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32385 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32389 arg8
= wxString_in_helper(obj7
);
32390 if (arg8
== NULL
) SWIG_fail
;
32395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32396 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32397 wxPyEndAllowThreads(__tstate
);
32398 if (PyErr_Occurred()) SWIG_fail
;
32401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32417 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32418 PyObject
*resultobj
= 0;
32419 wxListView
*arg1
= (wxListView
*) 0 ;
32421 bool arg3
= (bool) true ;
32428 PyObject
* obj0
= 0 ;
32429 PyObject
* obj1
= 0 ;
32430 PyObject
* obj2
= 0 ;
32431 char * kwnames
[] = {
32432 (char *) "self",(char *) "n",(char *) "on", NULL
32435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32437 if (!SWIG_IsOK(res1
)) {
32438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32440 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32441 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32442 if (!SWIG_IsOK(ecode2
)) {
32443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32445 arg2
= static_cast< long >(val2
);
32447 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32448 if (!SWIG_IsOK(ecode3
)) {
32449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32451 arg3
= static_cast< bool >(val3
);
32454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32455 (arg1
)->Select(arg2
,arg3
);
32456 wxPyEndAllowThreads(__tstate
);
32457 if (PyErr_Occurred()) SWIG_fail
;
32459 resultobj
= SWIG_Py_Void();
32466 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32467 PyObject
*resultobj
= 0;
32468 wxListView
*arg1
= (wxListView
*) 0 ;
32474 PyObject
* obj0
= 0 ;
32475 PyObject
* obj1
= 0 ;
32476 char * kwnames
[] = {
32477 (char *) "self",(char *) "index", NULL
32480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32482 if (!SWIG_IsOK(res1
)) {
32483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32485 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32486 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32487 if (!SWIG_IsOK(ecode2
)) {
32488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32490 arg2
= static_cast< long >(val2
);
32492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32493 (arg1
)->Focus(arg2
);
32494 wxPyEndAllowThreads(__tstate
);
32495 if (PyErr_Occurred()) SWIG_fail
;
32497 resultobj
= SWIG_Py_Void();
32504 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32505 PyObject
*resultobj
= 0;
32506 wxListView
*arg1
= (wxListView
*) 0 ;
32510 PyObject
*swig_obj
[1] ;
32512 if (!args
) SWIG_fail
;
32513 swig_obj
[0] = args
;
32514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32515 if (!SWIG_IsOK(res1
)) {
32516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32518 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32521 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32522 wxPyEndAllowThreads(__tstate
);
32523 if (PyErr_Occurred()) SWIG_fail
;
32525 resultobj
= SWIG_From_long(static_cast< long >(result
));
32532 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32533 PyObject
*resultobj
= 0;
32534 wxListView
*arg1
= (wxListView
*) 0 ;
32541 PyObject
* obj0
= 0 ;
32542 PyObject
* obj1
= 0 ;
32543 char * kwnames
[] = {
32544 (char *) "self",(char *) "item", NULL
32547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32549 if (!SWIG_IsOK(res1
)) {
32550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32552 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32553 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32554 if (!SWIG_IsOK(ecode2
)) {
32555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32557 arg2
= static_cast< long >(val2
);
32559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32560 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32561 wxPyEndAllowThreads(__tstate
);
32562 if (PyErr_Occurred()) SWIG_fail
;
32564 resultobj
= SWIG_From_long(static_cast< long >(result
));
32571 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32572 PyObject
*resultobj
= 0;
32573 wxListView
*arg1
= (wxListView
*) 0 ;
32577 PyObject
*swig_obj
[1] ;
32579 if (!args
) SWIG_fail
;
32580 swig_obj
[0] = args
;
32581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32582 if (!SWIG_IsOK(res1
)) {
32583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32585 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32588 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32589 wxPyEndAllowThreads(__tstate
);
32590 if (PyErr_Occurred()) SWIG_fail
;
32592 resultobj
= SWIG_From_long(static_cast< long >(result
));
32599 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32600 PyObject
*resultobj
= 0;
32601 wxListView
*arg1
= (wxListView
*) 0 ;
32608 PyObject
* obj0
= 0 ;
32609 PyObject
* obj1
= 0 ;
32610 char * kwnames
[] = {
32611 (char *) "self",(char *) "index", NULL
32614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32616 if (!SWIG_IsOK(res1
)) {
32617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32619 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32620 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32621 if (!SWIG_IsOK(ecode2
)) {
32622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32624 arg2
= static_cast< long >(val2
);
32626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32627 result
= (bool)(arg1
)->IsSelected(arg2
);
32628 wxPyEndAllowThreads(__tstate
);
32629 if (PyErr_Occurred()) SWIG_fail
;
32632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32640 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32641 PyObject
*resultobj
= 0;
32642 wxListView
*arg1
= (wxListView
*) 0 ;
32651 PyObject
* obj0
= 0 ;
32652 PyObject
* obj1
= 0 ;
32653 PyObject
* obj2
= 0 ;
32654 char * kwnames
[] = {
32655 (char *) "self",(char *) "col",(char *) "image", NULL
32658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32660 if (!SWIG_IsOK(res1
)) {
32661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32663 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32665 if (!SWIG_IsOK(ecode2
)) {
32666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32668 arg2
= static_cast< int >(val2
);
32669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32670 if (!SWIG_IsOK(ecode3
)) {
32671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32673 arg3
= static_cast< int >(val3
);
32675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32676 (arg1
)->SetColumnImage(arg2
,arg3
);
32677 wxPyEndAllowThreads(__tstate
);
32678 if (PyErr_Occurred()) SWIG_fail
;
32680 resultobj
= SWIG_Py_Void();
32687 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32688 PyObject
*resultobj
= 0;
32689 wxListView
*arg1
= (wxListView
*) 0 ;
32695 PyObject
* obj0
= 0 ;
32696 PyObject
* obj1
= 0 ;
32697 char * kwnames
[] = {
32698 (char *) "self",(char *) "col", NULL
32701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32703 if (!SWIG_IsOK(res1
)) {
32704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32706 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32708 if (!SWIG_IsOK(ecode2
)) {
32709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32711 arg2
= static_cast< int >(val2
);
32713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32714 (arg1
)->ClearColumnImage(arg2
);
32715 wxPyEndAllowThreads(__tstate
);
32716 if (PyErr_Occurred()) SWIG_fail
;
32718 resultobj
= SWIG_Py_Void();
32725 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32728 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32729 return SWIG_Py_Void();
32732 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32733 return SWIG_Python_InitShadowInstance(args
);
32736 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32737 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32742 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32743 PyObject
*pyobj
= 0;
32747 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32749 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32756 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32757 PyObject
*resultobj
= 0;
32758 wxTreeItemId
*result
= 0 ;
32760 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32763 result
= (wxTreeItemId
*)new wxTreeItemId();
32764 wxPyEndAllowThreads(__tstate
);
32765 if (PyErr_Occurred()) SWIG_fail
;
32767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32774 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32775 PyObject
*resultobj
= 0;
32776 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32779 PyObject
*swig_obj
[1] ;
32781 if (!args
) SWIG_fail
;
32782 swig_obj
[0] = args
;
32783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32784 if (!SWIG_IsOK(res1
)) {
32785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32787 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32792 wxPyEndAllowThreads(__tstate
);
32793 if (PyErr_Occurred()) SWIG_fail
;
32795 resultobj
= SWIG_Py_Void();
32802 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32803 PyObject
*resultobj
= 0;
32804 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32808 PyObject
*swig_obj
[1] ;
32810 if (!args
) SWIG_fail
;
32811 swig_obj
[0] = args
;
32812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32813 if (!SWIG_IsOK(res1
)) {
32814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32816 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32819 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32820 wxPyEndAllowThreads(__tstate
);
32821 if (PyErr_Occurred()) SWIG_fail
;
32824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32832 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32833 PyObject
*resultobj
= 0;
32834 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32835 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32841 PyObject
* obj0
= 0 ;
32842 PyObject
* obj1
= 0 ;
32843 char * kwnames
[] = {
32844 (char *) "self",(char *) "other", NULL
32847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32849 if (!SWIG_IsOK(res1
)) {
32850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32852 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32853 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32854 if (!SWIG_IsOK(res2
)) {
32855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32857 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32860 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32861 wxPyEndAllowThreads(__tstate
);
32862 if (PyErr_Occurred()) SWIG_fail
;
32865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32873 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32874 PyObject
*resultobj
= 0;
32875 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32876 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32882 PyObject
* obj0
= 0 ;
32883 PyObject
* obj1
= 0 ;
32884 char * kwnames
[] = {
32885 (char *) "self",(char *) "other", NULL
32888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32890 if (!SWIG_IsOK(res1
)) {
32891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32893 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32894 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32895 if (!SWIG_IsOK(res2
)) {
32896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32898 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32901 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32902 wxPyEndAllowThreads(__tstate
);
32903 if (PyErr_Occurred()) SWIG_fail
;
32906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32914 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32915 PyObject
*resultobj
= 0;
32916 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32917 void *arg2
= (void *) 0 ;
32921 PyObject
*swig_obj
[2] ;
32923 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32925 if (!SWIG_IsOK(res1
)) {
32926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32928 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32929 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32930 if (!SWIG_IsOK(res2
)) {
32931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32933 if (arg1
) (arg1
)->m_pItem
= arg2
;
32935 resultobj
= SWIG_Py_Void();
32942 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32943 PyObject
*resultobj
= 0;
32944 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32948 PyObject
*swig_obj
[1] ;
32950 if (!args
) SWIG_fail
;
32951 swig_obj
[0] = args
;
32952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32953 if (!SWIG_IsOK(res1
)) {
32954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32956 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32957 result
= (void *) ((arg1
)->m_pItem
);
32958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32965 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32968 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32969 return SWIG_Py_Void();
32972 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32973 return SWIG_Python_InitShadowInstance(args
);
32976 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32977 PyObject
*resultobj
= 0;
32978 PyObject
*arg1
= (PyObject
*) NULL
;
32979 wxPyTreeItemData
*result
= 0 ;
32980 PyObject
* obj0
= 0 ;
32981 char * kwnames
[] = {
32982 (char *) "obj", NULL
32985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32991 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32992 wxPyEndAllowThreads(__tstate
);
32993 if (PyErr_Occurred()) SWIG_fail
;
32995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
33002 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33003 PyObject
*resultobj
= 0;
33004 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33007 PyObject
*swig_obj
[1] ;
33009 if (!args
) SWIG_fail
;
33010 swig_obj
[0] = args
;
33011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33012 if (!SWIG_IsOK(res1
)) {
33013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33015 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33020 wxPyEndAllowThreads(__tstate
);
33021 if (PyErr_Occurred()) SWIG_fail
;
33023 resultobj
= SWIG_Py_Void();
33030 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33031 PyObject
*resultobj
= 0;
33032 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33033 PyObject
*result
= 0 ;
33036 PyObject
*swig_obj
[1] ;
33038 if (!args
) SWIG_fail
;
33039 swig_obj
[0] = args
;
33040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33041 if (!SWIG_IsOK(res1
)) {
33042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33044 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33047 result
= (PyObject
*)(arg1
)->GetData();
33048 wxPyEndAllowThreads(__tstate
);
33049 if (PyErr_Occurred()) SWIG_fail
;
33051 resultobj
= result
;
33058 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33059 PyObject
*resultobj
= 0;
33060 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33061 PyObject
*arg2
= (PyObject
*) 0 ;
33064 PyObject
* obj0
= 0 ;
33065 PyObject
* obj1
= 0 ;
33066 char * kwnames
[] = {
33067 (char *) "self",(char *) "obj", NULL
33070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33072 if (!SWIG_IsOK(res1
)) {
33073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33075 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33079 (arg1
)->SetData(arg2
);
33080 wxPyEndAllowThreads(__tstate
);
33081 if (PyErr_Occurred()) SWIG_fail
;
33083 resultobj
= SWIG_Py_Void();
33090 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33091 PyObject
*resultobj
= 0;
33092 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33093 wxTreeItemId
*result
= 0 ;
33096 PyObject
*swig_obj
[1] ;
33098 if (!args
) SWIG_fail
;
33099 swig_obj
[0] = args
;
33100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33101 if (!SWIG_IsOK(res1
)) {
33102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33104 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33108 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33109 result
= (wxTreeItemId
*) &_result_ref
;
33111 wxPyEndAllowThreads(__tstate
);
33112 if (PyErr_Occurred()) SWIG_fail
;
33114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33121 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33122 PyObject
*resultobj
= 0;
33123 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33124 wxTreeItemId
*arg2
= 0 ;
33129 PyObject
* obj0
= 0 ;
33130 PyObject
* obj1
= 0 ;
33131 char * kwnames
[] = {
33132 (char *) "self",(char *) "id", NULL
33135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33137 if (!SWIG_IsOK(res1
)) {
33138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33140 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33141 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33142 if (!SWIG_IsOK(res2
)) {
33143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33148 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33151 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33152 wxPyEndAllowThreads(__tstate
);
33153 if (PyErr_Occurred()) SWIG_fail
;
33155 resultobj
= SWIG_Py_Void();
33162 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33163 PyObject
*resultobj
= 0;
33164 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33167 PyObject
*swig_obj
[1] ;
33169 if (!args
) SWIG_fail
;
33170 swig_obj
[0] = args
;
33171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33172 if (!SWIG_IsOK(res1
)) {
33173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33175 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33178 wxPyTreeItemData_Destroy(arg1
);
33179 wxPyEndAllowThreads(__tstate
);
33180 if (PyErr_Occurred()) SWIG_fail
;
33182 resultobj
= SWIG_Py_Void();
33189 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33191 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33192 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33193 return SWIG_Py_Void();
33196 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33197 return SWIG_Python_InitShadowInstance(args
);
33200 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33203 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33204 if (!SWIG_IsOK(res
)) {
33205 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33210 wxTreeItemId
* temp
;
33211 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33212 wxNullTreeItemId
= *temp
;
33213 if (SWIG_IsNewObj(res
)) delete temp
;
33222 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33223 PyObject
*pyobj
= 0;
33225 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33230 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33231 PyObject
*resultobj
= 0;
33232 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33233 int arg2
= (int) 0 ;
33234 wxTreeEvent
*result
= 0 ;
33240 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33242 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33243 if (!SWIG_IsOK(ecode1
)) {
33244 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33246 arg1
= static_cast< wxEventType
>(val1
);
33249 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33250 if (!SWIG_IsOK(ecode2
)) {
33251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33253 arg2
= static_cast< int >(val2
);
33256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33257 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33258 wxPyEndAllowThreads(__tstate
);
33259 if (PyErr_Occurred()) SWIG_fail
;
33261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33268 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33269 PyObject
*resultobj
= 0;
33271 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33272 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33273 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33274 wxTreeEvent
*result
= 0 ;
33282 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33283 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33284 if (!SWIG_IsOK(ecode1
)) {
33285 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33287 arg1
= static_cast< wxEventType
>(val1
);
33288 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33289 if (!SWIG_IsOK(res2
)) {
33290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33292 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33294 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33295 if (!SWIG_IsOK(res3
)) {
33296 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33301 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33305 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33306 wxPyEndAllowThreads(__tstate
);
33307 if (PyErr_Occurred()) SWIG_fail
;
33309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33316 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33320 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33322 if ((argc
>= 0) && (argc
<= 2)) {
33327 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33328 _v
= SWIG_CheckState(res
);
33331 if (!_v
) goto check_1
;
33333 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33337 if ((argc
>= 2) && (argc
<= 3)) {
33338 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33342 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33347 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33348 PyObject
*resultobj
= 0;
33349 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33350 wxTreeItemId result
;
33353 PyObject
*swig_obj
[1] ;
33355 if (!args
) SWIG_fail
;
33356 swig_obj
[0] = args
;
33357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33358 if (!SWIG_IsOK(res1
)) {
33359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33361 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33364 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33365 wxPyEndAllowThreads(__tstate
);
33366 if (PyErr_Occurred()) SWIG_fail
;
33368 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33375 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33376 PyObject
*resultobj
= 0;
33377 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33378 wxTreeItemId
*arg2
= 0 ;
33383 PyObject
* obj0
= 0 ;
33384 PyObject
* obj1
= 0 ;
33385 char * kwnames
[] = {
33386 (char *) "self",(char *) "item", NULL
33389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33391 if (!SWIG_IsOK(res1
)) {
33392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33394 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33395 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33396 if (!SWIG_IsOK(res2
)) {
33397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33402 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33405 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33406 wxPyEndAllowThreads(__tstate
);
33407 if (PyErr_Occurred()) SWIG_fail
;
33409 resultobj
= SWIG_Py_Void();
33416 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33417 PyObject
*resultobj
= 0;
33418 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33419 wxTreeItemId result
;
33422 PyObject
*swig_obj
[1] ;
33424 if (!args
) SWIG_fail
;
33425 swig_obj
[0] = args
;
33426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33427 if (!SWIG_IsOK(res1
)) {
33428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33430 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33433 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33434 wxPyEndAllowThreads(__tstate
);
33435 if (PyErr_Occurred()) SWIG_fail
;
33437 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33444 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33445 PyObject
*resultobj
= 0;
33446 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33447 wxTreeItemId
*arg2
= 0 ;
33452 PyObject
* obj0
= 0 ;
33453 PyObject
* obj1
= 0 ;
33454 char * kwnames
[] = {
33455 (char *) "self",(char *) "item", NULL
33458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33460 if (!SWIG_IsOK(res1
)) {
33461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33463 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33464 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33465 if (!SWIG_IsOK(res2
)) {
33466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33471 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33474 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33475 wxPyEndAllowThreads(__tstate
);
33476 if (PyErr_Occurred()) SWIG_fail
;
33478 resultobj
= SWIG_Py_Void();
33485 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33486 PyObject
*resultobj
= 0;
33487 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33491 PyObject
*swig_obj
[1] ;
33493 if (!args
) SWIG_fail
;
33494 swig_obj
[0] = args
;
33495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33496 if (!SWIG_IsOK(res1
)) {
33497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33499 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33502 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33503 wxPyEndAllowThreads(__tstate
);
33504 if (PyErr_Occurred()) SWIG_fail
;
33506 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33513 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33514 PyObject
*resultobj
= 0;
33515 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33516 wxPoint
*arg2
= 0 ;
33520 PyObject
* obj0
= 0 ;
33521 PyObject
* obj1
= 0 ;
33522 char * kwnames
[] = {
33523 (char *) "self",(char *) "pt", NULL
33526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33528 if (!SWIG_IsOK(res1
)) {
33529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33531 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33534 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33538 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33539 wxPyEndAllowThreads(__tstate
);
33540 if (PyErr_Occurred()) SWIG_fail
;
33542 resultobj
= SWIG_Py_Void();
33549 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33550 PyObject
*resultobj
= 0;
33551 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33552 wxKeyEvent
*result
= 0 ;
33555 PyObject
*swig_obj
[1] ;
33557 if (!args
) SWIG_fail
;
33558 swig_obj
[0] = args
;
33559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33560 if (!SWIG_IsOK(res1
)) {
33561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33563 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33567 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33568 result
= (wxKeyEvent
*) &_result_ref
;
33570 wxPyEndAllowThreads(__tstate
);
33571 if (PyErr_Occurred()) SWIG_fail
;
33573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33580 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33581 PyObject
*resultobj
= 0;
33582 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33586 PyObject
*swig_obj
[1] ;
33588 if (!args
) SWIG_fail
;
33589 swig_obj
[0] = args
;
33590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33591 if (!SWIG_IsOK(res1
)) {
33592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33594 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33597 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33598 wxPyEndAllowThreads(__tstate
);
33599 if (PyErr_Occurred()) SWIG_fail
;
33601 resultobj
= SWIG_From_int(static_cast< int >(result
));
33608 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33609 PyObject
*resultobj
= 0;
33610 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33611 wxKeyEvent
*arg2
= 0 ;
33616 PyObject
* obj0
= 0 ;
33617 PyObject
* obj1
= 0 ;
33618 char * kwnames
[] = {
33619 (char *) "self",(char *) "evt", NULL
33622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33624 if (!SWIG_IsOK(res1
)) {
33625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33627 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33628 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33629 if (!SWIG_IsOK(res2
)) {
33630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33635 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33638 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33639 wxPyEndAllowThreads(__tstate
);
33640 if (PyErr_Occurred()) SWIG_fail
;
33642 resultobj
= SWIG_Py_Void();
33649 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33650 PyObject
*resultobj
= 0;
33651 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33652 wxString
*result
= 0 ;
33655 PyObject
*swig_obj
[1] ;
33657 if (!args
) SWIG_fail
;
33658 swig_obj
[0] = args
;
33659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33660 if (!SWIG_IsOK(res1
)) {
33661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33663 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33667 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33668 result
= (wxString
*) &_result_ref
;
33670 wxPyEndAllowThreads(__tstate
);
33671 if (PyErr_Occurred()) SWIG_fail
;
33675 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33677 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33686 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33687 PyObject
*resultobj
= 0;
33688 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33689 wxString
*arg2
= 0 ;
33692 bool temp2
= false ;
33693 PyObject
* obj0
= 0 ;
33694 PyObject
* obj1
= 0 ;
33695 char * kwnames
[] = {
33696 (char *) "self",(char *) "label", NULL
33699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33701 if (!SWIG_IsOK(res1
)) {
33702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33704 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33706 arg2
= wxString_in_helper(obj1
);
33707 if (arg2
== NULL
) SWIG_fail
;
33711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33712 (arg1
)->SetLabel((wxString
const &)*arg2
);
33713 wxPyEndAllowThreads(__tstate
);
33714 if (PyErr_Occurred()) SWIG_fail
;
33716 resultobj
= SWIG_Py_Void();
33731 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33732 PyObject
*resultobj
= 0;
33733 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33737 PyObject
*swig_obj
[1] ;
33739 if (!args
) SWIG_fail
;
33740 swig_obj
[0] = args
;
33741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33742 if (!SWIG_IsOK(res1
)) {
33743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33745 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33748 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33749 wxPyEndAllowThreads(__tstate
);
33750 if (PyErr_Occurred()) SWIG_fail
;
33753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33761 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33762 PyObject
*resultobj
= 0;
33763 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33769 PyObject
* obj0
= 0 ;
33770 PyObject
* obj1
= 0 ;
33771 char * kwnames
[] = {
33772 (char *) "self",(char *) "editCancelled", NULL
33775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33777 if (!SWIG_IsOK(res1
)) {
33778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33780 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33781 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33782 if (!SWIG_IsOK(ecode2
)) {
33783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33785 arg2
= static_cast< bool >(val2
);
33787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33788 (arg1
)->SetEditCanceled(arg2
);
33789 wxPyEndAllowThreads(__tstate
);
33790 if (PyErr_Occurred()) SWIG_fail
;
33792 resultobj
= SWIG_Py_Void();
33799 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33800 PyObject
*resultobj
= 0;
33801 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33802 wxString
*arg2
= 0 ;
33805 bool temp2
= false ;
33806 PyObject
* obj0
= 0 ;
33807 PyObject
* obj1
= 0 ;
33808 char * kwnames
[] = {
33809 (char *) "self",(char *) "toolTip", NULL
33812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33814 if (!SWIG_IsOK(res1
)) {
33815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33817 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33819 arg2
= wxString_in_helper(obj1
);
33820 if (arg2
== NULL
) SWIG_fail
;
33824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33825 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33826 wxPyEndAllowThreads(__tstate
);
33827 if (PyErr_Occurred()) SWIG_fail
;
33829 resultobj
= SWIG_Py_Void();
33844 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33845 PyObject
*resultobj
= 0;
33846 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33850 PyObject
*swig_obj
[1] ;
33852 if (!args
) SWIG_fail
;
33853 swig_obj
[0] = args
;
33854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33855 if (!SWIG_IsOK(res1
)) {
33856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33858 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33861 result
= (arg1
)->GetToolTip();
33862 wxPyEndAllowThreads(__tstate
);
33863 if (PyErr_Occurred()) SWIG_fail
;
33867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33878 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33881 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33882 return SWIG_Py_Void();
33885 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33886 return SWIG_Python_InitShadowInstance(args
);
33889 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33890 PyObject
*resultobj
= 0;
33891 wxWindow
*arg1
= (wxWindow
*) 0 ;
33892 int arg2
= (int) -1 ;
33893 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33894 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33895 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33896 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33897 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33898 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33899 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33900 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33901 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33902 wxPyTreeCtrl
*result
= 0 ;
33913 bool temp7
= false ;
33914 PyObject
* obj0
= 0 ;
33915 PyObject
* obj1
= 0 ;
33916 PyObject
* obj2
= 0 ;
33917 PyObject
* obj3
= 0 ;
33918 PyObject
* obj4
= 0 ;
33919 PyObject
* obj5
= 0 ;
33920 PyObject
* obj6
= 0 ;
33921 char * kwnames
[] = {
33922 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33927 if (!SWIG_IsOK(res1
)) {
33928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33930 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33933 if (!SWIG_IsOK(ecode2
)) {
33934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33936 arg2
= static_cast< int >(val2
);
33941 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33947 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33951 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33952 if (!SWIG_IsOK(ecode5
)) {
33953 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33955 arg5
= static_cast< long >(val5
);
33958 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33959 if (!SWIG_IsOK(res6
)) {
33960 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33965 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33969 arg7
= wxString_in_helper(obj6
);
33970 if (arg7
== NULL
) SWIG_fail
;
33975 if (!wxPyCheckForApp()) SWIG_fail
;
33976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33977 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33978 wxPyEndAllowThreads(__tstate
);
33979 if (PyErr_Occurred()) SWIG_fail
;
33981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33996 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33997 PyObject
*resultobj
= 0;
33998 wxPyTreeCtrl
*result
= 0 ;
34000 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
34002 if (!wxPyCheckForApp()) SWIG_fail
;
34003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34004 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
34005 wxPyEndAllowThreads(__tstate
);
34006 if (PyErr_Occurred()) SWIG_fail
;
34008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
34015 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34016 PyObject
*resultobj
= 0;
34017 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34018 wxWindow
*arg2
= (wxWindow
*) 0 ;
34019 int arg3
= (int) -1 ;
34020 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34021 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34022 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34023 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34024 long arg6
= (long) wxTR_DEFAULT_STYLE
;
34025 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34026 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34027 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
34028 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34042 bool temp8
= false ;
34043 PyObject
* obj0
= 0 ;
34044 PyObject
* obj1
= 0 ;
34045 PyObject
* obj2
= 0 ;
34046 PyObject
* obj3
= 0 ;
34047 PyObject
* obj4
= 0 ;
34048 PyObject
* obj5
= 0 ;
34049 PyObject
* obj6
= 0 ;
34050 PyObject
* obj7
= 0 ;
34051 char * kwnames
[] = {
34052 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34057 if (!SWIG_IsOK(res1
)) {
34058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34060 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34061 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34062 if (!SWIG_IsOK(res2
)) {
34063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34065 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34067 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34068 if (!SWIG_IsOK(ecode3
)) {
34069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34071 arg3
= static_cast< int >(val3
);
34076 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34082 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34086 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34087 if (!SWIG_IsOK(ecode6
)) {
34088 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34090 arg6
= static_cast< long >(val6
);
34093 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34094 if (!SWIG_IsOK(res7
)) {
34095 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34100 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34104 arg8
= wxString_in_helper(obj7
);
34105 if (arg8
== NULL
) SWIG_fail
;
34110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34111 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34112 wxPyEndAllowThreads(__tstate
);
34113 if (PyErr_Occurred()) SWIG_fail
;
34116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34132 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34133 PyObject
*resultobj
= 0;
34134 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34135 PyObject
*arg2
= (PyObject
*) 0 ;
34136 PyObject
*arg3
= (PyObject
*) 0 ;
34139 PyObject
* obj0
= 0 ;
34140 PyObject
* obj1
= 0 ;
34141 PyObject
* obj2
= 0 ;
34142 char * kwnames
[] = {
34143 (char *) "self",(char *) "self",(char *) "_class", NULL
34146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34148 if (!SWIG_IsOK(res1
)) {
34149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34151 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34156 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34157 wxPyEndAllowThreads(__tstate
);
34158 if (PyErr_Occurred()) SWIG_fail
;
34160 resultobj
= SWIG_Py_Void();
34167 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34168 PyObject
*resultobj
= 0;
34169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34170 unsigned int result
;
34173 PyObject
*swig_obj
[1] ;
34175 if (!args
) SWIG_fail
;
34176 swig_obj
[0] = args
;
34177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34178 if (!SWIG_IsOK(res1
)) {
34179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34181 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34185 wxPyEndAllowThreads(__tstate
);
34186 if (PyErr_Occurred()) SWIG_fail
;
34188 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34195 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34196 PyObject
*resultobj
= 0;
34197 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34198 unsigned int result
;
34201 PyObject
*swig_obj
[1] ;
34203 if (!args
) SWIG_fail
;
34204 swig_obj
[0] = args
;
34205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34206 if (!SWIG_IsOK(res1
)) {
34207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34209 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34212 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34213 wxPyEndAllowThreads(__tstate
);
34214 if (PyErr_Occurred()) SWIG_fail
;
34216 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34223 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34224 PyObject
*resultobj
= 0;
34225 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34226 unsigned int arg2
;
34229 unsigned int val2
;
34231 PyObject
* obj0
= 0 ;
34232 PyObject
* obj1
= 0 ;
34233 char * kwnames
[] = {
34234 (char *) "self",(char *) "indent", NULL
34237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34239 if (!SWIG_IsOK(res1
)) {
34240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34242 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34243 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34244 if (!SWIG_IsOK(ecode2
)) {
34245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34247 arg2
= static_cast< unsigned int >(val2
);
34249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34250 (arg1
)->SetIndent(arg2
);
34251 wxPyEndAllowThreads(__tstate
);
34252 if (PyErr_Occurred()) SWIG_fail
;
34254 resultobj
= SWIG_Py_Void();
34261 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34262 PyObject
*resultobj
= 0;
34263 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34264 unsigned int result
;
34267 PyObject
*swig_obj
[1] ;
34269 if (!args
) SWIG_fail
;
34270 swig_obj
[0] = args
;
34271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34272 if (!SWIG_IsOK(res1
)) {
34273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34275 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34278 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34279 wxPyEndAllowThreads(__tstate
);
34280 if (PyErr_Occurred()) SWIG_fail
;
34282 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34289 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34290 PyObject
*resultobj
= 0;
34291 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34292 unsigned int arg2
;
34295 unsigned int val2
;
34297 PyObject
* obj0
= 0 ;
34298 PyObject
* obj1
= 0 ;
34299 char * kwnames
[] = {
34300 (char *) "self",(char *) "spacing", NULL
34303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34305 if (!SWIG_IsOK(res1
)) {
34306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34308 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34309 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34310 if (!SWIG_IsOK(ecode2
)) {
34311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34313 arg2
= static_cast< unsigned int >(val2
);
34315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34316 (arg1
)->SetSpacing(arg2
);
34317 wxPyEndAllowThreads(__tstate
);
34318 if (PyErr_Occurred()) SWIG_fail
;
34320 resultobj
= SWIG_Py_Void();
34327 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34328 PyObject
*resultobj
= 0;
34329 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34330 wxImageList
*result
= 0 ;
34333 PyObject
*swig_obj
[1] ;
34335 if (!args
) SWIG_fail
;
34336 swig_obj
[0] = args
;
34337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34338 if (!SWIG_IsOK(res1
)) {
34339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34341 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34344 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34345 wxPyEndAllowThreads(__tstate
);
34346 if (PyErr_Occurred()) SWIG_fail
;
34349 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34357 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34358 PyObject
*resultobj
= 0;
34359 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34360 wxImageList
*result
= 0 ;
34363 PyObject
*swig_obj
[1] ;
34365 if (!args
) SWIG_fail
;
34366 swig_obj
[0] = args
;
34367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34368 if (!SWIG_IsOK(res1
)) {
34369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34371 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34374 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34375 wxPyEndAllowThreads(__tstate
);
34376 if (PyErr_Occurred()) SWIG_fail
;
34379 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34387 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34388 PyObject
*resultobj
= 0;
34389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34390 wxImageList
*arg2
= (wxImageList
*) 0 ;
34395 PyObject
* obj0
= 0 ;
34396 PyObject
* obj1
= 0 ;
34397 char * kwnames
[] = {
34398 (char *) "self",(char *) "imageList", NULL
34401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34403 if (!SWIG_IsOK(res1
)) {
34404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34406 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34407 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34408 if (!SWIG_IsOK(res2
)) {
34409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34411 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34414 (arg1
)->SetImageList(arg2
);
34415 wxPyEndAllowThreads(__tstate
);
34416 if (PyErr_Occurred()) SWIG_fail
;
34418 resultobj
= SWIG_Py_Void();
34425 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34426 PyObject
*resultobj
= 0;
34427 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34428 wxImageList
*arg2
= (wxImageList
*) 0 ;
34433 PyObject
* obj0
= 0 ;
34434 PyObject
* obj1
= 0 ;
34435 char * kwnames
[] = {
34436 (char *) "self",(char *) "imageList", NULL
34439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34441 if (!SWIG_IsOK(res1
)) {
34442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34444 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34445 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34446 if (!SWIG_IsOK(res2
)) {
34447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34449 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34452 (arg1
)->SetStateImageList(arg2
);
34453 wxPyEndAllowThreads(__tstate
);
34454 if (PyErr_Occurred()) SWIG_fail
;
34456 resultobj
= SWIG_Py_Void();
34463 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34464 PyObject
*resultobj
= 0;
34465 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34466 wxImageList
*arg2
= (wxImageList
*) 0 ;
34470 PyObject
* obj0
= 0 ;
34471 PyObject
* obj1
= 0 ;
34472 char * kwnames
[] = {
34473 (char *) "self",(char *) "imageList", NULL
34476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34478 if (!SWIG_IsOK(res1
)) {
34479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34481 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34482 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34483 if (!SWIG_IsOK(res2
)) {
34484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34488 (arg1
)->AssignImageList(arg2
);
34489 wxPyEndAllowThreads(__tstate
);
34490 if (PyErr_Occurred()) SWIG_fail
;
34492 resultobj
= SWIG_Py_Void();
34499 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34500 PyObject
*resultobj
= 0;
34501 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34502 wxImageList
*arg2
= (wxImageList
*) 0 ;
34506 PyObject
* obj0
= 0 ;
34507 PyObject
* obj1
= 0 ;
34508 char * kwnames
[] = {
34509 (char *) "self",(char *) "imageList", NULL
34512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34514 if (!SWIG_IsOK(res1
)) {
34515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34517 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34518 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34519 if (!SWIG_IsOK(res2
)) {
34520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34524 (arg1
)->AssignStateImageList(arg2
);
34525 wxPyEndAllowThreads(__tstate
);
34526 if (PyErr_Occurred()) SWIG_fail
;
34528 resultobj
= SWIG_Py_Void();
34535 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34536 PyObject
*resultobj
= 0;
34537 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34538 wxTreeItemId
*arg2
= 0 ;
34544 PyObject
* obj0
= 0 ;
34545 PyObject
* obj1
= 0 ;
34546 char * kwnames
[] = {
34547 (char *) "self",(char *) "item", NULL
34550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34552 if (!SWIG_IsOK(res1
)) {
34553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34555 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34556 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34557 if (!SWIG_IsOK(res2
)) {
34558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34563 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34566 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34567 wxPyEndAllowThreads(__tstate
);
34568 if (PyErr_Occurred()) SWIG_fail
;
34572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34583 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34584 PyObject
*resultobj
= 0;
34585 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34586 wxTreeItemId
*arg2
= 0 ;
34587 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34595 PyObject
* obj0
= 0 ;
34596 PyObject
* obj1
= 0 ;
34597 PyObject
* obj2
= 0 ;
34598 char * kwnames
[] = {
34599 (char *) "self",(char *) "item",(char *) "which", NULL
34602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34604 if (!SWIG_IsOK(res1
)) {
34605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34607 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34608 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34609 if (!SWIG_IsOK(res2
)) {
34610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34615 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34618 if (!SWIG_IsOK(ecode3
)) {
34619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34621 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34625 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34626 wxPyEndAllowThreads(__tstate
);
34627 if (PyErr_Occurred()) SWIG_fail
;
34629 resultobj
= SWIG_From_int(static_cast< int >(result
));
34636 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34637 PyObject
*resultobj
= 0;
34638 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34639 wxTreeItemId
*arg2
= 0 ;
34640 wxPyTreeItemData
*result
= 0 ;
34645 PyObject
* obj0
= 0 ;
34646 PyObject
* obj1
= 0 ;
34647 char * kwnames
[] = {
34648 (char *) "self",(char *) "item", NULL
34651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34653 if (!SWIG_IsOK(res1
)) {
34654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34656 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34657 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34658 if (!SWIG_IsOK(res2
)) {
34659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34664 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34667 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34668 wxPyEndAllowThreads(__tstate
);
34669 if (PyErr_Occurred()) SWIG_fail
;
34671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34678 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34679 PyObject
*resultobj
= 0;
34680 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34681 wxTreeItemId
*arg2
= 0 ;
34682 PyObject
*result
= 0 ;
34687 PyObject
* obj0
= 0 ;
34688 PyObject
* obj1
= 0 ;
34689 char * kwnames
[] = {
34690 (char *) "self",(char *) "item", NULL
34693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34695 if (!SWIG_IsOK(res1
)) {
34696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34698 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34699 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34700 if (!SWIG_IsOK(res2
)) {
34701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34706 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34709 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34710 wxPyEndAllowThreads(__tstate
);
34711 if (PyErr_Occurred()) SWIG_fail
;
34713 resultobj
= result
;
34720 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34721 PyObject
*resultobj
= 0;
34722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34723 wxTreeItemId
*arg2
= 0 ;
34729 PyObject
* obj0
= 0 ;
34730 PyObject
* obj1
= 0 ;
34731 char * kwnames
[] = {
34732 (char *) "self",(char *) "item", NULL
34735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34737 if (!SWIG_IsOK(res1
)) {
34738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34740 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34742 if (!SWIG_IsOK(res2
)) {
34743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34748 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34751 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34752 wxPyEndAllowThreads(__tstate
);
34753 if (PyErr_Occurred()) SWIG_fail
;
34755 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34762 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34763 PyObject
*resultobj
= 0;
34764 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34765 wxTreeItemId
*arg2
= 0 ;
34771 PyObject
* obj0
= 0 ;
34772 PyObject
* obj1
= 0 ;
34773 char * kwnames
[] = {
34774 (char *) "self",(char *) "item", NULL
34777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34779 if (!SWIG_IsOK(res1
)) {
34780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34782 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34784 if (!SWIG_IsOK(res2
)) {
34785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34790 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34793 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34794 wxPyEndAllowThreads(__tstate
);
34795 if (PyErr_Occurred()) SWIG_fail
;
34797 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34804 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34805 PyObject
*resultobj
= 0;
34806 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34807 wxTreeItemId
*arg2
= 0 ;
34813 PyObject
* obj0
= 0 ;
34814 PyObject
* obj1
= 0 ;
34815 char * kwnames
[] = {
34816 (char *) "self",(char *) "item", NULL
34819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34821 if (!SWIG_IsOK(res1
)) {
34822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34824 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34826 if (!SWIG_IsOK(res2
)) {
34827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34832 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34835 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34836 wxPyEndAllowThreads(__tstate
);
34837 if (PyErr_Occurred()) SWIG_fail
;
34839 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34846 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34847 PyObject
*resultobj
= 0;
34848 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34849 wxTreeItemId
*arg2
= 0 ;
34850 wxString
*arg3
= 0 ;
34855 bool temp3
= false ;
34856 PyObject
* obj0
= 0 ;
34857 PyObject
* obj1
= 0 ;
34858 PyObject
* obj2
= 0 ;
34859 char * kwnames
[] = {
34860 (char *) "self",(char *) "item",(char *) "text", NULL
34863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34865 if (!SWIG_IsOK(res1
)) {
34866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34868 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34869 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34870 if (!SWIG_IsOK(res2
)) {
34871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34876 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34878 arg3
= wxString_in_helper(obj2
);
34879 if (arg3
== NULL
) SWIG_fail
;
34883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34884 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34885 wxPyEndAllowThreads(__tstate
);
34886 if (PyErr_Occurred()) SWIG_fail
;
34888 resultobj
= SWIG_Py_Void();
34903 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34904 PyObject
*resultobj
= 0;
34905 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34906 wxTreeItemId
*arg2
= 0 ;
34908 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34917 PyObject
* obj0
= 0 ;
34918 PyObject
* obj1
= 0 ;
34919 PyObject
* obj2
= 0 ;
34920 PyObject
* obj3
= 0 ;
34921 char * kwnames
[] = {
34922 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34927 if (!SWIG_IsOK(res1
)) {
34928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34930 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34931 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34932 if (!SWIG_IsOK(res2
)) {
34933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34938 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34940 if (!SWIG_IsOK(ecode3
)) {
34941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34943 arg3
= static_cast< int >(val3
);
34945 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34946 if (!SWIG_IsOK(ecode4
)) {
34947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34949 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34953 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34954 wxPyEndAllowThreads(__tstate
);
34955 if (PyErr_Occurred()) SWIG_fail
;
34957 resultobj
= SWIG_Py_Void();
34964 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34965 PyObject
*resultobj
= 0;
34966 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34967 wxTreeItemId
*arg2
= 0 ;
34968 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34974 PyObject
* obj0
= 0 ;
34975 PyObject
* obj1
= 0 ;
34976 PyObject
* obj2
= 0 ;
34977 char * kwnames
[] = {
34978 (char *) "self",(char *) "item",(char *) "data", NULL
34981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34983 if (!SWIG_IsOK(res1
)) {
34984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34986 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34988 if (!SWIG_IsOK(res2
)) {
34989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34994 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34995 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34996 if (!SWIG_IsOK(res3
)) {
34997 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35001 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35002 wxPyEndAllowThreads(__tstate
);
35003 if (PyErr_Occurred()) SWIG_fail
;
35005 resultobj
= SWIG_Py_Void();
35012 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35013 PyObject
*resultobj
= 0;
35014 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35015 wxTreeItemId
*arg2
= 0 ;
35016 PyObject
*arg3
= (PyObject
*) 0 ;
35021 PyObject
* obj0
= 0 ;
35022 PyObject
* obj1
= 0 ;
35023 PyObject
* obj2
= 0 ;
35024 char * kwnames
[] = {
35025 (char *) "self",(char *) "item",(char *) "obj", NULL
35028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35030 if (!SWIG_IsOK(res1
)) {
35031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35033 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35034 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35035 if (!SWIG_IsOK(res2
)) {
35036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35041 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35045 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35046 wxPyEndAllowThreads(__tstate
);
35047 if (PyErr_Occurred()) SWIG_fail
;
35049 resultobj
= SWIG_Py_Void();
35056 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35057 PyObject
*resultobj
= 0;
35058 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35059 wxTreeItemId
*arg2
= 0 ;
35060 bool arg3
= (bool) true ;
35067 PyObject
* obj0
= 0 ;
35068 PyObject
* obj1
= 0 ;
35069 PyObject
* obj2
= 0 ;
35070 char * kwnames
[] = {
35071 (char *) "self",(char *) "item",(char *) "has", NULL
35074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35076 if (!SWIG_IsOK(res1
)) {
35077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35079 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35080 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35081 if (!SWIG_IsOK(res2
)) {
35082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35087 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35089 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35090 if (!SWIG_IsOK(ecode3
)) {
35091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35093 arg3
= static_cast< bool >(val3
);
35096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35097 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35098 wxPyEndAllowThreads(__tstate
);
35099 if (PyErr_Occurred()) SWIG_fail
;
35101 resultobj
= SWIG_Py_Void();
35108 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35109 PyObject
*resultobj
= 0;
35110 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35111 wxTreeItemId
*arg2
= 0 ;
35112 bool arg3
= (bool) true ;
35119 PyObject
* obj0
= 0 ;
35120 PyObject
* obj1
= 0 ;
35121 PyObject
* obj2
= 0 ;
35122 char * kwnames
[] = {
35123 (char *) "self",(char *) "item",(char *) "bold", NULL
35126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35128 if (!SWIG_IsOK(res1
)) {
35129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35131 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35132 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35133 if (!SWIG_IsOK(res2
)) {
35134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35139 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35141 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35142 if (!SWIG_IsOK(ecode3
)) {
35143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35145 arg3
= static_cast< bool >(val3
);
35148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35149 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35150 wxPyEndAllowThreads(__tstate
);
35151 if (PyErr_Occurred()) SWIG_fail
;
35153 resultobj
= SWIG_Py_Void();
35160 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35161 PyObject
*resultobj
= 0;
35162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35163 wxTreeItemId
*arg2
= 0 ;
35164 bool arg3
= (bool) true ;
35171 PyObject
* obj0
= 0 ;
35172 PyObject
* obj1
= 0 ;
35173 PyObject
* obj2
= 0 ;
35174 char * kwnames
[] = {
35175 (char *) "self",(char *) "item",(char *) "highlight", NULL
35178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35180 if (!SWIG_IsOK(res1
)) {
35181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35183 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35184 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35185 if (!SWIG_IsOK(res2
)) {
35186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35191 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35193 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35194 if (!SWIG_IsOK(ecode3
)) {
35195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35197 arg3
= static_cast< bool >(val3
);
35200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35201 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35202 wxPyEndAllowThreads(__tstate
);
35203 if (PyErr_Occurred()) SWIG_fail
;
35205 resultobj
= SWIG_Py_Void();
35212 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35213 PyObject
*resultobj
= 0;
35214 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35215 wxTreeItemId
*arg2
= 0 ;
35216 wxColour
*arg3
= 0 ;
35222 PyObject
* obj0
= 0 ;
35223 PyObject
* obj1
= 0 ;
35224 PyObject
* obj2
= 0 ;
35225 char * kwnames
[] = {
35226 (char *) "self",(char *) "item",(char *) "col", NULL
35229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35231 if (!SWIG_IsOK(res1
)) {
35232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35234 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35235 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35236 if (!SWIG_IsOK(res2
)) {
35237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35242 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35245 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35249 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35250 wxPyEndAllowThreads(__tstate
);
35251 if (PyErr_Occurred()) SWIG_fail
;
35253 resultobj
= SWIG_Py_Void();
35260 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35261 PyObject
*resultobj
= 0;
35262 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35263 wxTreeItemId
*arg2
= 0 ;
35264 wxColour
*arg3
= 0 ;
35270 PyObject
* obj0
= 0 ;
35271 PyObject
* obj1
= 0 ;
35272 PyObject
* obj2
= 0 ;
35273 char * kwnames
[] = {
35274 (char *) "self",(char *) "item",(char *) "col", NULL
35277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35279 if (!SWIG_IsOK(res1
)) {
35280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35282 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35284 if (!SWIG_IsOK(res2
)) {
35285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35290 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35293 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35297 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35298 wxPyEndAllowThreads(__tstate
);
35299 if (PyErr_Occurred()) SWIG_fail
;
35301 resultobj
= SWIG_Py_Void();
35308 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35309 PyObject
*resultobj
= 0;
35310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35311 wxTreeItemId
*arg2
= 0 ;
35319 PyObject
* obj0
= 0 ;
35320 PyObject
* obj1
= 0 ;
35321 PyObject
* obj2
= 0 ;
35322 char * kwnames
[] = {
35323 (char *) "self",(char *) "item",(char *) "font", NULL
35326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35328 if (!SWIG_IsOK(res1
)) {
35329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35331 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35332 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35333 if (!SWIG_IsOK(res2
)) {
35334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35339 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35340 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35341 if (!SWIG_IsOK(res3
)) {
35342 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35347 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35350 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35351 wxPyEndAllowThreads(__tstate
);
35352 if (PyErr_Occurred()) SWIG_fail
;
35354 resultobj
= SWIG_Py_Void();
35361 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35362 PyObject
*resultobj
= 0;
35363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35364 wxTreeItemId
*arg2
= 0 ;
35370 PyObject
* obj0
= 0 ;
35371 PyObject
* obj1
= 0 ;
35372 char * kwnames
[] = {
35373 (char *) "self",(char *) "item", NULL
35376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35378 if (!SWIG_IsOK(res1
)) {
35379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35381 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35382 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35383 if (!SWIG_IsOK(res2
)) {
35384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35389 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35392 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35393 wxPyEndAllowThreads(__tstate
);
35394 if (PyErr_Occurred()) SWIG_fail
;
35397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35405 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35406 PyObject
*resultobj
= 0;
35407 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35408 wxTreeItemId
*arg2
= 0 ;
35414 PyObject
* obj0
= 0 ;
35415 PyObject
* obj1
= 0 ;
35416 char * kwnames
[] = {
35417 (char *) "self",(char *) "item", NULL
35420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35422 if (!SWIG_IsOK(res1
)) {
35423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35425 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35426 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35427 if (!SWIG_IsOK(res2
)) {
35428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35433 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35436 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35437 wxPyEndAllowThreads(__tstate
);
35438 if (PyErr_Occurred()) SWIG_fail
;
35441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35449 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35450 PyObject
*resultobj
= 0;
35451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35452 wxTreeItemId
*arg2
= 0 ;
35458 PyObject
* obj0
= 0 ;
35459 PyObject
* obj1
= 0 ;
35460 char * kwnames
[] = {
35461 (char *) "self",(char *) "item", NULL
35464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35466 if (!SWIG_IsOK(res1
)) {
35467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35469 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35470 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35471 if (!SWIG_IsOK(res2
)) {
35472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35477 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35480 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35481 wxPyEndAllowThreads(__tstate
);
35482 if (PyErr_Occurred()) SWIG_fail
;
35485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35493 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35494 PyObject
*resultobj
= 0;
35495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35496 wxTreeItemId
*arg2
= 0 ;
35502 PyObject
* obj0
= 0 ;
35503 PyObject
* obj1
= 0 ;
35504 char * kwnames
[] = {
35505 (char *) "self",(char *) "item", NULL
35508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35510 if (!SWIG_IsOK(res1
)) {
35511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35513 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35515 if (!SWIG_IsOK(res2
)) {
35516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35521 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35524 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35525 wxPyEndAllowThreads(__tstate
);
35526 if (PyErr_Occurred()) SWIG_fail
;
35529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35537 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35538 PyObject
*resultobj
= 0;
35539 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35540 wxTreeItemId
*arg2
= 0 ;
35546 PyObject
* obj0
= 0 ;
35547 PyObject
* obj1
= 0 ;
35548 char * kwnames
[] = {
35549 (char *) "self",(char *) "item", NULL
35552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35554 if (!SWIG_IsOK(res1
)) {
35555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35557 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35558 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35559 if (!SWIG_IsOK(res2
)) {
35560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35565 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35568 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35569 wxPyEndAllowThreads(__tstate
);
35570 if (PyErr_Occurred()) SWIG_fail
;
35573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35581 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35582 PyObject
*resultobj
= 0;
35583 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35587 PyObject
*swig_obj
[1] ;
35589 if (!args
) SWIG_fail
;
35590 swig_obj
[0] = args
;
35591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35592 if (!SWIG_IsOK(res1
)) {
35593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35595 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35598 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsEmpty();
35599 wxPyEndAllowThreads(__tstate
);
35600 if (PyErr_Occurred()) SWIG_fail
;
35603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35611 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35612 PyObject
*resultobj
= 0;
35613 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35614 wxTreeItemId
*arg2
= 0 ;
35615 bool arg3
= (bool) true ;
35623 PyObject
* obj0
= 0 ;
35624 PyObject
* obj1
= 0 ;
35625 PyObject
* obj2
= 0 ;
35626 char * kwnames
[] = {
35627 (char *) "self",(char *) "item",(char *) "recursively", NULL
35630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35632 if (!SWIG_IsOK(res1
)) {
35633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35635 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35637 if (!SWIG_IsOK(res2
)) {
35638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35643 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35645 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35646 if (!SWIG_IsOK(ecode3
)) {
35647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35649 arg3
= static_cast< bool >(val3
);
35652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35653 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35654 wxPyEndAllowThreads(__tstate
);
35655 if (PyErr_Occurred()) SWIG_fail
;
35657 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35664 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35665 PyObject
*resultobj
= 0;
35666 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35667 wxTreeItemId result
;
35670 PyObject
*swig_obj
[1] ;
35672 if (!args
) SWIG_fail
;
35673 swig_obj
[0] = args
;
35674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35675 if (!SWIG_IsOK(res1
)) {
35676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35678 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35681 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35682 wxPyEndAllowThreads(__tstate
);
35683 if (PyErr_Occurred()) SWIG_fail
;
35685 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35692 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35693 PyObject
*resultobj
= 0;
35694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35695 wxTreeItemId result
;
35698 PyObject
*swig_obj
[1] ;
35700 if (!args
) SWIG_fail
;
35701 swig_obj
[0] = args
;
35702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35703 if (!SWIG_IsOK(res1
)) {
35704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35706 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35709 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35710 wxPyEndAllowThreads(__tstate
);
35711 if (PyErr_Occurred()) SWIG_fail
;
35713 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35720 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35721 PyObject
*resultobj
= 0;
35722 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35723 PyObject
*result
= 0 ;
35726 PyObject
*swig_obj
[1] ;
35728 if (!args
) SWIG_fail
;
35729 swig_obj
[0] = args
;
35730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35731 if (!SWIG_IsOK(res1
)) {
35732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35734 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35737 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35738 wxPyEndAllowThreads(__tstate
);
35739 if (PyErr_Occurred()) SWIG_fail
;
35741 resultobj
= result
;
35748 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35749 PyObject
*resultobj
= 0;
35750 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35751 wxTreeItemId
*arg2
= 0 ;
35752 wxTreeItemId result
;
35757 PyObject
* obj0
= 0 ;
35758 PyObject
* obj1
= 0 ;
35759 char * kwnames
[] = {
35760 (char *) "self",(char *) "item", NULL
35763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35765 if (!SWIG_IsOK(res1
)) {
35766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35768 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35769 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35770 if (!SWIG_IsOK(res2
)) {
35771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35776 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35779 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35780 wxPyEndAllowThreads(__tstate
);
35781 if (PyErr_Occurred()) SWIG_fail
;
35783 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35790 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35791 PyObject
*resultobj
= 0;
35792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35793 wxTreeItemId
*arg2
= 0 ;
35794 PyObject
*result
= 0 ;
35799 PyObject
* obj0
= 0 ;
35800 PyObject
* obj1
= 0 ;
35801 char * kwnames
[] = {
35802 (char *) "self",(char *) "item", NULL
35805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35807 if (!SWIG_IsOK(res1
)) {
35808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35810 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35812 if (!SWIG_IsOK(res2
)) {
35813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35818 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35821 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35822 wxPyEndAllowThreads(__tstate
);
35823 if (PyErr_Occurred()) SWIG_fail
;
35825 resultobj
= result
;
35832 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35833 PyObject
*resultobj
= 0;
35834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35835 wxTreeItemId
*arg2
= 0 ;
35836 void *arg3
= (void *) 0 ;
35837 PyObject
*result
= 0 ;
35843 PyObject
* obj0
= 0 ;
35844 PyObject
* obj1
= 0 ;
35845 PyObject
* obj2
= 0 ;
35846 char * kwnames
[] = {
35847 (char *) "self",(char *) "item",(char *) "cookie", NULL
35850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35852 if (!SWIG_IsOK(res1
)) {
35853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35855 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35856 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35857 if (!SWIG_IsOK(res2
)) {
35858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35863 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35864 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35865 if (!SWIG_IsOK(res3
)) {
35866 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35870 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35871 wxPyEndAllowThreads(__tstate
);
35872 if (PyErr_Occurred()) SWIG_fail
;
35874 resultobj
= result
;
35881 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35882 PyObject
*resultobj
= 0;
35883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35884 wxTreeItemId
*arg2
= 0 ;
35885 wxTreeItemId result
;
35890 PyObject
* obj0
= 0 ;
35891 PyObject
* obj1
= 0 ;
35892 char * kwnames
[] = {
35893 (char *) "self",(char *) "item", NULL
35896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35898 if (!SWIG_IsOK(res1
)) {
35899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35901 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35902 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35903 if (!SWIG_IsOK(res2
)) {
35904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35909 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35912 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35913 wxPyEndAllowThreads(__tstate
);
35914 if (PyErr_Occurred()) SWIG_fail
;
35916 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35923 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35924 PyObject
*resultobj
= 0;
35925 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35926 wxTreeItemId
*arg2
= 0 ;
35927 wxTreeItemId result
;
35932 PyObject
* obj0
= 0 ;
35933 PyObject
* obj1
= 0 ;
35934 char * kwnames
[] = {
35935 (char *) "self",(char *) "item", NULL
35938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35940 if (!SWIG_IsOK(res1
)) {
35941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35943 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35945 if (!SWIG_IsOK(res2
)) {
35946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35951 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35954 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35955 wxPyEndAllowThreads(__tstate
);
35956 if (PyErr_Occurred()) SWIG_fail
;
35958 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35965 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35966 PyObject
*resultobj
= 0;
35967 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35968 wxTreeItemId
*arg2
= 0 ;
35969 wxTreeItemId result
;
35974 PyObject
* obj0
= 0 ;
35975 PyObject
* obj1
= 0 ;
35976 char * kwnames
[] = {
35977 (char *) "self",(char *) "item", NULL
35980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35982 if (!SWIG_IsOK(res1
)) {
35983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35985 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35986 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35987 if (!SWIG_IsOK(res2
)) {
35988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35993 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35996 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35997 wxPyEndAllowThreads(__tstate
);
35998 if (PyErr_Occurred()) SWIG_fail
;
36000 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36007 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36008 PyObject
*resultobj
= 0;
36009 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36010 wxTreeItemId result
;
36013 PyObject
*swig_obj
[1] ;
36015 if (!args
) SWIG_fail
;
36016 swig_obj
[0] = args
;
36017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36018 if (!SWIG_IsOK(res1
)) {
36019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36021 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36024 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
36025 wxPyEndAllowThreads(__tstate
);
36026 if (PyErr_Occurred()) SWIG_fail
;
36028 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36035 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36036 PyObject
*resultobj
= 0;
36037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36038 wxTreeItemId
*arg2
= 0 ;
36039 wxTreeItemId result
;
36044 PyObject
* obj0
= 0 ;
36045 PyObject
* obj1
= 0 ;
36046 char * kwnames
[] = {
36047 (char *) "self",(char *) "item", NULL
36050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36052 if (!SWIG_IsOK(res1
)) {
36053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36055 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36057 if (!SWIG_IsOK(res2
)) {
36058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36063 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36066 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
36067 wxPyEndAllowThreads(__tstate
);
36068 if (PyErr_Occurred()) SWIG_fail
;
36070 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36077 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36078 PyObject
*resultobj
= 0;
36079 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36080 wxTreeItemId
*arg2
= 0 ;
36081 wxTreeItemId result
;
36086 PyObject
* obj0
= 0 ;
36087 PyObject
* obj1
= 0 ;
36088 char * kwnames
[] = {
36089 (char *) "self",(char *) "item", NULL
36092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36094 if (!SWIG_IsOK(res1
)) {
36095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36097 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36098 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36099 if (!SWIG_IsOK(res2
)) {
36100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36105 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36108 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36109 wxPyEndAllowThreads(__tstate
);
36110 if (PyErr_Occurred()) SWIG_fail
;
36112 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36119 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36120 PyObject
*resultobj
= 0;
36121 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36122 wxString
*arg2
= 0 ;
36123 int arg3
= (int) -1 ;
36124 int arg4
= (int) -1 ;
36125 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36126 wxTreeItemId result
;
36129 bool temp2
= false ;
36135 PyObject
* obj0
= 0 ;
36136 PyObject
* obj1
= 0 ;
36137 PyObject
* obj2
= 0 ;
36138 PyObject
* obj3
= 0 ;
36139 PyObject
* obj4
= 0 ;
36140 char * kwnames
[] = {
36141 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36146 if (!SWIG_IsOK(res1
)) {
36147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36149 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36151 arg2
= wxString_in_helper(obj1
);
36152 if (arg2
== NULL
) SWIG_fail
;
36156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36157 if (!SWIG_IsOK(ecode3
)) {
36158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36160 arg3
= static_cast< int >(val3
);
36163 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36164 if (!SWIG_IsOK(ecode4
)) {
36165 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36167 arg4
= static_cast< int >(val4
);
36170 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36171 if (!SWIG_IsOK(res5
)) {
36172 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36177 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36178 wxPyEndAllowThreads(__tstate
);
36179 if (PyErr_Occurred()) SWIG_fail
;
36181 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36196 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36197 PyObject
*resultobj
= 0;
36198 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36199 wxTreeItemId
*arg2
= 0 ;
36200 wxString
*arg3
= 0 ;
36201 int arg4
= (int) -1 ;
36202 int arg5
= (int) -1 ;
36203 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36204 wxTreeItemId result
;
36209 bool temp3
= false ;
36215 PyObject
* obj0
= 0 ;
36216 PyObject
* obj1
= 0 ;
36217 PyObject
* obj2
= 0 ;
36218 PyObject
* obj3
= 0 ;
36219 PyObject
* obj4
= 0 ;
36220 PyObject
* obj5
= 0 ;
36221 char * kwnames
[] = {
36222 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36227 if (!SWIG_IsOK(res1
)) {
36228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36230 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36231 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36232 if (!SWIG_IsOK(res2
)) {
36233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36238 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36240 arg3
= wxString_in_helper(obj2
);
36241 if (arg3
== NULL
) SWIG_fail
;
36245 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36246 if (!SWIG_IsOK(ecode4
)) {
36247 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36249 arg4
= static_cast< int >(val4
);
36252 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36253 if (!SWIG_IsOK(ecode5
)) {
36254 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36256 arg5
= static_cast< int >(val5
);
36259 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36260 if (!SWIG_IsOK(res6
)) {
36261 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36266 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36267 wxPyEndAllowThreads(__tstate
);
36268 if (PyErr_Occurred()) SWIG_fail
;
36270 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36285 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36286 PyObject
*resultobj
= 0;
36287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36288 wxTreeItemId
*arg2
= 0 ;
36289 wxTreeItemId
*arg3
= 0 ;
36290 wxString
*arg4
= 0 ;
36291 int arg5
= (int) -1 ;
36292 int arg6
= (int) -1 ;
36293 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36294 wxTreeItemId result
;
36301 bool temp4
= false ;
36307 PyObject
* obj0
= 0 ;
36308 PyObject
* obj1
= 0 ;
36309 PyObject
* obj2
= 0 ;
36310 PyObject
* obj3
= 0 ;
36311 PyObject
* obj4
= 0 ;
36312 PyObject
* obj5
= 0 ;
36313 PyObject
* obj6
= 0 ;
36314 char * kwnames
[] = {
36315 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36320 if (!SWIG_IsOK(res1
)) {
36321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36323 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36325 if (!SWIG_IsOK(res2
)) {
36326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36331 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36332 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36333 if (!SWIG_IsOK(res3
)) {
36334 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36339 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36341 arg4
= wxString_in_helper(obj3
);
36342 if (arg4
== NULL
) SWIG_fail
;
36346 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36347 if (!SWIG_IsOK(ecode5
)) {
36348 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36350 arg5
= static_cast< int >(val5
);
36353 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36354 if (!SWIG_IsOK(ecode6
)) {
36355 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36357 arg6
= static_cast< int >(val6
);
36360 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36361 if (!SWIG_IsOK(res7
)) {
36362 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36367 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36368 wxPyEndAllowThreads(__tstate
);
36369 if (PyErr_Occurred()) SWIG_fail
;
36371 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36386 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36387 PyObject
*resultobj
= 0;
36388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36389 wxTreeItemId
*arg2
= 0 ;
36391 wxString
*arg4
= 0 ;
36392 int arg5
= (int) -1 ;
36393 int arg6
= (int) -1 ;
36394 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36395 wxTreeItemId result
;
36402 bool temp4
= false ;
36408 PyObject
* obj0
= 0 ;
36409 PyObject
* obj1
= 0 ;
36410 PyObject
* obj2
= 0 ;
36411 PyObject
* obj3
= 0 ;
36412 PyObject
* obj4
= 0 ;
36413 PyObject
* obj5
= 0 ;
36414 PyObject
* obj6
= 0 ;
36415 char * kwnames
[] = {
36416 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36421 if (!SWIG_IsOK(res1
)) {
36422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36424 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36425 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36426 if (!SWIG_IsOK(res2
)) {
36427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36432 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36433 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36434 if (!SWIG_IsOK(ecode3
)) {
36435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36437 arg3
= static_cast< size_t >(val3
);
36439 arg4
= wxString_in_helper(obj3
);
36440 if (arg4
== NULL
) SWIG_fail
;
36444 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36445 if (!SWIG_IsOK(ecode5
)) {
36446 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36448 arg5
= static_cast< int >(val5
);
36451 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36452 if (!SWIG_IsOK(ecode6
)) {
36453 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36455 arg6
= static_cast< int >(val6
);
36458 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36459 if (!SWIG_IsOK(res7
)) {
36460 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36465 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36466 wxPyEndAllowThreads(__tstate
);
36467 if (PyErr_Occurred()) SWIG_fail
;
36469 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36484 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36485 PyObject
*resultobj
= 0;
36486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36487 wxTreeItemId
*arg2
= 0 ;
36488 wxString
*arg3
= 0 ;
36489 int arg4
= (int) -1 ;
36490 int arg5
= (int) -1 ;
36491 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36492 wxTreeItemId result
;
36497 bool temp3
= false ;
36503 PyObject
* obj0
= 0 ;
36504 PyObject
* obj1
= 0 ;
36505 PyObject
* obj2
= 0 ;
36506 PyObject
* obj3
= 0 ;
36507 PyObject
* obj4
= 0 ;
36508 PyObject
* obj5
= 0 ;
36509 char * kwnames
[] = {
36510 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36515 if (!SWIG_IsOK(res1
)) {
36516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36518 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36519 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36520 if (!SWIG_IsOK(res2
)) {
36521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36526 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36528 arg3
= wxString_in_helper(obj2
);
36529 if (arg3
== NULL
) SWIG_fail
;
36533 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36534 if (!SWIG_IsOK(ecode4
)) {
36535 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36537 arg4
= static_cast< int >(val4
);
36540 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36541 if (!SWIG_IsOK(ecode5
)) {
36542 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36544 arg5
= static_cast< int >(val5
);
36547 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36548 if (!SWIG_IsOK(res6
)) {
36549 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36554 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36555 wxPyEndAllowThreads(__tstate
);
36556 if (PyErr_Occurred()) SWIG_fail
;
36558 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36573 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36574 PyObject
*resultobj
= 0;
36575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36576 wxTreeItemId
*arg2
= 0 ;
36581 PyObject
* obj0
= 0 ;
36582 PyObject
* obj1
= 0 ;
36583 char * kwnames
[] = {
36584 (char *) "self",(char *) "item", NULL
36587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36589 if (!SWIG_IsOK(res1
)) {
36590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36592 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36594 if (!SWIG_IsOK(res2
)) {
36595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36600 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36603 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36604 wxPyEndAllowThreads(__tstate
);
36605 if (PyErr_Occurred()) SWIG_fail
;
36607 resultobj
= SWIG_Py_Void();
36614 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36615 PyObject
*resultobj
= 0;
36616 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36617 wxTreeItemId
*arg2
= 0 ;
36622 PyObject
* obj0
= 0 ;
36623 PyObject
* obj1
= 0 ;
36624 char * kwnames
[] = {
36625 (char *) "self",(char *) "item", NULL
36628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36630 if (!SWIG_IsOK(res1
)) {
36631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36633 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36634 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36635 if (!SWIG_IsOK(res2
)) {
36636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36641 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36644 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36645 wxPyEndAllowThreads(__tstate
);
36646 if (PyErr_Occurred()) SWIG_fail
;
36648 resultobj
= SWIG_Py_Void();
36655 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36656 PyObject
*resultobj
= 0;
36657 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36660 PyObject
*swig_obj
[1] ;
36662 if (!args
) SWIG_fail
;
36663 swig_obj
[0] = args
;
36664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36665 if (!SWIG_IsOK(res1
)) {
36666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36668 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36671 (arg1
)->DeleteAllItems();
36672 wxPyEndAllowThreads(__tstate
);
36673 if (PyErr_Occurred()) SWIG_fail
;
36675 resultobj
= SWIG_Py_Void();
36682 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36683 PyObject
*resultobj
= 0;
36684 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36685 wxTreeItemId
*arg2
= 0 ;
36690 PyObject
* obj0
= 0 ;
36691 PyObject
* obj1
= 0 ;
36692 char * kwnames
[] = {
36693 (char *) "self",(char *) "item", NULL
36696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36698 if (!SWIG_IsOK(res1
)) {
36699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36701 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36702 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36703 if (!SWIG_IsOK(res2
)) {
36704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36709 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36712 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36713 wxPyEndAllowThreads(__tstate
);
36714 if (PyErr_Occurred()) SWIG_fail
;
36716 resultobj
= SWIG_Py_Void();
36723 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36724 PyObject
*resultobj
= 0;
36725 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36726 wxTreeItemId
*arg2
= 0 ;
36731 PyObject
* obj0
= 0 ;
36732 PyObject
* obj1
= 0 ;
36733 char * kwnames
[] = {
36734 (char *) "self",(char *) "item", NULL
36737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36739 if (!SWIG_IsOK(res1
)) {
36740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36742 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36743 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36744 if (!SWIG_IsOK(res2
)) {
36745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36750 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36753 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36754 wxPyEndAllowThreads(__tstate
);
36755 if (PyErr_Occurred()) SWIG_fail
;
36757 resultobj
= SWIG_Py_Void();
36764 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36765 PyObject
*resultobj
= 0;
36766 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36769 PyObject
*swig_obj
[1] ;
36771 if (!args
) SWIG_fail
;
36772 swig_obj
[0] = args
;
36773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36774 if (!SWIG_IsOK(res1
)) {
36775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36777 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36780 (arg1
)->ExpandAll();
36781 wxPyEndAllowThreads(__tstate
);
36782 if (PyErr_Occurred()) SWIG_fail
;
36784 resultobj
= SWIG_Py_Void();
36791 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36792 PyObject
*resultobj
= 0;
36793 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36794 wxTreeItemId
*arg2
= 0 ;
36799 PyObject
* obj0
= 0 ;
36800 PyObject
* obj1
= 0 ;
36801 char * kwnames
[] = {
36802 (char *) "self",(char *) "item", NULL
36805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36807 if (!SWIG_IsOK(res1
)) {
36808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36810 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36812 if (!SWIG_IsOK(res2
)) {
36813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36818 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36821 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36822 wxPyEndAllowThreads(__tstate
);
36823 if (PyErr_Occurred()) SWIG_fail
;
36825 resultobj
= SWIG_Py_Void();
36832 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36833 PyObject
*resultobj
= 0;
36834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36835 wxTreeItemId
*arg2
= 0 ;
36840 PyObject
* obj0
= 0 ;
36841 PyObject
* obj1
= 0 ;
36842 char * kwnames
[] = {
36843 (char *) "self",(char *) "item", NULL
36846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36848 if (!SWIG_IsOK(res1
)) {
36849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36851 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36852 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36853 if (!SWIG_IsOK(res2
)) {
36854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36859 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36862 (arg1
)->CollapseAllChildren((wxTreeItemId
const &)*arg2
);
36863 wxPyEndAllowThreads(__tstate
);
36864 if (PyErr_Occurred()) SWIG_fail
;
36866 resultobj
= SWIG_Py_Void();
36873 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36874 PyObject
*resultobj
= 0;
36875 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36878 PyObject
*swig_obj
[1] ;
36880 if (!args
) SWIG_fail
;
36881 swig_obj
[0] = args
;
36882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36883 if (!SWIG_IsOK(res1
)) {
36884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36886 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36889 (arg1
)->CollapseAll();
36890 wxPyEndAllowThreads(__tstate
);
36891 if (PyErr_Occurred()) SWIG_fail
;
36893 resultobj
= SWIG_Py_Void();
36900 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36901 PyObject
*resultobj
= 0;
36902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36903 wxTreeItemId
*arg2
= 0 ;
36908 PyObject
* obj0
= 0 ;
36909 PyObject
* obj1
= 0 ;
36910 char * kwnames
[] = {
36911 (char *) "self",(char *) "item", NULL
36914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36916 if (!SWIG_IsOK(res1
)) {
36917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36919 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36920 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36921 if (!SWIG_IsOK(res2
)) {
36922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36927 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36930 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36931 wxPyEndAllowThreads(__tstate
);
36932 if (PyErr_Occurred()) SWIG_fail
;
36934 resultobj
= SWIG_Py_Void();
36941 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36942 PyObject
*resultobj
= 0;
36943 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36944 wxTreeItemId
*arg2
= 0 ;
36949 PyObject
* obj0
= 0 ;
36950 PyObject
* obj1
= 0 ;
36951 char * kwnames
[] = {
36952 (char *) "self",(char *) "item", NULL
36955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36957 if (!SWIG_IsOK(res1
)) {
36958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36960 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36962 if (!SWIG_IsOK(res2
)) {
36963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36968 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36971 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36972 wxPyEndAllowThreads(__tstate
);
36973 if (PyErr_Occurred()) SWIG_fail
;
36975 resultobj
= SWIG_Py_Void();
36982 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36983 PyObject
*resultobj
= 0;
36984 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36987 PyObject
*swig_obj
[1] ;
36989 if (!args
) SWIG_fail
;
36990 swig_obj
[0] = args
;
36991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36992 if (!SWIG_IsOK(res1
)) {
36993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36995 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36998 (arg1
)->Unselect();
36999 wxPyEndAllowThreads(__tstate
);
37000 if (PyErr_Occurred()) SWIG_fail
;
37002 resultobj
= SWIG_Py_Void();
37009 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37010 PyObject
*resultobj
= 0;
37011 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37012 wxTreeItemId
*arg2
= 0 ;
37017 PyObject
* obj0
= 0 ;
37018 PyObject
* obj1
= 0 ;
37019 char * kwnames
[] = {
37020 (char *) "self",(char *) "item", NULL
37023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37025 if (!SWIG_IsOK(res1
)) {
37026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37028 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37029 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37030 if (!SWIG_IsOK(res2
)) {
37031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37036 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37039 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
37040 wxPyEndAllowThreads(__tstate
);
37041 if (PyErr_Occurred()) SWIG_fail
;
37043 resultobj
= SWIG_Py_Void();
37050 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37051 PyObject
*resultobj
= 0;
37052 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37055 PyObject
*swig_obj
[1] ;
37057 if (!args
) SWIG_fail
;
37058 swig_obj
[0] = args
;
37059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37060 if (!SWIG_IsOK(res1
)) {
37061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37063 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37066 (arg1
)->UnselectAll();
37067 wxPyEndAllowThreads(__tstate
);
37068 if (PyErr_Occurred()) SWIG_fail
;
37070 resultobj
= SWIG_Py_Void();
37077 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37078 PyObject
*resultobj
= 0;
37079 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37080 wxTreeItemId
*arg2
= 0 ;
37081 bool arg3
= (bool) true ;
37088 PyObject
* obj0
= 0 ;
37089 PyObject
* obj1
= 0 ;
37090 PyObject
* obj2
= 0 ;
37091 char * kwnames
[] = {
37092 (char *) "self",(char *) "item",(char *) "select", NULL
37095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37097 if (!SWIG_IsOK(res1
)) {
37098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37100 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37101 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37102 if (!SWIG_IsOK(res2
)) {
37103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37108 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37110 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37111 if (!SWIG_IsOK(ecode3
)) {
37112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37114 arg3
= static_cast< bool >(val3
);
37117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37118 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37119 wxPyEndAllowThreads(__tstate
);
37120 if (PyErr_Occurred()) SWIG_fail
;
37122 resultobj
= SWIG_Py_Void();
37129 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37130 PyObject
*resultobj
= 0;
37131 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37132 wxTreeItemId
*arg2
= 0 ;
37137 PyObject
* obj0
= 0 ;
37138 PyObject
* obj1
= 0 ;
37139 char * kwnames
[] = {
37140 (char *) "self",(char *) "item", NULL
37143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37145 if (!SWIG_IsOK(res1
)) {
37146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37148 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37149 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37150 if (!SWIG_IsOK(res2
)) {
37151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37156 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37159 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37160 wxPyEndAllowThreads(__tstate
);
37161 if (PyErr_Occurred()) SWIG_fail
;
37163 resultobj
= SWIG_Py_Void();
37170 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37171 PyObject
*resultobj
= 0;
37172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37173 wxTreeItemId
*arg2
= 0 ;
37178 PyObject
* obj0
= 0 ;
37179 PyObject
* obj1
= 0 ;
37180 char * kwnames
[] = {
37181 (char *) "self",(char *) "item", NULL
37184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37186 if (!SWIG_IsOK(res1
)) {
37187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37189 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37190 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37191 if (!SWIG_IsOK(res2
)) {
37192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37197 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37200 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37201 wxPyEndAllowThreads(__tstate
);
37202 if (PyErr_Occurred()) SWIG_fail
;
37204 resultobj
= SWIG_Py_Void();
37211 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37212 PyObject
*resultobj
= 0;
37213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37214 wxTreeItemId
*arg2
= 0 ;
37219 PyObject
* obj0
= 0 ;
37220 PyObject
* obj1
= 0 ;
37221 char * kwnames
[] = {
37222 (char *) "self",(char *) "item", NULL
37225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37227 if (!SWIG_IsOK(res1
)) {
37228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37230 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37231 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37232 if (!SWIG_IsOK(res2
)) {
37233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37238 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37241 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37242 wxPyEndAllowThreads(__tstate
);
37243 if (PyErr_Occurred()) SWIG_fail
;
37245 resultobj
= SWIG_Py_Void();
37252 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37253 PyObject
*resultobj
= 0;
37254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37255 wxTreeItemId
*arg2
= 0 ;
37260 PyObject
* obj0
= 0 ;
37261 PyObject
* obj1
= 0 ;
37262 char * kwnames
[] = {
37263 (char *) "self",(char *) "item", NULL
37266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37268 if (!SWIG_IsOK(res1
)) {
37269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37271 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37272 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37273 if (!SWIG_IsOK(res2
)) {
37274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37279 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37282 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37283 wxPyEndAllowThreads(__tstate
);
37284 if (PyErr_Occurred()) SWIG_fail
;
37286 resultobj
= SWIG_Py_Void();
37293 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37294 PyObject
*resultobj
= 0;
37295 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37296 wxTextCtrl
*result
= 0 ;
37299 PyObject
*swig_obj
[1] ;
37301 if (!args
) SWIG_fail
;
37302 swig_obj
[0] = args
;
37303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37304 if (!SWIG_IsOK(res1
)) {
37305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37307 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37310 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37311 wxPyEndAllowThreads(__tstate
);
37312 if (PyErr_Occurred()) SWIG_fail
;
37315 resultobj
= wxPyMake_wxObject(result
, 0);
37323 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37324 PyObject
*resultobj
= 0;
37325 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37326 wxTreeItemId
*arg2
= 0 ;
37331 PyObject
* obj0
= 0 ;
37332 PyObject
* obj1
= 0 ;
37333 char * kwnames
[] = {
37334 (char *) "self",(char *) "item", NULL
37337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37339 if (!SWIG_IsOK(res1
)) {
37340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37342 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37343 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37344 if (!SWIG_IsOK(res2
)) {
37345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37350 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37353 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37354 wxPyEndAllowThreads(__tstate
);
37355 if (PyErr_Occurred()) SWIG_fail
;
37357 resultobj
= SWIG_Py_Void();
37364 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37365 PyObject
*resultobj
= 0;
37366 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37367 wxPoint
*arg2
= 0 ;
37369 wxTreeItemId result
;
37374 int res3
= SWIG_TMPOBJ
;
37375 PyObject
* obj0
= 0 ;
37376 PyObject
* obj1
= 0 ;
37377 char * kwnames
[] = {
37378 (char *) "self",(char *) "point", NULL
37382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37384 if (!SWIG_IsOK(res1
)) {
37385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37387 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37390 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37394 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37395 wxPyEndAllowThreads(__tstate
);
37396 if (PyErr_Occurred()) SWIG_fail
;
37398 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37399 if (SWIG_IsTmpObj(res3
)) {
37400 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37402 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37403 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37411 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37412 PyObject
*resultobj
= 0;
37413 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37414 wxTreeItemId
*arg2
= 0 ;
37415 bool arg3
= (bool) false ;
37416 PyObject
*result
= 0 ;
37423 PyObject
* obj0
= 0 ;
37424 PyObject
* obj1
= 0 ;
37425 PyObject
* obj2
= 0 ;
37426 char * kwnames
[] = {
37427 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37432 if (!SWIG_IsOK(res1
)) {
37433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37435 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37436 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37437 if (!SWIG_IsOK(res2
)) {
37438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37443 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37445 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37446 if (!SWIG_IsOK(ecode3
)) {
37447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37449 arg3
= static_cast< bool >(val3
);
37452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37453 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37454 wxPyEndAllowThreads(__tstate
);
37455 if (PyErr_Occurred()) SWIG_fail
;
37457 resultobj
= result
;
37464 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37465 PyObject
*resultobj
= 0;
37466 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37467 SwigValueWrapper
<wxVisualAttributes
> result
;
37470 PyObject
* obj0
= 0 ;
37471 char * kwnames
[] = {
37472 (char *) "variant", NULL
37475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37477 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37478 if (!SWIG_IsOK(ecode1
)) {
37479 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37481 arg1
= static_cast< wxWindowVariant
>(val1
);
37484 if (!wxPyCheckForApp()) SWIG_fail
;
37485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37486 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37487 wxPyEndAllowThreads(__tstate
);
37488 if (PyErr_Occurred()) SWIG_fail
;
37490 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37497 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37498 PyObject
*resultobj
= 0;
37499 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37505 PyObject
* obj0
= 0 ;
37506 PyObject
* obj1
= 0 ;
37507 char * kwnames
[] = {
37508 (char *) "self",(char *) "q", NULL
37511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37513 if (!SWIG_IsOK(res1
)) {
37514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37516 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37517 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37518 if (!SWIG_IsOK(ecode2
)) {
37519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37521 arg2
= static_cast< bool >(val2
);
37523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37524 (arg1
)->SetQuickBestSize(arg2
);
37525 wxPyEndAllowThreads(__tstate
);
37526 if (PyErr_Occurred()) SWIG_fail
;
37528 resultobj
= SWIG_Py_Void();
37535 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37536 PyObject
*resultobj
= 0;
37537 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37541 PyObject
*swig_obj
[1] ;
37543 if (!args
) SWIG_fail
;
37544 swig_obj
[0] = args
;
37545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37546 if (!SWIG_IsOK(res1
)) {
37547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37549 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37552 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37553 wxPyEndAllowThreads(__tstate
);
37554 if (PyErr_Occurred()) SWIG_fail
;
37557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37565 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37568 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37569 return SWIG_Py_Void();
37572 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37573 return SWIG_Python_InitShadowInstance(args
);
37576 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37577 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37582 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37583 PyObject
*pyobj
= 0;
37587 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37589 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37596 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37597 PyObject
*resultobj
= 0;
37598 wxWindow
*arg1
= (wxWindow
*) 0 ;
37599 int arg2
= (int) (int)-1 ;
37600 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37601 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37602 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37603 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37604 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37605 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37606 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37607 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37608 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37609 int arg8
= (int) 0 ;
37610 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37611 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37612 wxGenericDirCtrl
*result
= 0 ;
37617 bool temp3
= false ;
37622 bool temp7
= false ;
37625 bool temp9
= false ;
37626 PyObject
* obj0
= 0 ;
37627 PyObject
* obj1
= 0 ;
37628 PyObject
* obj2
= 0 ;
37629 PyObject
* obj3
= 0 ;
37630 PyObject
* obj4
= 0 ;
37631 PyObject
* obj5
= 0 ;
37632 PyObject
* obj6
= 0 ;
37633 PyObject
* obj7
= 0 ;
37634 PyObject
* obj8
= 0 ;
37635 char * kwnames
[] = {
37636 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37641 if (!SWIG_IsOK(res1
)) {
37642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37644 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37647 if (!SWIG_IsOK(ecode2
)) {
37648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37650 arg2
= static_cast< int >(val2
);
37654 arg3
= wxString_in_helper(obj2
);
37655 if (arg3
== NULL
) SWIG_fail
;
37662 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37668 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37672 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37673 if (!SWIG_IsOK(ecode6
)) {
37674 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37676 arg6
= static_cast< long >(val6
);
37680 arg7
= wxString_in_helper(obj6
);
37681 if (arg7
== NULL
) SWIG_fail
;
37686 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37687 if (!SWIG_IsOK(ecode8
)) {
37688 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37690 arg8
= static_cast< int >(val8
);
37694 arg9
= wxString_in_helper(obj8
);
37695 if (arg9
== NULL
) SWIG_fail
;
37700 if (!wxPyCheckForApp()) SWIG_fail
;
37701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37702 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37703 wxPyEndAllowThreads(__tstate
);
37704 if (PyErr_Occurred()) SWIG_fail
;
37706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37737 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37738 PyObject
*resultobj
= 0;
37739 wxGenericDirCtrl
*result
= 0 ;
37741 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37743 if (!wxPyCheckForApp()) SWIG_fail
;
37744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37745 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37746 wxPyEndAllowThreads(__tstate
);
37747 if (PyErr_Occurred()) SWIG_fail
;
37749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37756 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37757 PyObject
*resultobj
= 0;
37758 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37759 wxWindow
*arg2
= (wxWindow
*) 0 ;
37760 int arg3
= (int) (int)-1 ;
37761 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37762 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37763 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37764 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37765 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37766 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37767 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37768 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37769 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37770 int arg9
= (int) 0 ;
37771 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37772 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37780 bool temp4
= false ;
37785 bool temp8
= false ;
37788 bool temp10
= false ;
37789 PyObject
* obj0
= 0 ;
37790 PyObject
* obj1
= 0 ;
37791 PyObject
* obj2
= 0 ;
37792 PyObject
* obj3
= 0 ;
37793 PyObject
* obj4
= 0 ;
37794 PyObject
* obj5
= 0 ;
37795 PyObject
* obj6
= 0 ;
37796 PyObject
* obj7
= 0 ;
37797 PyObject
* obj8
= 0 ;
37798 PyObject
* obj9
= 0 ;
37799 char * kwnames
[] = {
37800 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37805 if (!SWIG_IsOK(res1
)) {
37806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37808 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37809 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37810 if (!SWIG_IsOK(res2
)) {
37811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37813 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37816 if (!SWIG_IsOK(ecode3
)) {
37817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37819 arg3
= static_cast< int >(val3
);
37823 arg4
= wxString_in_helper(obj3
);
37824 if (arg4
== NULL
) SWIG_fail
;
37831 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37837 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37841 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37842 if (!SWIG_IsOK(ecode7
)) {
37843 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37845 arg7
= static_cast< long >(val7
);
37849 arg8
= wxString_in_helper(obj7
);
37850 if (arg8
== NULL
) SWIG_fail
;
37855 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37856 if (!SWIG_IsOK(ecode9
)) {
37857 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37859 arg9
= static_cast< int >(val9
);
37863 arg10
= wxString_in_helper(obj9
);
37864 if (arg10
== NULL
) SWIG_fail
;
37869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37870 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37871 wxPyEndAllowThreads(__tstate
);
37872 if (PyErr_Occurred()) SWIG_fail
;
37875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37907 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37908 PyObject
*resultobj
= 0;
37909 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37910 wxString
*arg2
= 0 ;
37914 bool temp2
= false ;
37915 PyObject
* obj0
= 0 ;
37916 PyObject
* obj1
= 0 ;
37917 char * kwnames
[] = {
37918 (char *) "self",(char *) "path", NULL
37921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37923 if (!SWIG_IsOK(res1
)) {
37924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37926 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37928 arg2
= wxString_in_helper(obj1
);
37929 if (arg2
== NULL
) SWIG_fail
;
37933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37934 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37935 wxPyEndAllowThreads(__tstate
);
37936 if (PyErr_Occurred()) SWIG_fail
;
37939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37955 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37956 PyObject
*resultobj
= 0;
37957 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37958 wxString
*arg2
= 0 ;
37962 bool temp2
= false ;
37963 PyObject
* obj0
= 0 ;
37964 PyObject
* obj1
= 0 ;
37965 char * kwnames
[] = {
37966 (char *) "self",(char *) "path", NULL
37969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37971 if (!SWIG_IsOK(res1
)) {
37972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37974 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37976 arg2
= wxString_in_helper(obj1
);
37977 if (arg2
== NULL
) SWIG_fail
;
37981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37982 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37983 wxPyEndAllowThreads(__tstate
);
37984 if (PyErr_Occurred()) SWIG_fail
;
37987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38003 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38004 PyObject
*resultobj
= 0;
38005 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38009 PyObject
*swig_obj
[1] ;
38011 if (!args
) SWIG_fail
;
38012 swig_obj
[0] = args
;
38013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38014 if (!SWIG_IsOK(res1
)) {
38015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38017 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38020 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
38021 wxPyEndAllowThreads(__tstate
);
38022 if (PyErr_Occurred()) SWIG_fail
;
38026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38037 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38038 PyObject
*resultobj
= 0;
38039 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38040 wxString
*arg2
= 0 ;
38043 bool temp2
= false ;
38044 PyObject
* obj0
= 0 ;
38045 PyObject
* obj1
= 0 ;
38046 char * kwnames
[] = {
38047 (char *) "self",(char *) "path", NULL
38050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38052 if (!SWIG_IsOK(res1
)) {
38053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38055 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38057 arg2
= wxString_in_helper(obj1
);
38058 if (arg2
== NULL
) SWIG_fail
;
38062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38063 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
38064 wxPyEndAllowThreads(__tstate
);
38065 if (PyErr_Occurred()) SWIG_fail
;
38067 resultobj
= SWIG_Py_Void();
38082 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38083 PyObject
*resultobj
= 0;
38084 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38088 PyObject
*swig_obj
[1] ;
38090 if (!args
) SWIG_fail
;
38091 swig_obj
[0] = args
;
38092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38093 if (!SWIG_IsOK(res1
)) {
38094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38096 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38099 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38100 wxPyEndAllowThreads(__tstate
);
38101 if (PyErr_Occurred()) SWIG_fail
;
38105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38116 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38117 PyObject
*resultobj
= 0;
38118 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38122 PyObject
*swig_obj
[1] ;
38124 if (!args
) SWIG_fail
;
38125 swig_obj
[0] = args
;
38126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38127 if (!SWIG_IsOK(res1
)) {
38128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38130 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38133 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38134 wxPyEndAllowThreads(__tstate
);
38135 if (PyErr_Occurred()) SWIG_fail
;
38139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38150 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38151 PyObject
*resultobj
= 0;
38152 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38153 wxString
*arg2
= 0 ;
38156 bool temp2
= false ;
38157 PyObject
* obj0
= 0 ;
38158 PyObject
* obj1
= 0 ;
38159 char * kwnames
[] = {
38160 (char *) "self",(char *) "path", NULL
38163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38165 if (!SWIG_IsOK(res1
)) {
38166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38168 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38170 arg2
= wxString_in_helper(obj1
);
38171 if (arg2
== NULL
) SWIG_fail
;
38175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38176 (arg1
)->SetPath((wxString
const &)*arg2
);
38177 wxPyEndAllowThreads(__tstate
);
38178 if (PyErr_Occurred()) SWIG_fail
;
38180 resultobj
= SWIG_Py_Void();
38195 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38196 PyObject
*resultobj
= 0;
38197 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38203 PyObject
* obj0
= 0 ;
38204 PyObject
* obj1
= 0 ;
38205 char * kwnames
[] = {
38206 (char *) "self",(char *) "show", NULL
38209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38211 if (!SWIG_IsOK(res1
)) {
38212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38214 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38215 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38216 if (!SWIG_IsOK(ecode2
)) {
38217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38219 arg2
= static_cast< bool >(val2
);
38221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38222 (arg1
)->ShowHidden(arg2
);
38223 wxPyEndAllowThreads(__tstate
);
38224 if (PyErr_Occurred()) SWIG_fail
;
38226 resultobj
= SWIG_Py_Void();
38233 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38234 PyObject
*resultobj
= 0;
38235 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38239 PyObject
*swig_obj
[1] ;
38241 if (!args
) SWIG_fail
;
38242 swig_obj
[0] = args
;
38243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38244 if (!SWIG_IsOK(res1
)) {
38245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38247 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38250 result
= (bool)(arg1
)->GetShowHidden();
38251 wxPyEndAllowThreads(__tstate
);
38252 if (PyErr_Occurred()) SWIG_fail
;
38255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38263 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38264 PyObject
*resultobj
= 0;
38265 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38269 PyObject
*swig_obj
[1] ;
38271 if (!args
) SWIG_fail
;
38272 swig_obj
[0] = args
;
38273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38274 if (!SWIG_IsOK(res1
)) {
38275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38277 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38280 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38281 wxPyEndAllowThreads(__tstate
);
38282 if (PyErr_Occurred()) SWIG_fail
;
38286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38297 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38298 PyObject
*resultobj
= 0;
38299 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38300 wxString
*arg2
= 0 ;
38303 bool temp2
= false ;
38304 PyObject
* obj0
= 0 ;
38305 PyObject
* obj1
= 0 ;
38306 char * kwnames
[] = {
38307 (char *) "self",(char *) "filter", NULL
38310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38312 if (!SWIG_IsOK(res1
)) {
38313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38315 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38317 arg2
= wxString_in_helper(obj1
);
38318 if (arg2
== NULL
) SWIG_fail
;
38322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38323 (arg1
)->SetFilter((wxString
const &)*arg2
);
38324 wxPyEndAllowThreads(__tstate
);
38325 if (PyErr_Occurred()) SWIG_fail
;
38327 resultobj
= SWIG_Py_Void();
38342 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38343 PyObject
*resultobj
= 0;
38344 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38348 PyObject
*swig_obj
[1] ;
38350 if (!args
) SWIG_fail
;
38351 swig_obj
[0] = args
;
38352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38353 if (!SWIG_IsOK(res1
)) {
38354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38356 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38359 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38360 wxPyEndAllowThreads(__tstate
);
38361 if (PyErr_Occurred()) SWIG_fail
;
38363 resultobj
= SWIG_From_int(static_cast< int >(result
));
38370 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38371 PyObject
*resultobj
= 0;
38372 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38378 PyObject
* obj0
= 0 ;
38379 PyObject
* obj1
= 0 ;
38380 char * kwnames
[] = {
38381 (char *) "self",(char *) "n", NULL
38384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38386 if (!SWIG_IsOK(res1
)) {
38387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38389 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38391 if (!SWIG_IsOK(ecode2
)) {
38392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38394 arg2
= static_cast< int >(val2
);
38396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38397 (arg1
)->SetFilterIndex(arg2
);
38398 wxPyEndAllowThreads(__tstate
);
38399 if (PyErr_Occurred()) SWIG_fail
;
38401 resultobj
= SWIG_Py_Void();
38408 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38409 PyObject
*resultobj
= 0;
38410 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38411 wxTreeItemId result
;
38414 PyObject
*swig_obj
[1] ;
38416 if (!args
) SWIG_fail
;
38417 swig_obj
[0] = args
;
38418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38419 if (!SWIG_IsOK(res1
)) {
38420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38422 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38425 result
= (arg1
)->GetRootId();
38426 wxPyEndAllowThreads(__tstate
);
38427 if (PyErr_Occurred()) SWIG_fail
;
38429 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38436 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38437 PyObject
*resultobj
= 0;
38438 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38439 wxPyTreeCtrl
*result
= 0 ;
38442 PyObject
*swig_obj
[1] ;
38444 if (!args
) SWIG_fail
;
38445 swig_obj
[0] = args
;
38446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38447 if (!SWIG_IsOK(res1
)) {
38448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38450 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38453 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38454 wxPyEndAllowThreads(__tstate
);
38455 if (PyErr_Occurred()) SWIG_fail
;
38458 resultobj
= wxPyMake_wxObject(result
, 0);
38466 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38467 PyObject
*resultobj
= 0;
38468 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38469 wxDirFilterListCtrl
*result
= 0 ;
38472 PyObject
*swig_obj
[1] ;
38474 if (!args
) SWIG_fail
;
38475 swig_obj
[0] = args
;
38476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38477 if (!SWIG_IsOK(res1
)) {
38478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38480 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38483 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38484 wxPyEndAllowThreads(__tstate
);
38485 if (PyErr_Occurred()) SWIG_fail
;
38487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38494 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38495 PyObject
*resultobj
= 0;
38496 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38497 wxTreeItemId arg2
;
38498 wxString
*arg3
= 0 ;
38500 wxTreeItemId result
;
38505 bool temp3
= false ;
38507 int res4
= SWIG_TMPOBJ
;
38508 PyObject
* obj0
= 0 ;
38509 PyObject
* obj1
= 0 ;
38510 PyObject
* obj2
= 0 ;
38511 char * kwnames
[] = {
38512 (char *) "self",(char *) "parentId",(char *) "path", NULL
38516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38518 if (!SWIG_IsOK(res1
)) {
38519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38521 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38523 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38524 if (!SWIG_IsOK(res2
)) {
38525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38530 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38532 if (SWIG_IsNewObj(res2
)) delete temp
;
38536 arg3
= wxString_in_helper(obj2
);
38537 if (arg3
== NULL
) SWIG_fail
;
38541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38542 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38543 wxPyEndAllowThreads(__tstate
);
38544 if (PyErr_Occurred()) SWIG_fail
;
38546 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38547 if (SWIG_IsTmpObj(res4
)) {
38548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38550 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38567 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38568 PyObject
*resultobj
= 0;
38569 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38572 PyObject
*swig_obj
[1] ;
38574 if (!args
) SWIG_fail
;
38575 swig_obj
[0] = args
;
38576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38577 if (!SWIG_IsOK(res1
)) {
38578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38580 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38583 (arg1
)->DoResize();
38584 wxPyEndAllowThreads(__tstate
);
38585 if (PyErr_Occurred()) SWIG_fail
;
38587 resultobj
= SWIG_Py_Void();
38594 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38595 PyObject
*resultobj
= 0;
38596 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38599 PyObject
*swig_obj
[1] ;
38601 if (!args
) SWIG_fail
;
38602 swig_obj
[0] = args
;
38603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38604 if (!SWIG_IsOK(res1
)) {
38605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38607 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38610 (arg1
)->ReCreateTree();
38611 wxPyEndAllowThreads(__tstate
);
38612 if (PyErr_Occurred()) SWIG_fail
;
38614 resultobj
= SWIG_Py_Void();
38621 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38623 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38624 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38625 return SWIG_Py_Void();
38628 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38629 return SWIG_Python_InitShadowInstance(args
);
38632 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38633 PyObject
*resultobj
= 0;
38634 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38635 int arg2
= (int) (int)-1 ;
38636 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38637 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38638 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38639 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38640 long arg5
= (long) 0 ;
38641 wxDirFilterListCtrl
*result
= 0 ;
38650 PyObject
* obj0
= 0 ;
38651 PyObject
* obj1
= 0 ;
38652 PyObject
* obj2
= 0 ;
38653 PyObject
* obj3
= 0 ;
38654 PyObject
* obj4
= 0 ;
38655 char * kwnames
[] = {
38656 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38661 if (!SWIG_IsOK(res1
)) {
38662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38664 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38667 if (!SWIG_IsOK(ecode2
)) {
38668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38670 arg2
= static_cast< int >(val2
);
38675 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38681 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38685 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38686 if (!SWIG_IsOK(ecode5
)) {
38687 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38689 arg5
= static_cast< long >(val5
);
38692 if (!wxPyCheckForApp()) SWIG_fail
;
38693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38694 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38695 wxPyEndAllowThreads(__tstate
);
38696 if (PyErr_Occurred()) SWIG_fail
;
38698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38705 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38706 PyObject
*resultobj
= 0;
38707 wxDirFilterListCtrl
*result
= 0 ;
38709 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38711 if (!wxPyCheckForApp()) SWIG_fail
;
38712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38713 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38714 wxPyEndAllowThreads(__tstate
);
38715 if (PyErr_Occurred()) SWIG_fail
;
38717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38724 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38725 PyObject
*resultobj
= 0;
38726 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38727 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38728 int arg3
= (int) (int)-1 ;
38729 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38730 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38731 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38732 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38733 long arg6
= (long) 0 ;
38745 PyObject
* obj0
= 0 ;
38746 PyObject
* obj1
= 0 ;
38747 PyObject
* obj2
= 0 ;
38748 PyObject
* obj3
= 0 ;
38749 PyObject
* obj4
= 0 ;
38750 PyObject
* obj5
= 0 ;
38751 char * kwnames
[] = {
38752 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38757 if (!SWIG_IsOK(res1
)) {
38758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38760 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38761 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38762 if (!SWIG_IsOK(res2
)) {
38763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38765 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38768 if (!SWIG_IsOK(ecode3
)) {
38769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38771 arg3
= static_cast< int >(val3
);
38776 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38782 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38786 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38787 if (!SWIG_IsOK(ecode6
)) {
38788 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38790 arg6
= static_cast< long >(val6
);
38793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38794 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38795 wxPyEndAllowThreads(__tstate
);
38796 if (PyErr_Occurred()) SWIG_fail
;
38799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38807 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38808 PyObject
*resultobj
= 0;
38809 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38810 wxString
*arg2
= 0 ;
38814 bool temp2
= false ;
38817 PyObject
* obj0
= 0 ;
38818 PyObject
* obj1
= 0 ;
38819 PyObject
* obj2
= 0 ;
38820 char * kwnames
[] = {
38821 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38826 if (!SWIG_IsOK(res1
)) {
38827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38829 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38831 arg2
= wxString_in_helper(obj1
);
38832 if (arg2
== NULL
) SWIG_fail
;
38835 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38836 if (!SWIG_IsOK(ecode3
)) {
38837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38839 arg3
= static_cast< int >(val3
);
38841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38842 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38843 wxPyEndAllowThreads(__tstate
);
38844 if (PyErr_Occurred()) SWIG_fail
;
38846 resultobj
= SWIG_Py_Void();
38861 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38864 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38865 return SWIG_Py_Void();
38868 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38869 return SWIG_Python_InitShadowInstance(args
);
38872 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38873 PyObject
*resultobj
= 0;
38874 wxWindow
*arg1
= (wxWindow
*) 0 ;
38875 int arg2
= (int) (int)-1 ;
38876 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38877 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38878 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38879 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38880 long arg5
= (long) 0 ;
38881 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38882 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38883 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38884 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38885 wxPyControl
*result
= 0 ;
38896 bool temp7
= false ;
38897 PyObject
* obj0
= 0 ;
38898 PyObject
* obj1
= 0 ;
38899 PyObject
* obj2
= 0 ;
38900 PyObject
* obj3
= 0 ;
38901 PyObject
* obj4
= 0 ;
38902 PyObject
* obj5
= 0 ;
38903 PyObject
* obj6
= 0 ;
38904 char * kwnames
[] = {
38905 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38910 if (!SWIG_IsOK(res1
)) {
38911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38913 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38916 if (!SWIG_IsOK(ecode2
)) {
38917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38919 arg2
= static_cast< int >(val2
);
38924 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38930 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38934 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38935 if (!SWIG_IsOK(ecode5
)) {
38936 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38938 arg5
= static_cast< long >(val5
);
38941 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38942 if (!SWIG_IsOK(res6
)) {
38943 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38948 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38952 arg7
= wxString_in_helper(obj6
);
38953 if (arg7
== NULL
) SWIG_fail
;
38958 if (!wxPyCheckForApp()) SWIG_fail
;
38959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38960 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38961 wxPyEndAllowThreads(__tstate
);
38962 if (PyErr_Occurred()) SWIG_fail
;
38964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38979 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38980 PyObject
*resultobj
= 0;
38981 wxPyControl
*result
= 0 ;
38983 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38985 if (!wxPyCheckForApp()) SWIG_fail
;
38986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38987 result
= (wxPyControl
*)new wxPyControl();
38988 wxPyEndAllowThreads(__tstate
);
38989 if (PyErr_Occurred()) SWIG_fail
;
38991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38998 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38999 PyObject
*resultobj
= 0;
39000 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39001 PyObject
*arg2
= (PyObject
*) 0 ;
39002 PyObject
*arg3
= (PyObject
*) 0 ;
39005 PyObject
* obj0
= 0 ;
39006 PyObject
* obj1
= 0 ;
39007 PyObject
* obj2
= 0 ;
39008 char * kwnames
[] = {
39009 (char *) "self",(char *) "self",(char *) "_class", NULL
39012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39014 if (!SWIG_IsOK(res1
)) {
39015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39017 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39022 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39023 wxPyEndAllowThreads(__tstate
);
39024 if (PyErr_Occurred()) SWIG_fail
;
39026 resultobj
= SWIG_Py_Void();
39033 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39034 PyObject
*resultobj
= 0;
39035 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39036 wxDC
*arg2
= (wxDC
*) 0 ;
39042 PyObject
* obj0
= 0 ;
39043 PyObject
* obj1
= 0 ;
39044 char * kwnames
[] = {
39045 (char *) "self",(char *) "dc", NULL
39048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39050 if (!SWIG_IsOK(res1
)) {
39051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39053 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39054 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
39055 if (!SWIG_IsOK(res2
)) {
39056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39058 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39061 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
39062 wxPyEndAllowThreads(__tstate
);
39063 if (PyErr_Occurred()) SWIG_fail
;
39066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39074 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39075 PyObject
*resultobj
= 0;
39076 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39091 PyObject
* obj0
= 0 ;
39092 PyObject
* obj1
= 0 ;
39093 PyObject
* obj2
= 0 ;
39094 PyObject
* obj3
= 0 ;
39095 PyObject
* obj4
= 0 ;
39096 char * kwnames
[] = {
39097 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39102 if (!SWIG_IsOK(res1
)) {
39103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39105 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39107 if (!SWIG_IsOK(ecode2
)) {
39108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39110 arg2
= static_cast< int >(val2
);
39111 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39112 if (!SWIG_IsOK(ecode3
)) {
39113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39115 arg3
= static_cast< int >(val3
);
39116 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39117 if (!SWIG_IsOK(ecode4
)) {
39118 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39120 arg4
= static_cast< int >(val4
);
39121 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39122 if (!SWIG_IsOK(ecode5
)) {
39123 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39125 arg5
= static_cast< int >(val5
);
39127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39128 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39129 wxPyEndAllowThreads(__tstate
);
39130 if (PyErr_Occurred()) SWIG_fail
;
39132 resultobj
= SWIG_Py_Void();
39139 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39140 PyObject
*resultobj
= 0;
39141 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39146 int arg6
= (int) wxSIZE_AUTO
;
39159 PyObject
* obj0
= 0 ;
39160 PyObject
* obj1
= 0 ;
39161 PyObject
* obj2
= 0 ;
39162 PyObject
* obj3
= 0 ;
39163 PyObject
* obj4
= 0 ;
39164 PyObject
* obj5
= 0 ;
39165 char * kwnames
[] = {
39166 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39171 if (!SWIG_IsOK(res1
)) {
39172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39174 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39176 if (!SWIG_IsOK(ecode2
)) {
39177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39179 arg2
= static_cast< int >(val2
);
39180 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39181 if (!SWIG_IsOK(ecode3
)) {
39182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39184 arg3
= static_cast< int >(val3
);
39185 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39186 if (!SWIG_IsOK(ecode4
)) {
39187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39189 arg4
= static_cast< int >(val4
);
39190 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39191 if (!SWIG_IsOK(ecode5
)) {
39192 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39194 arg5
= static_cast< int >(val5
);
39196 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39197 if (!SWIG_IsOK(ecode6
)) {
39198 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39200 arg6
= static_cast< int >(val6
);
39203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39204 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39205 wxPyEndAllowThreads(__tstate
);
39206 if (PyErr_Occurred()) SWIG_fail
;
39208 resultobj
= SWIG_Py_Void();
39215 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39216 PyObject
*resultobj
= 0;
39217 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39226 PyObject
* obj0
= 0 ;
39227 PyObject
* obj1
= 0 ;
39228 PyObject
* obj2
= 0 ;
39229 char * kwnames
[] = {
39230 (char *) "self",(char *) "width",(char *) "height", NULL
39233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39235 if (!SWIG_IsOK(res1
)) {
39236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39238 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39240 if (!SWIG_IsOK(ecode2
)) {
39241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39243 arg2
= static_cast< int >(val2
);
39244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39245 if (!SWIG_IsOK(ecode3
)) {
39246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39248 arg3
= static_cast< int >(val3
);
39250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39251 (arg1
)->DoSetClientSize(arg2
,arg3
);
39252 wxPyEndAllowThreads(__tstate
);
39253 if (PyErr_Occurred()) SWIG_fail
;
39255 resultobj
= SWIG_Py_Void();
39262 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39263 PyObject
*resultobj
= 0;
39264 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39273 PyObject
* obj0
= 0 ;
39274 PyObject
* obj1
= 0 ;
39275 PyObject
* obj2
= 0 ;
39276 char * kwnames
[] = {
39277 (char *) "self",(char *) "x",(char *) "y", NULL
39280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39282 if (!SWIG_IsOK(res1
)) {
39283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39285 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39287 if (!SWIG_IsOK(ecode2
)) {
39288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39290 arg2
= static_cast< int >(val2
);
39291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39292 if (!SWIG_IsOK(ecode3
)) {
39293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39295 arg3
= static_cast< int >(val3
);
39297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39298 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39299 wxPyEndAllowThreads(__tstate
);
39300 if (PyErr_Occurred()) SWIG_fail
;
39302 resultobj
= SWIG_Py_Void();
39309 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39310 PyObject
*resultobj
= 0;
39311 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39312 int *arg2
= (int *) 0 ;
39313 int *arg3
= (int *) 0 ;
39317 int res2
= SWIG_TMPOBJ
;
39319 int res3
= SWIG_TMPOBJ
;
39320 PyObject
*swig_obj
[1] ;
39324 if (!args
) SWIG_fail
;
39325 swig_obj
[0] = args
;
39326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39327 if (!SWIG_IsOK(res1
)) {
39328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39330 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39333 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39334 wxPyEndAllowThreads(__tstate
);
39335 if (PyErr_Occurred()) SWIG_fail
;
39337 resultobj
= SWIG_Py_Void();
39338 if (SWIG_IsTmpObj(res2
)) {
39339 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39341 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39342 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39344 if (SWIG_IsTmpObj(res3
)) {
39345 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39347 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39348 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39356 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39357 PyObject
*resultobj
= 0;
39358 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39359 int *arg2
= (int *) 0 ;
39360 int *arg3
= (int *) 0 ;
39364 int res2
= SWIG_TMPOBJ
;
39366 int res3
= SWIG_TMPOBJ
;
39367 PyObject
*swig_obj
[1] ;
39371 if (!args
) SWIG_fail
;
39372 swig_obj
[0] = args
;
39373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39374 if (!SWIG_IsOK(res1
)) {
39375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39377 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39380 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39381 wxPyEndAllowThreads(__tstate
);
39382 if (PyErr_Occurred()) SWIG_fail
;
39384 resultobj
= SWIG_Py_Void();
39385 if (SWIG_IsTmpObj(res2
)) {
39386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39388 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39391 if (SWIG_IsTmpObj(res3
)) {
39392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39394 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39395 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39403 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39404 PyObject
*resultobj
= 0;
39405 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39406 int *arg2
= (int *) 0 ;
39407 int *arg3
= (int *) 0 ;
39411 int res2
= SWIG_TMPOBJ
;
39413 int res3
= SWIG_TMPOBJ
;
39414 PyObject
*swig_obj
[1] ;
39418 if (!args
) SWIG_fail
;
39419 swig_obj
[0] = args
;
39420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39421 if (!SWIG_IsOK(res1
)) {
39422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39424 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39427 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39428 wxPyEndAllowThreads(__tstate
);
39429 if (PyErr_Occurred()) SWIG_fail
;
39431 resultobj
= SWIG_Py_Void();
39432 if (SWIG_IsTmpObj(res2
)) {
39433 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39435 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39436 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39438 if (SWIG_IsTmpObj(res3
)) {
39439 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39441 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39442 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39450 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39451 PyObject
*resultobj
= 0;
39452 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39456 PyObject
*swig_obj
[1] ;
39458 if (!args
) SWIG_fail
;
39459 swig_obj
[0] = args
;
39460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39461 if (!SWIG_IsOK(res1
)) {
39462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39464 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39467 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39468 wxPyEndAllowThreads(__tstate
);
39469 if (PyErr_Occurred()) SWIG_fail
;
39471 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39478 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39479 PyObject
*resultobj
= 0;
39480 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39484 PyObject
*swig_obj
[1] ;
39486 if (!args
) SWIG_fail
;
39487 swig_obj
[0] = args
;
39488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39489 if (!SWIG_IsOK(res1
)) {
39490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39492 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39495 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39496 wxPyEndAllowThreads(__tstate
);
39497 if (PyErr_Occurred()) SWIG_fail
;
39499 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39506 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39507 PyObject
*resultobj
= 0;
39508 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39509 SwigValueWrapper
<wxVisualAttributes
> result
;
39512 PyObject
*swig_obj
[1] ;
39514 if (!args
) SWIG_fail
;
39515 swig_obj
[0] = args
;
39516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39517 if (!SWIG_IsOK(res1
)) {
39518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39520 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39523 result
= (arg1
)->GetDefaultAttributes();
39524 wxPyEndAllowThreads(__tstate
);
39525 if (PyErr_Occurred()) SWIG_fail
;
39527 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39534 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39535 PyObject
*resultobj
= 0;
39536 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39539 PyObject
*swig_obj
[1] ;
39541 if (!args
) SWIG_fail
;
39542 swig_obj
[0] = args
;
39543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39544 if (!SWIG_IsOK(res1
)) {
39545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39547 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39550 (arg1
)->OnInternalIdle();
39551 wxPyEndAllowThreads(__tstate
);
39552 if (PyErr_Occurred()) SWIG_fail
;
39554 resultobj
= SWIG_Py_Void();
39561 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39563 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39564 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39565 return SWIG_Py_Void();
39568 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39569 return SWIG_Python_InitShadowInstance(args
);
39572 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39573 PyObject
*resultobj
= 0;
39574 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39575 int arg2
= (int) 0 ;
39576 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39577 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39578 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39579 wxHelpEvent
*result
= 0 ;
39587 PyObject
* obj0
= 0 ;
39588 PyObject
* obj1
= 0 ;
39589 PyObject
* obj2
= 0 ;
39590 PyObject
* obj3
= 0 ;
39591 char * kwnames
[] = {
39592 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39597 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39598 if (!SWIG_IsOK(ecode1
)) {
39599 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39601 arg1
= static_cast< wxEventType
>(val1
);
39604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39605 if (!SWIG_IsOK(ecode2
)) {
39606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39608 arg2
= static_cast< int >(val2
);
39613 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39617 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39618 if (!SWIG_IsOK(ecode4
)) {
39619 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39621 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39625 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39626 wxPyEndAllowThreads(__tstate
);
39627 if (PyErr_Occurred()) SWIG_fail
;
39629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39636 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39637 PyObject
*resultobj
= 0;
39638 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39642 PyObject
*swig_obj
[1] ;
39644 if (!args
) SWIG_fail
;
39645 swig_obj
[0] = args
;
39646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39647 if (!SWIG_IsOK(res1
)) {
39648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39650 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39653 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39654 wxPyEndAllowThreads(__tstate
);
39655 if (PyErr_Occurred()) SWIG_fail
;
39657 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39664 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39665 PyObject
*resultobj
= 0;
39666 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39667 wxPoint
*arg2
= 0 ;
39671 PyObject
* obj0
= 0 ;
39672 PyObject
* obj1
= 0 ;
39673 char * kwnames
[] = {
39674 (char *) "self",(char *) "pos", NULL
39677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39679 if (!SWIG_IsOK(res1
)) {
39680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39682 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39689 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39690 wxPyEndAllowThreads(__tstate
);
39691 if (PyErr_Occurred()) SWIG_fail
;
39693 resultobj
= SWIG_Py_Void();
39700 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39701 PyObject
*resultobj
= 0;
39702 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39703 wxString
*result
= 0 ;
39706 PyObject
*swig_obj
[1] ;
39708 if (!args
) SWIG_fail
;
39709 swig_obj
[0] = args
;
39710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39711 if (!SWIG_IsOK(res1
)) {
39712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39714 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39718 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39719 result
= (wxString
*) &_result_ref
;
39721 wxPyEndAllowThreads(__tstate
);
39722 if (PyErr_Occurred()) SWIG_fail
;
39726 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39728 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39737 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39738 PyObject
*resultobj
= 0;
39739 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39740 wxString
*arg2
= 0 ;
39743 bool temp2
= false ;
39744 PyObject
* obj0
= 0 ;
39745 PyObject
* obj1
= 0 ;
39746 char * kwnames
[] = {
39747 (char *) "self",(char *) "link", NULL
39750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39752 if (!SWIG_IsOK(res1
)) {
39753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39755 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39757 arg2
= wxString_in_helper(obj1
);
39758 if (arg2
== NULL
) SWIG_fail
;
39762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39763 (arg1
)->SetLink((wxString
const &)*arg2
);
39764 wxPyEndAllowThreads(__tstate
);
39765 if (PyErr_Occurred()) SWIG_fail
;
39767 resultobj
= SWIG_Py_Void();
39782 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39783 PyObject
*resultobj
= 0;
39784 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39785 wxString
*result
= 0 ;
39788 PyObject
*swig_obj
[1] ;
39790 if (!args
) SWIG_fail
;
39791 swig_obj
[0] = args
;
39792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39793 if (!SWIG_IsOK(res1
)) {
39794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39796 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39800 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39801 result
= (wxString
*) &_result_ref
;
39803 wxPyEndAllowThreads(__tstate
);
39804 if (PyErr_Occurred()) SWIG_fail
;
39808 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39810 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39819 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39820 PyObject
*resultobj
= 0;
39821 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39822 wxString
*arg2
= 0 ;
39825 bool temp2
= false ;
39826 PyObject
* obj0
= 0 ;
39827 PyObject
* obj1
= 0 ;
39828 char * kwnames
[] = {
39829 (char *) "self",(char *) "target", NULL
39832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39834 if (!SWIG_IsOK(res1
)) {
39835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39837 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39839 arg2
= wxString_in_helper(obj1
);
39840 if (arg2
== NULL
) SWIG_fail
;
39844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39845 (arg1
)->SetTarget((wxString
const &)*arg2
);
39846 wxPyEndAllowThreads(__tstate
);
39847 if (PyErr_Occurred()) SWIG_fail
;
39849 resultobj
= SWIG_Py_Void();
39864 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39865 PyObject
*resultobj
= 0;
39866 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39867 wxHelpEvent::Origin result
;
39870 PyObject
*swig_obj
[1] ;
39872 if (!args
) SWIG_fail
;
39873 swig_obj
[0] = args
;
39874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39875 if (!SWIG_IsOK(res1
)) {
39876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39878 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39881 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39882 wxPyEndAllowThreads(__tstate
);
39883 if (PyErr_Occurred()) SWIG_fail
;
39885 resultobj
= SWIG_From_int(static_cast< int >(result
));
39892 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39893 PyObject
*resultobj
= 0;
39894 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39895 wxHelpEvent::Origin arg2
;
39900 PyObject
* obj0
= 0 ;
39901 PyObject
* obj1
= 0 ;
39902 char * kwnames
[] = {
39903 (char *) "self",(char *) "origin", NULL
39906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39908 if (!SWIG_IsOK(res1
)) {
39909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39911 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39913 if (!SWIG_IsOK(ecode2
)) {
39914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39916 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39919 (arg1
)->SetOrigin(arg2
);
39920 wxPyEndAllowThreads(__tstate
);
39921 if (PyErr_Occurred()) SWIG_fail
;
39923 resultobj
= SWIG_Py_Void();
39930 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39933 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39934 return SWIG_Py_Void();
39937 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39938 return SWIG_Python_InitShadowInstance(args
);
39941 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39942 PyObject
*resultobj
= 0;
39943 wxWindow
*arg1
= (wxWindow
*) NULL
;
39944 bool arg2
= (bool) true ;
39945 wxContextHelp
*result
= 0 ;
39950 PyObject
* obj0
= 0 ;
39951 PyObject
* obj1
= 0 ;
39952 char * kwnames
[] = {
39953 (char *) "window",(char *) "doNow", NULL
39956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39959 if (!SWIG_IsOK(res1
)) {
39960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39962 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39965 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39966 if (!SWIG_IsOK(ecode2
)) {
39967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39969 arg2
= static_cast< bool >(val2
);
39972 if (!wxPyCheckForApp()) SWIG_fail
;
39973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39974 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39975 wxPyEndAllowThreads(__tstate
);
39976 if (PyErr_Occurred()) SWIG_fail
;
39978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39985 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39986 PyObject
*resultobj
= 0;
39987 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39990 PyObject
*swig_obj
[1] ;
39992 if (!args
) SWIG_fail
;
39993 swig_obj
[0] = args
;
39994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39995 if (!SWIG_IsOK(res1
)) {
39996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39998 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40003 wxPyEndAllowThreads(__tstate
);
40004 if (PyErr_Occurred()) SWIG_fail
;
40006 resultobj
= SWIG_Py_Void();
40013 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40014 PyObject
*resultobj
= 0;
40015 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40016 wxWindow
*arg2
= (wxWindow
*) NULL
;
40022 PyObject
* obj0
= 0 ;
40023 PyObject
* obj1
= 0 ;
40024 char * kwnames
[] = {
40025 (char *) "self",(char *) "window", NULL
40028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40030 if (!SWIG_IsOK(res1
)) {
40031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40033 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40035 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40036 if (!SWIG_IsOK(res2
)) {
40037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40039 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40043 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
40044 wxPyEndAllowThreads(__tstate
);
40045 if (PyErr_Occurred()) SWIG_fail
;
40048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40056 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40057 PyObject
*resultobj
= 0;
40058 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40062 PyObject
*swig_obj
[1] ;
40064 if (!args
) SWIG_fail
;
40065 swig_obj
[0] = args
;
40066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40067 if (!SWIG_IsOK(res1
)) {
40068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40070 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40073 result
= (bool)(arg1
)->EndContextHelp();
40074 wxPyEndAllowThreads(__tstate
);
40075 if (PyErr_Occurred()) SWIG_fail
;
40078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40086 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40089 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40090 return SWIG_Py_Void();
40093 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40094 return SWIG_Python_InitShadowInstance(args
);
40097 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40098 PyObject
*resultobj
= 0;
40099 wxWindow
*arg1
= (wxWindow
*) 0 ;
40100 int arg2
= (int) wxID_CONTEXT_HELP
;
40101 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40102 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40103 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40104 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40105 long arg5
= (long) wxBU_AUTODRAW
;
40106 wxContextHelpButton
*result
= 0 ;
40115 PyObject
* obj0
= 0 ;
40116 PyObject
* obj1
= 0 ;
40117 PyObject
* obj2
= 0 ;
40118 PyObject
* obj3
= 0 ;
40119 PyObject
* obj4
= 0 ;
40120 char * kwnames
[] = {
40121 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40126 if (!SWIG_IsOK(res1
)) {
40127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40129 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40132 if (!SWIG_IsOK(ecode2
)) {
40133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40135 arg2
= static_cast< int >(val2
);
40140 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40146 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40150 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40151 if (!SWIG_IsOK(ecode5
)) {
40152 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40154 arg5
= static_cast< long >(val5
);
40157 if (!wxPyCheckForApp()) SWIG_fail
;
40158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40159 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40160 wxPyEndAllowThreads(__tstate
);
40161 if (PyErr_Occurred()) SWIG_fail
;
40163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40170 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40173 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40174 return SWIG_Py_Void();
40177 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40178 return SWIG_Python_InitShadowInstance(args
);
40181 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40182 PyObject
*resultobj
= 0;
40183 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40186 PyObject
*swig_obj
[1] ;
40188 if (!args
) SWIG_fail
;
40189 swig_obj
[0] = args
;
40190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40191 if (!SWIG_IsOK(res1
)) {
40192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40194 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40199 wxPyEndAllowThreads(__tstate
);
40200 if (PyErr_Occurred()) SWIG_fail
;
40202 resultobj
= SWIG_Py_Void();
40209 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40210 PyObject
*resultobj
= 0;
40211 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40212 wxHelpProvider
*result
= 0 ;
40214 PyObject
* obj0
= 0 ;
40215 char * kwnames
[] = {
40216 (char *) "helpProvider", NULL
40219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40220 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40221 if (!SWIG_IsOK(res1
)) {
40222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40226 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40227 wxPyEndAllowThreads(__tstate
);
40228 if (PyErr_Occurred()) SWIG_fail
;
40230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40237 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40238 PyObject
*resultobj
= 0;
40239 wxHelpProvider
*result
= 0 ;
40241 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40244 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40245 wxPyEndAllowThreads(__tstate
);
40246 if (PyErr_Occurred()) SWIG_fail
;
40248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40255 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40256 PyObject
*resultobj
= 0;
40257 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40258 wxWindow
*arg2
= (wxWindow
*) 0 ;
40264 PyObject
* obj0
= 0 ;
40265 PyObject
* obj1
= 0 ;
40266 char * kwnames
[] = {
40267 (char *) "self",(char *) "window", NULL
40270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40272 if (!SWIG_IsOK(res1
)) {
40273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40275 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40276 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40277 if (!SWIG_IsOK(res2
)) {
40278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40280 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40283 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40284 wxPyEndAllowThreads(__tstate
);
40285 if (PyErr_Occurred()) SWIG_fail
;
40289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40300 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40301 PyObject
*resultobj
= 0;
40302 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40303 wxWindow
*arg2
= (wxWindow
*) 0 ;
40309 PyObject
* obj0
= 0 ;
40310 PyObject
* obj1
= 0 ;
40311 char * kwnames
[] = {
40312 (char *) "self",(char *) "window", NULL
40315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40317 if (!SWIG_IsOK(res1
)) {
40318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40320 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40321 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40322 if (!SWIG_IsOK(res2
)) {
40323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40325 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40328 result
= (bool)(arg1
)->ShowHelp(arg2
);
40329 wxPyEndAllowThreads(__tstate
);
40330 if (PyErr_Occurred()) SWIG_fail
;
40333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40341 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40342 PyObject
*resultobj
= 0;
40343 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40344 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40345 wxPoint
*arg3
= 0 ;
40346 wxHelpEvent::Origin arg4
;
40355 PyObject
* obj0
= 0 ;
40356 PyObject
* obj1
= 0 ;
40357 PyObject
* obj2
= 0 ;
40358 PyObject
* obj3
= 0 ;
40359 char * kwnames
[] = {
40360 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40365 if (!SWIG_IsOK(res1
)) {
40366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40368 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40370 if (!SWIG_IsOK(res2
)) {
40371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40373 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40376 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40378 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40379 if (!SWIG_IsOK(ecode4
)) {
40380 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40382 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40385 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40386 wxPyEndAllowThreads(__tstate
);
40387 if (PyErr_Occurred()) SWIG_fail
;
40390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40398 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40399 PyObject
*resultobj
= 0;
40400 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40401 wxWindow
*arg2
= (wxWindow
*) 0 ;
40402 wxString
*arg3
= 0 ;
40407 bool temp3
= false ;
40408 PyObject
* obj0
= 0 ;
40409 PyObject
* obj1
= 0 ;
40410 PyObject
* obj2
= 0 ;
40411 char * kwnames
[] = {
40412 (char *) "self",(char *) "window",(char *) "text", NULL
40415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40417 if (!SWIG_IsOK(res1
)) {
40418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40420 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40421 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40422 if (!SWIG_IsOK(res2
)) {
40423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40425 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40427 arg3
= wxString_in_helper(obj2
);
40428 if (arg3
== NULL
) SWIG_fail
;
40432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40433 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40434 wxPyEndAllowThreads(__tstate
);
40435 if (PyErr_Occurred()) SWIG_fail
;
40437 resultobj
= SWIG_Py_Void();
40452 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40453 PyObject
*resultobj
= 0;
40454 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40456 wxString
*arg3
= 0 ;
40461 bool temp3
= false ;
40462 PyObject
* obj0
= 0 ;
40463 PyObject
* obj1
= 0 ;
40464 PyObject
* obj2
= 0 ;
40465 char * kwnames
[] = {
40466 (char *) "self",(char *) "id",(char *) "text", NULL
40469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40471 if (!SWIG_IsOK(res1
)) {
40472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40474 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40476 if (!SWIG_IsOK(ecode2
)) {
40477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40479 arg2
= static_cast< int >(val2
);
40481 arg3
= wxString_in_helper(obj2
);
40482 if (arg3
== NULL
) SWIG_fail
;
40486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40487 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40488 wxPyEndAllowThreads(__tstate
);
40489 if (PyErr_Occurred()) SWIG_fail
;
40491 resultobj
= SWIG_Py_Void();
40506 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40507 PyObject
*resultobj
= 0;
40508 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40509 wxWindow
*arg2
= (wxWindow
*) 0 ;
40514 PyObject
* obj0
= 0 ;
40515 PyObject
* obj1
= 0 ;
40516 char * kwnames
[] = {
40517 (char *) "self",(char *) "window", NULL
40520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40522 if (!SWIG_IsOK(res1
)) {
40523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40525 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40526 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40527 if (!SWIG_IsOK(res2
)) {
40528 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40530 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40533 (arg1
)->RemoveHelp(arg2
);
40534 wxPyEndAllowThreads(__tstate
);
40535 if (PyErr_Occurred()) SWIG_fail
;
40537 resultobj
= SWIG_Py_Void();
40544 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40545 PyObject
*resultobj
= 0;
40546 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40549 PyObject
*swig_obj
[1] ;
40551 if (!args
) SWIG_fail
;
40552 swig_obj
[0] = args
;
40553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40554 if (!SWIG_IsOK(res1
)) {
40555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40557 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40560 wxHelpProvider_Destroy(arg1
);
40561 wxPyEndAllowThreads(__tstate
);
40562 if (PyErr_Occurred()) SWIG_fail
;
40564 resultobj
= SWIG_Py_Void();
40571 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40573 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40574 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40575 return SWIG_Py_Void();
40578 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40579 PyObject
*resultobj
= 0;
40580 wxSimpleHelpProvider
*result
= 0 ;
40582 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40585 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40586 wxPyEndAllowThreads(__tstate
);
40587 if (PyErr_Occurred()) SWIG_fail
;
40589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40596 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40598 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40599 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40600 return SWIG_Py_Void();
40603 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40604 return SWIG_Python_InitShadowInstance(args
);
40607 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40608 PyObject
*resultobj
= 0;
40609 wxBitmap
*arg1
= 0 ;
40610 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40611 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40612 wxGenericDragImage
*result
= 0 ;
40617 PyObject
* obj0
= 0 ;
40618 PyObject
* obj1
= 0 ;
40619 char * kwnames
[] = {
40620 (char *) "image",(char *) "cursor", NULL
40623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40624 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40625 if (!SWIG_IsOK(res1
)) {
40626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40631 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40633 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40634 if (!SWIG_IsOK(res2
)) {
40635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40640 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40643 if (!wxPyCheckForApp()) SWIG_fail
;
40644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40645 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40646 wxPyEndAllowThreads(__tstate
);
40647 if (PyErr_Occurred()) SWIG_fail
;
40649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40656 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40657 PyObject
*resultobj
= 0;
40659 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40660 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40661 wxGenericDragImage
*result
= 0 ;
40666 PyObject
* obj0
= 0 ;
40667 PyObject
* obj1
= 0 ;
40668 char * kwnames
[] = {
40669 (char *) "image",(char *) "cursor", NULL
40672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40673 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40674 if (!SWIG_IsOK(res1
)) {
40675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40680 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40683 if (!SWIG_IsOK(res2
)) {
40684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40689 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40692 if (!wxPyCheckForApp()) SWIG_fail
;
40693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40694 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40695 wxPyEndAllowThreads(__tstate
);
40696 if (PyErr_Occurred()) SWIG_fail
;
40698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40705 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40706 PyObject
*resultobj
= 0;
40707 wxString
*arg1
= 0 ;
40708 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40709 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40710 wxGenericDragImage
*result
= 0 ;
40711 bool temp1
= false ;
40714 PyObject
* obj0
= 0 ;
40715 PyObject
* obj1
= 0 ;
40716 char * kwnames
[] = {
40717 (char *) "str",(char *) "cursor", NULL
40720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40722 arg1
= wxString_in_helper(obj0
);
40723 if (arg1
== NULL
) SWIG_fail
;
40727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40728 if (!SWIG_IsOK(res2
)) {
40729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40734 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40737 if (!wxPyCheckForApp()) SWIG_fail
;
40738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40739 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40740 wxPyEndAllowThreads(__tstate
);
40741 if (PyErr_Occurred()) SWIG_fail
;
40743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40758 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40759 PyObject
*resultobj
= 0;
40760 wxPyTreeCtrl
*arg1
= 0 ;
40761 wxTreeItemId
*arg2
= 0 ;
40762 wxGenericDragImage
*result
= 0 ;
40767 PyObject
* obj0
= 0 ;
40768 PyObject
* obj1
= 0 ;
40769 char * kwnames
[] = {
40770 (char *) "treeCtrl",(char *) "id", NULL
40773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40774 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40775 if (!SWIG_IsOK(res1
)) {
40776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40781 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40783 if (!SWIG_IsOK(res2
)) {
40784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40789 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40791 if (!wxPyCheckForApp()) SWIG_fail
;
40792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40793 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40794 wxPyEndAllowThreads(__tstate
);
40795 if (PyErr_Occurred()) SWIG_fail
;
40797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40804 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40805 PyObject
*resultobj
= 0;
40806 wxPyListCtrl
*arg1
= 0 ;
40808 wxGenericDragImage
*result
= 0 ;
40813 PyObject
* obj0
= 0 ;
40814 PyObject
* obj1
= 0 ;
40815 char * kwnames
[] = {
40816 (char *) "listCtrl",(char *) "id", NULL
40819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40820 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40821 if (!SWIG_IsOK(res1
)) {
40822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40827 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40828 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40829 if (!SWIG_IsOK(ecode2
)) {
40830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40832 arg2
= static_cast< long >(val2
);
40834 if (!wxPyCheckForApp()) SWIG_fail
;
40835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40836 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40837 wxPyEndAllowThreads(__tstate
);
40838 if (PyErr_Occurred()) SWIG_fail
;
40840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40847 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40848 PyObject
*resultobj
= 0;
40849 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40852 PyObject
*swig_obj
[1] ;
40854 if (!args
) SWIG_fail
;
40855 swig_obj
[0] = args
;
40856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40857 if (!SWIG_IsOK(res1
)) {
40858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40860 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40865 wxPyEndAllowThreads(__tstate
);
40866 if (PyErr_Occurred()) SWIG_fail
;
40868 resultobj
= SWIG_Py_Void();
40875 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40876 PyObject
*resultobj
= 0;
40877 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40878 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40883 PyObject
* obj0
= 0 ;
40884 PyObject
* obj1
= 0 ;
40885 char * kwnames
[] = {
40886 (char *) "self",(char *) "bitmap", NULL
40889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40891 if (!SWIG_IsOK(res1
)) {
40892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40894 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40895 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40896 if (!SWIG_IsOK(res2
)) {
40897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40899 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40902 (arg1
)->SetBackingBitmap(arg2
);
40903 wxPyEndAllowThreads(__tstate
);
40904 if (PyErr_Occurred()) SWIG_fail
;
40906 resultobj
= SWIG_Py_Void();
40913 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40914 PyObject
*resultobj
= 0;
40915 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40916 wxPoint
*arg2
= 0 ;
40917 wxWindow
*arg3
= (wxWindow
*) 0 ;
40918 bool arg4
= (bool) false ;
40919 wxRect
*arg5
= (wxRect
*) NULL
;
40930 PyObject
* obj0
= 0 ;
40931 PyObject
* obj1
= 0 ;
40932 PyObject
* obj2
= 0 ;
40933 PyObject
* obj3
= 0 ;
40934 PyObject
* obj4
= 0 ;
40935 char * kwnames
[] = {
40936 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40941 if (!SWIG_IsOK(res1
)) {
40942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40944 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40947 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40949 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40950 if (!SWIG_IsOK(res3
)) {
40951 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40953 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40955 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40956 if (!SWIG_IsOK(ecode4
)) {
40957 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40959 arg4
= static_cast< bool >(val4
);
40962 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40963 if (!SWIG_IsOK(res5
)) {
40964 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40966 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40970 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40971 wxPyEndAllowThreads(__tstate
);
40972 if (PyErr_Occurred()) SWIG_fail
;
40975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40983 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40984 PyObject
*resultobj
= 0;
40985 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40986 wxPoint
*arg2
= 0 ;
40987 wxWindow
*arg3
= (wxWindow
*) 0 ;
40988 wxWindow
*arg4
= (wxWindow
*) 0 ;
40997 PyObject
* obj0
= 0 ;
40998 PyObject
* obj1
= 0 ;
40999 PyObject
* obj2
= 0 ;
41000 PyObject
* obj3
= 0 ;
41001 char * kwnames
[] = {
41002 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41007 if (!SWIG_IsOK(res1
)) {
41008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41010 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41013 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41015 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41016 if (!SWIG_IsOK(res3
)) {
41017 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41019 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41020 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41021 if (!SWIG_IsOK(res4
)) {
41022 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41024 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
41026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41027 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
41028 wxPyEndAllowThreads(__tstate
);
41029 if (PyErr_Occurred()) SWIG_fail
;
41032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41040 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41041 PyObject
*resultobj
= 0;
41042 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41046 PyObject
*swig_obj
[1] ;
41048 if (!args
) SWIG_fail
;
41049 swig_obj
[0] = args
;
41050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41051 if (!SWIG_IsOK(res1
)) {
41052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41054 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41057 result
= (bool)(arg1
)->EndDrag();
41058 wxPyEndAllowThreads(__tstate
);
41059 if (PyErr_Occurred()) SWIG_fail
;
41062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41070 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41071 PyObject
*resultobj
= 0;
41072 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41073 wxPoint
*arg2
= 0 ;
41078 PyObject
* obj0
= 0 ;
41079 PyObject
* obj1
= 0 ;
41080 char * kwnames
[] = {
41081 (char *) "self",(char *) "pt", NULL
41084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41086 if (!SWIG_IsOK(res1
)) {
41087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41089 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41092 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41096 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41097 wxPyEndAllowThreads(__tstate
);
41098 if (PyErr_Occurred()) SWIG_fail
;
41101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41109 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41110 PyObject
*resultobj
= 0;
41111 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41115 PyObject
*swig_obj
[1] ;
41117 if (!args
) SWIG_fail
;
41118 swig_obj
[0] = args
;
41119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41120 if (!SWIG_IsOK(res1
)) {
41121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41123 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41126 result
= (bool)(arg1
)->Show();
41127 wxPyEndAllowThreads(__tstate
);
41128 if (PyErr_Occurred()) SWIG_fail
;
41131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41139 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41140 PyObject
*resultobj
= 0;
41141 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41145 PyObject
*swig_obj
[1] ;
41147 if (!args
) SWIG_fail
;
41148 swig_obj
[0] = args
;
41149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41150 if (!SWIG_IsOK(res1
)) {
41151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41153 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41156 result
= (bool)(arg1
)->Hide();
41157 wxPyEndAllowThreads(__tstate
);
41158 if (PyErr_Occurred()) SWIG_fail
;
41161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41169 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41170 PyObject
*resultobj
= 0;
41171 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41172 wxPoint
*arg2
= 0 ;
41177 PyObject
* obj0
= 0 ;
41178 PyObject
* obj1
= 0 ;
41179 char * kwnames
[] = {
41180 (char *) "self",(char *) "pos", NULL
41183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41185 if (!SWIG_IsOK(res1
)) {
41186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41188 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41191 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41195 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41196 wxPyEndAllowThreads(__tstate
);
41197 if (PyErr_Occurred()) SWIG_fail
;
41199 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41206 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41207 PyObject
*resultobj
= 0;
41208 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41210 wxPoint
*arg3
= 0 ;
41217 PyObject
* obj0
= 0 ;
41218 PyObject
* obj1
= 0 ;
41219 PyObject
* obj2
= 0 ;
41220 char * kwnames
[] = {
41221 (char *) "self",(char *) "dc",(char *) "pos", NULL
41224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41226 if (!SWIG_IsOK(res1
)) {
41227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41229 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41231 if (!SWIG_IsOK(res2
)) {
41232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41237 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41240 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41244 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41245 wxPyEndAllowThreads(__tstate
);
41246 if (PyErr_Occurred()) SWIG_fail
;
41249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41257 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41258 PyObject
*resultobj
= 0;
41259 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41261 wxMemoryDC
*arg3
= 0 ;
41273 PyObject
* obj0
= 0 ;
41274 PyObject
* obj1
= 0 ;
41275 PyObject
* obj2
= 0 ;
41276 PyObject
* obj3
= 0 ;
41277 PyObject
* obj4
= 0 ;
41278 char * kwnames
[] = {
41279 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41284 if (!SWIG_IsOK(res1
)) {
41285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41287 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41288 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41289 if (!SWIG_IsOK(res2
)) {
41290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41295 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41296 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41297 if (!SWIG_IsOK(res3
)) {
41298 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41303 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41306 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41310 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41314 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41315 wxPyEndAllowThreads(__tstate
);
41316 if (PyErr_Occurred()) SWIG_fail
;
41319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41327 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41328 PyObject
*resultobj
= 0;
41329 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41330 wxPoint
*arg2
= 0 ;
41331 wxPoint
*arg3
= 0 ;
41343 PyObject
* obj0
= 0 ;
41344 PyObject
* obj1
= 0 ;
41345 PyObject
* obj2
= 0 ;
41346 PyObject
* obj3
= 0 ;
41347 PyObject
* obj4
= 0 ;
41348 char * kwnames
[] = {
41349 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41354 if (!SWIG_IsOK(res1
)) {
41355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41357 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41360 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41364 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41366 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41367 if (!SWIG_IsOK(ecode4
)) {
41368 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41370 arg4
= static_cast< bool >(val4
);
41371 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41372 if (!SWIG_IsOK(ecode5
)) {
41373 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41375 arg5
= static_cast< bool >(val5
);
41377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41378 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41379 wxPyEndAllowThreads(__tstate
);
41380 if (PyErr_Occurred()) SWIG_fail
;
41383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41391 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41394 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41395 return SWIG_Py_Void();
41398 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41399 return SWIG_Python_InitShadowInstance(args
);
41402 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41403 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41408 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41409 PyObject
*pyobj
= 0;
41413 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41415 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41422 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41423 PyObject
*resultobj
= 0;
41424 wxWindow
*arg1
= (wxWindow
*) 0 ;
41425 int arg2
= (int) -1 ;
41426 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41427 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41428 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41429 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41430 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41431 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41432 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41433 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41434 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41435 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41436 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41437 wxDatePickerCtrl
*result
= 0 ;
41450 bool temp8
= false ;
41451 PyObject
* obj0
= 0 ;
41452 PyObject
* obj1
= 0 ;
41453 PyObject
* obj2
= 0 ;
41454 PyObject
* obj3
= 0 ;
41455 PyObject
* obj4
= 0 ;
41456 PyObject
* obj5
= 0 ;
41457 PyObject
* obj6
= 0 ;
41458 PyObject
* obj7
= 0 ;
41459 char * kwnames
[] = {
41460 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41465 if (!SWIG_IsOK(res1
)) {
41466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41468 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41471 if (!SWIG_IsOK(ecode2
)) {
41472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41474 arg2
= static_cast< int >(val2
);
41477 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41478 if (!SWIG_IsOK(res3
)) {
41479 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41484 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41489 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41495 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41499 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41500 if (!SWIG_IsOK(ecode6
)) {
41501 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41503 arg6
= static_cast< long >(val6
);
41506 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41507 if (!SWIG_IsOK(res7
)) {
41508 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41513 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41517 arg8
= wxString_in_helper(obj7
);
41518 if (arg8
== NULL
) SWIG_fail
;
41523 if (!wxPyCheckForApp()) SWIG_fail
;
41524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41525 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41526 wxPyEndAllowThreads(__tstate
);
41527 if (PyErr_Occurred()) SWIG_fail
;
41529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41544 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41545 PyObject
*resultobj
= 0;
41546 wxDatePickerCtrl
*result
= 0 ;
41548 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41550 if (!wxPyCheckForApp()) SWIG_fail
;
41551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41552 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41553 wxPyEndAllowThreads(__tstate
);
41554 if (PyErr_Occurred()) SWIG_fail
;
41556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41563 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41564 PyObject
*resultobj
= 0;
41565 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41566 wxWindow
*arg2
= (wxWindow
*) 0 ;
41567 int arg3
= (int) -1 ;
41568 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41569 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41570 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41571 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41572 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41573 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41574 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41575 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41576 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41577 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41578 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41594 bool temp9
= false ;
41595 PyObject
* obj0
= 0 ;
41596 PyObject
* obj1
= 0 ;
41597 PyObject
* obj2
= 0 ;
41598 PyObject
* obj3
= 0 ;
41599 PyObject
* obj4
= 0 ;
41600 PyObject
* obj5
= 0 ;
41601 PyObject
* obj6
= 0 ;
41602 PyObject
* obj7
= 0 ;
41603 PyObject
* obj8
= 0 ;
41604 char * kwnames
[] = {
41605 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41610 if (!SWIG_IsOK(res1
)) {
41611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41613 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41614 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41615 if (!SWIG_IsOK(res2
)) {
41616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41618 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41621 if (!SWIG_IsOK(ecode3
)) {
41622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41624 arg3
= static_cast< int >(val3
);
41627 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41628 if (!SWIG_IsOK(res4
)) {
41629 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41634 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41639 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41645 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41649 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41650 if (!SWIG_IsOK(ecode7
)) {
41651 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41653 arg7
= static_cast< long >(val7
);
41656 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41657 if (!SWIG_IsOK(res8
)) {
41658 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41663 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41667 arg9
= wxString_in_helper(obj8
);
41668 if (arg9
== NULL
) SWIG_fail
;
41673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41674 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41675 wxPyEndAllowThreads(__tstate
);
41676 if (PyErr_Occurred()) SWIG_fail
;
41679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41695 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41696 PyObject
*resultobj
= 0;
41697 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41698 wxDateTime
*arg2
= 0 ;
41703 PyObject
* obj0
= 0 ;
41704 PyObject
* obj1
= 0 ;
41705 char * kwnames
[] = {
41706 (char *) "self",(char *) "dt", NULL
41709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41711 if (!SWIG_IsOK(res1
)) {
41712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41714 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41715 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41716 if (!SWIG_IsOK(res2
)) {
41717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41720 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41722 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41725 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41726 wxPyEndAllowThreads(__tstate
);
41727 if (PyErr_Occurred()) SWIG_fail
;
41729 resultobj
= SWIG_Py_Void();
41736 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41737 PyObject
*resultobj
= 0;
41738 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41742 PyObject
*swig_obj
[1] ;
41744 if (!args
) SWIG_fail
;
41745 swig_obj
[0] = args
;
41746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41747 if (!SWIG_IsOK(res1
)) {
41748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41750 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41753 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41754 wxPyEndAllowThreads(__tstate
);
41755 if (PyErr_Occurred()) SWIG_fail
;
41757 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41764 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41765 PyObject
*resultobj
= 0;
41766 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41767 wxDateTime
*arg2
= 0 ;
41768 wxDateTime
*arg3
= 0 ;
41775 PyObject
* obj0
= 0 ;
41776 PyObject
* obj1
= 0 ;
41777 PyObject
* obj2
= 0 ;
41778 char * kwnames
[] = {
41779 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41784 if (!SWIG_IsOK(res1
)) {
41785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41787 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41788 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41789 if (!SWIG_IsOK(res2
)) {
41790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41795 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41796 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41797 if (!SWIG_IsOK(res3
)) {
41798 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41803 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41806 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41807 wxPyEndAllowThreads(__tstate
);
41808 if (PyErr_Occurred()) SWIG_fail
;
41810 resultobj
= SWIG_Py_Void();
41817 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41818 PyObject
*resultobj
= 0;
41819 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41823 PyObject
*swig_obj
[1] ;
41825 if (!args
) SWIG_fail
;
41826 swig_obj
[0] = args
;
41827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41828 if (!SWIG_IsOK(res1
)) {
41829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41831 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41834 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41835 wxPyEndAllowThreads(__tstate
);
41836 if (PyErr_Occurred()) SWIG_fail
;
41838 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41845 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41846 PyObject
*resultobj
= 0;
41847 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41851 PyObject
*swig_obj
[1] ;
41853 if (!args
) SWIG_fail
;
41854 swig_obj
[0] = args
;
41855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41856 if (!SWIG_IsOK(res1
)) {
41857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41859 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41862 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41863 wxPyEndAllowThreads(__tstate
);
41864 if (PyErr_Occurred()) SWIG_fail
;
41866 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41873 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41875 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41876 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41877 return SWIG_Py_Void();
41880 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41881 return SWIG_Python_InitShadowInstance(args
);
41884 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41885 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41890 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41891 PyObject
*pyobj
= 0;
41895 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41897 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41904 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41905 PyObject
*resultobj
= 0;
41906 wxWindow
*arg1
= (wxWindow
*) 0 ;
41908 wxString
*arg3
= 0 ;
41909 wxString
*arg4
= 0 ;
41910 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41911 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41912 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41913 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41914 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41915 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41916 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41917 wxHyperlinkCtrl
*result
= 0 ;
41922 bool temp3
= false ;
41923 bool temp4
= false ;
41928 bool temp8
= false ;
41929 PyObject
* obj0
= 0 ;
41930 PyObject
* obj1
= 0 ;
41931 PyObject
* obj2
= 0 ;
41932 PyObject
* obj3
= 0 ;
41933 PyObject
* obj4
= 0 ;
41934 PyObject
* obj5
= 0 ;
41935 PyObject
* obj6
= 0 ;
41936 PyObject
* obj7
= 0 ;
41937 char * kwnames
[] = {
41938 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41943 if (!SWIG_IsOK(res1
)) {
41944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41946 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41948 if (!SWIG_IsOK(ecode2
)) {
41949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41951 arg2
= static_cast< int >(val2
);
41953 arg3
= wxString_in_helper(obj2
);
41954 if (arg3
== NULL
) SWIG_fail
;
41958 arg4
= wxString_in_helper(obj3
);
41959 if (arg4
== NULL
) SWIG_fail
;
41965 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41971 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41975 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41976 if (!SWIG_IsOK(ecode7
)) {
41977 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41979 arg7
= static_cast< long >(val7
);
41983 arg8
= wxString_in_helper(obj7
);
41984 if (arg8
== NULL
) SWIG_fail
;
41989 if (!wxPyCheckForApp()) SWIG_fail
;
41990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41991 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41992 wxPyEndAllowThreads(__tstate
);
41993 if (PyErr_Occurred()) SWIG_fail
;
41995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
42026 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42027 PyObject
*resultobj
= 0;
42028 wxHyperlinkCtrl
*result
= 0 ;
42030 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
42032 if (!wxPyCheckForApp()) SWIG_fail
;
42033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42034 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
42035 wxPyEndAllowThreads(__tstate
);
42036 if (PyErr_Occurred()) SWIG_fail
;
42038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
42045 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42046 PyObject
*resultobj
= 0;
42047 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42048 wxWindow
*arg2
= (wxWindow
*) 0 ;
42050 wxString
*arg4
= 0 ;
42051 wxString
*arg5
= 0 ;
42052 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42053 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42054 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42055 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42056 long arg8
= (long) wxHL_DEFAULT_STYLE
;
42057 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
42058 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42066 bool temp4
= false ;
42067 bool temp5
= false ;
42072 bool temp9
= false ;
42073 PyObject
* obj0
= 0 ;
42074 PyObject
* obj1
= 0 ;
42075 PyObject
* obj2
= 0 ;
42076 PyObject
* obj3
= 0 ;
42077 PyObject
* obj4
= 0 ;
42078 PyObject
* obj5
= 0 ;
42079 PyObject
* obj6
= 0 ;
42080 PyObject
* obj7
= 0 ;
42081 PyObject
* obj8
= 0 ;
42082 char * kwnames
[] = {
42083 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42088 if (!SWIG_IsOK(res1
)) {
42089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42091 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42092 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42093 if (!SWIG_IsOK(res2
)) {
42094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42096 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42098 if (!SWIG_IsOK(ecode3
)) {
42099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42101 arg3
= static_cast< int >(val3
);
42103 arg4
= wxString_in_helper(obj3
);
42104 if (arg4
== NULL
) SWIG_fail
;
42108 arg5
= wxString_in_helper(obj4
);
42109 if (arg5
== NULL
) SWIG_fail
;
42115 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42121 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42125 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42126 if (!SWIG_IsOK(ecode8
)) {
42127 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42129 arg8
= static_cast< long >(val8
);
42133 arg9
= wxString_in_helper(obj8
);
42134 if (arg9
== NULL
) SWIG_fail
;
42139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42140 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42141 wxPyEndAllowThreads(__tstate
);
42142 if (PyErr_Occurred()) SWIG_fail
;
42145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42177 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42178 PyObject
*resultobj
= 0;
42179 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42183 PyObject
*swig_obj
[1] ;
42185 if (!args
) SWIG_fail
;
42186 swig_obj
[0] = args
;
42187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42188 if (!SWIG_IsOK(res1
)) {
42189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42191 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42194 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42195 wxPyEndAllowThreads(__tstate
);
42196 if (PyErr_Occurred()) SWIG_fail
;
42198 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42205 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42206 PyObject
*resultobj
= 0;
42207 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42208 wxColour
*arg2
= 0 ;
42212 PyObject
* obj0
= 0 ;
42213 PyObject
* obj1
= 0 ;
42214 char * kwnames
[] = {
42215 (char *) "self",(char *) "colour", NULL
42218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42220 if (!SWIG_IsOK(res1
)) {
42221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42223 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42226 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42230 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42231 wxPyEndAllowThreads(__tstate
);
42232 if (PyErr_Occurred()) SWIG_fail
;
42234 resultobj
= SWIG_Py_Void();
42241 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42242 PyObject
*resultobj
= 0;
42243 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42247 PyObject
*swig_obj
[1] ;
42249 if (!args
) SWIG_fail
;
42250 swig_obj
[0] = args
;
42251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42252 if (!SWIG_IsOK(res1
)) {
42253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42255 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42258 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42259 wxPyEndAllowThreads(__tstate
);
42260 if (PyErr_Occurred()) SWIG_fail
;
42262 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42269 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42270 PyObject
*resultobj
= 0;
42271 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42272 wxColour
*arg2
= 0 ;
42276 PyObject
* obj0
= 0 ;
42277 PyObject
* obj1
= 0 ;
42278 char * kwnames
[] = {
42279 (char *) "self",(char *) "colour", NULL
42282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42284 if (!SWIG_IsOK(res1
)) {
42285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42287 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42290 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42294 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42295 wxPyEndAllowThreads(__tstate
);
42296 if (PyErr_Occurred()) SWIG_fail
;
42298 resultobj
= SWIG_Py_Void();
42305 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42306 PyObject
*resultobj
= 0;
42307 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42311 PyObject
*swig_obj
[1] ;
42313 if (!args
) SWIG_fail
;
42314 swig_obj
[0] = args
;
42315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42316 if (!SWIG_IsOK(res1
)) {
42317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42319 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42322 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42323 wxPyEndAllowThreads(__tstate
);
42324 if (PyErr_Occurred()) SWIG_fail
;
42326 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42333 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42334 PyObject
*resultobj
= 0;
42335 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42336 wxColour
*arg2
= 0 ;
42340 PyObject
* obj0
= 0 ;
42341 PyObject
* obj1
= 0 ;
42342 char * kwnames
[] = {
42343 (char *) "self",(char *) "colour", NULL
42346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42348 if (!SWIG_IsOK(res1
)) {
42349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42351 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42354 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42358 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42359 wxPyEndAllowThreads(__tstate
);
42360 if (PyErr_Occurred()) SWIG_fail
;
42362 resultobj
= SWIG_Py_Void();
42369 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42370 PyObject
*resultobj
= 0;
42371 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42375 PyObject
*swig_obj
[1] ;
42377 if (!args
) SWIG_fail
;
42378 swig_obj
[0] = args
;
42379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42380 if (!SWIG_IsOK(res1
)) {
42381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42383 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42386 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42387 wxPyEndAllowThreads(__tstate
);
42388 if (PyErr_Occurred()) SWIG_fail
;
42392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42403 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42404 PyObject
*resultobj
= 0;
42405 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42406 wxString
*arg2
= 0 ;
42409 bool temp2
= false ;
42410 PyObject
* obj0
= 0 ;
42411 PyObject
* obj1
= 0 ;
42412 char * kwnames
[] = {
42413 (char *) "self",(char *) "url", NULL
42416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42418 if (!SWIG_IsOK(res1
)) {
42419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42421 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42423 arg2
= wxString_in_helper(obj1
);
42424 if (arg2
== NULL
) SWIG_fail
;
42428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42429 (arg1
)->SetURL((wxString
const &)*arg2
);
42430 wxPyEndAllowThreads(__tstate
);
42431 if (PyErr_Occurred()) SWIG_fail
;
42433 resultobj
= SWIG_Py_Void();
42448 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42449 PyObject
*resultobj
= 0;
42450 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42451 bool arg2
= (bool) true ;
42456 PyObject
* obj0
= 0 ;
42457 PyObject
* obj1
= 0 ;
42458 char * kwnames
[] = {
42459 (char *) "self",(char *) "visited", NULL
42462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42464 if (!SWIG_IsOK(res1
)) {
42465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42467 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42469 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42470 if (!SWIG_IsOK(ecode2
)) {
42471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42473 arg2
= static_cast< bool >(val2
);
42476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42477 (arg1
)->SetVisited(arg2
);
42478 wxPyEndAllowThreads(__tstate
);
42479 if (PyErr_Occurred()) SWIG_fail
;
42481 resultobj
= SWIG_Py_Void();
42488 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42489 PyObject
*resultobj
= 0;
42490 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42494 PyObject
*swig_obj
[1] ;
42496 if (!args
) SWIG_fail
;
42497 swig_obj
[0] = args
;
42498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42499 if (!SWIG_IsOK(res1
)) {
42500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42502 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42505 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42506 wxPyEndAllowThreads(__tstate
);
42507 if (PyErr_Occurred()) SWIG_fail
;
42510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42518 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42520 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42521 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42522 return SWIG_Py_Void();
42525 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42526 return SWIG_Python_InitShadowInstance(args
);
42529 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42530 PyObject
*resultobj
= 0;
42531 wxObject
*arg1
= (wxObject
*) 0 ;
42533 wxString
*arg3
= 0 ;
42534 wxHyperlinkEvent
*result
= 0 ;
42539 bool temp3
= false ;
42540 PyObject
* obj0
= 0 ;
42541 PyObject
* obj1
= 0 ;
42542 PyObject
* obj2
= 0 ;
42543 char * kwnames
[] = {
42544 (char *) "generator",(char *) "id",(char *) "url", NULL
42547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42549 if (!SWIG_IsOK(res1
)) {
42550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42552 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42554 if (!SWIG_IsOK(ecode2
)) {
42555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42557 arg2
= static_cast< int >(val2
);
42559 arg3
= wxString_in_helper(obj2
);
42560 if (arg3
== NULL
) SWIG_fail
;
42564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42565 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42566 wxPyEndAllowThreads(__tstate
);
42567 if (PyErr_Occurred()) SWIG_fail
;
42569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42584 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42585 PyObject
*resultobj
= 0;
42586 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42590 PyObject
*swig_obj
[1] ;
42592 if (!args
) SWIG_fail
;
42593 swig_obj
[0] = args
;
42594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42595 if (!SWIG_IsOK(res1
)) {
42596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42598 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42601 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42602 wxPyEndAllowThreads(__tstate
);
42603 if (PyErr_Occurred()) SWIG_fail
;
42607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42618 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42619 PyObject
*resultobj
= 0;
42620 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42621 wxString
*arg2
= 0 ;
42624 bool temp2
= false ;
42625 PyObject
* obj0
= 0 ;
42626 PyObject
* obj1
= 0 ;
42627 char * kwnames
[] = {
42628 (char *) "self",(char *) "url", NULL
42631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42633 if (!SWIG_IsOK(res1
)) {
42634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42636 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42638 arg2
= wxString_in_helper(obj1
);
42639 if (arg2
== NULL
) SWIG_fail
;
42643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42644 (arg1
)->SetURL((wxString
const &)*arg2
);
42645 wxPyEndAllowThreads(__tstate
);
42646 if (PyErr_Occurred()) SWIG_fail
;
42648 resultobj
= SWIG_Py_Void();
42663 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42666 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42667 return SWIG_Py_Void();
42670 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42671 return SWIG_Python_InitShadowInstance(args
);
42674 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42675 PyObject
*resultobj
= 0;
42676 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42677 wxWindow
*arg2
= (wxWindow
*) 0 ;
42679 wxString
const &arg4_defvalue
= wxEmptyString
;
42680 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42681 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42682 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42683 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42684 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42685 long arg7
= (long) 0 ;
42686 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42687 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42688 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42689 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42697 bool temp4
= false ;
42704 bool temp9
= false ;
42705 PyObject
* obj0
= 0 ;
42706 PyObject
* obj1
= 0 ;
42707 PyObject
* obj2
= 0 ;
42708 PyObject
* obj3
= 0 ;
42709 PyObject
* obj4
= 0 ;
42710 PyObject
* obj5
= 0 ;
42711 PyObject
* obj6
= 0 ;
42712 PyObject
* obj7
= 0 ;
42713 PyObject
* obj8
= 0 ;
42714 char * kwnames
[] = {
42715 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42720 if (!SWIG_IsOK(res1
)) {
42721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42723 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42724 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42725 if (!SWIG_IsOK(res2
)) {
42726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42728 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42730 if (!SWIG_IsOK(ecode3
)) {
42731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42733 arg3
= static_cast< int >(val3
);
42736 arg4
= wxString_in_helper(obj3
);
42737 if (arg4
== NULL
) SWIG_fail
;
42744 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42750 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42754 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42755 if (!SWIG_IsOK(ecode7
)) {
42756 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42758 arg7
= static_cast< long >(val7
);
42761 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42762 if (!SWIG_IsOK(res8
)) {
42763 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42768 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42772 arg9
= wxString_in_helper(obj8
);
42773 if (arg9
== NULL
) SWIG_fail
;
42778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42779 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42780 wxPyEndAllowThreads(__tstate
);
42781 if (PyErr_Occurred()) SWIG_fail
;
42784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42808 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42809 PyObject
*resultobj
= 0;
42810 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42816 PyObject
* obj0
= 0 ;
42817 PyObject
* obj1
= 0 ;
42818 char * kwnames
[] = {
42819 (char *) "self",(char *) "newmargin", NULL
42822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42824 if (!SWIG_IsOK(res1
)) {
42825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42827 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42829 if (!SWIG_IsOK(ecode2
)) {
42830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42832 arg2
= static_cast< int >(val2
);
42834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42835 (arg1
)->SetInternalMargin(arg2
);
42836 wxPyEndAllowThreads(__tstate
);
42837 if (PyErr_Occurred()) SWIG_fail
;
42839 resultobj
= SWIG_Py_Void();
42846 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42847 PyObject
*resultobj
= 0;
42848 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42852 PyObject
*swig_obj
[1] ;
42854 if (!args
) SWIG_fail
;
42855 swig_obj
[0] = args
;
42856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42857 if (!SWIG_IsOK(res1
)) {
42858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42860 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42863 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42864 wxPyEndAllowThreads(__tstate
);
42865 if (PyErr_Occurred()) SWIG_fail
;
42867 resultobj
= SWIG_From_int(static_cast< int >(result
));
42874 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42875 PyObject
*resultobj
= 0;
42876 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42882 PyObject
* obj0
= 0 ;
42883 PyObject
* obj1
= 0 ;
42884 char * kwnames
[] = {
42885 (char *) "self",(char *) "prop", NULL
42888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42890 if (!SWIG_IsOK(res1
)) {
42891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42893 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42895 if (!SWIG_IsOK(ecode2
)) {
42896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42898 arg2
= static_cast< int >(val2
);
42900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42901 (arg1
)->SetTextCtrlProportion(arg2
);
42902 wxPyEndAllowThreads(__tstate
);
42903 if (PyErr_Occurred()) SWIG_fail
;
42905 resultobj
= SWIG_Py_Void();
42912 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42913 PyObject
*resultobj
= 0;
42914 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42918 PyObject
*swig_obj
[1] ;
42920 if (!args
) SWIG_fail
;
42921 swig_obj
[0] = args
;
42922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42923 if (!SWIG_IsOK(res1
)) {
42924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42926 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42929 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42930 wxPyEndAllowThreads(__tstate
);
42931 if (PyErr_Occurred()) SWIG_fail
;
42933 resultobj
= SWIG_From_int(static_cast< int >(result
));
42940 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42941 PyObject
*resultobj
= 0;
42942 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42948 PyObject
* obj0
= 0 ;
42949 PyObject
* obj1
= 0 ;
42950 char * kwnames
[] = {
42951 (char *) "self",(char *) "prop", NULL
42954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42956 if (!SWIG_IsOK(res1
)) {
42957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42959 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42961 if (!SWIG_IsOK(ecode2
)) {
42962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42964 arg2
= static_cast< int >(val2
);
42966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42967 (arg1
)->SetPickerCtrlProportion(arg2
);
42968 wxPyEndAllowThreads(__tstate
);
42969 if (PyErr_Occurred()) SWIG_fail
;
42971 resultobj
= SWIG_Py_Void();
42978 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42979 PyObject
*resultobj
= 0;
42980 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42984 PyObject
*swig_obj
[1] ;
42986 if (!args
) SWIG_fail
;
42987 swig_obj
[0] = args
;
42988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42989 if (!SWIG_IsOK(res1
)) {
42990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42992 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42995 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42996 wxPyEndAllowThreads(__tstate
);
42997 if (PyErr_Occurred()) SWIG_fail
;
42999 resultobj
= SWIG_From_int(static_cast< int >(result
));
43006 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43007 PyObject
*resultobj
= 0;
43008 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43012 PyObject
*swig_obj
[1] ;
43014 if (!args
) SWIG_fail
;
43015 swig_obj
[0] = args
;
43016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43017 if (!SWIG_IsOK(res1
)) {
43018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43020 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43023 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
43024 wxPyEndAllowThreads(__tstate
);
43025 if (PyErr_Occurred()) SWIG_fail
;
43028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43036 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43037 PyObject
*resultobj
= 0;
43038 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43039 bool arg2
= (bool) true ;
43044 PyObject
* obj0
= 0 ;
43045 PyObject
* obj1
= 0 ;
43046 char * kwnames
[] = {
43047 (char *) "self",(char *) "grow", NULL
43050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43052 if (!SWIG_IsOK(res1
)) {
43053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43055 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43057 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43058 if (!SWIG_IsOK(ecode2
)) {
43059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43061 arg2
= static_cast< bool >(val2
);
43064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43065 (arg1
)->SetTextCtrlGrowable(arg2
);
43066 wxPyEndAllowThreads(__tstate
);
43067 if (PyErr_Occurred()) SWIG_fail
;
43069 resultobj
= SWIG_Py_Void();
43076 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43077 PyObject
*resultobj
= 0;
43078 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43082 PyObject
*swig_obj
[1] ;
43084 if (!args
) SWIG_fail
;
43085 swig_obj
[0] = args
;
43086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43087 if (!SWIG_IsOK(res1
)) {
43088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43090 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43093 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43094 wxPyEndAllowThreads(__tstate
);
43095 if (PyErr_Occurred()) SWIG_fail
;
43098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43106 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43107 PyObject
*resultobj
= 0;
43108 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43109 bool arg2
= (bool) true ;
43114 PyObject
* obj0
= 0 ;
43115 PyObject
* obj1
= 0 ;
43116 char * kwnames
[] = {
43117 (char *) "self",(char *) "grow", NULL
43120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43122 if (!SWIG_IsOK(res1
)) {
43123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43125 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43127 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43128 if (!SWIG_IsOK(ecode2
)) {
43129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43131 arg2
= static_cast< bool >(val2
);
43134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43135 (arg1
)->SetPickerCtrlGrowable(arg2
);
43136 wxPyEndAllowThreads(__tstate
);
43137 if (PyErr_Occurred()) SWIG_fail
;
43139 resultobj
= SWIG_Py_Void();
43146 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43147 PyObject
*resultobj
= 0;
43148 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43152 PyObject
*swig_obj
[1] ;
43154 if (!args
) SWIG_fail
;
43155 swig_obj
[0] = args
;
43156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43157 if (!SWIG_IsOK(res1
)) {
43158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43160 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43163 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43164 wxPyEndAllowThreads(__tstate
);
43165 if (PyErr_Occurred()) SWIG_fail
;
43168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43176 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43177 PyObject
*resultobj
= 0;
43178 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43179 wxTextCtrl
*result
= 0 ;
43182 PyObject
*swig_obj
[1] ;
43184 if (!args
) SWIG_fail
;
43185 swig_obj
[0] = args
;
43186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43187 if (!SWIG_IsOK(res1
)) {
43188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43190 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43193 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43194 wxPyEndAllowThreads(__tstate
);
43195 if (PyErr_Occurred()) SWIG_fail
;
43198 resultobj
= wxPyMake_wxObject(result
, 0);
43206 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43207 PyObject
*resultobj
= 0;
43208 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43209 wxControl
*result
= 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_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43220 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43223 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43224 wxPyEndAllowThreads(__tstate
);
43225 if (PyErr_Occurred()) SWIG_fail
;
43228 resultobj
= wxPyMake_wxObject(result
, 0);
43236 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43238 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43239 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43240 return SWIG_Py_Void();
43243 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43244 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43249 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43250 PyObject
*pyobj
= 0;
43254 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43256 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43263 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43264 PyObject
*resultobj
= 0;
43265 wxWindow
*arg1
= (wxWindow
*) 0 ;
43266 int arg2
= (int) -1 ;
43267 wxColour
const &arg3_defvalue
= *wxBLACK
;
43268 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43269 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43270 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43271 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43272 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43273 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43274 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43275 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43276 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43277 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43278 wxColourPickerCtrl
*result
= 0 ;
43290 bool temp8
= false ;
43291 PyObject
* obj0
= 0 ;
43292 PyObject
* obj1
= 0 ;
43293 PyObject
* obj2
= 0 ;
43294 PyObject
* obj3
= 0 ;
43295 PyObject
* obj4
= 0 ;
43296 PyObject
* obj5
= 0 ;
43297 PyObject
* obj6
= 0 ;
43298 PyObject
* obj7
= 0 ;
43299 char * kwnames
[] = {
43300 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43305 if (!SWIG_IsOK(res1
)) {
43306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43308 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43311 if (!SWIG_IsOK(ecode2
)) {
43312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43314 arg2
= static_cast< int >(val2
);
43319 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43325 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43331 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43335 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43336 if (!SWIG_IsOK(ecode6
)) {
43337 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43339 arg6
= static_cast< long >(val6
);
43342 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43343 if (!SWIG_IsOK(res7
)) {
43344 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43349 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43353 arg8
= wxString_in_helper(obj7
);
43354 if (arg8
== NULL
) SWIG_fail
;
43359 if (!wxPyCheckForApp()) SWIG_fail
;
43360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43361 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43362 wxPyEndAllowThreads(__tstate
);
43363 if (PyErr_Occurred()) SWIG_fail
;
43365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43380 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43381 PyObject
*resultobj
= 0;
43382 wxColourPickerCtrl
*result
= 0 ;
43384 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43386 if (!wxPyCheckForApp()) SWIG_fail
;
43387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43388 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43389 wxPyEndAllowThreads(__tstate
);
43390 if (PyErr_Occurred()) SWIG_fail
;
43392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43399 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43400 PyObject
*resultobj
= 0;
43401 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43402 wxWindow
*arg2
= (wxWindow
*) 0 ;
43404 wxColour
const &arg4_defvalue
= *wxBLACK
;
43405 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43406 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43407 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43408 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43409 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43410 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43411 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43412 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43413 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43414 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43429 bool temp9
= false ;
43430 PyObject
* obj0
= 0 ;
43431 PyObject
* obj1
= 0 ;
43432 PyObject
* obj2
= 0 ;
43433 PyObject
* obj3
= 0 ;
43434 PyObject
* obj4
= 0 ;
43435 PyObject
* obj5
= 0 ;
43436 PyObject
* obj6
= 0 ;
43437 PyObject
* obj7
= 0 ;
43438 PyObject
* obj8
= 0 ;
43439 char * kwnames
[] = {
43440 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43445 if (!SWIG_IsOK(res1
)) {
43446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43448 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43449 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43450 if (!SWIG_IsOK(res2
)) {
43451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43453 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43455 if (!SWIG_IsOK(ecode3
)) {
43456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43458 arg3
= static_cast< int >(val3
);
43462 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43468 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43474 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43478 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43479 if (!SWIG_IsOK(ecode7
)) {
43480 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43482 arg7
= static_cast< long >(val7
);
43485 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43486 if (!SWIG_IsOK(res8
)) {
43487 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43492 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43496 arg9
= wxString_in_helper(obj8
);
43497 if (arg9
== NULL
) SWIG_fail
;
43502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43503 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43504 wxPyEndAllowThreads(__tstate
);
43505 if (PyErr_Occurred()) SWIG_fail
;
43508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43524 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43525 PyObject
*resultobj
= 0;
43526 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43530 PyObject
*swig_obj
[1] ;
43532 if (!args
) SWIG_fail
;
43533 swig_obj
[0] = args
;
43534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43535 if (!SWIG_IsOK(res1
)) {
43536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43538 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43541 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43542 wxPyEndAllowThreads(__tstate
);
43543 if (PyErr_Occurred()) SWIG_fail
;
43545 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43552 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43553 PyObject
*resultobj
= 0;
43554 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43555 wxColour
*arg2
= 0 ;
43559 PyObject
* obj0
= 0 ;
43560 PyObject
* obj1
= 0 ;
43561 char * kwnames
[] = {
43562 (char *) "self",(char *) "col", NULL
43565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43567 if (!SWIG_IsOK(res1
)) {
43568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43570 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43573 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43577 (arg1
)->SetColour((wxColour
const &)*arg2
);
43578 wxPyEndAllowThreads(__tstate
);
43579 if (PyErr_Occurred()) SWIG_fail
;
43581 resultobj
= SWIG_Py_Void();
43588 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43590 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43591 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43592 return SWIG_Py_Void();
43595 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43596 return SWIG_Python_InitShadowInstance(args
);
43599 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43600 PyObject
*resultobj
= 0;
43601 wxObject
*arg1
= (wxObject
*) 0 ;
43603 wxColour
*arg3
= 0 ;
43604 wxColourPickerEvent
*result
= 0 ;
43610 PyObject
* obj0
= 0 ;
43611 PyObject
* obj1
= 0 ;
43612 PyObject
* obj2
= 0 ;
43613 char * kwnames
[] = {
43614 (char *) "generator",(char *) "id",(char *) "col", NULL
43617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43619 if (!SWIG_IsOK(res1
)) {
43620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43622 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43624 if (!SWIG_IsOK(ecode2
)) {
43625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43627 arg2
= static_cast< int >(val2
);
43630 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43634 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43635 wxPyEndAllowThreads(__tstate
);
43636 if (PyErr_Occurred()) SWIG_fail
;
43638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43645 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43646 PyObject
*resultobj
= 0;
43647 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43651 PyObject
*swig_obj
[1] ;
43653 if (!args
) SWIG_fail
;
43654 swig_obj
[0] = args
;
43655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43656 if (!SWIG_IsOK(res1
)) {
43657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43659 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43662 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43663 wxPyEndAllowThreads(__tstate
);
43664 if (PyErr_Occurred()) SWIG_fail
;
43666 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43673 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43674 PyObject
*resultobj
= 0;
43675 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43676 wxColour
*arg2
= 0 ;
43680 PyObject
* obj0
= 0 ;
43681 PyObject
* obj1
= 0 ;
43682 char * kwnames
[] = {
43683 (char *) "self",(char *) "c", NULL
43686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43688 if (!SWIG_IsOK(res1
)) {
43689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43691 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43694 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43698 (arg1
)->SetColour((wxColour
const &)*arg2
);
43699 wxPyEndAllowThreads(__tstate
);
43700 if (PyErr_Occurred()) SWIG_fail
;
43702 resultobj
= SWIG_Py_Void();
43709 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43711 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43712 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43713 return SWIG_Py_Void();
43716 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43717 return SWIG_Python_InitShadowInstance(args
);
43720 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43721 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43726 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43727 PyObject
*pyobj
= 0;
43731 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43733 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43740 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43741 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43746 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43747 PyObject
*pyobj
= 0;
43751 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43753 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43760 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43761 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43766 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43767 PyObject
*pyobj
= 0;
43771 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43773 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43780 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43781 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43786 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43787 PyObject
*pyobj
= 0;
43791 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43793 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43800 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43801 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43806 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43807 PyObject
*pyobj
= 0;
43811 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43813 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43820 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43821 PyObject
*resultobj
= 0;
43822 wxWindow
*arg1
= (wxWindow
*) 0 ;
43823 int arg2
= (int) -1 ;
43824 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43825 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43826 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43827 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43828 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43829 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43830 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43831 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43832 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43833 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43834 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43835 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43836 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43837 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43838 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43839 wxFilePickerCtrl
*result
= 0 ;
43844 bool temp3
= false ;
43845 bool temp4
= false ;
43846 bool temp5
= false ;
43853 bool temp10
= false ;
43854 PyObject
* obj0
= 0 ;
43855 PyObject
* obj1
= 0 ;
43856 PyObject
* obj2
= 0 ;
43857 PyObject
* obj3
= 0 ;
43858 PyObject
* obj4
= 0 ;
43859 PyObject
* obj5
= 0 ;
43860 PyObject
* obj6
= 0 ;
43861 PyObject
* obj7
= 0 ;
43862 PyObject
* obj8
= 0 ;
43863 PyObject
* obj9
= 0 ;
43864 char * kwnames
[] = {
43865 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43870 if (!SWIG_IsOK(res1
)) {
43871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43873 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43876 if (!SWIG_IsOK(ecode2
)) {
43877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43879 arg2
= static_cast< int >(val2
);
43883 arg3
= wxString_in_helper(obj2
);
43884 if (arg3
== NULL
) SWIG_fail
;
43890 arg4
= wxString_in_helper(obj3
);
43891 if (arg4
== NULL
) SWIG_fail
;
43897 arg5
= wxString_in_helper(obj4
);
43898 if (arg5
== NULL
) SWIG_fail
;
43905 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43911 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43915 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43916 if (!SWIG_IsOK(ecode8
)) {
43917 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43919 arg8
= static_cast< long >(val8
);
43922 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43923 if (!SWIG_IsOK(res9
)) {
43924 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43929 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43933 arg10
= wxString_in_helper(obj9
);
43934 if (arg10
== NULL
) SWIG_fail
;
43939 if (!wxPyCheckForApp()) SWIG_fail
;
43940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43941 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
);
43942 wxPyEndAllowThreads(__tstate
);
43943 if (PyErr_Occurred()) SWIG_fail
;
43945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43984 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43985 PyObject
*resultobj
= 0;
43986 wxFilePickerCtrl
*result
= 0 ;
43988 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43990 if (!wxPyCheckForApp()) SWIG_fail
;
43991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43992 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43993 wxPyEndAllowThreads(__tstate
);
43994 if (PyErr_Occurred()) SWIG_fail
;
43996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
44003 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44004 PyObject
*resultobj
= 0;
44005 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44006 wxWindow
*arg2
= (wxWindow
*) 0 ;
44007 int arg3
= (int) -1 ;
44008 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44009 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44010 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
44011 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44012 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44013 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
44014 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
44015 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
44016 wxSize
const &arg8_defvalue
= wxDefaultSize
;
44017 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
44018 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
44019 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
44020 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
44021 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
44022 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
44030 bool temp4
= false ;
44031 bool temp5
= false ;
44032 bool temp6
= false ;
44039 bool temp11
= false ;
44040 PyObject
* obj0
= 0 ;
44041 PyObject
* obj1
= 0 ;
44042 PyObject
* obj2
= 0 ;
44043 PyObject
* obj3
= 0 ;
44044 PyObject
* obj4
= 0 ;
44045 PyObject
* obj5
= 0 ;
44046 PyObject
* obj6
= 0 ;
44047 PyObject
* obj7
= 0 ;
44048 PyObject
* obj8
= 0 ;
44049 PyObject
* obj9
= 0 ;
44050 PyObject
* obj10
= 0 ;
44051 char * kwnames
[] = {
44052 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
44056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44057 if (!SWIG_IsOK(res1
)) {
44058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44060 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44061 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44062 if (!SWIG_IsOK(res2
)) {
44063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44065 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44067 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44068 if (!SWIG_IsOK(ecode3
)) {
44069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44071 arg3
= static_cast< int >(val3
);
44075 arg4
= wxString_in_helper(obj3
);
44076 if (arg4
== NULL
) SWIG_fail
;
44082 arg5
= wxString_in_helper(obj4
);
44083 if (arg5
== NULL
) SWIG_fail
;
44089 arg6
= wxString_in_helper(obj5
);
44090 if (arg6
== NULL
) SWIG_fail
;
44097 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44103 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44107 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44108 if (!SWIG_IsOK(ecode9
)) {
44109 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44111 arg9
= static_cast< long >(val9
);
44114 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44115 if (!SWIG_IsOK(res10
)) {
44116 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44121 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44125 arg11
= wxString_in_helper(obj10
);
44126 if (arg11
== NULL
) SWIG_fail
;
44131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44132 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
);
44133 wxPyEndAllowThreads(__tstate
);
44134 if (PyErr_Occurred()) SWIG_fail
;
44137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44177 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44178 PyObject
*resultobj
= 0;
44179 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44183 PyObject
*swig_obj
[1] ;
44185 if (!args
) SWIG_fail
;
44186 swig_obj
[0] = args
;
44187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44188 if (!SWIG_IsOK(res1
)) {
44189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44191 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44194 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44195 wxPyEndAllowThreads(__tstate
);
44196 if (PyErr_Occurred()) SWIG_fail
;
44200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44211 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44212 PyObject
*resultobj
= 0;
44213 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44214 wxString
*arg2
= 0 ;
44217 bool temp2
= false ;
44218 PyObject
* obj0
= 0 ;
44219 PyObject
* obj1
= 0 ;
44220 char * kwnames
[] = {
44221 (char *) "self",(char *) "str", NULL
44224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44226 if (!SWIG_IsOK(res1
)) {
44227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44229 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44231 arg2
= wxString_in_helper(obj1
);
44232 if (arg2
== NULL
) SWIG_fail
;
44236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44237 (arg1
)->SetPath((wxString
const &)*arg2
);
44238 wxPyEndAllowThreads(__tstate
);
44239 if (PyErr_Occurred()) SWIG_fail
;
44241 resultobj
= SWIG_Py_Void();
44256 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44257 PyObject
*resultobj
= 0;
44258 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44259 wxString
*arg2
= 0 ;
44263 bool temp2
= false ;
44264 PyObject
* obj0
= 0 ;
44265 PyObject
* obj1
= 0 ;
44266 char * kwnames
[] = {
44267 (char *) "self",(char *) "path", NULL
44270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44272 if (!SWIG_IsOK(res1
)) {
44273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44275 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44277 arg2
= wxString_in_helper(obj1
);
44278 if (arg2
== NULL
) SWIG_fail
;
44282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44283 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44284 wxPyEndAllowThreads(__tstate
);
44285 if (PyErr_Occurred()) SWIG_fail
;
44288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44304 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44305 PyObject
*resultobj
= 0;
44306 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44310 PyObject
*swig_obj
[1] ;
44312 if (!args
) SWIG_fail
;
44313 swig_obj
[0] = args
;
44314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44315 if (!SWIG_IsOK(res1
)) {
44316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44318 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44321 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44322 wxPyEndAllowThreads(__tstate
);
44323 if (PyErr_Occurred()) SWIG_fail
;
44327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44338 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44340 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44341 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44342 return SWIG_Py_Void();
44345 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44346 return SWIG_Python_InitShadowInstance(args
);
44349 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44350 PyObject
*resultobj
= 0;
44351 wxWindow
*arg1
= (wxWindow
*) 0 ;
44352 int arg2
= (int) -1 ;
44353 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44354 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44355 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44356 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44357 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44358 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44359 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44360 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44361 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44362 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44363 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44364 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44365 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44366 wxDirPickerCtrl
*result
= 0 ;
44371 bool temp3
= false ;
44372 bool temp4
= false ;
44379 bool temp9
= false ;
44380 PyObject
* obj0
= 0 ;
44381 PyObject
* obj1
= 0 ;
44382 PyObject
* obj2
= 0 ;
44383 PyObject
* obj3
= 0 ;
44384 PyObject
* obj4
= 0 ;
44385 PyObject
* obj5
= 0 ;
44386 PyObject
* obj6
= 0 ;
44387 PyObject
* obj7
= 0 ;
44388 PyObject
* obj8
= 0 ;
44389 char * kwnames
[] = {
44390 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44395 if (!SWIG_IsOK(res1
)) {
44396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44398 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44401 if (!SWIG_IsOK(ecode2
)) {
44402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44404 arg2
= static_cast< int >(val2
);
44408 arg3
= wxString_in_helper(obj2
);
44409 if (arg3
== NULL
) SWIG_fail
;
44415 arg4
= wxString_in_helper(obj3
);
44416 if (arg4
== NULL
) SWIG_fail
;
44423 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44429 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44433 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44434 if (!SWIG_IsOK(ecode7
)) {
44435 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44437 arg7
= static_cast< long >(val7
);
44440 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44441 if (!SWIG_IsOK(res8
)) {
44442 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44447 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44451 arg9
= wxString_in_helper(obj8
);
44452 if (arg9
== NULL
) SWIG_fail
;
44457 if (!wxPyCheckForApp()) SWIG_fail
;
44458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44459 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
);
44460 wxPyEndAllowThreads(__tstate
);
44461 if (PyErr_Occurred()) SWIG_fail
;
44463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44494 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44495 PyObject
*resultobj
= 0;
44496 wxDirPickerCtrl
*result
= 0 ;
44498 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44500 if (!wxPyCheckForApp()) SWIG_fail
;
44501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44502 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44503 wxPyEndAllowThreads(__tstate
);
44504 if (PyErr_Occurred()) SWIG_fail
;
44506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44513 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44514 PyObject
*resultobj
= 0;
44515 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44516 wxWindow
*arg2
= (wxWindow
*) 0 ;
44517 int arg3
= (int) -1 ;
44518 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44519 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44520 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44521 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44522 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44523 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44524 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44525 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44526 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44527 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44528 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44529 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44530 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44538 bool temp4
= false ;
44539 bool temp5
= false ;
44546 bool temp10
= false ;
44547 PyObject
* obj0
= 0 ;
44548 PyObject
* obj1
= 0 ;
44549 PyObject
* obj2
= 0 ;
44550 PyObject
* obj3
= 0 ;
44551 PyObject
* obj4
= 0 ;
44552 PyObject
* obj5
= 0 ;
44553 PyObject
* obj6
= 0 ;
44554 PyObject
* obj7
= 0 ;
44555 PyObject
* obj8
= 0 ;
44556 PyObject
* obj9
= 0 ;
44557 char * kwnames
[] = {
44558 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44563 if (!SWIG_IsOK(res1
)) {
44564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44566 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44568 if (!SWIG_IsOK(res2
)) {
44569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44571 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44574 if (!SWIG_IsOK(ecode3
)) {
44575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44577 arg3
= static_cast< int >(val3
);
44581 arg4
= wxString_in_helper(obj3
);
44582 if (arg4
== NULL
) SWIG_fail
;
44588 arg5
= wxString_in_helper(obj4
);
44589 if (arg5
== NULL
) SWIG_fail
;
44596 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44602 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44606 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44607 if (!SWIG_IsOK(ecode8
)) {
44608 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44610 arg8
= static_cast< long >(val8
);
44613 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44614 if (!SWIG_IsOK(res9
)) {
44615 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44620 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44624 arg10
= wxString_in_helper(obj9
);
44625 if (arg10
== NULL
) SWIG_fail
;
44630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44631 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
);
44632 wxPyEndAllowThreads(__tstate
);
44633 if (PyErr_Occurred()) SWIG_fail
;
44636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44668 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44669 PyObject
*resultobj
= 0;
44670 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44674 PyObject
*swig_obj
[1] ;
44676 if (!args
) SWIG_fail
;
44677 swig_obj
[0] = args
;
44678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44679 if (!SWIG_IsOK(res1
)) {
44680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44682 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44685 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44686 wxPyEndAllowThreads(__tstate
);
44687 if (PyErr_Occurred()) SWIG_fail
;
44691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44702 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44703 PyObject
*resultobj
= 0;
44704 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44705 wxString
*arg2
= 0 ;
44708 bool temp2
= false ;
44709 PyObject
* obj0
= 0 ;
44710 PyObject
* obj1
= 0 ;
44711 char * kwnames
[] = {
44712 (char *) "self",(char *) "str", NULL
44715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44717 if (!SWIG_IsOK(res1
)) {
44718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44720 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44722 arg2
= wxString_in_helper(obj1
);
44723 if (arg2
== NULL
) SWIG_fail
;
44727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44728 (arg1
)->SetPath((wxString
const &)*arg2
);
44729 wxPyEndAllowThreads(__tstate
);
44730 if (PyErr_Occurred()) SWIG_fail
;
44732 resultobj
= SWIG_Py_Void();
44747 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44748 PyObject
*resultobj
= 0;
44749 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44750 wxString
*arg2
= 0 ;
44754 bool temp2
= false ;
44755 PyObject
* obj0
= 0 ;
44756 PyObject
* obj1
= 0 ;
44757 char * kwnames
[] = {
44758 (char *) "self",(char *) "path", NULL
44761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44763 if (!SWIG_IsOK(res1
)) {
44764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44766 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44768 arg2
= wxString_in_helper(obj1
);
44769 if (arg2
== NULL
) SWIG_fail
;
44773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44774 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44775 wxPyEndAllowThreads(__tstate
);
44776 if (PyErr_Occurred()) SWIG_fail
;
44779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44795 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44796 PyObject
*resultobj
= 0;
44797 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44801 PyObject
*swig_obj
[1] ;
44803 if (!args
) SWIG_fail
;
44804 swig_obj
[0] = args
;
44805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44806 if (!SWIG_IsOK(res1
)) {
44807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44809 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44812 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44813 wxPyEndAllowThreads(__tstate
);
44814 if (PyErr_Occurred()) SWIG_fail
;
44818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44829 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44831 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44832 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44833 return SWIG_Py_Void();
44836 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44837 return SWIG_Python_InitShadowInstance(args
);
44840 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44841 PyObject
*resultobj
= 0;
44843 wxObject
*arg2
= (wxObject
*) 0 ;
44845 wxString
*arg4
= 0 ;
44846 wxFileDirPickerEvent
*result
= 0 ;
44853 bool temp4
= false ;
44854 PyObject
* obj0
= 0 ;
44855 PyObject
* obj1
= 0 ;
44856 PyObject
* obj2
= 0 ;
44857 PyObject
* obj3
= 0 ;
44858 char * kwnames
[] = {
44859 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44863 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44864 if (!SWIG_IsOK(ecode1
)) {
44865 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44867 arg1
= static_cast< wxEventType
>(val1
);
44868 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44869 if (!SWIG_IsOK(res2
)) {
44870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44872 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44874 if (!SWIG_IsOK(ecode3
)) {
44875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44877 arg3
= static_cast< int >(val3
);
44879 arg4
= wxString_in_helper(obj3
);
44880 if (arg4
== NULL
) SWIG_fail
;
44884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44885 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44886 wxPyEndAllowThreads(__tstate
);
44887 if (PyErr_Occurred()) SWIG_fail
;
44889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44904 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44905 PyObject
*resultobj
= 0;
44906 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44910 PyObject
*swig_obj
[1] ;
44912 if (!args
) SWIG_fail
;
44913 swig_obj
[0] = args
;
44914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44915 if (!SWIG_IsOK(res1
)) {
44916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44918 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44921 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44922 wxPyEndAllowThreads(__tstate
);
44923 if (PyErr_Occurred()) SWIG_fail
;
44927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44938 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44939 PyObject
*resultobj
= 0;
44940 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44941 wxString
*arg2
= 0 ;
44944 bool temp2
= false ;
44945 PyObject
* obj0
= 0 ;
44946 PyObject
* obj1
= 0 ;
44947 char * kwnames
[] = {
44948 (char *) "self",(char *) "p", NULL
44951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44953 if (!SWIG_IsOK(res1
)) {
44954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44956 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44958 arg2
= wxString_in_helper(obj1
);
44959 if (arg2
== NULL
) SWIG_fail
;
44963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44964 (arg1
)->SetPath((wxString
const &)*arg2
);
44965 wxPyEndAllowThreads(__tstate
);
44966 if (PyErr_Occurred()) SWIG_fail
;
44968 resultobj
= SWIG_Py_Void();
44983 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44986 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44987 return SWIG_Py_Void();
44990 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44991 return SWIG_Python_InitShadowInstance(args
);
44994 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44995 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
45000 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
45001 PyObject
*pyobj
= 0;
45005 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45007 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45014 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45015 PyObject
*resultobj
= 0;
45016 wxWindow
*arg1
= (wxWindow
*) 0 ;
45017 int arg2
= (int) -1 ;
45018 wxFont
const &arg3_defvalue
= wxNullFont
;
45019 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
45020 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45021 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45022 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45023 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45024 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
45025 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45026 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45027 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
45028 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45029 wxFontPickerCtrl
*result
= 0 ;
45042 bool temp8
= false ;
45043 PyObject
* obj0
= 0 ;
45044 PyObject
* obj1
= 0 ;
45045 PyObject
* obj2
= 0 ;
45046 PyObject
* obj3
= 0 ;
45047 PyObject
* obj4
= 0 ;
45048 PyObject
* obj5
= 0 ;
45049 PyObject
* obj6
= 0 ;
45050 PyObject
* obj7
= 0 ;
45051 char * kwnames
[] = {
45052 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45057 if (!SWIG_IsOK(res1
)) {
45058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45060 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45063 if (!SWIG_IsOK(ecode2
)) {
45064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45066 arg2
= static_cast< int >(val2
);
45069 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45070 if (!SWIG_IsOK(res3
)) {
45071 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45076 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45081 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45087 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45091 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45092 if (!SWIG_IsOK(ecode6
)) {
45093 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45095 arg6
= static_cast< long >(val6
);
45098 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45099 if (!SWIG_IsOK(res7
)) {
45100 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45105 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45109 arg8
= wxString_in_helper(obj7
);
45110 if (arg8
== NULL
) SWIG_fail
;
45115 if (!wxPyCheckForApp()) SWIG_fail
;
45116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45117 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45118 wxPyEndAllowThreads(__tstate
);
45119 if (PyErr_Occurred()) SWIG_fail
;
45121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45136 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45137 PyObject
*resultobj
= 0;
45138 wxFontPickerCtrl
*result
= 0 ;
45140 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45142 if (!wxPyCheckForApp()) SWIG_fail
;
45143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45144 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45145 wxPyEndAllowThreads(__tstate
);
45146 if (PyErr_Occurred()) SWIG_fail
;
45148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45155 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45156 PyObject
*resultobj
= 0;
45157 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45158 wxWindow
*arg2
= (wxWindow
*) 0 ;
45159 int arg3
= (int) -1 ;
45160 wxFont
const &arg4_defvalue
= wxNullFont
;
45161 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45162 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45163 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45164 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45165 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45166 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45167 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45168 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45169 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45170 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45186 bool temp9
= false ;
45187 PyObject
* obj0
= 0 ;
45188 PyObject
* obj1
= 0 ;
45189 PyObject
* obj2
= 0 ;
45190 PyObject
* obj3
= 0 ;
45191 PyObject
* obj4
= 0 ;
45192 PyObject
* obj5
= 0 ;
45193 PyObject
* obj6
= 0 ;
45194 PyObject
* obj7
= 0 ;
45195 PyObject
* obj8
= 0 ;
45196 char * kwnames
[] = {
45197 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45202 if (!SWIG_IsOK(res1
)) {
45203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45205 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45207 if (!SWIG_IsOK(res2
)) {
45208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45210 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45213 if (!SWIG_IsOK(ecode3
)) {
45214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45216 arg3
= static_cast< int >(val3
);
45219 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45220 if (!SWIG_IsOK(res4
)) {
45221 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45226 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45231 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45237 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45241 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45242 if (!SWIG_IsOK(ecode7
)) {
45243 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45245 arg7
= static_cast< long >(val7
);
45248 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45249 if (!SWIG_IsOK(res8
)) {
45250 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45255 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45259 arg9
= wxString_in_helper(obj8
);
45260 if (arg9
== NULL
) SWIG_fail
;
45265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45266 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45267 wxPyEndAllowThreads(__tstate
);
45268 if (PyErr_Occurred()) SWIG_fail
;
45271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45287 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45288 PyObject
*resultobj
= 0;
45289 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45293 PyObject
*swig_obj
[1] ;
45295 if (!args
) SWIG_fail
;
45296 swig_obj
[0] = args
;
45297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45298 if (!SWIG_IsOK(res1
)) {
45299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45301 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45304 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45305 wxPyEndAllowThreads(__tstate
);
45306 if (PyErr_Occurred()) SWIG_fail
;
45308 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45315 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45316 PyObject
*resultobj
= 0;
45317 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45323 PyObject
* obj0
= 0 ;
45324 PyObject
* obj1
= 0 ;
45325 char * kwnames
[] = {
45326 (char *) "self",(char *) "f", NULL
45329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45331 if (!SWIG_IsOK(res1
)) {
45332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45334 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45336 if (!SWIG_IsOK(res2
)) {
45337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45342 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45345 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45346 wxPyEndAllowThreads(__tstate
);
45347 if (PyErr_Occurred()) SWIG_fail
;
45349 resultobj
= SWIG_Py_Void();
45356 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45357 PyObject
*resultobj
= 0;
45358 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45359 unsigned int arg2
;
45362 unsigned int val2
;
45364 PyObject
* obj0
= 0 ;
45365 PyObject
* obj1
= 0 ;
45366 char * kwnames
[] = {
45367 (char *) "self",(char *) "max", NULL
45370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45372 if (!SWIG_IsOK(res1
)) {
45373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45375 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45376 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45377 if (!SWIG_IsOK(ecode2
)) {
45378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45380 arg2
= static_cast< unsigned int >(val2
);
45382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45383 (arg1
)->SetMaxPointSize(arg2
);
45384 wxPyEndAllowThreads(__tstate
);
45385 if (PyErr_Occurred()) SWIG_fail
;
45387 resultobj
= SWIG_Py_Void();
45394 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45395 PyObject
*resultobj
= 0;
45396 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45397 unsigned int result
;
45400 PyObject
*swig_obj
[1] ;
45402 if (!args
) SWIG_fail
;
45403 swig_obj
[0] = args
;
45404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45405 if (!SWIG_IsOK(res1
)) {
45406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45408 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45411 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45412 wxPyEndAllowThreads(__tstate
);
45413 if (PyErr_Occurred()) SWIG_fail
;
45415 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45422 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45425 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45426 return SWIG_Py_Void();
45429 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45430 return SWIG_Python_InitShadowInstance(args
);
45433 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45434 PyObject
*resultobj
= 0;
45435 wxObject
*arg1
= (wxObject
*) 0 ;
45438 wxFontPickerEvent
*result
= 0 ;
45445 PyObject
* obj0
= 0 ;
45446 PyObject
* obj1
= 0 ;
45447 PyObject
* obj2
= 0 ;
45448 char * kwnames
[] = {
45449 (char *) "generator",(char *) "id",(char *) "f", NULL
45452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45454 if (!SWIG_IsOK(res1
)) {
45455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45457 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45459 if (!SWIG_IsOK(ecode2
)) {
45460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45462 arg2
= static_cast< int >(val2
);
45463 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45464 if (!SWIG_IsOK(res3
)) {
45465 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45470 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45473 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45474 wxPyEndAllowThreads(__tstate
);
45475 if (PyErr_Occurred()) SWIG_fail
;
45477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45484 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45485 PyObject
*resultobj
= 0;
45486 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45490 PyObject
*swig_obj
[1] ;
45492 if (!args
) SWIG_fail
;
45493 swig_obj
[0] = args
;
45494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45495 if (!SWIG_IsOK(res1
)) {
45496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45498 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45501 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45502 wxPyEndAllowThreads(__tstate
);
45503 if (PyErr_Occurred()) SWIG_fail
;
45505 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45512 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45513 PyObject
*resultobj
= 0;
45514 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45520 PyObject
* obj0
= 0 ;
45521 PyObject
* obj1
= 0 ;
45522 char * kwnames
[] = {
45523 (char *) "self",(char *) "c", NULL
45526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45528 if (!SWIG_IsOK(res1
)) {
45529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45531 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45532 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45533 if (!SWIG_IsOK(res2
)) {
45534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45539 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45542 (arg1
)->SetFont((wxFont
const &)*arg2
);
45543 wxPyEndAllowThreads(__tstate
);
45544 if (PyErr_Occurred()) SWIG_fail
;
45546 resultobj
= SWIG_Py_Void();
45553 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45555 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45556 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45557 return SWIG_Py_Void();
45560 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45561 return SWIG_Python_InitShadowInstance(args
);
45564 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45565 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45570 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45571 PyObject
*pyobj
= 0;
45575 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45577 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45584 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45585 PyObject
*resultobj
= 0;
45586 wxWindow
*arg1
= (wxWindow
*) 0 ;
45587 int arg2
= (int) -1 ;
45588 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45589 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45590 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45591 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45592 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45593 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45594 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45595 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45596 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45597 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45598 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45599 wxCollapsiblePane
*result
= 0 ;
45604 bool temp3
= false ;
45611 bool temp8
= false ;
45612 PyObject
* obj0
= 0 ;
45613 PyObject
* obj1
= 0 ;
45614 PyObject
* obj2
= 0 ;
45615 PyObject
* obj3
= 0 ;
45616 PyObject
* obj4
= 0 ;
45617 PyObject
* obj5
= 0 ;
45618 PyObject
* obj6
= 0 ;
45619 PyObject
* obj7
= 0 ;
45620 char * kwnames
[] = {
45621 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45626 if (!SWIG_IsOK(res1
)) {
45627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45629 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45632 if (!SWIG_IsOK(ecode2
)) {
45633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45635 arg2
= static_cast< int >(val2
);
45639 arg3
= wxString_in_helper(obj2
);
45640 if (arg3
== NULL
) SWIG_fail
;
45647 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45653 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45657 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45658 if (!SWIG_IsOK(ecode6
)) {
45659 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45661 arg6
= static_cast< long >(val6
);
45664 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45665 if (!SWIG_IsOK(res7
)) {
45666 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45671 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45675 arg8
= wxString_in_helper(obj7
);
45676 if (arg8
== NULL
) SWIG_fail
;
45681 if (!wxPyCheckForApp()) SWIG_fail
;
45682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45683 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45684 wxPyEndAllowThreads(__tstate
);
45685 if (PyErr_Occurred()) SWIG_fail
;
45687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45710 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45711 PyObject
*resultobj
= 0;
45712 wxCollapsiblePane
*result
= 0 ;
45714 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45716 if (!wxPyCheckForApp()) SWIG_fail
;
45717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45718 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45719 wxPyEndAllowThreads(__tstate
);
45720 if (PyErr_Occurred()) SWIG_fail
;
45722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45729 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45730 PyObject
*resultobj
= 0;
45731 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45732 wxWindow
*arg2
= (wxWindow
*) 0 ;
45733 int arg3
= (int) -1 ;
45734 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45735 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45736 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45737 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45738 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45739 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45740 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45741 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45742 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45743 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45744 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45752 bool temp4
= false ;
45759 bool temp9
= false ;
45760 PyObject
* obj0
= 0 ;
45761 PyObject
* obj1
= 0 ;
45762 PyObject
* obj2
= 0 ;
45763 PyObject
* obj3
= 0 ;
45764 PyObject
* obj4
= 0 ;
45765 PyObject
* obj5
= 0 ;
45766 PyObject
* obj6
= 0 ;
45767 PyObject
* obj7
= 0 ;
45768 PyObject
* obj8
= 0 ;
45769 char * kwnames
[] = {
45770 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45775 if (!SWIG_IsOK(res1
)) {
45776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45778 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45779 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45780 if (!SWIG_IsOK(res2
)) {
45781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45783 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45786 if (!SWIG_IsOK(ecode3
)) {
45787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45789 arg3
= static_cast< int >(val3
);
45793 arg4
= wxString_in_helper(obj3
);
45794 if (arg4
== NULL
) SWIG_fail
;
45801 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45807 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45811 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45812 if (!SWIG_IsOK(ecode7
)) {
45813 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45815 arg7
= static_cast< long >(val7
);
45818 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45819 if (!SWIG_IsOK(res8
)) {
45820 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45823 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45825 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45829 arg9
= wxString_in_helper(obj8
);
45830 if (arg9
== NULL
) SWIG_fail
;
45835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45836 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45837 wxPyEndAllowThreads(__tstate
);
45838 if (PyErr_Occurred()) SWIG_fail
;
45841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45865 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45866 PyObject
*resultobj
= 0;
45867 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45868 bool arg2
= (bool) true ;
45873 PyObject
* obj0
= 0 ;
45874 PyObject
* obj1
= 0 ;
45875 char * kwnames
[] = {
45876 (char *) "self",(char *) "collapse", NULL
45879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45881 if (!SWIG_IsOK(res1
)) {
45882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45884 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45886 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45887 if (!SWIG_IsOK(ecode2
)) {
45888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45890 arg2
= static_cast< bool >(val2
);
45893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45894 (arg1
)->Collapse(arg2
);
45895 wxPyEndAllowThreads(__tstate
);
45896 if (PyErr_Occurred()) SWIG_fail
;
45898 resultobj
= SWIG_Py_Void();
45905 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45906 PyObject
*resultobj
= 0;
45907 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45910 PyObject
*swig_obj
[1] ;
45912 if (!args
) SWIG_fail
;
45913 swig_obj
[0] = args
;
45914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45915 if (!SWIG_IsOK(res1
)) {
45916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45918 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45922 wxPyEndAllowThreads(__tstate
);
45923 if (PyErr_Occurred()) SWIG_fail
;
45925 resultobj
= SWIG_Py_Void();
45932 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45933 PyObject
*resultobj
= 0;
45934 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45938 PyObject
*swig_obj
[1] ;
45940 if (!args
) SWIG_fail
;
45941 swig_obj
[0] = args
;
45942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45943 if (!SWIG_IsOK(res1
)) {
45944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45946 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45949 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
45950 wxPyEndAllowThreads(__tstate
);
45951 if (PyErr_Occurred()) SWIG_fail
;
45954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45962 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45963 PyObject
*resultobj
= 0;
45964 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45968 PyObject
*swig_obj
[1] ;
45970 if (!args
) SWIG_fail
;
45971 swig_obj
[0] = args
;
45972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45973 if (!SWIG_IsOK(res1
)) {
45974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45976 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45979 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
45980 wxPyEndAllowThreads(__tstate
);
45981 if (PyErr_Occurred()) SWIG_fail
;
45984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45992 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45993 PyObject
*resultobj
= 0;
45994 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45995 wxWindow
*result
= 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_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46006 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46009 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
46010 wxPyEndAllowThreads(__tstate
);
46011 if (PyErr_Occurred()) SWIG_fail
;
46014 resultobj
= wxPyMake_wxObject(result
, 0);
46022 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46025 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
46026 return SWIG_Py_Void();
46029 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46030 return SWIG_Python_InitShadowInstance(args
);
46033 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46034 PyObject
*resultobj
= 0;
46035 wxObject
*arg1
= (wxObject
*) 0 ;
46038 wxCollapsiblePaneEvent
*result
= 0 ;
46045 PyObject
* obj0
= 0 ;
46046 PyObject
* obj1
= 0 ;
46047 PyObject
* obj2
= 0 ;
46048 char * kwnames
[] = {
46049 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
46054 if (!SWIG_IsOK(res1
)) {
46055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46057 arg1
= reinterpret_cast< wxObject
* >(argp1
);
46058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46059 if (!SWIG_IsOK(ecode2
)) {
46060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46062 arg2
= static_cast< int >(val2
);
46063 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46064 if (!SWIG_IsOK(ecode3
)) {
46065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46067 arg3
= static_cast< bool >(val3
);
46069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46070 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
46071 wxPyEndAllowThreads(__tstate
);
46072 if (PyErr_Occurred()) SWIG_fail
;
46074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
46081 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46082 PyObject
*resultobj
= 0;
46083 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46087 PyObject
*swig_obj
[1] ;
46089 if (!args
) SWIG_fail
;
46090 swig_obj
[0] = args
;
46091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46092 if (!SWIG_IsOK(res1
)) {
46093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46095 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46098 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
46099 wxPyEndAllowThreads(__tstate
);
46100 if (PyErr_Occurred()) SWIG_fail
;
46103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46111 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46112 PyObject
*resultobj
= 0;
46113 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46119 PyObject
* obj0
= 0 ;
46120 PyObject
* obj1
= 0 ;
46121 char * kwnames
[] = {
46122 (char *) "self",(char *) "c", NULL
46125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46127 if (!SWIG_IsOK(res1
)) {
46128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46130 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46131 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46132 if (!SWIG_IsOK(ecode2
)) {
46133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46135 arg2
= static_cast< bool >(val2
);
46137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46138 (arg1
)->SetCollapsed(arg2
);
46139 wxPyEndAllowThreads(__tstate
);
46140 if (PyErr_Occurred()) SWIG_fail
;
46142 resultobj
= SWIG_Py_Void();
46149 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46151 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46152 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46153 return SWIG_Py_Void();
46156 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46157 return SWIG_Python_InitShadowInstance(args
);
46160 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
46161 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
46166 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
46167 PyObject
*pyobj
= 0;
46171 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46173 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46180 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46181 PyObject
*resultobj
= 0;
46182 wxWindow
*arg1
= (wxWindow
*) 0 ;
46183 int arg2
= (int) -1 ;
46184 wxString
const &arg3_defvalue
= wxEmptyString
;
46185 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46186 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46187 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46188 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46189 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46190 long arg6
= (long) 0 ;
46191 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46192 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46193 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46194 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46195 wxSearchCtrl
*result
= 0 ;
46200 bool temp3
= false ;
46207 bool temp8
= false ;
46208 PyObject
* obj0
= 0 ;
46209 PyObject
* obj1
= 0 ;
46210 PyObject
* obj2
= 0 ;
46211 PyObject
* obj3
= 0 ;
46212 PyObject
* obj4
= 0 ;
46213 PyObject
* obj5
= 0 ;
46214 PyObject
* obj6
= 0 ;
46215 PyObject
* obj7
= 0 ;
46216 char * kwnames
[] = {
46217 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46222 if (!SWIG_IsOK(res1
)) {
46223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46225 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46228 if (!SWIG_IsOK(ecode2
)) {
46229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46231 arg2
= static_cast< int >(val2
);
46235 arg3
= wxString_in_helper(obj2
);
46236 if (arg3
== NULL
) SWIG_fail
;
46243 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46249 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46253 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46254 if (!SWIG_IsOK(ecode6
)) {
46255 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46257 arg6
= static_cast< long >(val6
);
46260 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46261 if (!SWIG_IsOK(res7
)) {
46262 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46267 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46271 arg8
= wxString_in_helper(obj7
);
46272 if (arg8
== NULL
) SWIG_fail
;
46277 if (!wxPyCheckForApp()) SWIG_fail
;
46278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46279 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46280 wxPyEndAllowThreads(__tstate
);
46281 if (PyErr_Occurred()) SWIG_fail
;
46283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46306 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46307 PyObject
*resultobj
= 0;
46308 wxSearchCtrl
*result
= 0 ;
46310 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46312 if (!wxPyCheckForApp()) SWIG_fail
;
46313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46314 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46315 wxPyEndAllowThreads(__tstate
);
46316 if (PyErr_Occurred()) SWIG_fail
;
46318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46325 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46326 PyObject
*resultobj
= 0;
46327 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46328 wxWindow
*arg2
= (wxWindow
*) 0 ;
46329 int arg3
= (int) -1 ;
46330 wxString
const &arg4_defvalue
= wxEmptyString
;
46331 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46332 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46333 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46334 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46335 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46336 long arg7
= (long) 0 ;
46337 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46338 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46339 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46340 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46348 bool temp4
= false ;
46355 bool temp9
= false ;
46356 PyObject
* obj0
= 0 ;
46357 PyObject
* obj1
= 0 ;
46358 PyObject
* obj2
= 0 ;
46359 PyObject
* obj3
= 0 ;
46360 PyObject
* obj4
= 0 ;
46361 PyObject
* obj5
= 0 ;
46362 PyObject
* obj6
= 0 ;
46363 PyObject
* obj7
= 0 ;
46364 PyObject
* obj8
= 0 ;
46365 char * kwnames
[] = {
46366 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46371 if (!SWIG_IsOK(res1
)) {
46372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46374 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46375 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46376 if (!SWIG_IsOK(res2
)) {
46377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46379 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46382 if (!SWIG_IsOK(ecode3
)) {
46383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46385 arg3
= static_cast< int >(val3
);
46389 arg4
= wxString_in_helper(obj3
);
46390 if (arg4
== NULL
) SWIG_fail
;
46397 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46403 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46407 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46408 if (!SWIG_IsOK(ecode7
)) {
46409 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46411 arg7
= static_cast< long >(val7
);
46414 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46415 if (!SWIG_IsOK(res8
)) {
46416 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46421 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46425 arg9
= wxString_in_helper(obj8
);
46426 if (arg9
== NULL
) SWIG_fail
;
46431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46432 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46433 wxPyEndAllowThreads(__tstate
);
46434 if (PyErr_Occurred()) SWIG_fail
;
46437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46461 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46462 PyObject
*resultobj
= 0;
46463 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46464 wxMenu
*arg2
= (wxMenu
*) 0 ;
46469 PyObject
* obj0
= 0 ;
46470 PyObject
* obj1
= 0 ;
46471 char * kwnames
[] = {
46472 (char *) "self",(char *) "menu", NULL
46475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46477 if (!SWIG_IsOK(res1
)) {
46478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46480 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46481 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46482 if (!SWIG_IsOK(res2
)) {
46483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46485 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46488 (arg1
)->SetMenu(arg2
);
46489 wxPyEndAllowThreads(__tstate
);
46490 if (PyErr_Occurred()) SWIG_fail
;
46492 resultobj
= SWIG_Py_Void();
46499 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46500 PyObject
*resultobj
= 0;
46501 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46502 wxMenu
*result
= 0 ;
46505 PyObject
*swig_obj
[1] ;
46507 if (!args
) SWIG_fail
;
46508 swig_obj
[0] = args
;
46509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46510 if (!SWIG_IsOK(res1
)) {
46511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46513 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46516 result
= (wxMenu
*)(arg1
)->GetMenu();
46517 wxPyEndAllowThreads(__tstate
);
46518 if (PyErr_Occurred()) SWIG_fail
;
46521 resultobj
= wxPyMake_wxObject(result
, 0);
46529 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowSearchButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46530 PyObject
*resultobj
= 0;
46531 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46537 PyObject
* obj0
= 0 ;
46538 PyObject
* obj1
= 0 ;
46539 char * kwnames
[] = {
46540 (char *) "self",(char *) "show", NULL
46543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46545 if (!SWIG_IsOK(res1
)) {
46546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46548 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46549 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46550 if (!SWIG_IsOK(ecode2
)) {
46551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
46553 arg2
= static_cast< bool >(val2
);
46555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46556 (arg1
)->ShowSearchButton(arg2
);
46557 wxPyEndAllowThreads(__tstate
);
46558 if (PyErr_Occurred()) SWIG_fail
;
46560 resultobj
= SWIG_Py_Void();
46567 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46568 PyObject
*resultobj
= 0;
46569 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46573 PyObject
*swig_obj
[1] ;
46575 if (!args
) SWIG_fail
;
46576 swig_obj
[0] = args
;
46577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46578 if (!SWIG_IsOK(res1
)) {
46579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46581 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46584 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsSearchButtonVisible();
46585 wxPyEndAllowThreads(__tstate
);
46586 if (PyErr_Occurred()) SWIG_fail
;
46589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46597 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46598 PyObject
*resultobj
= 0;
46599 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46605 PyObject
* obj0
= 0 ;
46606 PyObject
* obj1
= 0 ;
46607 char * kwnames
[] = {
46608 (char *) "self",(char *) "show", NULL
46611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46613 if (!SWIG_IsOK(res1
)) {
46614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46616 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46617 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46618 if (!SWIG_IsOK(ecode2
)) {
46619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
46621 arg2
= static_cast< bool >(val2
);
46623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46624 (arg1
)->ShowCancelButton(arg2
);
46625 wxPyEndAllowThreads(__tstate
);
46626 if (PyErr_Occurred()) SWIG_fail
;
46628 resultobj
= SWIG_Py_Void();
46635 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46636 PyObject
*resultobj
= 0;
46637 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46641 PyObject
*swig_obj
[1] ;
46643 if (!args
) SWIG_fail
;
46644 swig_obj
[0] = args
;
46645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46646 if (!SWIG_IsOK(res1
)) {
46647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46649 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46652 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsCancelButtonVisible();
46653 wxPyEndAllowThreads(__tstate
);
46654 if (PyErr_Occurred()) SWIG_fail
;
46657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46665 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46666 PyObject
*resultobj
= 0;
46667 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46668 wxString
*arg2
= 0 ;
46671 bool temp2
= false ;
46672 PyObject
* obj0
= 0 ;
46673 PyObject
* obj1
= 0 ;
46674 char * kwnames
[] = {
46675 (char *) "self",(char *) "text", NULL
46678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetDescriptiveText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46680 if (!SWIG_IsOK(res1
)) {
46681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46683 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46685 arg2
= wxString_in_helper(obj1
);
46686 if (arg2
== NULL
) SWIG_fail
;
46690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46691 (arg1
)->SetDescriptiveText((wxString
const &)*arg2
);
46692 wxPyEndAllowThreads(__tstate
);
46693 if (PyErr_Occurred()) SWIG_fail
;
46695 resultobj
= SWIG_Py_Void();
46710 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46711 PyObject
*resultobj
= 0;
46712 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46716 PyObject
*swig_obj
[1] ;
46718 if (!args
) SWIG_fail
;
46719 swig_obj
[0] = args
;
46720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46721 if (!SWIG_IsOK(res1
)) {
46722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46724 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46727 result
= ((wxSearchCtrl
const *)arg1
)->GetDescriptiveText();
46728 wxPyEndAllowThreads(__tstate
);
46729 if (PyErr_Occurred()) SWIG_fail
;
46733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
46735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
46744 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46745 PyObject
*resultobj
= 0;
46746 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46747 wxBitmap
*arg2
= 0 ;
46752 PyObject
* obj0
= 0 ;
46753 PyObject
* obj1
= 0 ;
46754 char * kwnames
[] = {
46755 (char *) "self",(char *) "bitmap", NULL
46758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46760 if (!SWIG_IsOK(res1
)) {
46761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46763 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46764 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46765 if (!SWIG_IsOK(res2
)) {
46766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46771 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46774 (arg1
)->SetSearchBitmap((wxBitmap
const &)*arg2
);
46775 wxPyEndAllowThreads(__tstate
);
46776 if (PyErr_Occurred()) SWIG_fail
;
46778 resultobj
= SWIG_Py_Void();
46785 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46786 PyObject
*resultobj
= 0;
46787 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46788 wxBitmap
*arg2
= 0 ;
46793 PyObject
* obj0
= 0 ;
46794 PyObject
* obj1
= 0 ;
46795 char * kwnames
[] = {
46796 (char *) "self",(char *) "bitmap", NULL
46799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46801 if (!SWIG_IsOK(res1
)) {
46802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46804 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46805 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46806 if (!SWIG_IsOK(res2
)) {
46807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46812 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46815 (arg1
)->SetSearchMenuBitmap((wxBitmap
const &)*arg2
);
46816 wxPyEndAllowThreads(__tstate
);
46817 if (PyErr_Occurred()) SWIG_fail
;
46819 resultobj
= SWIG_Py_Void();
46826 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46827 PyObject
*resultobj
= 0;
46828 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46829 wxBitmap
*arg2
= 0 ;
46834 PyObject
* obj0
= 0 ;
46835 PyObject
* obj1
= 0 ;
46836 char * kwnames
[] = {
46837 (char *) "self",(char *) "bitmap", NULL
46840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46842 if (!SWIG_IsOK(res1
)) {
46843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46845 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46846 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46847 if (!SWIG_IsOK(res2
)) {
46848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46853 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46856 (arg1
)->SetCancelBitmap((wxBitmap
const &)*arg2
);
46857 wxPyEndAllowThreads(__tstate
);
46858 if (PyErr_Occurred()) SWIG_fail
;
46860 resultobj
= SWIG_Py_Void();
46867 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46869 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46870 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
46871 return SWIG_Py_Void();
46874 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46875 return SWIG_Python_InitShadowInstance(args
);
46878 static PyMethodDef SwigMethods
[] = {
46879 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46880 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
46881 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46882 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
46883 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
46884 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46885 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
46886 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
46887 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46888 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
46889 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46890 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
46891 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
46892 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
46893 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
46894 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
46895 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46896 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46897 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46898 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46899 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46900 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46901 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
46902 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
46903 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
46904 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
46905 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46906 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
46907 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46908 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
46909 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
46910 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46911 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
46912 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46913 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
46914 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
46915 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46916 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
46917 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
46918 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46919 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
46920 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46921 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
46922 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46923 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46924 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46925 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46926 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46927 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46928 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46929 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46930 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46931 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46932 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46933 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46934 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
46935 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
46936 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46937 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46938 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
46939 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
46940 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46941 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46942 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
46943 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46944 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46945 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46946 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46947 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46948 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46949 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46950 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46951 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46952 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46953 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46954 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46955 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46956 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46957 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46958 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46959 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46960 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46961 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46962 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46963 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46964 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46965 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46966 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46967 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46968 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46969 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46970 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46971 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46972 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46973 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
46974 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46975 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46976 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
46977 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
46978 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46979 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
46980 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46981 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
46982 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
46983 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46984 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
46985 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
46986 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46987 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
46988 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46989 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46990 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46991 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
46992 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
46993 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46994 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
46995 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46996 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
46997 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46998 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46999 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47000 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
47001 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
47002 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47003 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
47004 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47005 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47006 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47007 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47008 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47009 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47010 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47011 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47012 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47013 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47014 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
47015 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47016 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47017 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47018 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47019 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
47020 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47021 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47022 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47023 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47024 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47025 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
47026 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
47027 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47028 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
47029 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47030 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47031 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47032 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
47033 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
47034 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
47035 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47036 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
47037 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
47038 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47039 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47040 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47041 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47042 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47043 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47044 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47045 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47046 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47047 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
47048 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
47049 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
47050 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
47051 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
47052 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
47053 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
47054 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47055 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
47056 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
47057 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
47058 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
47059 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
47060 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
47061 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
47062 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
47063 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
47064 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
47065 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47066 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
47067 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
47068 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47069 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
47070 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47071 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
47072 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47073 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
47074 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47075 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47076 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47077 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47078 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
47079 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
47080 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
47081 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
47082 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
47083 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
47084 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
47085 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
47086 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47087 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47088 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47089 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47090 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
47091 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
47092 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47093 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47094 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47095 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47096 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47097 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47098 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47099 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47100 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
47101 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47102 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47103 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47104 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47105 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47106 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
47107 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
47108 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
47109 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
47110 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
47111 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
47112 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
47113 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
47114 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
47115 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
47116 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47117 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
47118 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
47119 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
47120 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47121 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
47122 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47123 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47124 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
47125 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47126 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47127 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47128 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
47129 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
47130 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47131 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
47132 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
47133 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
47134 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
47135 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
47136 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47137 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
47138 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47139 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
47140 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
47141 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
47142 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
47143 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
47144 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47145 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47146 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
47147 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
47148 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47149 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
47150 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47151 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
47152 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
47153 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
47154 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47155 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47157 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47158 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
47159 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47160 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
47161 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
47162 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47163 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
47164 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47165 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
47166 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47167 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47168 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47169 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
47170 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
47171 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47172 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47173 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
47174 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
47175 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47176 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
47177 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47178 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
47179 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
47180 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47181 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
47182 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47183 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47184 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
47185 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
47186 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47187 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
47188 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47189 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47190 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47191 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47192 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47193 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47194 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47195 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
47196 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
47197 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47198 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47199 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47200 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47201 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47202 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47203 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
47204 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
47205 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47206 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
47207 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47208 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
47209 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47210 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47211 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
47212 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
47213 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47214 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
47215 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47216 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
47217 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47218 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47219 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
47220 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
47221 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47222 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47223 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47224 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47225 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
47226 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
47227 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
47229 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47230 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
47231 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
47232 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47233 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
47234 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
47235 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
47236 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47237 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47238 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
47239 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
47240 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47241 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
47242 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47243 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47244 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
47245 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47246 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
47247 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
47248 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
47249 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47250 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
47251 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
47252 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47253 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47254 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47255 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47256 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47257 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47258 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47259 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47260 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47261 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47262 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47263 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47264 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47265 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47266 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47267 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47268 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47269 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47270 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47271 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47272 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47273 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47274 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47275 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47276 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47277 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47278 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47279 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47280 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47281 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47282 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47283 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47284 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47285 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47286 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47287 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47288 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47289 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47290 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47291 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47292 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47293 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47294 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47295 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47296 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47297 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47298 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47299 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47300 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47301 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47302 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47303 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47304 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47305 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47306 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47307 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47308 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47309 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47310 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47311 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47312 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47313 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47314 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47315 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47316 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47317 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47318 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47319 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47320 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47321 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47322 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47323 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47324 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47325 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47326 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47327 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47328 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47329 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47330 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47331 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47332 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47333 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47334 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47335 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47336 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47337 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47338 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47339 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47340 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47341 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47342 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47343 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47344 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47345 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47346 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47347 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47348 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47349 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47350 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47351 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47352 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47353 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47354 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47355 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47356 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47357 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47358 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47359 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47360 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47361 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47362 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47363 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47364 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47365 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47366 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47367 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47368 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47369 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47370 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47371 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47372 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47373 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47374 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47375 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47376 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47377 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47378 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47379 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47380 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47381 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47382 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47383 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47384 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47385 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47386 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47387 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47388 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47389 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47390 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47391 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47392 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47393 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47394 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47395 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47396 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47397 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47398 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47399 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47400 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47401 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47402 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47403 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47404 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47405 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47406 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47407 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47408 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47409 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47410 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47411 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47412 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47413 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47414 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47415 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47416 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47417 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47418 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47419 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47420 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47421 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47422 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47423 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47424 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47425 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47426 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47427 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47428 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47429 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47430 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47431 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47432 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47433 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47434 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47435 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47436 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47437 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47438 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47439 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47440 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47441 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47442 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47443 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47444 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47445 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47446 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47447 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47448 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47449 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47450 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47451 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47452 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47453 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47454 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47455 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47456 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47457 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47458 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47459 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47460 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47461 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47462 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47463 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47464 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47465 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47466 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47467 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47468 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47469 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47470 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47471 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47472 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47473 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47474 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47475 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47476 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47477 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47478 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47479 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47480 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47481 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47482 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47483 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47484 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47485 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47486 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47487 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47488 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47489 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47490 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47491 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47492 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47493 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47494 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47495 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47496 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47497 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47498 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47499 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47500 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47501 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47502 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47503 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47504 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47505 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47506 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47507 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47508 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47509 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47510 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47511 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47512 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47513 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47514 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47515 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47516 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47517 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47518 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47519 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47520 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47521 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47522 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47523 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47524 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47525 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47526 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47527 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47528 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47529 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47530 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47531 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47532 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47533 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47534 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47535 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47536 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47537 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47538 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47539 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47540 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47541 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47542 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47543 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47544 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47545 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47546 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47547 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47548 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47549 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47550 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47551 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47552 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47553 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47554 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47555 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47556 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47557 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47558 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47559 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47560 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47561 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47562 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47563 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47564 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47565 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47566 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47567 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47568 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47569 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47570 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47571 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47572 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47573 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47574 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47575 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47576 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47577 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47578 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47579 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47580 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47581 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47582 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47583 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47584 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47585 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47586 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47587 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47588 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47589 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47590 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47591 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47592 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47593 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47594 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47595 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47596 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47597 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47598 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47599 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47600 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47601 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47602 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47603 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47604 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47605 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47606 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47607 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47608 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47609 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47610 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47611 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47612 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47613 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47614 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47615 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47616 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47617 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47618 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47619 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47620 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47621 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47622 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47623 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47624 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47625 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47626 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47627 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47628 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47629 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47630 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47631 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47632 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47633 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47634 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47635 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47636 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47637 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47638 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47639 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47640 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47641 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47642 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47643 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47644 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47645 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47646 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47647 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47648 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47649 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47650 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47651 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47652 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47653 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47654 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47655 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47656 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47657 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47658 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47659 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47660 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47661 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47662 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47663 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47664 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47665 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47666 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47667 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47668 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47669 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47670 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47671 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47672 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47673 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47674 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47675 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47676 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47677 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47678 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47679 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47680 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47681 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47682 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47683 { (char *)"TreeCtrl_IsEmpty", (PyCFunction
)_wrap_TreeCtrl_IsEmpty
, METH_O
, NULL
},
47684 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47685 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47686 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47687 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47688 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47689 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47690 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47691 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47692 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47693 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47694 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47695 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47696 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47697 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47698 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47699 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47700 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47701 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47702 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47703 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47704 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47705 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47706 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47707 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47708 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47709 { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction
) _wrap_TreeCtrl_CollapseAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47710 { (char *)"TreeCtrl_CollapseAll", (PyCFunction
)_wrap_TreeCtrl_CollapseAll
, METH_O
, NULL
},
47711 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47712 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47713 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47714 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47715 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47716 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47717 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47718 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47719 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47720 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47721 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47722 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47723 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47724 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47725 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47726 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47727 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47728 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47729 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47730 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47731 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47732 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47733 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47734 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47735 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47736 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47737 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47738 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47739 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47740 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47741 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47742 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47743 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47744 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47745 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47746 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47747 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47748 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47749 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47750 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47751 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47752 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47753 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47754 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47755 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47756 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47757 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47758 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47759 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47760 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47761 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47762 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47763 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47764 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47765 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47766 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47767 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47768 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47769 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47770 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47771 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47772 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47773 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47774 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47775 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47776 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47777 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47778 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47779 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47780 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47781 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47782 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
47783 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47784 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
47785 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47786 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
47787 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
47788 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47789 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
47790 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47791 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
47792 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
47793 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
47794 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47795 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
47796 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
47797 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
47798 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47799 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
47800 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47801 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47802 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47803 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47804 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47805 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47806 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
47807 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
47808 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
47809 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
47810 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
47811 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47812 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47813 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47814 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47815 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47816 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
47817 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47818 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47819 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47820 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
47821 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47822 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
47823 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
47824 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47825 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47826 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47827 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47828 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
47829 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
47830 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47831 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
47832 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47833 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47834 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
47835 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47836 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
47837 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
47838 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47839 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47840 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47841 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
47842 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47843 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
47844 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47845 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
47846 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47847 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
47848 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47849 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
47850 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47851 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47852 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
47853 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
47854 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
47855 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47856 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
47857 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47858 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
47859 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
47860 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47861 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47862 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
47863 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47864 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
47865 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47866 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
47867 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
47868 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47869 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
47870 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47871 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
47872 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
47873 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
47874 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
47875 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47876 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
47877 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47878 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
47879 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47880 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47881 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47882 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47883 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
47884 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47885 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47886 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47887 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47888 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
47889 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47890 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
47891 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47892 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47893 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47894 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47895 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47896 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47897 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
47898 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47899 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
47900 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47901 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47902 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47903 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47904 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47905 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47906 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
47907 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47908 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47909 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47910 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47911 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
47912 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47913 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
47914 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47915 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47916 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
47917 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47918 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47919 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47920 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
47921 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47922 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47923 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47924 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47925 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
47926 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47927 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47928 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47929 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47930 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47931 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47932 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47933 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
47934 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47935 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
47936 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47937 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
47938 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
47939 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47940 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
47941 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47942 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47943 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
47944 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction
) _wrap_SearchCtrl_ShowSearchButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47945 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsSearchButtonVisible
, METH_O
, NULL
},
47946 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction
) _wrap_SearchCtrl_ShowCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47947 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsCancelButtonVisible
, METH_O
, NULL
},
47948 { (char *)"SearchCtrl_SetDescriptiveText", (PyCFunction
) _wrap_SearchCtrl_SetDescriptiveText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47949 { (char *)"SearchCtrl_GetDescriptiveText", (PyCFunction
)_wrap_SearchCtrl_GetDescriptiveText
, METH_O
, NULL
},
47950 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47951 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47952 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47953 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
47954 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
47955 { NULL
, NULL
, 0, NULL
}
47959 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47961 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47962 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47964 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47965 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47967 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47968 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47970 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47971 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47973 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47974 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47976 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
47977 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47979 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
47980 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47982 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47983 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47985 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
47986 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47988 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
47989 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47991 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
47992 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47994 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47995 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47997 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47998 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
48000 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
48001 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48003 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
48004 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48006 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
48007 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48009 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
48010 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
48012 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
48013 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48015 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
48016 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48018 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
48019 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48021 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
48022 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48024 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
48025 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48027 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
48028 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48030 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
48031 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
48033 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
48034 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
48036 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
48037 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48039 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
48040 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48042 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
48043 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
48045 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
48046 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
48048 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
48049 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
48051 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
48052 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
48054 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
48055 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
48057 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
48058 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
48060 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
48061 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48063 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
48064 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
48066 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
48067 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
48069 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
48070 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48072 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
48073 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48075 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
48076 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48078 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
48079 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48081 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
48082 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48084 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
48085 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48087 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
48088 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48090 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
48091 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
48093 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
48094 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
48096 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
48097 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48099 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
48100 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
48102 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
48103 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
48105 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
48106 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48108 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
48109 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48111 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
48112 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48114 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
48115 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
48117 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
48118 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
48120 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
48121 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48123 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
48124 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48126 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
48127 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48129 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
48130 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48132 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
48133 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48135 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
48136 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
48138 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
48139 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48141 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
48142 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48144 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
48145 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
48147 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
48148 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48150 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
48151 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48153 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
48154 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
48156 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
48157 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
48159 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
48160 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
48162 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
48163 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
48165 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
48166 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
48168 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
48169 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
48171 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
48172 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
48174 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
48175 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48177 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
48178 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
48180 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
48181 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
48183 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
48184 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48186 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
48187 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
48189 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
48190 return (void *)((wxControl
*) ((wxComboBox
*) x
));
48192 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
48193 return (void *)((wxControl
*) ((wxPyControl
*) x
));
48195 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
48196 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
48198 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
48199 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
48201 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
48202 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
48204 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
48205 return (void *)((wxControl
*) ((wxGauge
*) x
));
48207 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
48208 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
48210 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
48211 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48213 static void *_p_wxListbookTo_p_wxControl(void *x
) {
48214 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
48216 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
48217 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
48219 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
48220 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
48222 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
48223 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
48225 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
48226 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
48228 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
48229 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48231 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
48232 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48234 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
48235 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48237 static void *_p_wxListViewTo_p_wxControl(void *x
) {
48238 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
48240 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
48241 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
48243 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
48244 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
48246 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
48247 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
48249 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
48250 return (void *)((wxControl
*) ((wxStaticText
*) x
));
48252 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
48253 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
48255 static void *_p_wxSliderTo_p_wxControl(void *x
) {
48256 return (void *)((wxControl
*) ((wxSlider
*) x
));
48258 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
48259 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48261 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48262 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48264 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48265 return (void *)((wxControl
*) ((wxButton
*) x
));
48267 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48268 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48270 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48271 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48273 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48274 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48276 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48277 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48279 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48280 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48282 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48283 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48285 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48286 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48288 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48289 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48291 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48292 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48294 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48295 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48297 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48298 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48300 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48301 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48303 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48304 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48306 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48307 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48309 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48310 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48312 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48313 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48315 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48316 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48318 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48319 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48321 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48322 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48324 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48325 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48327 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48328 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48330 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48331 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48333 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48334 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48336 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48337 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48339 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48340 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48342 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48343 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48345 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48346 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48348 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48349 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48351 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48352 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48354 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48355 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48357 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48358 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48360 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48361 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48363 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48364 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48366 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48367 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48369 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48370 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48372 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48373 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48375 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48376 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48378 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48379 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48381 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48382 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48384 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48385 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48387 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48388 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48390 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48391 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48393 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48396 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48399 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48400 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48402 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48403 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48405 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48408 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48411 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48414 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48417 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48420 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48423 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48426 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48429 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48432 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48435 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48436 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48438 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48439 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48441 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48442 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48444 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48445 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48447 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48450 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48453 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48456 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48457 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48459 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48460 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48462 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48463 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48465 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48468 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48471 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48474 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48477 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48480 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48483 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48484 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48486 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48489 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48492 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48495 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48498 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48499 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48501 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48502 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48504 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48505 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48507 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48508 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48510 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48511 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48513 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48514 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48516 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48519 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48520 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48522 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48523 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48525 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48526 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48528 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48529 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48531 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48532 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48534 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48535 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48537 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48538 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48540 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48541 return (void *)((wxObject
*) ((wxSizer
*) x
));
48543 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48544 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48546 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48547 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48549 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48550 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48552 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48553 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48555 static void *_p_wxEventTo_p_wxObject(void *x
) {
48556 return (void *)((wxObject
*) ((wxEvent
*) x
));
48558 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48559 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48561 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48562 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48564 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48567 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48568 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48570 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48573 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48576 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48579 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48582 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48583 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48585 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48586 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48588 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48589 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48591 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48592 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48594 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48595 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48597 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48598 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48600 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48601 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48603 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48604 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48606 static void *_p_wxControlTo_p_wxObject(void *x
) {
48607 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48609 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48612 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48615 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48618 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48621 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48624 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48625 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48627 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48628 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48630 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48631 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48633 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48636 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48639 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48640 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48642 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48643 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48645 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48648 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48651 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48652 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48654 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48657 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48660 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48661 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48663 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48664 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48666 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48669 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48672 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48673 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48675 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48678 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48681 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48682 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48684 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48685 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48687 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48688 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48690 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48691 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48693 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48694 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48696 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48697 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48699 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48700 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48702 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48703 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48705 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48706 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48708 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48709 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48711 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48714 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48715 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48717 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48718 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48720 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48723 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48724 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48726 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48727 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48729 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48730 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48732 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48733 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48735 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48736 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48738 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48739 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48741 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48742 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48744 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48745 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48747 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48748 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48750 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48751 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48753 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48754 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48756 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48757 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48759 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48760 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48762 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48763 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48765 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48766 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48768 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48769 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48771 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48772 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48774 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48777 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48780 static void *_p_wxButtonTo_p_wxObject(void *x
) {
48781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48783 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
48784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48786 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
48787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48789 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
48790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48792 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
48793 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
48795 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
48796 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
48798 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
48799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48801 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
48802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48804 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
48805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48807 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
48808 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
48810 static void *_p_wxListItemTo_p_wxObject(void *x
) {
48811 return (void *)((wxObject
*) ((wxListItem
*) x
));
48813 static void *_p_wxImageTo_p_wxObject(void *x
) {
48814 return (void *)((wxObject
*) ((wxImage
*) x
));
48816 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
48817 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
48819 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
48820 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48822 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
48823 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
48825 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
48826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48828 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
48829 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48831 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
48832 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48834 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
48835 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48837 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
48838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48840 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
48841 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48843 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
48844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48846 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
48847 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48849 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
48850 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
48852 static void *_p_wxWindowTo_p_wxObject(void *x
) {
48853 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
48855 static void *_p_wxMenuTo_p_wxObject(void *x
) {
48856 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
48858 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
48859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
48861 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
48862 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
48864 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
48865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48867 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
48868 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48870 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
48871 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
48873 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
48874 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
48876 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
48877 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
48879 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
48880 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
48882 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
48883 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
48885 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
48886 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48888 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
48889 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48891 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
48892 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48894 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
48895 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
48897 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
48898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48900 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
48901 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
48903 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
48904 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
48906 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
48907 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48909 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
48910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48912 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
48913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48915 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
48916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48918 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
48919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48921 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
48922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48924 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
48925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48927 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
48928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48930 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
48931 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
48933 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
48934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48936 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
48937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
48939 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
48940 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
48942 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
48943 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
48945 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
48946 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
48948 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
48949 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
48951 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
48952 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48954 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
48955 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
48957 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
48958 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
48960 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
48961 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
48963 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
48964 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48966 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
48967 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48969 static void *_p_wxControlTo_p_wxWindow(void *x
) {
48970 return (void *)((wxWindow
*) ((wxControl
*) x
));
48972 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
48973 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
48975 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
48976 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
48978 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
48979 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
48981 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
48982 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48984 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
48985 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
48987 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
48988 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
48990 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
48991 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
48993 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
48994 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
48996 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
48997 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
48999 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
49000 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
49002 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
49003 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
49005 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
49006 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
49008 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
49009 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
49011 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
49012 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
49014 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
49015 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
49017 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
49018 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
49020 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
49021 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49023 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
49024 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
49026 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
49027 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
49029 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
49030 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
49032 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
49033 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
49035 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
49036 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
49038 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
49039 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
49041 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
49042 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
49044 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
49045 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
49047 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
49048 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
49050 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
49051 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
49053 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
49054 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
49056 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
49057 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
49059 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
49060 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49062 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
49063 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49065 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
49066 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
49068 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
49069 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49071 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
49072 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49074 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
49075 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49077 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
49078 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49080 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
49081 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
49083 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49084 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49086 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49087 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49089 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49090 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49092 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49093 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49095 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49096 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49098 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
49099 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49101 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
49102 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
49104 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
49105 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
49107 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
49108 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
49110 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
49111 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
49113 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
49114 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
49116 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
49117 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
49119 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
49120 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
49122 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
49123 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49125 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
49126 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49128 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
49129 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49131 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
49132 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49134 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
49135 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49137 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
49138 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49140 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
49141 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49143 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
49144 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49146 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
49147 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
49149 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
49150 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
49152 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
49153 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
49155 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
49156 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
49158 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
49159 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49161 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
49162 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49164 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
49165 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49167 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
49168 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
49170 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
49171 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
49173 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
49174 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
49176 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
49177 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49179 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
49180 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
49182 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
49183 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
49185 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
49186 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
49188 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
49189 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
49191 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49192 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
49193 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};
49194 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
49195 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
49196 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49197 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49198 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49199 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
49200 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49201 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49202 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49203 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49204 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49205 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49206 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49207 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49208 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49209 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49210 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49211 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49212 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49213 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49214 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49215 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49216 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49217 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49218 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49219 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49220 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49221 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49222 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49223 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49224 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49225 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49226 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49227 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49228 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49229 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49230 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49231 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49232 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49233 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49234 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49235 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49236 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49237 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49238 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49239 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49240 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49241 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49242 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49243 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49244 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49245 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49246 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49247 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49248 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49249 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49250 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49251 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49252 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49253 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49254 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49255 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49256 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49257 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49258 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49259 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49260 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49261 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49262 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49263 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49264 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49265 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49266 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49267 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49268 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49269 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49270 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49271 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49272 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49273 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49274 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49275 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49276 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49277 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49278 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49279 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49280 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49281 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49282 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49283 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49284 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49285 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49286 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49287 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49288 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49289 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49290 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49291 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49292 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49293 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49294 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49295 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49296 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49297 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49298 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49299 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49300 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49301 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49302 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49303 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49304 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49305 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49306 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49307 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49308 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49309 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49310 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49311 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49312 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49313 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49314 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49315 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49316 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49317 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49318 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49319 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49320 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49321 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49322 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49323 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49324 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49325 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49326 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49327 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49328 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49329 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49330 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49331 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49332 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49333 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49334 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49335 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49336 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49337 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49338 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49339 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49340 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49341 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49342 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49343 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49344 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49345 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49346 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49347 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49348 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49349 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49350 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49351 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49352 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49353 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49354 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49355 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49356 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49357 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49358 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49359 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49360 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49361 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49362 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49363 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49364 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49365 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49366 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49367 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49368 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49369 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49371 static swig_type_info
*swig_type_initial
[] = {
49374 &_swigt__p_form_ops_t
,
49377 &_swigt__p_unsigned_char
,
49378 &_swigt__p_unsigned_int
,
49379 &_swigt__p_unsigned_long
,
49381 &_swigt__p_wxANIHandler
,
49382 &_swigt__p_wxAcceleratorTable
,
49383 &_swigt__p_wxActivateEvent
,
49384 &_swigt__p_wxArrayInt
,
49385 &_swigt__p_wxArrayString
,
49386 &_swigt__p_wxBMPHandler
,
49387 &_swigt__p_wxBitmap
,
49388 &_swigt__p_wxBitmapButton
,
49389 &_swigt__p_wxBookCtrlBase
,
49390 &_swigt__p_wxBookCtrlBaseEvent
,
49391 &_swigt__p_wxBoxSizer
,
49392 &_swigt__p_wxButton
,
49393 &_swigt__p_wxCURHandler
,
49394 &_swigt__p_wxCheckBox
,
49395 &_swigt__p_wxCheckListBox
,
49396 &_swigt__p_wxChildFocusEvent
,
49397 &_swigt__p_wxChoice
,
49398 &_swigt__p_wxChoicebook
,
49399 &_swigt__p_wxChoicebookEvent
,
49400 &_swigt__p_wxClipboardTextEvent
,
49401 &_swigt__p_wxCloseEvent
,
49402 &_swigt__p_wxCollapsiblePane
,
49403 &_swigt__p_wxCollapsiblePaneEvent
,
49404 &_swigt__p_wxColour
,
49405 &_swigt__p_wxColourPickerCtrl
,
49406 &_swigt__p_wxColourPickerEvent
,
49407 &_swigt__p_wxComboBox
,
49408 &_swigt__p_wxCommandEvent
,
49409 &_swigt__p_wxContextHelp
,
49410 &_swigt__p_wxContextHelpButton
,
49411 &_swigt__p_wxContextMenuEvent
,
49412 &_swigt__p_wxControl
,
49413 &_swigt__p_wxControlWithItems
,
49414 &_swigt__p_wxCursor
,
49416 &_swigt__p_wxDateEvent
,
49417 &_swigt__p_wxDatePickerCtrl
,
49418 &_swigt__p_wxDateTime
,
49419 &_swigt__p_wxDirFilterListCtrl
,
49420 &_swigt__p_wxDirPickerCtrl
,
49421 &_swigt__p_wxDisplayChangedEvent
,
49422 &_swigt__p_wxDropFilesEvent
,
49423 &_swigt__p_wxDuplexMode
,
49424 &_swigt__p_wxEraseEvent
,
49425 &_swigt__p_wxEvent
,
49426 &_swigt__p_wxEvtHandler
,
49427 &_swigt__p_wxFSFile
,
49428 &_swigt__p_wxFileDirPickerEvent
,
49429 &_swigt__p_wxFilePickerCtrl
,
49430 &_swigt__p_wxFileSystem
,
49431 &_swigt__p_wxFlexGridSizer
,
49432 &_swigt__p_wxFocusEvent
,
49434 &_swigt__p_wxFontPickerCtrl
,
49435 &_swigt__p_wxFontPickerEvent
,
49436 &_swigt__p_wxGBSizerItem
,
49437 &_swigt__p_wxGIFHandler
,
49438 &_swigt__p_wxGauge
,
49439 &_swigt__p_wxGenericDirCtrl
,
49440 &_swigt__p_wxGenericDragImage
,
49441 &_swigt__p_wxGridBagSizer
,
49442 &_swigt__p_wxGridSizer
,
49443 &_swigt__p_wxHelpEvent
,
49444 &_swigt__p_wxHelpProvider
,
49445 &_swigt__p_wxHyperlinkCtrl
,
49446 &_swigt__p_wxHyperlinkEvent
,
49447 &_swigt__p_wxICOHandler
,
49449 &_swigt__p_wxIconizeEvent
,
49450 &_swigt__p_wxIdleEvent
,
49451 &_swigt__p_wxImage
,
49452 &_swigt__p_wxImageHandler
,
49453 &_swigt__p_wxImageList
,
49454 &_swigt__p_wxIndividualLayoutConstraint
,
49455 &_swigt__p_wxInitDialogEvent
,
49456 &_swigt__p_wxItemContainer
,
49457 &_swigt__p_wxJPEGHandler
,
49458 &_swigt__p_wxKeyEvent
,
49459 &_swigt__p_wxLayoutConstraints
,
49460 &_swigt__p_wxListBox
,
49461 &_swigt__p_wxListEvent
,
49462 &_swigt__p_wxListItem
,
49463 &_swigt__p_wxListItemAttr
,
49464 &_swigt__p_wxListView
,
49465 &_swigt__p_wxListbook
,
49466 &_swigt__p_wxListbookEvent
,
49467 &_swigt__p_wxMaximizeEvent
,
49468 &_swigt__p_wxMemoryDC
,
49470 &_swigt__p_wxMenuBar
,
49471 &_swigt__p_wxMenuEvent
,
49472 &_swigt__p_wxMenuItem
,
49473 &_swigt__p_wxMouseCaptureChangedEvent
,
49474 &_swigt__p_wxMouseCaptureLostEvent
,
49475 &_swigt__p_wxMouseEvent
,
49476 &_swigt__p_wxMoveEvent
,
49477 &_swigt__p_wxNavigationKeyEvent
,
49478 &_swigt__p_wxNcPaintEvent
,
49479 &_swigt__p_wxNotebook
,
49480 &_swigt__p_wxNotebookEvent
,
49481 &_swigt__p_wxNotifyEvent
,
49482 &_swigt__p_wxObject
,
49483 &_swigt__p_wxPCXHandler
,
49484 &_swigt__p_wxPNGHandler
,
49485 &_swigt__p_wxPNMHandler
,
49486 &_swigt__p_wxPaintEvent
,
49487 &_swigt__p_wxPaletteChangedEvent
,
49488 &_swigt__p_wxPaperSize
,
49489 &_swigt__p_wxPickerBase
,
49490 &_swigt__p_wxPoint
,
49491 &_swigt__p_wxPyApp
,
49492 &_swigt__p_wxPyCommandEvent
,
49493 &_swigt__p_wxPyControl
,
49494 &_swigt__p_wxPyEvent
,
49495 &_swigt__p_wxPyImageHandler
,
49496 &_swigt__p_wxPyListCtrl
,
49497 &_swigt__p_wxPySizer
,
49498 &_swigt__p_wxPyTreeCtrl
,
49499 &_swigt__p_wxPyTreeItemData
,
49500 &_swigt__p_wxPyValidator
,
49501 &_swigt__p_wxQueryNewPaletteEvent
,
49502 &_swigt__p_wxRadioBox
,
49503 &_swigt__p_wxRadioButton
,
49505 &_swigt__p_wxScrollBar
,
49506 &_swigt__p_wxScrollEvent
,
49507 &_swigt__p_wxScrollWinEvent
,
49508 &_swigt__p_wxSearchCtrl
,
49509 &_swigt__p_wxSetCursorEvent
,
49510 &_swigt__p_wxShowEvent
,
49511 &_swigt__p_wxSimpleHelpProvider
,
49513 &_swigt__p_wxSizeEvent
,
49514 &_swigt__p_wxSizer
,
49515 &_swigt__p_wxSizerItem
,
49516 &_swigt__p_wxSlider
,
49517 &_swigt__p_wxSpinButton
,
49518 &_swigt__p_wxSpinCtrl
,
49519 &_swigt__p_wxSpinEvent
,
49520 &_swigt__p_wxStaticBitmap
,
49521 &_swigt__p_wxStaticBox
,
49522 &_swigt__p_wxStaticBoxSizer
,
49523 &_swigt__p_wxStaticLine
,
49524 &_swigt__p_wxStaticText
,
49525 &_swigt__p_wxStdDialogButtonSizer
,
49526 &_swigt__p_wxString
,
49527 &_swigt__p_wxSysColourChangedEvent
,
49528 &_swigt__p_wxTGAHandler
,
49529 &_swigt__p_wxTIFFHandler
,
49530 &_swigt__p_wxTextAttr
,
49531 &_swigt__p_wxTextCtrl
,
49532 &_swigt__p_wxTextUrlEvent
,
49533 &_swigt__p_wxToggleButton
,
49534 &_swigt__p_wxToolBar
,
49535 &_swigt__p_wxToolBarBase
,
49536 &_swigt__p_wxToolBarToolBase
,
49537 &_swigt__p_wxToolbook
,
49538 &_swigt__p_wxToolbookEvent
,
49539 &_swigt__p_wxTreeEvent
,
49540 &_swigt__p_wxTreeItemId
,
49541 &_swigt__p_wxTreebook
,
49542 &_swigt__p_wxTreebookEvent
,
49543 &_swigt__p_wxUpdateUIEvent
,
49544 &_swigt__p_wxValidator
,
49545 &_swigt__p_wxVisualAttributes
,
49546 &_swigt__p_wxWindow
,
49547 &_swigt__p_wxWindowBase
,
49548 &_swigt__p_wxWindowCreateEvent
,
49549 &_swigt__p_wxWindowDestroyEvent
,
49550 &_swigt__p_wxXPMHandler
,
49553 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49554 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49555 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49556 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49557 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49558 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49559 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49560 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49561 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49562 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49563 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49564 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49565 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}};
49566 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}};
49567 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}};
49568 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}};
49569 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49570 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49571 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
49572 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49573 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49574 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49575 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49576 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49577 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49578 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49579 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49580 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49581 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49582 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49583 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49584 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49585 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49586 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49587 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49588 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49589 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}};
49590 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49591 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49592 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_wxSearchCtrl
, _p_wxSearchCtrlTo_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}};
49593 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
49594 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49595 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49596 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49597 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49598 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49599 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49600 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49601 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49602 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49603 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49604 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49605 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49606 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49607 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49608 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49609 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49610 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49611 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49612 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49613 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49614 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49615 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49616 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49617 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49618 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49619 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49620 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49621 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49622 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49623 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49624 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49625 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49626 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}};
49627 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49628 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49629 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49630 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_wxSearchCtrl
, _p_wxSearchCtrlTo_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}};
49631 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49632 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49633 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49634 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49635 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49636 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49637 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49638 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49639 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49640 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}};
49641 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49642 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49643 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49644 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49645 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}};
49646 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49647 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}};
49648 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49649 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49650 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49651 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49652 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49653 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49654 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49655 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49656 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49657 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49658 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49659 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}};
49660 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49661 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49662 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49663 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49664 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49665 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49666 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49667 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49668 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49669 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49670 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49671 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49672 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49673 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49674 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49675 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49676 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49677 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49678 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49679 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49680 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49681 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49682 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49683 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49684 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49685 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49686 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49687 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49688 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49689 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49690 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49691 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_wxSearchCtrl
, _p_wxSearchCtrlTo_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_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_wxGIFHandler
, _p_wxGIFHandlerTo_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_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_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}};
49692 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49693 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}};
49694 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49695 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49696 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}};
49697 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49698 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49699 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49700 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49701 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49702 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49703 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49704 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49705 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49706 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49707 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49708 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49709 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49710 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49711 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49712 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49713 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49714 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49715 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49716 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxTextCtrl
, 0, 0},{0, 0, 0, 0}};
49717 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49718 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49719 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49720 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}};
49721 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49722 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49723 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49724 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49725 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49726 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49727 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49728 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}};
49729 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49730 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_wxSearchCtrl
, _p_wxSearchCtrlTo_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}};
49731 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49733 static swig_cast_info
*swig_cast_initial
[] = {
49736 _swigc__p_form_ops_t
,
49739 _swigc__p_unsigned_char
,
49740 _swigc__p_unsigned_int
,
49741 _swigc__p_unsigned_long
,
49743 _swigc__p_wxANIHandler
,
49744 _swigc__p_wxAcceleratorTable
,
49745 _swigc__p_wxActivateEvent
,
49746 _swigc__p_wxArrayInt
,
49747 _swigc__p_wxArrayString
,
49748 _swigc__p_wxBMPHandler
,
49749 _swigc__p_wxBitmap
,
49750 _swigc__p_wxBitmapButton
,
49751 _swigc__p_wxBookCtrlBase
,
49752 _swigc__p_wxBookCtrlBaseEvent
,
49753 _swigc__p_wxBoxSizer
,
49754 _swigc__p_wxButton
,
49755 _swigc__p_wxCURHandler
,
49756 _swigc__p_wxCheckBox
,
49757 _swigc__p_wxCheckListBox
,
49758 _swigc__p_wxChildFocusEvent
,
49759 _swigc__p_wxChoice
,
49760 _swigc__p_wxChoicebook
,
49761 _swigc__p_wxChoicebookEvent
,
49762 _swigc__p_wxClipboardTextEvent
,
49763 _swigc__p_wxCloseEvent
,
49764 _swigc__p_wxCollapsiblePane
,
49765 _swigc__p_wxCollapsiblePaneEvent
,
49766 _swigc__p_wxColour
,
49767 _swigc__p_wxColourPickerCtrl
,
49768 _swigc__p_wxColourPickerEvent
,
49769 _swigc__p_wxComboBox
,
49770 _swigc__p_wxCommandEvent
,
49771 _swigc__p_wxContextHelp
,
49772 _swigc__p_wxContextHelpButton
,
49773 _swigc__p_wxContextMenuEvent
,
49774 _swigc__p_wxControl
,
49775 _swigc__p_wxControlWithItems
,
49776 _swigc__p_wxCursor
,
49778 _swigc__p_wxDateEvent
,
49779 _swigc__p_wxDatePickerCtrl
,
49780 _swigc__p_wxDateTime
,
49781 _swigc__p_wxDirFilterListCtrl
,
49782 _swigc__p_wxDirPickerCtrl
,
49783 _swigc__p_wxDisplayChangedEvent
,
49784 _swigc__p_wxDropFilesEvent
,
49785 _swigc__p_wxDuplexMode
,
49786 _swigc__p_wxEraseEvent
,
49788 _swigc__p_wxEvtHandler
,
49789 _swigc__p_wxFSFile
,
49790 _swigc__p_wxFileDirPickerEvent
,
49791 _swigc__p_wxFilePickerCtrl
,
49792 _swigc__p_wxFileSystem
,
49793 _swigc__p_wxFlexGridSizer
,
49794 _swigc__p_wxFocusEvent
,
49796 _swigc__p_wxFontPickerCtrl
,
49797 _swigc__p_wxFontPickerEvent
,
49798 _swigc__p_wxGBSizerItem
,
49799 _swigc__p_wxGIFHandler
,
49801 _swigc__p_wxGenericDirCtrl
,
49802 _swigc__p_wxGenericDragImage
,
49803 _swigc__p_wxGridBagSizer
,
49804 _swigc__p_wxGridSizer
,
49805 _swigc__p_wxHelpEvent
,
49806 _swigc__p_wxHelpProvider
,
49807 _swigc__p_wxHyperlinkCtrl
,
49808 _swigc__p_wxHyperlinkEvent
,
49809 _swigc__p_wxICOHandler
,
49811 _swigc__p_wxIconizeEvent
,
49812 _swigc__p_wxIdleEvent
,
49814 _swigc__p_wxImageHandler
,
49815 _swigc__p_wxImageList
,
49816 _swigc__p_wxIndividualLayoutConstraint
,
49817 _swigc__p_wxInitDialogEvent
,
49818 _swigc__p_wxItemContainer
,
49819 _swigc__p_wxJPEGHandler
,
49820 _swigc__p_wxKeyEvent
,
49821 _swigc__p_wxLayoutConstraints
,
49822 _swigc__p_wxListBox
,
49823 _swigc__p_wxListEvent
,
49824 _swigc__p_wxListItem
,
49825 _swigc__p_wxListItemAttr
,
49826 _swigc__p_wxListView
,
49827 _swigc__p_wxListbook
,
49828 _swigc__p_wxListbookEvent
,
49829 _swigc__p_wxMaximizeEvent
,
49830 _swigc__p_wxMemoryDC
,
49832 _swigc__p_wxMenuBar
,
49833 _swigc__p_wxMenuEvent
,
49834 _swigc__p_wxMenuItem
,
49835 _swigc__p_wxMouseCaptureChangedEvent
,
49836 _swigc__p_wxMouseCaptureLostEvent
,
49837 _swigc__p_wxMouseEvent
,
49838 _swigc__p_wxMoveEvent
,
49839 _swigc__p_wxNavigationKeyEvent
,
49840 _swigc__p_wxNcPaintEvent
,
49841 _swigc__p_wxNotebook
,
49842 _swigc__p_wxNotebookEvent
,
49843 _swigc__p_wxNotifyEvent
,
49844 _swigc__p_wxObject
,
49845 _swigc__p_wxPCXHandler
,
49846 _swigc__p_wxPNGHandler
,
49847 _swigc__p_wxPNMHandler
,
49848 _swigc__p_wxPaintEvent
,
49849 _swigc__p_wxPaletteChangedEvent
,
49850 _swigc__p_wxPaperSize
,
49851 _swigc__p_wxPickerBase
,
49854 _swigc__p_wxPyCommandEvent
,
49855 _swigc__p_wxPyControl
,
49856 _swigc__p_wxPyEvent
,
49857 _swigc__p_wxPyImageHandler
,
49858 _swigc__p_wxPyListCtrl
,
49859 _swigc__p_wxPySizer
,
49860 _swigc__p_wxPyTreeCtrl
,
49861 _swigc__p_wxPyTreeItemData
,
49862 _swigc__p_wxPyValidator
,
49863 _swigc__p_wxQueryNewPaletteEvent
,
49864 _swigc__p_wxRadioBox
,
49865 _swigc__p_wxRadioButton
,
49867 _swigc__p_wxScrollBar
,
49868 _swigc__p_wxScrollEvent
,
49869 _swigc__p_wxScrollWinEvent
,
49870 _swigc__p_wxSearchCtrl
,
49871 _swigc__p_wxSetCursorEvent
,
49872 _swigc__p_wxShowEvent
,
49873 _swigc__p_wxSimpleHelpProvider
,
49875 _swigc__p_wxSizeEvent
,
49877 _swigc__p_wxSizerItem
,
49878 _swigc__p_wxSlider
,
49879 _swigc__p_wxSpinButton
,
49880 _swigc__p_wxSpinCtrl
,
49881 _swigc__p_wxSpinEvent
,
49882 _swigc__p_wxStaticBitmap
,
49883 _swigc__p_wxStaticBox
,
49884 _swigc__p_wxStaticBoxSizer
,
49885 _swigc__p_wxStaticLine
,
49886 _swigc__p_wxStaticText
,
49887 _swigc__p_wxStdDialogButtonSizer
,
49888 _swigc__p_wxString
,
49889 _swigc__p_wxSysColourChangedEvent
,
49890 _swigc__p_wxTGAHandler
,
49891 _swigc__p_wxTIFFHandler
,
49892 _swigc__p_wxTextAttr
,
49893 _swigc__p_wxTextCtrl
,
49894 _swigc__p_wxTextUrlEvent
,
49895 _swigc__p_wxToggleButton
,
49896 _swigc__p_wxToolBar
,
49897 _swigc__p_wxToolBarBase
,
49898 _swigc__p_wxToolBarToolBase
,
49899 _swigc__p_wxToolbook
,
49900 _swigc__p_wxToolbookEvent
,
49901 _swigc__p_wxTreeEvent
,
49902 _swigc__p_wxTreeItemId
,
49903 _swigc__p_wxTreebook
,
49904 _swigc__p_wxTreebookEvent
,
49905 _swigc__p_wxUpdateUIEvent
,
49906 _swigc__p_wxValidator
,
49907 _swigc__p_wxVisualAttributes
,
49908 _swigc__p_wxWindow
,
49909 _swigc__p_wxWindowBase
,
49910 _swigc__p_wxWindowCreateEvent
,
49911 _swigc__p_wxWindowDestroyEvent
,
49912 _swigc__p_wxXPMHandler
,
49916 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49918 static swig_const_info swig_const_table
[] = {
49919 {0, 0, 0, 0.0, 0, 0}};
49924 /* -----------------------------------------------------------------------------
49925 * Type initialization:
49926 * This problem is tough by the requirement that no dynamic
49927 * memory is used. Also, since swig_type_info structures store pointers to
49928 * swig_cast_info structures and swig_cast_info structures store pointers back
49929 * to swig_type_info structures, we need some lookup code at initialization.
49930 * The idea is that swig generates all the structures that are needed.
49931 * The runtime then collects these partially filled structures.
49932 * The SWIG_InitializeModule function takes these initial arrays out of
49933 * swig_module, and does all the lookup, filling in the swig_module.types
49934 * array with the correct data and linking the correct swig_cast_info
49935 * structures together.
49937 * The generated swig_type_info structures are assigned staticly to an initial
49938 * array. We just loop though that array, and handle each type individually.
49939 * First we lookup if this type has been already loaded, and if so, use the
49940 * loaded structure instead of the generated one. Then we have to fill in the
49941 * cast linked list. The cast data is initially stored in something like a
49942 * two-dimensional array. Each row corresponds to a type (there are the same
49943 * number of rows as there are in the swig_type_initial array). Each entry in
49944 * a column is one of the swig_cast_info structures for that type.
49945 * The cast_initial array is actually an array of arrays, because each row has
49946 * a variable number of columns. So to actually build the cast linked list,
49947 * we find the array of casts associated with the type, and loop through it
49948 * adding the casts to the list. The one last trick we need to do is making
49949 * sure the type pointer in the swig_cast_info struct is correct.
49951 * First off, we lookup the cast->type name to see if it is already loaded.
49952 * There are three cases to handle:
49953 * 1) If the cast->type has already been loaded AND the type we are adding
49954 * casting info to has not been loaded (it is in this module), THEN we
49955 * replace the cast->type pointer with the type pointer that has already
49957 * 2) If BOTH types (the one we are adding casting info to, and the
49958 * cast->type) are loaded, THEN the cast info has already been loaded by
49959 * the previous module so we just ignore it.
49960 * 3) Finally, if cast->type has not already been loaded, then we add that
49961 * swig_cast_info to the linked list (because the cast->type) pointer will
49963 * ----------------------------------------------------------------------------- */
49973 #define SWIGRUNTIME_DEBUG
49977 SWIG_InitializeModule(void *clientdata
) {
49979 swig_module_info
*module_head
;
49980 static int init_run
= 0;
49982 clientdata
= clientdata
;
49984 if (init_run
) return;
49987 /* Initialize the swig_module */
49988 swig_module
.type_initial
= swig_type_initial
;
49989 swig_module
.cast_initial
= swig_cast_initial
;
49991 /* Try and load any already created modules */
49992 module_head
= SWIG_GetModule(clientdata
);
49994 swig_module
.next
= module_head
->next
;
49995 module_head
->next
= &swig_module
;
49997 /* This is the first module loaded */
49998 swig_module
.next
= &swig_module
;
49999 SWIG_SetModule(clientdata
, &swig_module
);
50002 /* Now work on filling in swig_module.types */
50003 #ifdef SWIGRUNTIME_DEBUG
50004 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
50006 for (i
= 0; i
< swig_module
.size
; ++i
) {
50007 swig_type_info
*type
= 0;
50008 swig_type_info
*ret
;
50009 swig_cast_info
*cast
;
50011 #ifdef SWIGRUNTIME_DEBUG
50012 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50015 /* if there is another module already loaded */
50016 if (swig_module
.next
!= &swig_module
) {
50017 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
50020 /* Overwrite clientdata field */
50021 #ifdef SWIGRUNTIME_DEBUG
50022 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
50024 if (swig_module
.type_initial
[i
]->clientdata
) {
50025 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
50026 #ifdef SWIGRUNTIME_DEBUG
50027 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
50031 type
= swig_module
.type_initial
[i
];
50034 /* Insert casting types */
50035 cast
= swig_module
.cast_initial
[i
];
50036 while (cast
->type
) {
50037 /* Don't need to add information already in the list */
50039 #ifdef SWIGRUNTIME_DEBUG
50040 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
50042 if (swig_module
.next
!= &swig_module
) {
50043 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
50044 #ifdef SWIGRUNTIME_DEBUG
50045 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
50049 if (type
== swig_module
.type_initial
[i
]) {
50050 #ifdef SWIGRUNTIME_DEBUG
50051 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
50056 /* Check for casting already in the list */
50057 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
50058 #ifdef SWIGRUNTIME_DEBUG
50059 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
50061 if (!ocast
) ret
= 0;
50066 #ifdef SWIGRUNTIME_DEBUG
50067 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
50070 type
->cast
->prev
= cast
;
50071 cast
->next
= type
->cast
;
50077 /* Set entry in modules->types array equal to the type */
50078 swig_module
.types
[i
] = type
;
50080 swig_module
.types
[i
] = 0;
50082 #ifdef SWIGRUNTIME_DEBUG
50083 printf("**** SWIG_InitializeModule: Cast List ******\n");
50084 for (i
= 0; i
< swig_module
.size
; ++i
) {
50086 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
50087 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50088 while (cast
->type
) {
50089 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
50093 printf("---- Total casts: %d\n",j
);
50095 printf("**** SWIG_InitializeModule: Cast List ******\n");
50099 /* This function will propagate the clientdata field of type to
50100 * any new swig_type_info structures that have been added into the list
50101 * of equivalent types. It is like calling
50102 * SWIG_TypeClientData(type, clientdata) a second time.
50105 SWIG_PropagateClientData(void) {
50107 swig_cast_info
*equiv
;
50108 static int init_run
= 0;
50110 if (init_run
) return;
50113 for (i
= 0; i
< swig_module
.size
; i
++) {
50114 if (swig_module
.types
[i
]->clientdata
) {
50115 equiv
= swig_module
.types
[i
]->cast
;
50117 if (!equiv
->converter
) {
50118 if (equiv
->type
&& !equiv
->type
->clientdata
)
50119 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
50121 equiv
= equiv
->next
;
50141 /* Python-specific SWIG API */
50142 #define SWIG_newvarlink() SWIG_Python_newvarlink()
50143 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50144 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50146 /* -----------------------------------------------------------------------------
50147 * global variable support code.
50148 * ----------------------------------------------------------------------------- */
50150 typedef struct swig_globalvar
{
50151 char *name
; /* Name of global variable */
50152 PyObject
*(*get_attr
)(void); /* Return the current value */
50153 int (*set_attr
)(PyObject
*); /* Set the value */
50154 struct swig_globalvar
*next
;
50157 typedef struct swig_varlinkobject
{
50159 swig_globalvar
*vars
;
50160 } swig_varlinkobject
;
50162 SWIGINTERN PyObject
*
50163 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
50164 return PyString_FromString("<Swig global variables>");
50167 SWIGINTERN PyObject
*
50168 swig_varlink_str(swig_varlinkobject
*v
) {
50169 PyObject
*str
= PyString_FromString("(");
50170 swig_globalvar
*var
;
50171 for (var
= v
->vars
; var
; var
=var
->next
) {
50172 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
50173 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
50175 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
50180 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
50181 PyObject
*str
= swig_varlink_str(v
);
50182 fprintf(fp
,"Swig global variables ");
50183 fprintf(fp
,"%s\n", PyString_AsString(str
));
50189 swig_varlink_dealloc(swig_varlinkobject
*v
) {
50190 swig_globalvar
*var
= v
->vars
;
50192 swig_globalvar
*n
= var
->next
;
50199 SWIGINTERN PyObject
*
50200 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
50201 PyObject
*res
= NULL
;
50202 swig_globalvar
*var
= v
->vars
;
50204 if (strcmp(var
->name
,n
) == 0) {
50205 res
= (*var
->get_attr
)();
50210 if (res
== NULL
&& !PyErr_Occurred()) {
50211 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50217 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
50219 swig_globalvar
*var
= v
->vars
;
50221 if (strcmp(var
->name
,n
) == 0) {
50222 res
= (*var
->set_attr
)(p
);
50227 if (res
== 1 && !PyErr_Occurred()) {
50228 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50233 SWIGINTERN PyTypeObject
*
50234 swig_varlink_type(void) {
50235 static char varlink__doc__
[] = "Swig var link object";
50236 static PyTypeObject varlink_type
;
50237 static int type_init
= 0;
50239 const PyTypeObject tmp
50241 PyObject_HEAD_INIT(NULL
)
50242 0, /* Number of items in variable part (ob_size) */
50243 (char *)"swigvarlink", /* Type name (tp_name) */
50244 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
50245 0, /* Itemsize (tp_itemsize) */
50246 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
50247 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
50248 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
50249 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
50250 0, /* tp_compare */
50251 (reprfunc
) swig_varlink_repr
, /* tp_repr */
50252 0, /* tp_as_number */
50253 0, /* tp_as_sequence */
50254 0, /* tp_as_mapping */
50257 (reprfunc
)swig_varlink_str
, /* tp_str */
50258 0, /* tp_getattro */
50259 0, /* tp_setattro */
50260 0, /* tp_as_buffer */
50262 varlink__doc__
, /* tp_doc */
50263 0, /* tp_traverse */
50265 0, /* tp_richcompare */
50266 0, /* tp_weaklistoffset */
50267 #if PY_VERSION_HEX >= 0x02020000
50268 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50270 #if PY_VERSION_HEX >= 0x02030000
50273 #ifdef COUNT_ALLOCS
50274 0,0,0,0 /* tp_alloc -> tp_next */
50277 varlink_type
= tmp
;
50278 varlink_type
.ob_type
= &PyType_Type
;
50281 return &varlink_type
;
50284 /* Create a variable linking object for use later */
50285 SWIGINTERN PyObject
*
50286 SWIG_Python_newvarlink(void) {
50287 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50291 return ((PyObject
*) result
);
50295 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50296 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50297 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50299 size_t size
= strlen(name
)+1;
50300 gv
->name
= (char *)malloc(size
);
50302 strncpy(gv
->name
,name
,size
);
50303 gv
->get_attr
= get_attr
;
50304 gv
->set_attr
= set_attr
;
50305 gv
->next
= v
->vars
;
50311 SWIGINTERN PyObject
*
50313 static PyObject
*_SWIG_globals
= 0;
50314 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50315 return _SWIG_globals
;
50318 /* -----------------------------------------------------------------------------
50319 * constants/methods manipulation
50320 * ----------------------------------------------------------------------------- */
50322 /* Install Constants */
50324 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50327 for (i
= 0; constants
[i
].type
; ++i
) {
50328 switch(constants
[i
].type
) {
50329 case SWIG_PY_POINTER
:
50330 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50332 case SWIG_PY_BINARY
:
50333 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50340 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50346 /* -----------------------------------------------------------------------------*/
50347 /* Fix SwigMethods to carry the callback ptrs when needed */
50348 /* -----------------------------------------------------------------------------*/
50351 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50352 swig_const_info
*const_table
,
50353 swig_type_info
**types
,
50354 swig_type_info
**types_initial
) {
50356 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50357 const char *c
= methods
[i
].ml_doc
;
50358 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50360 swig_const_info
*ci
= 0;
50361 const char *name
= c
+ 10;
50362 for (j
= 0; const_table
[j
].type
; ++j
) {
50363 if (strncmp(const_table
[j
].name
, name
,
50364 strlen(const_table
[j
].name
)) == 0) {
50365 ci
= &(const_table
[j
]);
50370 size_t shift
= (ci
->ptype
) - types
;
50371 swig_type_info
*ty
= types_initial
[shift
];
50372 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50373 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50374 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50377 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50379 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50381 strncpy(buff
, "swig_ptr: ", 10);
50383 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50384 methods
[i
].ml_doc
= ndoc
;
50396 /* -----------------------------------------------------------------------------*
50397 * Partial Init method
50398 * -----------------------------------------------------------------------------*/
50403 SWIGEXPORT
void SWIG_init(void) {
50406 /* Fix SwigMethods to carry the callback ptrs when needed */
50407 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50409 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50410 d
= PyModule_GetDict(m
);
50412 SWIG_InitializeModule(0);
50413 SWIG_InstallConstants(d
,swig_const_table
);
50416 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50417 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50418 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50419 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50420 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50421 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50422 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50423 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50424 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50425 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50426 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50427 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50428 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50429 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50430 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50431 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50432 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50433 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50434 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50435 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50436 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50437 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50438 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50439 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50440 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50441 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50442 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50443 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50444 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50445 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50446 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50447 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50448 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50449 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50450 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50451 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50452 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50453 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50454 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50455 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50456 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50457 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50458 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50459 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50460 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50461 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50462 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50463 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50464 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50465 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50466 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50467 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50468 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50469 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50470 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50471 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50472 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50473 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50474 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50475 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50476 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50477 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50478 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50479 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50480 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50481 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50482 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50483 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50484 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50485 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50486 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50487 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50488 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50489 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50490 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50491 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50492 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50493 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50494 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50495 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50496 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50497 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50498 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50499 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50500 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50501 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50502 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50503 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50504 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50505 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50506 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50507 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50508 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50509 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50510 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50511 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50512 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50513 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50514 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50515 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50516 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50517 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50518 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50519 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50520 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50521 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50522 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50523 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50524 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50525 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50526 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50527 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50528 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50529 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50530 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50531 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50532 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50533 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50534 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50535 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50536 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50537 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50538 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50539 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50540 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50541 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50542 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50543 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50544 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50545 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50546 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50547 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50548 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50549 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50550 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50551 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50552 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50553 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50554 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50555 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50556 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50557 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50558 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50559 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50560 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50561 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50562 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50563 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50564 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50565 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50566 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50567 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50568 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50569 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50570 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50571 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50572 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50573 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50574 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50575 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50576 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50577 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50578 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50579 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50580 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50581 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50582 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50583 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50584 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50585 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50586 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50587 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50588 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50589 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50590 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50591 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50592 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50593 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50594 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50595 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50596 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50597 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50598 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50599 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50600 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50601 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50602 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50603 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50604 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50605 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50606 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50607 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50608 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50609 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50610 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50611 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50612 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50613 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50614 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50615 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50616 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50617 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50618 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50619 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50620 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50621 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50622 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50623 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50624 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50625 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50626 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50627 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50628 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50629 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50630 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50631 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50632 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50633 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50634 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50635 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50636 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50637 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50638 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50639 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50640 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50641 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50642 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50643 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50644 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50645 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50646 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50647 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50648 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50649 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50650 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50651 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50652 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50653 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50654 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50655 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50656 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50657 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50658 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50659 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50660 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50661 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50662 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50663 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50664 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50665 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50666 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50667 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50668 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50669 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50670 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50671 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50672 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50673 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50674 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50675 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50676 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50678 // Map renamed classes back to their common name for OOR
50679 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50681 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50682 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50683 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50684 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50685 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50686 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50687 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50688 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50689 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50690 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50691 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50692 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50693 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50694 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50695 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50696 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50697 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50698 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50699 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50700 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50701 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50702 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50703 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50704 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50705 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50706 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50707 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50708 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50709 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50710 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50711 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50712 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50713 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50714 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50715 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50716 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50717 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50718 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50719 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50720 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50721 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50722 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50723 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50724 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50725 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50726 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50727 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50728 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50729 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50730 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50731 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50732 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50733 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50734 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50735 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50736 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50738 // Map renamed classes back to their common name for OOR
50739 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50740 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50742 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50743 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50744 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50745 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50746 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50747 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50748 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50749 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50750 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50751 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50752 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50754 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50756 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50757 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50758 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50759 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50760 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50761 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50762 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50763 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50764 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50765 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50766 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50767 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50768 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50769 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50770 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50771 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50772 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50773 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50774 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50775 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50776 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
50777 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
50778 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
50779 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
50780 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
50781 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
50782 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
50783 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
50784 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
50785 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
50786 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
50787 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
50788 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
50789 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
50790 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
50791 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
50792 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
50793 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
50794 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
50795 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
50796 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
50797 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
50798 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
50799 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
50800 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
50801 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
50802 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
50803 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
50804 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
));
50805 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
));