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_wxEventBlocker swig_types[54]
2521 #define SWIGTYPE_p_wxEvtHandler swig_types[55]
2522 #define SWIGTYPE_p_wxFSFile swig_types[56]
2523 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[57]
2524 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[58]
2525 #define SWIGTYPE_p_wxFileSystem swig_types[59]
2526 #define SWIGTYPE_p_wxFlexGridSizer swig_types[60]
2527 #define SWIGTYPE_p_wxFocusEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFont swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[63]
2530 #define SWIGTYPE_p_wxFontPickerEvent swig_types[64]
2531 #define SWIGTYPE_p_wxGBSizerItem swig_types[65]
2532 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
2533 #define SWIGTYPE_p_wxGauge swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[68]
2535 #define SWIGTYPE_p_wxGenericDragImage swig_types[69]
2536 #define SWIGTYPE_p_wxGridBagSizer swig_types[70]
2537 #define SWIGTYPE_p_wxGridSizer swig_types[71]
2538 #define SWIGTYPE_p_wxHelpEvent swig_types[72]
2539 #define SWIGTYPE_p_wxHelpProvider swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[74]
2541 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[75]
2542 #define SWIGTYPE_p_wxICOHandler swig_types[76]
2543 #define SWIGTYPE_p_wxIcon swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxItemContainer swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxListBox swig_types[89]
2556 #define SWIGTYPE_p_wxListEvent swig_types[90]
2557 #define SWIGTYPE_p_wxListItem swig_types[91]
2558 #define SWIGTYPE_p_wxListItemAttr swig_types[92]
2559 #define SWIGTYPE_p_wxListView swig_types[93]
2560 #define SWIGTYPE_p_wxListbook swig_types[94]
2561 #define SWIGTYPE_p_wxListbookEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMaximizeEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMemoryDC swig_types[97]
2564 #define SWIGTYPE_p_wxMenu swig_types[98]
2565 #define SWIGTYPE_p_wxMenuBar swig_types[99]
2566 #define SWIGTYPE_p_wxMenuEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMenuItem swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMouseEvent swig_types[104]
2571 #define SWIGTYPE_p_wxMoveEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNcPaintEvent swig_types[107]
2574 #define SWIGTYPE_p_wxNotebook swig_types[108]
2575 #define SWIGTYPE_p_wxNotebookEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxPCXHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNGHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNMHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPaintEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[116]
2583 #define SWIGTYPE_p_wxPaperSize swig_types[117]
2584 #define SWIGTYPE_p_wxPickerBase swig_types[118]
2585 #define SWIGTYPE_p_wxPoint swig_types[119]
2586 #define SWIGTYPE_p_wxPyApp swig_types[120]
2587 #define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyControl swig_types[122]
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPyImageHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPyListCtrl swig_types[125]
2592 #define SWIGTYPE_p_wxPySizer swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[127]
2594 #define SWIGTYPE_p_wxPyTreeItemData swig_types[128]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[129]
2596 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[130]
2597 #define SWIGTYPE_p_wxRadioBox swig_types[131]
2598 #define SWIGTYPE_p_wxRadioButton swig_types[132]
2599 #define SWIGTYPE_p_wxRect swig_types[133]
2600 #define SWIGTYPE_p_wxScrollBar swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSearchCtrl swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSlider swig_types[145]
2612 #define SWIGTYPE_p_wxSpinButton swig_types[146]
2613 #define SWIGTYPE_p_wxSpinCtrl swig_types[147]
2614 #define SWIGTYPE_p_wxSpinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBitmap swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBox swig_types[150]
2617 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[151]
2618 #define SWIGTYPE_p_wxStaticLine swig_types[152]
2619 #define SWIGTYPE_p_wxStaticText swig_types[153]
2620 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[154]
2621 #define SWIGTYPE_p_wxString swig_types[155]
2622 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[156]
2623 #define SWIGTYPE_p_wxTGAHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTIFFHandler swig_types[158]
2625 #define SWIGTYPE_p_wxTextAttr swig_types[159]
2626 #define SWIGTYPE_p_wxTextCtrl swig_types[160]
2627 #define SWIGTYPE_p_wxTextUrlEvent swig_types[161]
2628 #define SWIGTYPE_p_wxToggleButton swig_types[162]
2629 #define SWIGTYPE_p_wxToolBar swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolBarToolBase swig_types[165]
2632 #define SWIGTYPE_p_wxToolbook swig_types[166]
2633 #define SWIGTYPE_p_wxToolbookEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeEvent swig_types[168]
2635 #define SWIGTYPE_p_wxTreeItemId swig_types[169]
2636 #define SWIGTYPE_p_wxTreebook swig_types[170]
2637 #define SWIGTYPE_p_wxTreebookEvent swig_types[171]
2638 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[172]
2639 #define SWIGTYPE_p_wxValidator swig_types[173]
2640 #define SWIGTYPE_p_wxVisualAttributes swig_types[174]
2641 #define SWIGTYPE_p_wxWindow swig_types[175]
2642 #define SWIGTYPE_p_wxWindowBase swig_types[176]
2643 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[177]
2644 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[178]
2645 #define SWIGTYPE_p_wxXPMHandler swig_types[179]
2646 static swig_type_info
*swig_types
[181];
2647 static swig_module_info swig_module
= {swig_types
, 180, 0, 0, 0, 0};
2648 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2649 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2651 /* -------- TYPES TABLE (END) -------- */
2653 #if (PY_VERSION_HEX <= 0x02000000)
2654 # if !defined(SWIG_PYTHON_CLASSIC)
2655 # error "This python version requires to use swig with the '-classic' option"
2658 #if (PY_VERSION_HEX <= 0x02020000)
2659 # error "This python version requires to use swig with the '-nomodern' option"
2661 #if (PY_VERSION_HEX <= 0x02020000)
2662 # error "This python version requires to use swig with the '-nomodernargs' option"
2665 # error "This python version requires to use swig with the '-nofastunpack' option"
2668 /*-----------------------------------------------
2669 @(target):= _controls_.so
2670 ------------------------------------------------*/
2671 #define SWIG_init init_controls_
2673 #define SWIG_name "_controls_"
2675 #define SWIGVERSION 0x010329
2678 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2679 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2682 #include <stdexcept>
2686 class PyObject_ptr
{
2691 PyObject_ptr() :_obj(0)
2695 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2700 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2702 if (initial_ref
) Py_XINCREF(_obj
);
2705 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2707 Py_XINCREF(item
._obj
);
2718 operator PyObject
*() const
2723 PyObject
*operator->() const
2732 struct PyObject_var
: PyObject_ptr
{
2733 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2735 PyObject_var
& operator = (PyObject
* obj
)
2745 #include "wx/wxPython/wxPython.h"
2746 #include "wx/wxPython/pyclasses.h"
2748 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2749 static const wxString
wxPyEmptyString(wxEmptyString
);
2750 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2752 const wxArrayString wxPyEmptyStringArray
;
2754 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2756 #define SWIG_From_long PyInt_FromLong
2759 SWIGINTERNINLINE PyObject
*
2760 SWIG_From_int (int value
)
2762 return SWIG_From_long (value
);
2768 # define LLONG_MIN LONG_LONG_MIN
2771 # define LLONG_MAX LONG_LONG_MAX
2774 # define ULLONG_MAX ULONG_LONG_MAX
2779 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2781 if (PyNumber_Check(obj
)) {
2782 if (val
) *val
= PyInt_AsLong(obj
);
2785 return SWIG_TypeError
;
2790 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2793 int res
= SWIG_AsVal_long (obj
, &v
);
2794 if (SWIG_IsOK(res
)) {
2795 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2796 return SWIG_OverflowError
;
2798 if (val
) *val
= static_cast< int >(v
);
2804 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2807 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2809 if (obj
== Py_True
) {
2810 if (val
) *val
= true;
2812 } else if (obj
== Py_False
) {
2813 if (val
) *val
= false;
2817 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2818 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2823 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2824 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2825 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2826 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2827 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2828 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2829 static const wxString
wxPyStaticLineNameStr(wxStaticLineNameStr
);
2831 #include <wx/checklst.h>
2833 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2834 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2837 wxPyClientData
* data
= new wxPyClientData(clientData
);
2838 self
->Insert(item
, pos
, data
);
2841 self
->Insert(item
, pos
);
2845 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2848 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2849 return SWIG_TypeError
;
2852 *val
= (unsigned long)v
;
2858 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2861 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2862 if (SWIG_IsOK(res
)) {
2863 if ((v
> UINT_MAX
)) {
2864 return SWIG_OverflowError
;
2866 if (val
) *val
= static_cast< unsigned int >(v
);
2872 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2873 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2875 self
->GetSelections(lst
);
2876 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2877 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2879 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2881 wxPyEndBlockThreads(blocked
);
2884 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2886 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2887 self
->GetItem(item
)->SetTextColour(c
);
2890 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2892 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2893 self
->GetItem(item
)->SetBackgroundColour(c
);
2896 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2898 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2899 self
->GetItem(item
)->SetFont(f
);
2902 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2903 SWIGINTERN
void wxTextCtrl_MacCheckSpelling(wxTextCtrl
*self
,bool check
){}
2904 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2905 self
->AppendText(text
);
2907 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2908 return self
->GetValue().Mid(from
, to
- from
);
2910 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2911 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2912 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2913 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2914 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2916 SWIGINTERNINLINE PyObject
*
2917 SWIG_From_unsigned_SS_long (unsigned long value
)
2919 return (value
> LONG_MAX
) ?
2920 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2924 SWIGINTERNINLINE PyObject
*
2925 SWIG_From_size_t (size_t value
)
2927 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2931 SWIGINTERNINLINE PyObject
*
2932 SWIG_From_unsigned_SS_int (unsigned int value
)
2934 return SWIG_From_unsigned_SS_long (value
);
2938 #include <wx/slider.h>
2941 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2942 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2944 #if !wxUSE_TOGGLEBTN
2945 // implement dummy items for platforms that don't have this class
2947 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2949 class wxToggleButton
: public wxControl
2952 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2953 const wxPoint
&, const wxSize
&, long,
2954 const wxValidator
&, const wxString
&)
2955 { wxPyRaiseNotImplemented(); }
2958 { wxPyRaiseNotImplemented(); }
2962 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2964 SWIGINTERNINLINE
int
2965 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2968 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2969 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2973 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2974 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2975 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2977 Py_INCREF(udata
->m_obj
);
2978 return udata
->m_obj
;
2984 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2985 self
->SetClientData(new wxPyUserData(clientData
));
2987 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
){
2988 wxPyUserData
* udata
= NULL
;
2989 if (clientData
&& clientData
!= Py_None
)
2990 udata
= new wxPyUserData(clientData
);
2991 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2992 shortHelp
, longHelp
, udata
);
2994 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
){
2995 wxPyUserData
* udata
= NULL
;
2996 if (clientData
&& clientData
!= Py_None
)
2997 udata
= new wxPyUserData(clientData
);
2998 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2999 shortHelp
, longHelp
, udata
);
3001 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3002 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3004 Py_INCREF(udata
->m_obj
);
3005 return udata
->m_obj
;
3011 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3012 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3015 #include <wx/listctrl.h>
3017 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3018 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3019 // Python aware sorting function for wxPyListCtrl
3020 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3022 PyObject
* func
= (PyObject
*)funcPtr
;
3023 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3025 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3026 PyObject
* result
= PyEval_CallObject(func
, args
);
3029 retval
= PyInt_AsLong(result
);
3033 wxPyEndBlockThreads(blocked
);
3037 // C++ Version of a Python aware class
3038 class wxPyListCtrl
: public wxListCtrl
{
3039 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3041 wxPyListCtrl() : wxListCtrl() {}
3042 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3046 const wxValidator
& validator
,
3047 const wxString
& name
) :
3048 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3050 bool Create(wxWindow
* parent
, wxWindowID id
,
3054 const wxValidator
& validator
,
3055 const wxString
& name
) {
3056 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3059 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3060 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3062 // use the virtual version to avoid a confusing assert in the base class
3063 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3064 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3069 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3071 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3072 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3073 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3074 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3077 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3079 item
.SetMask( wxLIST_MASK_STATE
|
3087 if (self
->GetColumn(col
, item
))
3088 return new wxListItem(item
);
3092 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3093 wxListItem
* info
= new wxListItem
;
3094 info
->m_itemId
= itemId
;
3096 info
->m_mask
= 0xFFFF;
3097 self
->GetItem(*info
);
3100 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3102 self
->GetItemPosition(item
, pos
);
3105 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3107 self
->GetItemRect(item
, rect
, code
);
3110 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3111 if (!PyCallable_Check(func
))
3113 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3115 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3123 #include <wx/treectrl.h>
3124 #include "wx/wxPython/pytree.h"
3126 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3127 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3128 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3129 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3131 static wxTreeItemId wxNullTreeItemId
;
3133 // C++ version of Python aware wxTreeCtrl
3134 class wxPyTreeCtrl
: public wxTreeCtrl
{
3135 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3137 wxPyTreeCtrl() : wxTreeCtrl() {}
3138 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3142 const wxValidator
& validator
,
3143 const wxString
& name
) :
3144 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3146 bool Create(wxWindow
*parent
, wxWindowID id
,
3150 const wxValidator
& validator
,
3151 const wxString
& name
) {
3152 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3156 int OnCompareItems(const wxTreeItemId
& item1
,
3157 const wxTreeItemId
& item2
) {
3160 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3161 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3162 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3163 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3164 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3168 wxPyEndBlockThreads(blocked
);
3170 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3176 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3179 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3180 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3182 data
= new wxPyTreeItemData();
3183 data
->SetId(item
); // set the id
3184 self
->SetItemData(item
, data
);
3188 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3189 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3191 data
= new wxPyTreeItemData();
3192 data
->SetId(item
); // set the id
3193 self
->SetItemData(item
, data
);
3195 return data
->GetData();
3197 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3198 data
->SetId(item
); // set the id
3199 self
->SetItemData(item
, data
);
3201 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3202 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3204 data
= new wxPyTreeItemData(obj
);
3205 data
->SetId(item
); // set the id
3206 self
->SetItemData(item
, data
);
3210 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3211 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3212 PyObject
* rval
= PyList_New(0);
3213 wxArrayTreeItemIds array
;
3215 num
= self
->GetSelections(array
);
3216 for (x
=0; x
< num
; x
++) {
3217 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3218 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3219 PyList_Append(rval
, item
);
3222 wxPyEndBlockThreads(blocked
);
3225 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3227 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3228 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3229 PyObject
* tup
= PyTuple_New(2);
3230 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3231 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3232 wxPyEndBlockThreads(blocked
);
3235 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3236 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3237 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3238 PyObject
* tup
= PyTuple_New(2);
3239 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3240 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3241 wxPyEndBlockThreads(blocked
);
3244 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3246 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3247 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3248 wxRect
* r
= new wxRect(rect
);
3249 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3250 wxPyEndBlockThreads(blocked
);
3256 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3258 SWIGINTERNINLINE PyObject
*
3259 SWIG_From_bool (bool value
)
3261 return PyBool_FromLong(value
? 1 : 0);
3264 // C++ version of Python aware wxControl
3265 class wxPyControl
: public wxControl
3267 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3269 wxPyControl() : wxControl() {}
3270 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3271 const wxPoint
& pos
= wxDefaultPosition
,
3272 const wxSize
& size
= wxDefaultSize
,
3274 const wxValidator
& validator
=wxDefaultValidator
,
3275 const wxString
& name
= wxPyControlNameStr
)
3276 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3279 bool DoEraseBackground(wxDC
* dc
) {
3281 return wxWindow::DoEraseBackground(dc
->GetHDC());
3283 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3289 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3290 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3299 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3301 DEC_PYCALLBACK__(InitDialog
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3303 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3304 DEC_PYCALLBACK_BOOL_(Validate
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3308 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3311 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3313 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3314 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3316 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3318 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3323 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3325 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3326 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3335 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3337 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3340 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3344 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3349 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3350 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3352 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3354 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3358 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3360 #include <wx/generic/dragimgg.h>
3362 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3363 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3365 self
->GetRange(&rv
, NULL
);
3368 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3370 self
->GetRange(NULL
, &rv
);
3373 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3374 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3375 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3376 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3377 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3378 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3379 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3380 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3381 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3382 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3384 #if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3385 // define a dummy class for builds that don't have wxSearchCtrl
3388 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
,
3389 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
3392 class wxSearchCtrl
: public wxTextCtrl
3395 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3396 wxSearchCtrl(wxWindow
*, wxWindowID
,
3402 const wxString
& name
)
3403 { wxPyRaiseNotImplemented(); }
3405 bool Create( wxWindow
*, wxWindowID
,
3411 const wxString
& name
) {}
3413 virtual void SetMenu( wxMenu
* ) {}
3414 virtual wxMenu
* GetMenu() { return NULL
; }
3416 // get/set search options
3417 // ----------------------
3418 virtual void ShowSearchButton( bool ) {}
3419 virtual bool IsSearchButtonVisible() const { return false; }
3421 virtual void ShowCancelButton( bool ) {}
3422 virtual bool IsCancelButtonVisible() const { return false; }
3424 virtual void SetDescriptiveText(const wxString
& text
);
3425 virtual wxString
GetDescriptiveText() const;
3432 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3433 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3438 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3439 PyObject
*pyobj
= 0;
3443 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3445 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3452 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
*resultobj
= 0;
3454 wxWindow
*arg1
= (wxWindow
*) 0 ;
3455 int arg2
= (int) -1 ;
3456 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3457 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3458 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3459 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3460 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3461 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3462 long arg6
= (long) 0 ;
3463 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3464 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3465 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3466 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3467 wxButton
*result
= 0 ;
3472 bool temp3
= false ;
3479 bool temp8
= false ;
3480 PyObject
* obj0
= 0 ;
3481 PyObject
* obj1
= 0 ;
3482 PyObject
* obj2
= 0 ;
3483 PyObject
* obj3
= 0 ;
3484 PyObject
* obj4
= 0 ;
3485 PyObject
* obj5
= 0 ;
3486 PyObject
* obj6
= 0 ;
3487 PyObject
* obj7
= 0 ;
3488 char * kwnames
[] = {
3489 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3494 if (!SWIG_IsOK(res1
)) {
3495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3497 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3500 if (!SWIG_IsOK(ecode2
)) {
3501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3503 arg2
= static_cast< int >(val2
);
3507 arg3
= wxString_in_helper(obj2
);
3508 if (arg3
== NULL
) SWIG_fail
;
3515 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3521 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3525 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3526 if (!SWIG_IsOK(ecode6
)) {
3527 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3529 arg6
= static_cast< long >(val6
);
3532 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3533 if (!SWIG_IsOK(res7
)) {
3534 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3539 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3543 arg8
= wxString_in_helper(obj7
);
3544 if (arg8
== NULL
) SWIG_fail
;
3549 if (!wxPyCheckForApp()) SWIG_fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3552 wxPyEndAllowThreads(__tstate
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3578 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3579 PyObject
*resultobj
= 0;
3580 wxButton
*result
= 0 ;
3582 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3584 if (!wxPyCheckForApp()) SWIG_fail
;
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 result
= (wxButton
*)new wxButton();
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3597 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
= 0;
3599 wxButton
*arg1
= (wxButton
*) 0 ;
3600 wxWindow
*arg2
= (wxWindow
*) 0 ;
3601 int arg3
= (int) -1 ;
3602 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3603 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3604 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3605 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3606 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3607 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3608 long arg7
= (long) 0 ;
3609 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3610 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3611 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3612 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3620 bool temp4
= false ;
3627 bool temp9
= false ;
3628 PyObject
* obj0
= 0 ;
3629 PyObject
* obj1
= 0 ;
3630 PyObject
* obj2
= 0 ;
3631 PyObject
* obj3
= 0 ;
3632 PyObject
* obj4
= 0 ;
3633 PyObject
* obj5
= 0 ;
3634 PyObject
* obj6
= 0 ;
3635 PyObject
* obj7
= 0 ;
3636 PyObject
* obj8
= 0 ;
3637 char * kwnames
[] = {
3638 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3643 if (!SWIG_IsOK(res1
)) {
3644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3646 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3648 if (!SWIG_IsOK(res2
)) {
3649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3651 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3654 if (!SWIG_IsOK(ecode3
)) {
3655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3657 arg3
= static_cast< int >(val3
);
3661 arg4
= wxString_in_helper(obj3
);
3662 if (arg4
== NULL
) SWIG_fail
;
3669 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3675 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3679 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3680 if (!SWIG_IsOK(ecode7
)) {
3681 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3683 arg7
= static_cast< long >(val7
);
3686 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3687 if (!SWIG_IsOK(res8
)) {
3688 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3693 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3697 arg9
= wxString_in_helper(obj8
);
3698 if (arg9
== NULL
) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3733 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3734 PyObject
*resultobj
= 0;
3735 wxButton
*arg1
= (wxButton
*) 0 ;
3738 PyObject
*swig_obj
[1] ;
3740 if (!args
) SWIG_fail
;
3742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3743 if (!SWIG_IsOK(res1
)) {
3744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3746 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 (arg1
)->SetDefault();
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= SWIG_Py_Void();
3760 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3761 PyObject
*resultobj
= 0;
3764 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3767 result
= wxButton::GetDefaultSize();
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3778 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
= 0;
3780 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3781 SwigValueWrapper
<wxVisualAttributes
> result
;
3784 PyObject
* obj0
= 0 ;
3785 char * kwnames
[] = {
3786 (char *) "variant", NULL
3789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3791 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3792 if (!SWIG_IsOK(ecode1
)) {
3793 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3795 arg1
= static_cast< wxWindowVariant
>(val1
);
3798 if (!wxPyCheckForApp()) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= wxButton::GetClassDefaultAttributes(arg1
);
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) SWIG_fail
;
3804 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3811 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3814 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3815 return SWIG_Py_Void();
3818 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3819 return SWIG_Python_InitShadowInstance(args
);
3822 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
= 0;
3824 wxWindow
*arg1
= (wxWindow
*) 0 ;
3825 int arg2
= (int) -1 ;
3826 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3827 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3828 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3829 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3830 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3831 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3832 long arg6
= (long) wxBU_AUTODRAW
;
3833 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3834 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3835 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3836 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3837 wxBitmapButton
*result
= 0 ;
3850 bool temp8
= false ;
3851 PyObject
* obj0
= 0 ;
3852 PyObject
* obj1
= 0 ;
3853 PyObject
* obj2
= 0 ;
3854 PyObject
* obj3
= 0 ;
3855 PyObject
* obj4
= 0 ;
3856 PyObject
* obj5
= 0 ;
3857 PyObject
* obj6
= 0 ;
3858 PyObject
* obj7
= 0 ;
3859 char * kwnames
[] = {
3860 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3865 if (!SWIG_IsOK(res1
)) {
3866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3868 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3871 if (!SWIG_IsOK(ecode2
)) {
3872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3874 arg2
= static_cast< int >(val2
);
3877 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3878 if (!SWIG_IsOK(res3
)) {
3879 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3884 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3889 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3895 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3899 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3900 if (!SWIG_IsOK(ecode6
)) {
3901 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3903 arg6
= static_cast< long >(val6
);
3906 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3907 if (!SWIG_IsOK(res7
)) {
3908 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3913 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3917 arg8
= wxString_in_helper(obj7
);
3918 if (arg8
== NULL
) SWIG_fail
;
3923 if (!wxPyCheckForApp()) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3944 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3945 PyObject
*resultobj
= 0;
3946 wxBitmapButton
*result
= 0 ;
3948 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3950 if (!wxPyCheckForApp()) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 result
= (wxBitmapButton
*)new wxBitmapButton();
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3963 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
= 0;
3965 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3966 wxWindow
*arg2
= (wxWindow
*) 0 ;
3967 int arg3
= (int) -1 ;
3968 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3969 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3970 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3971 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3972 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3973 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3974 long arg7
= (long) wxBU_AUTODRAW
;
3975 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3976 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3977 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3978 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3994 bool temp9
= false ;
3995 PyObject
* obj0
= 0 ;
3996 PyObject
* obj1
= 0 ;
3997 PyObject
* obj2
= 0 ;
3998 PyObject
* obj3
= 0 ;
3999 PyObject
* obj4
= 0 ;
4000 PyObject
* obj5
= 0 ;
4001 PyObject
* obj6
= 0 ;
4002 PyObject
* obj7
= 0 ;
4003 PyObject
* obj8
= 0 ;
4004 char * kwnames
[] = {
4005 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4010 if (!SWIG_IsOK(res1
)) {
4011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4013 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4014 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4015 if (!SWIG_IsOK(res2
)) {
4016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4018 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4021 if (!SWIG_IsOK(ecode3
)) {
4022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4024 arg3
= static_cast< int >(val3
);
4027 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4028 if (!SWIG_IsOK(res4
)) {
4029 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4034 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
4039 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4045 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4049 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4050 if (!SWIG_IsOK(ecode7
)) {
4051 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4053 arg7
= static_cast< long >(val7
);
4056 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4057 if (!SWIG_IsOK(res8
)) {
4058 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4063 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4067 arg9
= wxString_in_helper(obj8
);
4068 if (arg9
== NULL
) SWIG_fail
;
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4095 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4096 PyObject
*resultobj
= 0;
4097 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4101 PyObject
*swig_obj
[1] ;
4103 if (!args
) SWIG_fail
;
4105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4106 if (!SWIG_IsOK(res1
)) {
4107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4109 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4112 result
= (arg1
)->GetBitmapLabel();
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4116 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4123 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4124 PyObject
*resultobj
= 0;
4125 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4129 PyObject
*swig_obj
[1] ;
4131 if (!args
) SWIG_fail
;
4133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4134 if (!SWIG_IsOK(res1
)) {
4135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4137 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 result
= (arg1
)->GetBitmapDisabled();
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4144 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4151 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4152 PyObject
*resultobj
= 0;
4153 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4157 PyObject
*swig_obj
[1] ;
4159 if (!args
) SWIG_fail
;
4161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4162 if (!SWIG_IsOK(res1
)) {
4163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4165 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= (arg1
)->GetBitmapFocus();
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) SWIG_fail
;
4172 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4179 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4180 PyObject
*resultobj
= 0;
4181 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4185 PyObject
*swig_obj
[1] ;
4187 if (!args
) SWIG_fail
;
4189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4190 if (!SWIG_IsOK(res1
)) {
4191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4193 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 result
= (arg1
)->GetBitmapSelected();
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4200 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4207 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4208 PyObject
*resultobj
= 0;
4209 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4213 PyObject
*swig_obj
[1] ;
4215 if (!args
) SWIG_fail
;
4217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4218 if (!SWIG_IsOK(res1
)) {
4219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4221 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (arg1
)->GetBitmapHover();
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4235 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
= 0;
4237 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4238 wxBitmap
*arg2
= 0 ;
4243 PyObject
* obj0
= 0 ;
4244 PyObject
* obj1
= 0 ;
4245 char * kwnames
[] = {
4246 (char *) "self",(char *) "bitmap", NULL
4249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4251 if (!SWIG_IsOK(res1
)) {
4252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4254 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4256 if (!SWIG_IsOK(res2
)) {
4257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4262 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= SWIG_Py_Void();
4276 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
= 0;
4278 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4279 wxBitmap
*arg2
= 0 ;
4284 PyObject
* obj0
= 0 ;
4285 PyObject
* obj1
= 0 ;
4286 char * kwnames
[] = {
4287 (char *) "self",(char *) "bitmap", NULL
4290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4292 if (!SWIG_IsOK(res1
)) {
4293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4295 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4297 if (!SWIG_IsOK(res2
)) {
4298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4303 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 resultobj
= SWIG_Py_Void();
4317 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
*resultobj
= 0;
4319 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4320 wxBitmap
*arg2
= 0 ;
4325 PyObject
* obj0
= 0 ;
4326 PyObject
* obj1
= 0 ;
4327 char * kwnames
[] = {
4328 (char *) "self",(char *) "bitmap", NULL
4331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4333 if (!SWIG_IsOK(res1
)) {
4334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4336 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4338 if (!SWIG_IsOK(res2
)) {
4339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4344 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 resultobj
= SWIG_Py_Void();
4358 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
= 0;
4360 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4361 wxBitmap
*arg2
= 0 ;
4366 PyObject
* obj0
= 0 ;
4367 PyObject
* obj1
= 0 ;
4368 char * kwnames
[] = {
4369 (char *) "self",(char *) "bitmap", NULL
4372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4374 if (!SWIG_IsOK(res1
)) {
4375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4377 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4379 if (!SWIG_IsOK(res2
)) {
4380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4385 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4392 resultobj
= SWIG_Py_Void();
4399 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
= 0;
4401 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4402 wxBitmap
*arg2
= 0 ;
4407 PyObject
* obj0
= 0 ;
4408 PyObject
* obj1
= 0 ;
4409 char * kwnames
[] = {
4410 (char *) "self",(char *) "hover", NULL
4413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4415 if (!SWIG_IsOK(res1
)) {
4416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4418 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4419 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4420 if (!SWIG_IsOK(res2
)) {
4421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4424 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4426 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 resultobj
= SWIG_Py_Void();
4440 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
= 0;
4442 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4451 PyObject
* obj0
= 0 ;
4452 PyObject
* obj1
= 0 ;
4453 PyObject
* obj2
= 0 ;
4454 char * kwnames
[] = {
4455 (char *) "self",(char *) "x",(char *) "y", NULL
4458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4460 if (!SWIG_IsOK(res1
)) {
4461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4463 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4465 if (!SWIG_IsOK(ecode2
)) {
4466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4468 arg2
= static_cast< int >(val2
);
4469 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4470 if (!SWIG_IsOK(ecode3
)) {
4471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4473 arg3
= static_cast< int >(val3
);
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 (arg1
)->SetMargins(arg2
,arg3
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= SWIG_Py_Void();
4487 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4488 PyObject
*resultobj
= 0;
4489 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4493 PyObject
*swig_obj
[1] ;
4495 if (!args
) SWIG_fail
;
4497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4498 if (!SWIG_IsOK(res1
)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4501 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4508 resultobj
= SWIG_From_int(static_cast< int >(result
));
4515 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4516 PyObject
*resultobj
= 0;
4517 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4521 PyObject
*swig_obj
[1] ;
4523 if (!args
) SWIG_fail
;
4525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4526 if (!SWIG_IsOK(res1
)) {
4527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4529 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4536 resultobj
= SWIG_From_int(static_cast< int >(result
));
4543 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4546 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4547 return SWIG_Py_Void();
4550 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4551 return SWIG_Python_InitShadowInstance(args
);
4554 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4555 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4560 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4561 PyObject
*pyobj
= 0;
4565 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4567 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4574 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
= 0;
4576 wxWindow
*arg1
= (wxWindow
*) 0 ;
4577 int arg2
= (int) -1 ;
4578 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4579 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4580 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4581 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4582 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4583 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4584 long arg6
= (long) 0 ;
4585 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4586 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4587 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4588 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4589 wxCheckBox
*result
= 0 ;
4594 bool temp3
= false ;
4601 bool temp8
= false ;
4602 PyObject
* obj0
= 0 ;
4603 PyObject
* obj1
= 0 ;
4604 PyObject
* obj2
= 0 ;
4605 PyObject
* obj3
= 0 ;
4606 PyObject
* obj4
= 0 ;
4607 PyObject
* obj5
= 0 ;
4608 PyObject
* obj6
= 0 ;
4609 PyObject
* obj7
= 0 ;
4610 char * kwnames
[] = {
4611 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4616 if (!SWIG_IsOK(res1
)) {
4617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4619 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4622 if (!SWIG_IsOK(ecode2
)) {
4623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4625 arg2
= static_cast< int >(val2
);
4629 arg3
= wxString_in_helper(obj2
);
4630 if (arg3
== NULL
) SWIG_fail
;
4637 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4643 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4647 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4648 if (!SWIG_IsOK(ecode6
)) {
4649 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4651 arg6
= static_cast< long >(val6
);
4654 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4655 if (!SWIG_IsOK(res7
)) {
4656 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4661 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4665 arg8
= wxString_in_helper(obj7
);
4666 if (arg8
== NULL
) SWIG_fail
;
4671 if (!wxPyCheckForApp()) SWIG_fail
;
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4700 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4701 PyObject
*resultobj
= 0;
4702 wxCheckBox
*result
= 0 ;
4704 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4706 if (!wxPyCheckForApp()) SWIG_fail
;
4707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4708 result
= (wxCheckBox
*)new wxCheckBox();
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4719 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
= 0;
4721 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4722 wxWindow
*arg2
= (wxWindow
*) 0 ;
4723 int arg3
= (int) -1 ;
4724 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4725 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4726 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4727 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4728 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4729 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4730 long arg7
= (long) 0 ;
4731 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4732 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4733 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4734 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4742 bool temp4
= false ;
4749 bool temp9
= false ;
4750 PyObject
* obj0
= 0 ;
4751 PyObject
* obj1
= 0 ;
4752 PyObject
* obj2
= 0 ;
4753 PyObject
* obj3
= 0 ;
4754 PyObject
* obj4
= 0 ;
4755 PyObject
* obj5
= 0 ;
4756 PyObject
* obj6
= 0 ;
4757 PyObject
* obj7
= 0 ;
4758 PyObject
* obj8
= 0 ;
4759 char * kwnames
[] = {
4760 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4765 if (!SWIG_IsOK(res1
)) {
4766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4768 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4769 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4770 if (!SWIG_IsOK(res2
)) {
4771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4773 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4776 if (!SWIG_IsOK(ecode3
)) {
4777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4779 arg3
= static_cast< int >(val3
);
4783 arg4
= wxString_in_helper(obj3
);
4784 if (arg4
== NULL
) SWIG_fail
;
4791 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4797 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4801 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4802 if (!SWIG_IsOK(ecode7
)) {
4803 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4805 arg7
= static_cast< long >(val7
);
4808 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4809 if (!SWIG_IsOK(res8
)) {
4810 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4815 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4819 arg9
= wxString_in_helper(obj8
);
4820 if (arg9
== NULL
) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4855 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4856 PyObject
*resultobj
= 0;
4857 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4861 PyObject
*swig_obj
[1] ;
4863 if (!args
) SWIG_fail
;
4865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4866 if (!SWIG_IsOK(res1
)) {
4867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4869 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 result
= (bool)(arg1
)->GetValue();
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4885 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4886 PyObject
*resultobj
= 0;
4887 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4891 PyObject
*swig_obj
[1] ;
4893 if (!args
) SWIG_fail
;
4895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4896 if (!SWIG_IsOK(res1
)) {
4897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4899 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= (bool)(arg1
)->IsChecked();
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4915 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
= 0;
4917 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4923 PyObject
* obj0
= 0 ;
4924 PyObject
* obj1
= 0 ;
4925 char * kwnames
[] = {
4926 (char *) "self",(char *) "state", NULL
4929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4931 if (!SWIG_IsOK(res1
)) {
4932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4934 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4935 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4936 if (!SWIG_IsOK(ecode2
)) {
4937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4939 arg2
= static_cast< bool >(val2
);
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 (arg1
)->SetValue(arg2
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4946 resultobj
= SWIG_Py_Void();
4953 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4954 PyObject
*resultobj
= 0;
4955 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4956 wxCheckBoxState result
;
4959 PyObject
*swig_obj
[1] ;
4961 if (!args
) SWIG_fail
;
4963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4964 if (!SWIG_IsOK(res1
)) {
4965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4967 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) SWIG_fail
;
4974 resultobj
= SWIG_From_int(static_cast< int >(result
));
4981 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
*resultobj
= 0;
4983 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4984 wxCheckBoxState arg2
;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4991 char * kwnames
[] = {
4992 (char *) "self",(char *) "state", NULL
4995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4997 if (!SWIG_IsOK(res1
)) {
4998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
5000 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5002 if (!SWIG_IsOK(ecode2
)) {
5003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5005 arg2
= static_cast< wxCheckBoxState
>(val2
);
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 (arg1
)->Set3StateValue(arg2
);
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= SWIG_Py_Void();
5019 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5020 PyObject
*resultobj
= 0;
5021 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5025 PyObject
*swig_obj
[1] ;
5027 if (!args
) SWIG_fail
;
5029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5030 if (!SWIG_IsOK(res1
)) {
5031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5033 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5049 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5050 PyObject
*resultobj
= 0;
5051 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5055 PyObject
*swig_obj
[1] ;
5057 if (!args
) SWIG_fail
;
5059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5060 if (!SWIG_IsOK(res1
)) {
5061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5063 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5079 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
= 0;
5081 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5082 SwigValueWrapper
<wxVisualAttributes
> result
;
5085 PyObject
* obj0
= 0 ;
5086 char * kwnames
[] = {
5087 (char *) "variant", NULL
5090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5092 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5093 if (!SWIG_IsOK(ecode1
)) {
5094 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5096 arg1
= static_cast< wxWindowVariant
>(val1
);
5099 if (!wxPyCheckForApp()) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5105 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5112 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5115 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5116 return SWIG_Py_Void();
5119 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5120 return SWIG_Python_InitShadowInstance(args
);
5123 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5124 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5129 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5130 PyObject
*pyobj
= 0;
5134 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5136 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5143 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
= 0;
5145 wxWindow
*arg1
= (wxWindow
*) 0 ;
5146 int arg2
= (int) -1 ;
5147 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5148 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5149 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5150 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5151 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5152 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5153 long arg6
= (long) 0 ;
5154 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5155 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5156 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5157 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5158 wxChoice
*result
= 0 ;
5165 bool temp5
= false ;
5170 bool temp8
= false ;
5171 PyObject
* obj0
= 0 ;
5172 PyObject
* obj1
= 0 ;
5173 PyObject
* obj2
= 0 ;
5174 PyObject
* obj3
= 0 ;
5175 PyObject
* obj4
= 0 ;
5176 PyObject
* obj5
= 0 ;
5177 PyObject
* obj6
= 0 ;
5178 PyObject
* obj7
= 0 ;
5179 char * kwnames
[] = {
5180 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5185 if (!SWIG_IsOK(res1
)) {
5186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5188 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5191 if (!SWIG_IsOK(ecode2
)) {
5192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5194 arg2
= static_cast< int >(val2
);
5199 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5205 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5210 if (! PySequence_Check(obj4
)) {
5211 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5214 arg5
= new wxArrayString
;
5216 int i
, len
=PySequence_Length(obj4
);
5217 for (i
=0; i
<len
; i
++) {
5218 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5219 wxString
* s
= wxString_in_helper(item
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5228 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5229 if (!SWIG_IsOK(ecode6
)) {
5230 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5232 arg6
= static_cast< long >(val6
);
5235 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5236 if (!SWIG_IsOK(res7
)) {
5237 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5242 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5246 arg8
= wxString_in_helper(obj7
);
5247 if (arg8
== NULL
) SWIG_fail
;
5252 if (!wxPyCheckForApp()) SWIG_fail
;
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5260 if (temp5
) delete arg5
;
5269 if (temp5
) delete arg5
;
5279 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5280 PyObject
*resultobj
= 0;
5281 wxChoice
*result
= 0 ;
5283 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5285 if (!wxPyCheckForApp()) SWIG_fail
;
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 result
= (wxChoice
*)new wxChoice();
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5298 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
= 0;
5300 wxChoice
*arg1
= (wxChoice
*) 0 ;
5301 wxWindow
*arg2
= (wxWindow
*) 0 ;
5302 int arg3
= (int) -1 ;
5303 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5304 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5305 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5306 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5307 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5308 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5309 long arg7
= (long) 0 ;
5310 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5311 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5312 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5313 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5323 bool temp6
= false ;
5328 bool temp9
= false ;
5329 PyObject
* obj0
= 0 ;
5330 PyObject
* obj1
= 0 ;
5331 PyObject
* obj2
= 0 ;
5332 PyObject
* obj3
= 0 ;
5333 PyObject
* obj4
= 0 ;
5334 PyObject
* obj5
= 0 ;
5335 PyObject
* obj6
= 0 ;
5336 PyObject
* obj7
= 0 ;
5337 PyObject
* obj8
= 0 ;
5338 char * kwnames
[] = {
5339 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5344 if (!SWIG_IsOK(res1
)) {
5345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5347 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5349 if (!SWIG_IsOK(res2
)) {
5350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5352 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5355 if (!SWIG_IsOK(ecode3
)) {
5356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5358 arg3
= static_cast< int >(val3
);
5363 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5369 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5374 if (! PySequence_Check(obj5
)) {
5375 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5378 arg6
= new wxArrayString
;
5380 int i
, len
=PySequence_Length(obj5
);
5381 for (i
=0; i
<len
; i
++) {
5382 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5383 wxString
* s
= wxString_in_helper(item
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5392 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5393 if (!SWIG_IsOK(ecode7
)) {
5394 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5396 arg7
= static_cast< long >(val7
);
5399 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5400 if (!SWIG_IsOK(res8
)) {
5401 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5406 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5410 arg9
= wxString_in_helper(obj8
);
5411 if (arg9
== NULL
) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5425 if (temp6
) delete arg6
;
5434 if (temp6
) delete arg6
;
5444 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5445 PyObject
*resultobj
= 0;
5446 wxChoice
*arg1
= (wxChoice
*) 0 ;
5450 PyObject
*swig_obj
[1] ;
5452 if (!args
) SWIG_fail
;
5454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5455 if (!SWIG_IsOK(res1
)) {
5456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5458 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= SWIG_From_int(static_cast< int >(result
));
5472 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
= 0;
5474 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5475 SwigValueWrapper
<wxVisualAttributes
> result
;
5478 PyObject
* obj0
= 0 ;
5479 char * kwnames
[] = {
5480 (char *) "variant", NULL
5483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5485 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5486 if (!SWIG_IsOK(ecode1
)) {
5487 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5489 arg1
= static_cast< wxWindowVariant
>(val1
);
5492 if (!wxPyCheckForApp()) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5505 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5507 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5508 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5509 return SWIG_Py_Void();
5512 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5513 return SWIG_Python_InitShadowInstance(args
);
5516 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5517 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5522 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5523 PyObject
*pyobj
= 0;
5527 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5529 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5536 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
*resultobj
= 0;
5538 wxWindow
*arg1
= (wxWindow
*) 0 ;
5539 int arg2
= (int) -1 ;
5540 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5541 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5542 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5543 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5544 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5545 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5546 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5547 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5548 long arg7
= (long) 0 ;
5549 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5550 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5551 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5552 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5553 wxComboBox
*result
= 0 ;
5558 bool temp3
= false ;
5561 bool temp6
= false ;
5566 bool temp9
= false ;
5567 PyObject
* obj0
= 0 ;
5568 PyObject
* obj1
= 0 ;
5569 PyObject
* obj2
= 0 ;
5570 PyObject
* obj3
= 0 ;
5571 PyObject
* obj4
= 0 ;
5572 PyObject
* obj5
= 0 ;
5573 PyObject
* obj6
= 0 ;
5574 PyObject
* obj7
= 0 ;
5575 PyObject
* obj8
= 0 ;
5576 char * kwnames
[] = {
5577 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5582 if (!SWIG_IsOK(res1
)) {
5583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5585 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5588 if (!SWIG_IsOK(ecode2
)) {
5589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5591 arg2
= static_cast< int >(val2
);
5595 arg3
= wxString_in_helper(obj2
);
5596 if (arg3
== NULL
) SWIG_fail
;
5603 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5609 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5614 if (! PySequence_Check(obj5
)) {
5615 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5618 arg6
= new wxArrayString
;
5620 int i
, len
=PySequence_Length(obj5
);
5621 for (i
=0; i
<len
; i
++) {
5622 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5623 wxString
* s
= wxString_in_helper(item
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5632 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5633 if (!SWIG_IsOK(ecode7
)) {
5634 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5636 arg7
= static_cast< long >(val7
);
5639 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5640 if (!SWIG_IsOK(res8
)) {
5641 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5646 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5650 arg9
= wxString_in_helper(obj8
);
5651 if (arg9
== NULL
) SWIG_fail
;
5656 if (!wxPyCheckForApp()) SWIG_fail
;
5657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 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
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5668 if (temp6
) delete arg6
;
5681 if (temp6
) delete arg6
;
5691 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5692 PyObject
*resultobj
= 0;
5693 wxComboBox
*result
= 0 ;
5695 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5697 if (!wxPyCheckForApp()) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (wxComboBox
*)new wxComboBox();
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5710 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
= 0;
5712 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5713 wxWindow
*arg2
= (wxWindow
*) 0 ;
5714 int arg3
= (int) -1 ;
5715 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5716 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5717 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5718 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5719 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5720 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5721 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5722 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5723 long arg8
= (long) 0 ;
5724 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5725 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5726 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5727 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5735 bool temp4
= false ;
5738 bool temp7
= false ;
5743 bool temp10
= false ;
5744 PyObject
* obj0
= 0 ;
5745 PyObject
* obj1
= 0 ;
5746 PyObject
* obj2
= 0 ;
5747 PyObject
* obj3
= 0 ;
5748 PyObject
* obj4
= 0 ;
5749 PyObject
* obj5
= 0 ;
5750 PyObject
* obj6
= 0 ;
5751 PyObject
* obj7
= 0 ;
5752 PyObject
* obj8
= 0 ;
5753 PyObject
* obj9
= 0 ;
5754 char * kwnames
[] = {
5755 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5760 if (!SWIG_IsOK(res1
)) {
5761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5763 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5764 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5765 if (!SWIG_IsOK(res2
)) {
5766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5768 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5771 if (!SWIG_IsOK(ecode3
)) {
5772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5774 arg3
= static_cast< int >(val3
);
5778 arg4
= wxString_in_helper(obj3
);
5779 if (arg4
== NULL
) SWIG_fail
;
5786 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5792 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5797 if (! PySequence_Check(obj6
)) {
5798 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5801 arg7
= new wxArrayString
;
5803 int i
, len
=PySequence_Length(obj6
);
5804 for (i
=0; i
<len
; i
++) {
5805 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5806 wxString
* s
= wxString_in_helper(item
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5815 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5816 if (!SWIG_IsOK(ecode8
)) {
5817 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5819 arg8
= static_cast< long >(val8
);
5822 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5823 if (!SWIG_IsOK(res9
)) {
5824 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5829 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5833 arg10
= wxString_in_helper(obj9
);
5834 if (arg10
== NULL
) SWIG_fail
;
5839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5840 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
);
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5852 if (temp7
) delete arg7
;
5865 if (temp7
) delete arg7
;
5875 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5876 PyObject
*resultobj
= 0;
5877 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5881 PyObject
*swig_obj
[1] ;
5883 if (!args
) SWIG_fail
;
5885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5886 if (!SWIG_IsOK(res1
)) {
5887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5889 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 result
= ((wxComboBox
const *)arg1
)->GetValue();
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5909 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
= 0;
5911 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5912 wxString
*arg2
= 0 ;
5915 bool temp2
= false ;
5916 PyObject
* obj0
= 0 ;
5917 PyObject
* obj1
= 0 ;
5918 char * kwnames
[] = {
5919 (char *) "self",(char *) "value", NULL
5922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5924 if (!SWIG_IsOK(res1
)) {
5925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5927 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5929 arg2
= wxString_in_helper(obj1
);
5930 if (arg2
== NULL
) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 (arg1
)->SetValue((wxString
const &)*arg2
);
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5939 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5955 PyObject
*resultobj
= 0;
5956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5959 PyObject
*swig_obj
[1] ;
5961 if (!args
) SWIG_fail
;
5963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5964 if (!SWIG_IsOK(res1
)) {
5965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5967 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_Py_Void();
5981 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5982 PyObject
*resultobj
= 0;
5983 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5986 PyObject
*swig_obj
[1] ;
5988 if (!args
) SWIG_fail
;
5990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5991 if (!SWIG_IsOK(res1
)) {
5992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5994 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= SWIG_Py_Void();
6008 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6009 PyObject
*resultobj
= 0;
6010 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6013 PyObject
*swig_obj
[1] ;
6015 if (!args
) SWIG_fail
;
6017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6018 if (!SWIG_IsOK(res1
)) {
6019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6021 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= SWIG_Py_Void();
6035 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
= 0;
6037 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6043 PyObject
* obj0
= 0 ;
6044 PyObject
* obj1
= 0 ;
6045 char * kwnames
[] = {
6046 (char *) "self",(char *) "pos", NULL
6049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6051 if (!SWIG_IsOK(res1
)) {
6052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6054 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6055 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6056 if (!SWIG_IsOK(ecode2
)) {
6057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6059 arg2
= static_cast< long >(val2
);
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 (arg1
)->SetInsertionPoint(arg2
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= SWIG_Py_Void();
6073 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6074 PyObject
*resultobj
= 0;
6075 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6079 PyObject
*swig_obj
[1] ;
6081 if (!args
) SWIG_fail
;
6083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6084 if (!SWIG_IsOK(res1
)) {
6085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6087 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6091 wxPyEndAllowThreads(__tstate
);
6092 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= SWIG_From_long(static_cast< long >(result
));
6101 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6102 PyObject
*resultobj
= 0;
6103 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6107 PyObject
*swig_obj
[1] ;
6109 if (!args
) SWIG_fail
;
6111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6112 if (!SWIG_IsOK(res1
)) {
6113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6115 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= SWIG_From_long(static_cast< long >(result
));
6129 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
= 0;
6131 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6134 wxString
*arg4
= 0 ;
6141 bool temp4
= false ;
6142 PyObject
* obj0
= 0 ;
6143 PyObject
* obj1
= 0 ;
6144 PyObject
* obj2
= 0 ;
6145 PyObject
* obj3
= 0 ;
6146 char * kwnames
[] = {
6147 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6152 if (!SWIG_IsOK(res1
)) {
6153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6155 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6156 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6157 if (!SWIG_IsOK(ecode2
)) {
6158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6160 arg2
= static_cast< long >(val2
);
6161 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6162 if (!SWIG_IsOK(ecode3
)) {
6163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6165 arg3
= static_cast< long >(val3
);
6167 arg4
= wxString_in_helper(obj3
);
6168 if (arg4
== NULL
) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= SWIG_Py_Void();
6192 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
= 0;
6194 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6205 PyObject
* obj2
= 0 ;
6206 char * kwnames
[] = {
6207 (char *) "self",(char *) "from",(char *) "to", NULL
6210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6212 if (!SWIG_IsOK(res1
)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6215 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6216 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6217 if (!SWIG_IsOK(ecode2
)) {
6218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6220 arg2
= static_cast< long >(val2
);
6221 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6222 if (!SWIG_IsOK(ecode3
)) {
6223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6225 arg3
= static_cast< long >(val3
);
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 (arg1
)->SetSelection(arg2
,arg3
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6232 resultobj
= SWIG_Py_Void();
6239 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6240 PyObject
*resultobj
= 0;
6241 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6242 long *arg2
= (long *) 0 ;
6243 long *arg3
= (long *) 0 ;
6247 int res2
= SWIG_TMPOBJ
;
6249 int res3
= SWIG_TMPOBJ
;
6250 PyObject
*swig_obj
[1] ;
6254 if (!args
) SWIG_fail
;
6256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6257 if (!SWIG_IsOK(res1
)) {
6258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6260 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 (arg1
)->GetSelection(arg2
,arg3
);
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= SWIG_Py_Void();
6268 if (SWIG_IsTmpObj(res2
)) {
6269 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6271 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6274 if (SWIG_IsTmpObj(res3
)) {
6275 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6277 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6278 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6286 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6287 PyObject
*resultobj
= 0;
6288 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6292 PyObject
*swig_obj
[1] ;
6294 if (!args
) SWIG_fail
;
6296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6297 if (!SWIG_IsOK(res1
)) {
6298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6300 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 resultobj
= SWIG_From_int(static_cast< int >(result
));
6314 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
= 0;
6316 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6317 wxString
*arg2
= 0 ;
6321 bool temp2
= false ;
6322 PyObject
* obj0
= 0 ;
6323 PyObject
* obj1
= 0 ;
6324 char * kwnames
[] = {
6325 (char *) "self",(char *) "string", NULL
6328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6330 if (!SWIG_IsOK(res1
)) {
6331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6333 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6335 arg2
= wxString_in_helper(obj1
);
6336 if (arg2
== NULL
) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6362 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
= 0;
6364 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6370 PyObject
* obj0
= 0 ;
6371 PyObject
* obj1
= 0 ;
6372 char * kwnames
[] = {
6373 (char *) "self",(char *) "editable", NULL
6376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6378 if (!SWIG_IsOK(res1
)) {
6379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6381 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6382 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6383 if (!SWIG_IsOK(ecode2
)) {
6384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6386 arg2
= static_cast< bool >(val2
);
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 (arg1
)->SetEditable(arg2
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= SWIG_Py_Void();
6400 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6401 PyObject
*resultobj
= 0;
6402 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6405 PyObject
*swig_obj
[1] ;
6407 if (!args
) SWIG_fail
;
6409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6410 if (!SWIG_IsOK(res1
)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6413 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 (arg1
)->SetInsertionPointEnd();
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_Py_Void();
6427 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
= 0;
6429 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6438 PyObject
* obj0
= 0 ;
6439 PyObject
* obj1
= 0 ;
6440 PyObject
* obj2
= 0 ;
6441 char * kwnames
[] = {
6442 (char *) "self",(char *) "from",(char *) "to", NULL
6445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6447 if (!SWIG_IsOK(res1
)) {
6448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6450 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6451 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6452 if (!SWIG_IsOK(ecode2
)) {
6453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6455 arg2
= static_cast< long >(val2
);
6456 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6457 if (!SWIG_IsOK(ecode3
)) {
6458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6460 arg3
= static_cast< long >(val3
);
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 (arg1
)->Remove(arg2
,arg3
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= SWIG_Py_Void();
6474 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6475 PyObject
*resultobj
= 0;
6476 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6480 PyObject
*swig_obj
[1] ;
6482 if (!args
) SWIG_fail
;
6484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6485 if (!SWIG_IsOK(res1
)) {
6486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6488 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6504 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6505 PyObject
*resultobj
= 0;
6506 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6509 PyObject
*swig_obj
[1] ;
6511 if (!args
) SWIG_fail
;
6513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6514 if (!SWIG_IsOK(res1
)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6517 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= SWIG_Py_Void();
6531 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6532 PyObject
*resultobj
= 0;
6533 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6536 PyObject
*swig_obj
[1] ;
6538 if (!args
) SWIG_fail
;
6540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6541 if (!SWIG_IsOK(res1
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6544 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_Py_Void();
6558 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6559 PyObject
*resultobj
= 0;
6560 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6563 PyObject
*swig_obj
[1] ;
6565 if (!args
) SWIG_fail
;
6567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6568 if (!SWIG_IsOK(res1
)) {
6569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6571 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 (arg1
)->SelectAll();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_Py_Void();
6585 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6586 PyObject
*resultobj
= 0;
6587 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6591 PyObject
*swig_obj
[1] ;
6593 if (!args
) SWIG_fail
;
6595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6596 if (!SWIG_IsOK(res1
)) {
6597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6599 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6615 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6616 PyObject
*resultobj
= 0;
6617 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6621 PyObject
*swig_obj
[1] ;
6623 if (!args
) SWIG_fail
;
6625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6626 if (!SWIG_IsOK(res1
)) {
6627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6629 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6645 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6646 PyObject
*resultobj
= 0;
6647 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6651 PyObject
*swig_obj
[1] ;
6653 if (!args
) SWIG_fail
;
6655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6656 if (!SWIG_IsOK(res1
)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6659 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6675 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6676 PyObject
*resultobj
= 0;
6677 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6681 PyObject
*swig_obj
[1] ;
6683 if (!args
) SWIG_fail
;
6685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6686 if (!SWIG_IsOK(res1
)) {
6687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6689 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6705 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6706 PyObject
*resultobj
= 0;
6707 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6711 PyObject
*swig_obj
[1] ;
6713 if (!args
) SWIG_fail
;
6715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6716 if (!SWIG_IsOK(res1
)) {
6717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6719 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6735 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
= 0;
6737 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6738 SwigValueWrapper
<wxVisualAttributes
> result
;
6741 PyObject
* obj0
= 0 ;
6742 char * kwnames
[] = {
6743 (char *) "variant", NULL
6746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6748 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6749 if (!SWIG_IsOK(ecode1
)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6752 arg1
= static_cast< wxWindowVariant
>(val1
);
6755 if (!wxPyCheckForApp()) SWIG_fail
;
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6768 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6771 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6772 return SWIG_Py_Void();
6775 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6776 return SWIG_Python_InitShadowInstance(args
);
6779 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6780 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6785 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6786 PyObject
*pyobj
= 0;
6790 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6792 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6799 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
= 0;
6801 wxWindow
*arg1
= (wxWindow
*) 0 ;
6802 int arg2
= (int) -1 ;
6803 int arg3
= (int) 100 ;
6804 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6805 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6806 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6807 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6808 long arg6
= (long) wxGA_HORIZONTAL
;
6809 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6810 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6811 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6812 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6813 wxGauge
*result
= 0 ;
6826 bool temp8
= false ;
6827 PyObject
* obj0
= 0 ;
6828 PyObject
* obj1
= 0 ;
6829 PyObject
* obj2
= 0 ;
6830 PyObject
* obj3
= 0 ;
6831 PyObject
* obj4
= 0 ;
6832 PyObject
* obj5
= 0 ;
6833 PyObject
* obj6
= 0 ;
6834 PyObject
* obj7
= 0 ;
6835 char * kwnames
[] = {
6836 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6841 if (!SWIG_IsOK(res1
)) {
6842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6844 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6847 if (!SWIG_IsOK(ecode2
)) {
6848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6850 arg2
= static_cast< int >(val2
);
6853 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6854 if (!SWIG_IsOK(ecode3
)) {
6855 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6857 arg3
= static_cast< int >(val3
);
6862 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6868 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6872 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6873 if (!SWIG_IsOK(ecode6
)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6876 arg6
= static_cast< long >(val6
);
6879 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6880 if (!SWIG_IsOK(res7
)) {
6881 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6886 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6890 arg8
= wxString_in_helper(obj7
);
6891 if (arg8
== NULL
) SWIG_fail
;
6896 if (!wxPyCheckForApp()) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6917 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6918 PyObject
*resultobj
= 0;
6919 wxGauge
*result
= 0 ;
6921 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6923 if (!wxPyCheckForApp()) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (wxGauge
*)new wxGauge();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6936 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
= 0;
6938 wxGauge
*arg1
= (wxGauge
*) 0 ;
6939 wxWindow
*arg2
= (wxWindow
*) 0 ;
6940 int arg3
= (int) -1 ;
6941 int arg4
= (int) 100 ;
6942 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6943 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6944 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6945 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6946 long arg7
= (long) wxGA_HORIZONTAL
;
6947 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6948 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6949 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6950 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6966 bool temp9
= false ;
6967 PyObject
* obj0
= 0 ;
6968 PyObject
* obj1
= 0 ;
6969 PyObject
* obj2
= 0 ;
6970 PyObject
* obj3
= 0 ;
6971 PyObject
* obj4
= 0 ;
6972 PyObject
* obj5
= 0 ;
6973 PyObject
* obj6
= 0 ;
6974 PyObject
* obj7
= 0 ;
6975 PyObject
* obj8
= 0 ;
6976 char * kwnames
[] = {
6977 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6982 if (!SWIG_IsOK(res1
)) {
6983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6985 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6986 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6987 if (!SWIG_IsOK(res2
)) {
6988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6990 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6993 if (!SWIG_IsOK(ecode3
)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6996 arg3
= static_cast< int >(val3
);
6999 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7000 if (!SWIG_IsOK(ecode4
)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7003 arg4
= static_cast< int >(val4
);
7008 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7014 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7018 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7019 if (!SWIG_IsOK(ecode7
)) {
7020 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7022 arg7
= static_cast< long >(val7
);
7025 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7026 if (!SWIG_IsOK(res8
)) {
7027 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7032 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7036 arg9
= wxString_in_helper(obj8
);
7037 if (arg9
== NULL
) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7043 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7064 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
= 0;
7066 wxGauge
*arg1
= (wxGauge
*) 0 ;
7072 PyObject
* obj0
= 0 ;
7073 PyObject
* obj1
= 0 ;
7074 char * kwnames
[] = {
7075 (char *) "self",(char *) "range", NULL
7078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7080 if (!SWIG_IsOK(res1
)) {
7081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7083 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7085 if (!SWIG_IsOK(ecode2
)) {
7086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7088 arg2
= static_cast< int >(val2
);
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 (arg1
)->SetRange(arg2
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= SWIG_Py_Void();
7102 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7103 PyObject
*resultobj
= 0;
7104 wxGauge
*arg1
= (wxGauge
*) 0 ;
7108 PyObject
*swig_obj
[1] ;
7110 if (!args
) SWIG_fail
;
7112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7113 if (!SWIG_IsOK(res1
)) {
7114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7116 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= SWIG_From_int(static_cast< int >(result
));
7130 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
= 0;
7132 wxGauge
*arg1
= (wxGauge
*) 0 ;
7138 PyObject
* obj0
= 0 ;
7139 PyObject
* obj1
= 0 ;
7140 char * kwnames
[] = {
7141 (char *) "self",(char *) "pos", NULL
7144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7146 if (!SWIG_IsOK(res1
)) {
7147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7149 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7151 if (!SWIG_IsOK(ecode2
)) {
7152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7154 arg2
= static_cast< int >(val2
);
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 (arg1
)->SetValue(arg2
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= SWIG_Py_Void();
7168 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7169 PyObject
*resultobj
= 0;
7170 wxGauge
*arg1
= (wxGauge
*) 0 ;
7174 PyObject
*swig_obj
[1] ;
7176 if (!args
) SWIG_fail
;
7178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7179 if (!SWIG_IsOK(res1
)) {
7180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7182 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= SWIG_From_int(static_cast< int >(result
));
7196 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7197 PyObject
*resultobj
= 0;
7198 wxGauge
*arg1
= (wxGauge
*) 0 ;
7201 PyObject
*swig_obj
[1] ;
7203 if (!args
) SWIG_fail
;
7205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7206 if (!SWIG_IsOK(res1
)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7209 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_Py_Void();
7223 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7224 PyObject
*resultobj
= 0;
7225 wxGauge
*arg1
= (wxGauge
*) 0 ;
7229 PyObject
*swig_obj
[1] ;
7231 if (!args
) SWIG_fail
;
7233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7234 if (!SWIG_IsOK(res1
)) {
7235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7237 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7253 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
= 0;
7255 wxGauge
*arg1
= (wxGauge
*) 0 ;
7261 PyObject
* obj0
= 0 ;
7262 PyObject
* obj1
= 0 ;
7263 char * kwnames
[] = {
7264 (char *) "self",(char *) "w", NULL
7267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7269 if (!SWIG_IsOK(res1
)) {
7270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7272 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7274 if (!SWIG_IsOK(ecode2
)) {
7275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7277 arg2
= static_cast< int >(val2
);
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 (arg1
)->SetShadowWidth(arg2
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_Py_Void();
7291 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7292 PyObject
*resultobj
= 0;
7293 wxGauge
*arg1
= (wxGauge
*) 0 ;
7297 PyObject
*swig_obj
[1] ;
7299 if (!args
) SWIG_fail
;
7301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7302 if (!SWIG_IsOK(res1
)) {
7303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7305 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= SWIG_From_int(static_cast< int >(result
));
7319 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
= 0;
7321 wxGauge
*arg1
= (wxGauge
*) 0 ;
7327 PyObject
* obj0
= 0 ;
7328 PyObject
* obj1
= 0 ;
7329 char * kwnames
[] = {
7330 (char *) "self",(char *) "w", NULL
7333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7335 if (!SWIG_IsOK(res1
)) {
7336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7338 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7340 if (!SWIG_IsOK(ecode2
)) {
7341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7343 arg2
= static_cast< int >(val2
);
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 (arg1
)->SetBezelFace(arg2
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= SWIG_Py_Void();
7357 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7358 PyObject
*resultobj
= 0;
7359 wxGauge
*arg1
= (wxGauge
*) 0 ;
7363 PyObject
*swig_obj
[1] ;
7365 if (!args
) SWIG_fail
;
7367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7368 if (!SWIG_IsOK(res1
)) {
7369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7371 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 resultobj
= SWIG_From_int(static_cast< int >(result
));
7385 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
= 0;
7387 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7388 SwigValueWrapper
<wxVisualAttributes
> result
;
7391 PyObject
* obj0
= 0 ;
7392 char * kwnames
[] = {
7393 (char *) "variant", NULL
7396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7398 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7399 if (!SWIG_IsOK(ecode1
)) {
7400 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7402 arg1
= static_cast< wxWindowVariant
>(val1
);
7405 if (!wxPyCheckForApp()) SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7418 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7421 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7422 return SWIG_Py_Void();
7425 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7426 return SWIG_Python_InitShadowInstance(args
);
7429 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7430 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7435 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7436 PyObject
*pyobj
= 0;
7440 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7442 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7449 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7450 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7455 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7456 PyObject
*pyobj
= 0;
7460 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7462 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7469 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7470 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7475 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7476 PyObject
*pyobj
= 0;
7480 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7482 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7489 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7490 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7495 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7496 PyObject
*pyobj
= 0;
7500 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7502 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7509 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
= 0;
7511 wxWindow
*arg1
= (wxWindow
*) 0 ;
7512 int arg2
= (int) -1 ;
7513 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7514 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7515 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7516 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7517 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7518 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7519 long arg6
= (long) 0 ;
7520 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7521 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7522 wxStaticBox
*result
= 0 ;
7527 bool temp3
= false ;
7532 bool temp7
= false ;
7533 PyObject
* obj0
= 0 ;
7534 PyObject
* obj1
= 0 ;
7535 PyObject
* obj2
= 0 ;
7536 PyObject
* obj3
= 0 ;
7537 PyObject
* obj4
= 0 ;
7538 PyObject
* obj5
= 0 ;
7539 PyObject
* obj6
= 0 ;
7540 char * kwnames
[] = {
7541 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7546 if (!SWIG_IsOK(res1
)) {
7547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7549 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7552 if (!SWIG_IsOK(ecode2
)) {
7553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7555 arg2
= static_cast< int >(val2
);
7559 arg3
= wxString_in_helper(obj2
);
7560 if (arg3
== NULL
) SWIG_fail
;
7567 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7573 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7577 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7578 if (!SWIG_IsOK(ecode6
)) {
7579 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7581 arg6
= static_cast< long >(val6
);
7585 arg7
= wxString_in_helper(obj6
);
7586 if (arg7
== NULL
) SWIG_fail
;
7591 if (!wxPyCheckForApp()) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7620 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7621 PyObject
*resultobj
= 0;
7622 wxStaticBox
*result
= 0 ;
7624 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7626 if (!wxPyCheckForApp()) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 result
= (wxStaticBox
*)new wxStaticBox();
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7639 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
*resultobj
= 0;
7641 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7642 wxWindow
*arg2
= (wxWindow
*) 0 ;
7643 int arg3
= (int) -1 ;
7644 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7645 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7646 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7647 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7648 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7649 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7650 long arg7
= (long) 0 ;
7651 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7652 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7660 bool temp4
= false ;
7665 bool temp8
= false ;
7666 PyObject
* obj0
= 0 ;
7667 PyObject
* obj1
= 0 ;
7668 PyObject
* obj2
= 0 ;
7669 PyObject
* obj3
= 0 ;
7670 PyObject
* obj4
= 0 ;
7671 PyObject
* obj5
= 0 ;
7672 PyObject
* obj6
= 0 ;
7673 PyObject
* obj7
= 0 ;
7674 char * kwnames
[] = {
7675 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7680 if (!SWIG_IsOK(res1
)) {
7681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7683 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7685 if (!SWIG_IsOK(res2
)) {
7686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7688 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7691 if (!SWIG_IsOK(ecode3
)) {
7692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7694 arg3
= static_cast< int >(val3
);
7698 arg4
= wxString_in_helper(obj3
);
7699 if (arg4
== NULL
) SWIG_fail
;
7706 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7712 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7716 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7717 if (!SWIG_IsOK(ecode7
)) {
7718 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7720 arg7
= static_cast< long >(val7
);
7724 arg8
= wxString_in_helper(obj7
);
7725 if (arg8
== NULL
) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7760 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
= 0;
7762 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7763 SwigValueWrapper
<wxVisualAttributes
> result
;
7766 PyObject
* obj0
= 0 ;
7767 char * kwnames
[] = {
7768 (char *) "variant", NULL
7771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7773 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7774 if (!SWIG_IsOK(ecode1
)) {
7775 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7777 arg1
= static_cast< wxWindowVariant
>(val1
);
7780 if (!wxPyCheckForApp()) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7793 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7795 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7796 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7797 return SWIG_Py_Void();
7800 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7801 return SWIG_Python_InitShadowInstance(args
);
7804 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
= 0;
7806 wxWindow
*arg1
= (wxWindow
*) 0 ;
7807 int arg2
= (int) -1 ;
7808 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7809 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7810 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7811 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7812 long arg5
= (long) wxLI_HORIZONTAL
;
7813 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7814 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7815 wxStaticLine
*result
= 0 ;
7824 bool temp6
= false ;
7825 PyObject
* obj0
= 0 ;
7826 PyObject
* obj1
= 0 ;
7827 PyObject
* obj2
= 0 ;
7828 PyObject
* obj3
= 0 ;
7829 PyObject
* obj4
= 0 ;
7830 PyObject
* obj5
= 0 ;
7831 char * kwnames
[] = {
7832 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7837 if (!SWIG_IsOK(res1
)) {
7838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7840 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7843 if (!SWIG_IsOK(ecode2
)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7846 arg2
= static_cast< int >(val2
);
7851 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7857 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7861 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7862 if (!SWIG_IsOK(ecode5
)) {
7863 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7865 arg5
= static_cast< long >(val5
);
7869 arg6
= wxString_in_helper(obj5
);
7870 if (arg6
== NULL
) SWIG_fail
;
7875 if (!wxPyCheckForApp()) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7896 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7897 PyObject
*resultobj
= 0;
7898 wxStaticLine
*result
= 0 ;
7900 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7902 if (!wxPyCheckForApp()) SWIG_fail
;
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 result
= (wxStaticLine
*)new wxStaticLine();
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7915 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
*resultobj
= 0;
7917 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7918 wxWindow
*arg2
= (wxWindow
*) 0 ;
7919 int arg3
= (int) -1 ;
7920 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7921 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7922 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7923 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7924 long arg6
= (long) wxLI_HORIZONTAL
;
7925 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7926 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7938 bool temp7
= false ;
7939 PyObject
* obj0
= 0 ;
7940 PyObject
* obj1
= 0 ;
7941 PyObject
* obj2
= 0 ;
7942 PyObject
* obj3
= 0 ;
7943 PyObject
* obj4
= 0 ;
7944 PyObject
* obj5
= 0 ;
7945 PyObject
* obj6
= 0 ;
7946 char * kwnames
[] = {
7947 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7952 if (!SWIG_IsOK(res1
)) {
7953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7955 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7957 if (!SWIG_IsOK(res2
)) {
7958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7960 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7963 if (!SWIG_IsOK(ecode3
)) {
7964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7966 arg3
= static_cast< int >(val3
);
7971 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7977 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7981 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7982 if (!SWIG_IsOK(ecode6
)) {
7983 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7985 arg6
= static_cast< long >(val6
);
7989 arg7
= wxString_in_helper(obj6
);
7990 if (arg7
== NULL
) SWIG_fail
;
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8017 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8018 PyObject
*resultobj
= 0;
8019 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
8023 PyObject
*swig_obj
[1] ;
8025 if (!args
) SWIG_fail
;
8027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
8028 if (!SWIG_IsOK(res1
)) {
8029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8031 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
8035 wxPyEndAllowThreads(__tstate
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8047 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8048 PyObject
*resultobj
= 0;
8051 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 result
= (int)wxStaticLine::GetDefaultSize();
8055 wxPyEndAllowThreads(__tstate
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8058 resultobj
= SWIG_From_int(static_cast< int >(result
));
8065 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
= 0;
8067 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8068 SwigValueWrapper
<wxVisualAttributes
> result
;
8071 PyObject
* obj0
= 0 ;
8072 char * kwnames
[] = {
8073 (char *) "variant", NULL
8076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8078 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8079 if (!SWIG_IsOK(ecode1
)) {
8080 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8082 arg1
= static_cast< wxWindowVariant
>(val1
);
8085 if (!wxPyCheckForApp()) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8098 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8101 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8102 return SWIG_Py_Void();
8105 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8106 return SWIG_Python_InitShadowInstance(args
);
8109 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8110 PyObject
*resultobj
= 0;
8111 wxWindow
*arg1
= (wxWindow
*) 0 ;
8112 int arg2
= (int) -1 ;
8113 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8114 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8115 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8116 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8117 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8118 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8119 long arg6
= (long) 0 ;
8120 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8121 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8122 wxStaticText
*result
= 0 ;
8127 bool temp3
= false ;
8132 bool temp7
= false ;
8133 PyObject
* obj0
= 0 ;
8134 PyObject
* obj1
= 0 ;
8135 PyObject
* obj2
= 0 ;
8136 PyObject
* obj3
= 0 ;
8137 PyObject
* obj4
= 0 ;
8138 PyObject
* obj5
= 0 ;
8139 PyObject
* obj6
= 0 ;
8140 char * kwnames
[] = {
8141 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8146 if (!SWIG_IsOK(res1
)) {
8147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8149 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8152 if (!SWIG_IsOK(ecode2
)) {
8153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8155 arg2
= static_cast< int >(val2
);
8159 arg3
= wxString_in_helper(obj2
);
8160 if (arg3
== NULL
) SWIG_fail
;
8167 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8173 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8177 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8178 if (!SWIG_IsOK(ecode6
)) {
8179 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8181 arg6
= static_cast< long >(val6
);
8185 arg7
= wxString_in_helper(obj6
);
8186 if (arg7
== NULL
) SWIG_fail
;
8191 if (!wxPyCheckForApp()) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8220 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8221 PyObject
*resultobj
= 0;
8222 wxStaticText
*result
= 0 ;
8224 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8226 if (!wxPyCheckForApp()) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (wxStaticText
*)new wxStaticText();
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8239 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
= 0;
8241 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8242 wxWindow
*arg2
= (wxWindow
*) 0 ;
8243 int arg3
= (int) -1 ;
8244 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8245 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8246 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8247 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8248 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8249 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8250 long arg7
= (long) 0 ;
8251 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8252 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8260 bool temp4
= false ;
8265 bool temp8
= false ;
8266 PyObject
* obj0
= 0 ;
8267 PyObject
* obj1
= 0 ;
8268 PyObject
* obj2
= 0 ;
8269 PyObject
* obj3
= 0 ;
8270 PyObject
* obj4
= 0 ;
8271 PyObject
* obj5
= 0 ;
8272 PyObject
* obj6
= 0 ;
8273 PyObject
* obj7
= 0 ;
8274 char * kwnames
[] = {
8275 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8280 if (!SWIG_IsOK(res1
)) {
8281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8283 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8284 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8285 if (!SWIG_IsOK(res2
)) {
8286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8288 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8291 if (!SWIG_IsOK(ecode3
)) {
8292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8294 arg3
= static_cast< int >(val3
);
8298 arg4
= wxString_in_helper(obj3
);
8299 if (arg4
== NULL
) SWIG_fail
;
8306 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8312 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8316 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8317 if (!SWIG_IsOK(ecode7
)) {
8318 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8320 arg7
= static_cast< long >(val7
);
8324 arg8
= wxString_in_helper(obj7
);
8325 if (arg8
== NULL
) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8360 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
= 0;
8362 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8370 char * kwnames
[] = {
8371 (char *) "self",(char *) "width", NULL
8374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8376 if (!SWIG_IsOK(res1
)) {
8377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8379 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8381 if (!SWIG_IsOK(ecode2
)) {
8382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8384 arg2
= static_cast< int >(val2
);
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= SWIG_Py_Void();
8398 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
= 0;
8400 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8401 SwigValueWrapper
<wxVisualAttributes
> result
;
8404 PyObject
* obj0
= 0 ;
8405 char * kwnames
[] = {
8406 (char *) "variant", NULL
8409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8411 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8412 if (!SWIG_IsOK(ecode1
)) {
8413 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8415 arg1
= static_cast< wxWindowVariant
>(val1
);
8418 if (!wxPyCheckForApp()) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8431 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8434 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8435 return SWIG_Py_Void();
8438 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8439 return SWIG_Python_InitShadowInstance(args
);
8442 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
= 0;
8444 wxWindow
*arg1
= (wxWindow
*) 0 ;
8445 int arg2
= (int) -1 ;
8446 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8447 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8448 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8449 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8450 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8451 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8452 long arg6
= (long) 0 ;
8453 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8454 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8455 wxStaticBitmap
*result
= 0 ;
8466 bool temp7
= false ;
8467 PyObject
* obj0
= 0 ;
8468 PyObject
* obj1
= 0 ;
8469 PyObject
* obj2
= 0 ;
8470 PyObject
* obj3
= 0 ;
8471 PyObject
* obj4
= 0 ;
8472 PyObject
* obj5
= 0 ;
8473 PyObject
* obj6
= 0 ;
8474 char * kwnames
[] = {
8475 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8480 if (!SWIG_IsOK(res1
)) {
8481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8483 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8486 if (!SWIG_IsOK(ecode2
)) {
8487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8489 arg2
= static_cast< int >(val2
);
8492 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8493 if (!SWIG_IsOK(res3
)) {
8494 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8499 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8504 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8510 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8514 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8515 if (!SWIG_IsOK(ecode6
)) {
8516 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8518 arg6
= static_cast< long >(val6
);
8522 arg7
= wxString_in_helper(obj6
);
8523 if (arg7
== NULL
) SWIG_fail
;
8528 if (!wxPyCheckForApp()) SWIG_fail
;
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8549 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8550 PyObject
*resultobj
= 0;
8551 wxStaticBitmap
*result
= 0 ;
8553 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8555 if (!wxPyCheckForApp()) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8568 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
*resultobj
= 0;
8570 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8571 wxWindow
*arg2
= (wxWindow
*) 0 ;
8572 int arg3
= (int) -1 ;
8573 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8574 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8575 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8576 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8577 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8578 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8579 long arg7
= (long) 0 ;
8580 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8581 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8595 bool temp8
= false ;
8596 PyObject
* obj0
= 0 ;
8597 PyObject
* obj1
= 0 ;
8598 PyObject
* obj2
= 0 ;
8599 PyObject
* obj3
= 0 ;
8600 PyObject
* obj4
= 0 ;
8601 PyObject
* obj5
= 0 ;
8602 PyObject
* obj6
= 0 ;
8603 PyObject
* obj7
= 0 ;
8604 char * kwnames
[] = {
8605 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8610 if (!SWIG_IsOK(res1
)) {
8611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8613 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8614 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8615 if (!SWIG_IsOK(res2
)) {
8616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8618 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8621 if (!SWIG_IsOK(ecode3
)) {
8622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8624 arg3
= static_cast< int >(val3
);
8627 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8628 if (!SWIG_IsOK(res4
)) {
8629 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8634 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8639 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8645 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8649 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8650 if (!SWIG_IsOK(ecode7
)) {
8651 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8653 arg7
= static_cast< long >(val7
);
8657 arg8
= wxString_in_helper(obj7
);
8658 if (arg8
== NULL
) SWIG_fail
;
8663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8685 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8686 PyObject
*resultobj
= 0;
8687 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8691 PyObject
*swig_obj
[1] ;
8693 if (!args
) SWIG_fail
;
8695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8696 if (!SWIG_IsOK(res1
)) {
8697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8699 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 result
= (arg1
)->GetBitmap();
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8706 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8713 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
*resultobj
= 0;
8715 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8716 wxBitmap
*arg2
= 0 ;
8721 PyObject
* obj0
= 0 ;
8722 PyObject
* obj1
= 0 ;
8723 char * kwnames
[] = {
8724 (char *) "self",(char *) "bitmap", NULL
8727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8729 if (!SWIG_IsOK(res1
)) {
8730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8732 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8733 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8734 if (!SWIG_IsOK(res2
)) {
8735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8740 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 resultobj
= SWIG_Py_Void();
8754 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
*resultobj
= 0;
8756 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8762 PyObject
* obj0
= 0 ;
8763 PyObject
* obj1
= 0 ;
8764 char * kwnames
[] = {
8765 (char *) "self",(char *) "icon", NULL
8768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8770 if (!SWIG_IsOK(res1
)) {
8771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8773 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8775 if (!SWIG_IsOK(res2
)) {
8776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8781 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= SWIG_Py_Void();
8795 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
= 0;
8797 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8798 SwigValueWrapper
<wxVisualAttributes
> result
;
8801 PyObject
* obj0
= 0 ;
8802 char * kwnames
[] = {
8803 (char *) "variant", NULL
8806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8808 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8809 if (!SWIG_IsOK(ecode1
)) {
8810 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8812 arg1
= static_cast< wxWindowVariant
>(val1
);
8815 if (!wxPyCheckForApp()) SWIG_fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8828 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8831 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8832 return SWIG_Py_Void();
8835 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8836 return SWIG_Python_InitShadowInstance(args
);
8839 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8840 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8845 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8846 PyObject
*pyobj
= 0;
8850 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8852 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8859 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
= 0;
8861 wxWindow
*arg1
= (wxWindow
*) 0 ;
8862 int arg2
= (int) -1 ;
8863 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8864 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8865 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8866 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8867 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8868 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8869 long arg6
= (long) 0 ;
8870 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8871 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8872 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8873 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8874 wxListBox
*result
= 0 ;
8881 bool temp5
= false ;
8886 bool temp8
= false ;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj1
= 0 ;
8889 PyObject
* obj2
= 0 ;
8890 PyObject
* obj3
= 0 ;
8891 PyObject
* obj4
= 0 ;
8892 PyObject
* obj5
= 0 ;
8893 PyObject
* obj6
= 0 ;
8894 PyObject
* obj7
= 0 ;
8895 char * kwnames
[] = {
8896 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8901 if (!SWIG_IsOK(res1
)) {
8902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8904 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8907 if (!SWIG_IsOK(ecode2
)) {
8908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8910 arg2
= static_cast< int >(val2
);
8915 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8921 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8926 if (! PySequence_Check(obj4
)) {
8927 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8930 arg5
= new wxArrayString
;
8932 int i
, len
=PySequence_Length(obj4
);
8933 for (i
=0; i
<len
; i
++) {
8934 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8935 wxString
* s
= wxString_in_helper(item
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8944 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8945 if (!SWIG_IsOK(ecode6
)) {
8946 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8948 arg6
= static_cast< long >(val6
);
8951 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8952 if (!SWIG_IsOK(res7
)) {
8953 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8958 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8962 arg8
= wxString_in_helper(obj7
);
8963 if (arg8
== NULL
) SWIG_fail
;
8968 if (!wxPyCheckForApp()) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8976 if (temp5
) delete arg5
;
8985 if (temp5
) delete arg5
;
8995 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8996 PyObject
*resultobj
= 0;
8997 wxListBox
*result
= 0 ;
8999 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
9001 if (!wxPyCheckForApp()) SWIG_fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 result
= (wxListBox
*)new wxListBox();
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
9014 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
= 0;
9016 wxListBox
*arg1
= (wxListBox
*) 0 ;
9017 wxWindow
*arg2
= (wxWindow
*) 0 ;
9018 int arg3
= (int) -1 ;
9019 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9020 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9021 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9022 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9023 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
9024 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
9025 long arg7
= (long) 0 ;
9026 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9027 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9028 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
9029 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9039 bool temp6
= false ;
9044 bool temp9
= false ;
9045 PyObject
* obj0
= 0 ;
9046 PyObject
* obj1
= 0 ;
9047 PyObject
* obj2
= 0 ;
9048 PyObject
* obj3
= 0 ;
9049 PyObject
* obj4
= 0 ;
9050 PyObject
* obj5
= 0 ;
9051 PyObject
* obj6
= 0 ;
9052 PyObject
* obj7
= 0 ;
9053 PyObject
* obj8
= 0 ;
9054 char * kwnames
[] = {
9055 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9060 if (!SWIG_IsOK(res1
)) {
9061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9063 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9064 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9065 if (!SWIG_IsOK(res2
)) {
9066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9068 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9071 if (!SWIG_IsOK(ecode3
)) {
9072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9074 arg3
= static_cast< int >(val3
);
9079 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9085 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9090 if (! PySequence_Check(obj5
)) {
9091 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9094 arg6
= new wxArrayString
;
9096 int i
, len
=PySequence_Length(obj5
);
9097 for (i
=0; i
<len
; i
++) {
9098 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9099 wxString
* s
= wxString_in_helper(item
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9108 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9109 if (!SWIG_IsOK(ecode7
)) {
9110 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9112 arg7
= static_cast< long >(val7
);
9115 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9116 if (!SWIG_IsOK(res8
)) {
9117 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9122 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9126 arg9
= wxString_in_helper(obj8
);
9127 if (arg9
== NULL
) SWIG_fail
;
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9141 if (temp6
) delete arg6
;
9150 if (temp6
) delete arg6
;
9160 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
*resultobj
= 0;
9162 wxListBox
*arg1
= (wxListBox
*) 0 ;
9163 wxString
*arg2
= 0 ;
9165 PyObject
*arg4
= (PyObject
*) NULL
;
9168 bool temp2
= false ;
9171 PyObject
* obj0
= 0 ;
9172 PyObject
* obj1
= 0 ;
9173 PyObject
* obj2
= 0 ;
9174 PyObject
* obj3
= 0 ;
9175 char * kwnames
[] = {
9176 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9181 if (!SWIG_IsOK(res1
)) {
9182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9184 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9186 arg2
= wxString_in_helper(obj1
);
9187 if (arg2
== NULL
) SWIG_fail
;
9190 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9191 if (!SWIG_IsOK(ecode3
)) {
9192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9194 arg3
= static_cast< int >(val3
);
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= SWIG_Py_Void();
9219 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
= 0;
9221 wxListBox
*arg1
= (wxListBox
*) 0 ;
9222 wxArrayString
*arg2
= 0 ;
9226 bool temp2
= false ;
9229 PyObject
* obj0
= 0 ;
9230 PyObject
* obj1
= 0 ;
9231 PyObject
* obj2
= 0 ;
9232 char * kwnames
[] = {
9233 (char *) "self",(char *) "items",(char *) "pos", NULL
9236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9238 if (!SWIG_IsOK(res1
)) {
9239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9241 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9243 if (! PySequence_Check(obj1
)) {
9244 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9247 arg2
= new wxArrayString
;
9249 int i
, len
=PySequence_Length(obj1
);
9250 for (i
=0; i
<len
; i
++) {
9251 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9252 wxString
* s
= wxString_in_helper(item
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9259 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9260 if (!SWIG_IsOK(ecode3
)) {
9261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9263 arg3
= static_cast< unsigned int >(val3
);
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= SWIG_Py_Void();
9272 if (temp2
) delete arg2
;
9277 if (temp2
) delete arg2
;
9283 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
*resultobj
= 0;
9285 wxListBox
*arg1
= (wxListBox
*) 0 ;
9286 wxArrayString
*arg2
= 0 ;
9289 bool temp2
= false ;
9290 PyObject
* obj0
= 0 ;
9291 PyObject
* obj1
= 0 ;
9292 char * kwnames
[] = {
9293 (char *) "self",(char *) "items", NULL
9296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9298 if (!SWIG_IsOK(res1
)) {
9299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9301 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9303 if (! PySequence_Check(obj1
)) {
9304 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9307 arg2
= new wxArrayString
;
9309 int i
, len
=PySequence_Length(obj1
);
9310 for (i
=0; i
<len
; i
++) {
9311 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9312 wxString
* s
= wxString_in_helper(item
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 (arg1
)->Set((wxArrayString
const &)*arg2
);
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 resultobj
= SWIG_Py_Void();
9327 if (temp2
) delete arg2
;
9332 if (temp2
) delete arg2
;
9338 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
= 0;
9340 wxListBox
*arg1
= (wxListBox
*) 0 ;
9347 PyObject
* obj0
= 0 ;
9348 PyObject
* obj1
= 0 ;
9349 char * kwnames
[] = {
9350 (char *) "self",(char *) "n", NULL
9353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9355 if (!SWIG_IsOK(res1
)) {
9356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9358 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9360 if (!SWIG_IsOK(ecode2
)) {
9361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9363 arg2
= static_cast< int >(val2
);
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9379 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
= 0;
9381 wxListBox
*arg1
= (wxListBox
*) 0 ;
9383 bool arg3
= (bool) true ;
9390 PyObject
* obj0
= 0 ;
9391 PyObject
* obj1
= 0 ;
9392 PyObject
* obj2
= 0 ;
9393 char * kwnames
[] = {
9394 (char *) "self",(char *) "n",(char *) "select", NULL
9397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9399 if (!SWIG_IsOK(res1
)) {
9400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9402 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9404 if (!SWIG_IsOK(ecode2
)) {
9405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9407 arg2
= static_cast< int >(val2
);
9409 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9410 if (!SWIG_IsOK(ecode3
)) {
9411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9413 arg3
= static_cast< bool >(val3
);
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 (arg1
)->SetSelection(arg2
,arg3
);
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= SWIG_Py_Void();
9428 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
*resultobj
= 0;
9430 wxListBox
*arg1
= (wxListBox
*) 0 ;
9436 PyObject
* obj0
= 0 ;
9437 PyObject
* obj1
= 0 ;
9438 char * kwnames
[] = {
9439 (char *) "self",(char *) "n", NULL
9442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9444 if (!SWIG_IsOK(res1
)) {
9445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9447 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9449 if (!SWIG_IsOK(ecode2
)) {
9450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9452 arg2
= static_cast< int >(val2
);
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 (arg1
)->Select(arg2
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= SWIG_Py_Void();
9466 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
= 0;
9468 wxListBox
*arg1
= (wxListBox
*) 0 ;
9474 PyObject
* obj0
= 0 ;
9475 PyObject
* obj1
= 0 ;
9476 char * kwnames
[] = {
9477 (char *) "self",(char *) "n", NULL
9480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9482 if (!SWIG_IsOK(res1
)) {
9483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9485 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9487 if (!SWIG_IsOK(ecode2
)) {
9488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9490 arg2
= static_cast< int >(val2
);
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 (arg1
)->Deselect(arg2
);
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9497 resultobj
= SWIG_Py_Void();
9504 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
*resultobj
= 0;
9506 wxListBox
*arg1
= (wxListBox
*) 0 ;
9507 int arg2
= (int) -1 ;
9512 PyObject
* obj0
= 0 ;
9513 PyObject
* obj1
= 0 ;
9514 char * kwnames
[] = {
9515 (char *) "self",(char *) "itemToLeaveSelected", NULL
9518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9520 if (!SWIG_IsOK(res1
)) {
9521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9523 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9526 if (!SWIG_IsOK(ecode2
)) {
9527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9529 arg2
= static_cast< int >(val2
);
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 (arg1
)->DeselectAll(arg2
);
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9537 resultobj
= SWIG_Py_Void();
9544 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
= 0;
9546 wxListBox
*arg1
= (wxListBox
*) 0 ;
9547 wxString
*arg2
= 0 ;
9548 bool arg3
= (bool) true ;
9552 bool temp2
= false ;
9555 PyObject
* obj0
= 0 ;
9556 PyObject
* obj1
= 0 ;
9557 PyObject
* obj2
= 0 ;
9558 char * kwnames
[] = {
9559 (char *) "self",(char *) "s",(char *) "select", NULL
9562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9564 if (!SWIG_IsOK(res1
)) {
9565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9567 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9569 arg2
= wxString_in_helper(obj1
);
9570 if (arg2
== NULL
) SWIG_fail
;
9574 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9575 if (!SWIG_IsOK(ecode3
)) {
9576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9578 arg3
= static_cast< bool >(val3
);
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9603 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9604 PyObject
*resultobj
= 0;
9605 wxListBox
*arg1
= (wxListBox
*) 0 ;
9606 PyObject
*result
= 0 ;
9609 PyObject
*swig_obj
[1] ;
9611 if (!args
) SWIG_fail
;
9613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9614 if (!SWIG_IsOK(res1
)) {
9615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9617 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9631 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9632 PyObject
*resultobj
= 0;
9633 wxListBox
*arg1
= (wxListBox
*) 0 ;
9639 PyObject
* obj0
= 0 ;
9640 PyObject
* obj1
= 0 ;
9641 char * kwnames
[] = {
9642 (char *) "self",(char *) "n", NULL
9645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9647 if (!SWIG_IsOK(res1
)) {
9648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9650 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9652 if (!SWIG_IsOK(ecode2
)) {
9653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9655 arg2
= static_cast< int >(val2
);
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 (arg1
)->SetFirstItem(arg2
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_Py_Void();
9669 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
= 0;
9671 wxListBox
*arg1
= (wxListBox
*) 0 ;
9672 wxString
*arg2
= 0 ;
9675 bool temp2
= false ;
9676 PyObject
* obj0
= 0 ;
9677 PyObject
* obj1
= 0 ;
9678 char * kwnames
[] = {
9679 (char *) "self",(char *) "s", NULL
9682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9684 if (!SWIG_IsOK(res1
)) {
9685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9687 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9689 arg2
= wxString_in_helper(obj1
);
9690 if (arg2
== NULL
) SWIG_fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= SWIG_Py_Void();
9714 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9715 PyObject
*resultobj
= 0;
9716 wxListBox
*arg1
= (wxListBox
*) 0 ;
9722 PyObject
* obj0
= 0 ;
9723 PyObject
* obj1
= 0 ;
9724 char * kwnames
[] = {
9725 (char *) "self",(char *) "n", NULL
9728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9730 if (!SWIG_IsOK(res1
)) {
9731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9733 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9735 if (!SWIG_IsOK(ecode2
)) {
9736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9738 arg2
= static_cast< int >(val2
);
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 (arg1
)->EnsureVisible(arg2
);
9742 wxPyEndAllowThreads(__tstate
);
9743 if (PyErr_Occurred()) SWIG_fail
;
9745 resultobj
= SWIG_Py_Void();
9752 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9753 PyObject
*resultobj
= 0;
9754 wxListBox
*arg1
= (wxListBox
*) 0 ;
9755 wxString
*arg2
= 0 ;
9758 bool temp2
= false ;
9759 PyObject
* obj0
= 0 ;
9760 PyObject
* obj1
= 0 ;
9761 char * kwnames
[] = {
9762 (char *) "self",(char *) "s", NULL
9765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9767 if (!SWIG_IsOK(res1
)) {
9768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9770 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9772 arg2
= wxString_in_helper(obj1
);
9773 if (arg2
== NULL
) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9782 resultobj
= SWIG_Py_Void();
9797 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9798 PyObject
*resultobj
= 0;
9799 wxListBox
*arg1
= (wxListBox
*) 0 ;
9803 PyObject
*swig_obj
[1] ;
9805 if (!args
) SWIG_fail
;
9807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9808 if (!SWIG_IsOK(res1
)) {
9809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9811 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9827 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
= 0;
9829 wxListBox
*arg1
= (wxListBox
*) 0 ;
9835 PyObject
* obj0
= 0 ;
9836 PyObject
* obj1
= 0 ;
9837 char * kwnames
[] = {
9838 (char *) "self",(char *) "pt", NULL
9841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9843 if (!SWIG_IsOK(res1
)) {
9844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9846 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9849 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 resultobj
= SWIG_From_int(static_cast< int >(result
));
9864 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
= 0;
9866 wxListBox
*arg1
= (wxListBox
*) 0 ;
9868 wxColour
*arg3
= 0 ;
9874 PyObject
* obj0
= 0 ;
9875 PyObject
* obj1
= 0 ;
9876 PyObject
* obj2
= 0 ;
9877 char * kwnames
[] = {
9878 (char *) "self",(char *) "item",(char *) "c", NULL
9881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9883 if (!SWIG_IsOK(res1
)) {
9884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9886 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9888 if (!SWIG_IsOK(ecode2
)) {
9889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9891 arg2
= static_cast< int >(val2
);
9894 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 resultobj
= SWIG_Py_Void();
9909 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
= 0;
9911 wxListBox
*arg1
= (wxListBox
*) 0 ;
9913 wxColour
*arg3
= 0 ;
9919 PyObject
* obj0
= 0 ;
9920 PyObject
* obj1
= 0 ;
9921 PyObject
* obj2
= 0 ;
9922 char * kwnames
[] = {
9923 (char *) "self",(char *) "item",(char *) "c", NULL
9926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9928 if (!SWIG_IsOK(res1
)) {
9929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9931 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9933 if (!SWIG_IsOK(ecode2
)) {
9934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9936 arg2
= static_cast< int >(val2
);
9939 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 resultobj
= SWIG_Py_Void();
9954 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
= 0;
9956 wxListBox
*arg1
= (wxListBox
*) 0 ;
9965 PyObject
* obj0
= 0 ;
9966 PyObject
* obj1
= 0 ;
9967 PyObject
* obj2
= 0 ;
9968 char * kwnames
[] = {
9969 (char *) "self",(char *) "item",(char *) "f", NULL
9972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9974 if (!SWIG_IsOK(res1
)) {
9975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9977 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9979 if (!SWIG_IsOK(ecode2
)) {
9980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9982 arg2
= static_cast< int >(val2
);
9983 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9984 if (!SWIG_IsOK(res3
)) {
9985 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9990 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= SWIG_Py_Void();
10004 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
= 0;
10006 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10007 SwigValueWrapper
<wxVisualAttributes
> result
;
10010 PyObject
* obj0
= 0 ;
10011 char * kwnames
[] = {
10012 (char *) "variant", NULL
10015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10017 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10018 if (!SWIG_IsOK(ecode1
)) {
10019 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10021 arg1
= static_cast< wxWindowVariant
>(val1
);
10024 if (!wxPyCheckForApp()) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= wxListBox::GetClassDefaultAttributes(arg1
);
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10037 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10040 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
10041 return SWIG_Py_Void();
10044 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10045 return SWIG_Python_InitShadowInstance(args
);
10048 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
= 0;
10050 wxWindow
*arg1
= (wxWindow
*) 0 ;
10051 int arg2
= (int) -1 ;
10052 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10053 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10054 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10055 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10056 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10057 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10058 long arg6
= (long) 0 ;
10059 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10060 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10061 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10062 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10063 wxCheckListBox
*result
= 0 ;
10070 bool temp5
= false ;
10075 bool temp8
= false ;
10076 PyObject
* obj0
= 0 ;
10077 PyObject
* obj1
= 0 ;
10078 PyObject
* obj2
= 0 ;
10079 PyObject
* obj3
= 0 ;
10080 PyObject
* obj4
= 0 ;
10081 PyObject
* obj5
= 0 ;
10082 PyObject
* obj6
= 0 ;
10083 PyObject
* obj7
= 0 ;
10084 char * kwnames
[] = {
10085 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10090 if (!SWIG_IsOK(res1
)) {
10091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10093 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10096 if (!SWIG_IsOK(ecode2
)) {
10097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10099 arg2
= static_cast< int >(val2
);
10104 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10110 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10115 if (! PySequence_Check(obj4
)) {
10116 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10119 arg5
= new wxArrayString
;
10121 int i
, len
=PySequence_Length(obj4
);
10122 for (i
=0; i
<len
; i
++) {
10123 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10124 wxString
* s
= wxString_in_helper(item
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10133 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10134 if (!SWIG_IsOK(ecode6
)) {
10135 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10137 arg6
= static_cast< long >(val6
);
10140 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10141 if (!SWIG_IsOK(res7
)) {
10142 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10147 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10151 arg8
= wxString_in_helper(obj7
);
10152 if (arg8
== NULL
) SWIG_fail
;
10157 if (!wxPyCheckForApp()) SWIG_fail
;
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10165 if (temp5
) delete arg5
;
10174 if (temp5
) delete arg5
;
10184 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10185 PyObject
*resultobj
= 0;
10186 wxCheckListBox
*result
= 0 ;
10188 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10190 if (!wxPyCheckForApp()) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (wxCheckListBox
*)new wxCheckListBox();
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10203 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
= 0;
10205 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10206 wxWindow
*arg2
= (wxWindow
*) 0 ;
10207 int arg3
= (int) -1 ;
10208 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10209 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10210 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10211 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10212 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10213 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10214 long arg7
= (long) 0 ;
10215 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10216 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10217 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10218 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10228 bool temp6
= false ;
10233 bool temp9
= false ;
10234 PyObject
* obj0
= 0 ;
10235 PyObject
* obj1
= 0 ;
10236 PyObject
* obj2
= 0 ;
10237 PyObject
* obj3
= 0 ;
10238 PyObject
* obj4
= 0 ;
10239 PyObject
* obj5
= 0 ;
10240 PyObject
* obj6
= 0 ;
10241 PyObject
* obj7
= 0 ;
10242 PyObject
* obj8
= 0 ;
10243 char * kwnames
[] = {
10244 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10249 if (!SWIG_IsOK(res1
)) {
10250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10252 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10254 if (!SWIG_IsOK(res2
)) {
10255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10257 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10260 if (!SWIG_IsOK(ecode3
)) {
10261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10263 arg3
= static_cast< int >(val3
);
10268 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10274 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10279 if (! PySequence_Check(obj5
)) {
10280 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10283 arg6
= new wxArrayString
;
10285 int i
, len
=PySequence_Length(obj5
);
10286 for (i
=0; i
<len
; i
++) {
10287 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10288 wxString
* s
= wxString_in_helper(item
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10297 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10298 if (!SWIG_IsOK(ecode7
)) {
10299 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10301 arg7
= static_cast< long >(val7
);
10304 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10305 if (!SWIG_IsOK(res8
)) {
10306 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10311 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10315 arg9
= wxString_in_helper(obj8
);
10316 if (arg9
== NULL
) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10330 if (temp6
) delete arg6
;
10339 if (temp6
) delete arg6
;
10349 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
= 0;
10351 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10352 unsigned int arg2
;
10356 unsigned int val2
;
10358 PyObject
* obj0
= 0 ;
10359 PyObject
* obj1
= 0 ;
10360 char * kwnames
[] = {
10361 (char *) "self",(char *) "index", NULL
10364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10366 if (!SWIG_IsOK(res1
)) {
10367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10369 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10370 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10371 if (!SWIG_IsOK(ecode2
)) {
10372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10374 arg2
= static_cast< unsigned int >(val2
);
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 result
= (bool)(arg1
)->IsChecked(arg2
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10390 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
= 0;
10392 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10393 unsigned int arg2
;
10394 int arg3
= (int) true ;
10397 unsigned int val2
;
10401 PyObject
* obj0
= 0 ;
10402 PyObject
* obj1
= 0 ;
10403 PyObject
* obj2
= 0 ;
10404 char * kwnames
[] = {
10405 (char *) "self",(char *) "index",(char *) "check", NULL
10408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10410 if (!SWIG_IsOK(res1
)) {
10411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10413 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10414 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10415 if (!SWIG_IsOK(ecode2
)) {
10416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10418 arg2
= static_cast< unsigned int >(val2
);
10420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10421 if (!SWIG_IsOK(ecode3
)) {
10422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10424 arg3
= static_cast< int >(val3
);
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 (arg1
)->Check(arg2
,arg3
);
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10432 resultobj
= SWIG_Py_Void();
10439 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10440 PyObject
*resultobj
= 0;
10441 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10445 PyObject
*swig_obj
[1] ;
10447 if (!args
) SWIG_fail
;
10448 swig_obj
[0] = args
;
10449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10450 if (!SWIG_IsOK(res1
)) {
10451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10453 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 result
= (int)(arg1
)->GetItemHeight();
10457 wxPyEndAllowThreads(__tstate
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10460 resultobj
= SWIG_From_int(static_cast< int >(result
));
10467 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10470 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10471 return SWIG_Py_Void();
10474 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10475 return SWIG_Python_InitShadowInstance(args
);
10478 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10479 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10484 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10485 PyObject
*pyobj
= 0;
10489 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10491 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10498 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
*resultobj
= 0;
10500 wxColour
const &arg1_defvalue
= wxNullColour
;
10501 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10502 wxColour
const &arg2_defvalue
= wxNullColour
;
10503 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10504 wxFont
const &arg3_defvalue
= wxNullFont
;
10505 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10506 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10507 wxTextAttr
*result
= 0 ;
10514 PyObject
* obj0
= 0 ;
10515 PyObject
* obj1
= 0 ;
10516 PyObject
* obj2
= 0 ;
10517 PyObject
* obj3
= 0 ;
10518 char * kwnames
[] = {
10519 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10526 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10532 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10536 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10537 if (!SWIG_IsOK(res3
)) {
10538 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10543 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10546 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10547 if (!SWIG_IsOK(ecode4
)) {
10548 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10550 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10565 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10566 PyObject
*resultobj
= 0;
10567 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10570 PyObject
*swig_obj
[1] ;
10572 if (!args
) SWIG_fail
;
10573 swig_obj
[0] = args
;
10574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10575 if (!SWIG_IsOK(res1
)) {
10576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10578 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= SWIG_Py_Void();
10593 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10594 PyObject
*resultobj
= 0;
10595 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10598 PyObject
*swig_obj
[1] ;
10600 if (!args
) SWIG_fail
;
10601 swig_obj
[0] = args
;
10602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10603 if (!SWIG_IsOK(res1
)) {
10604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10606 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= SWIG_Py_Void();
10620 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
= 0;
10622 wxTextAttr
*arg1
= 0 ;
10623 wxTextAttr
*arg2
= 0 ;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 char * kwnames
[] = {
10632 (char *) "base",(char *) "overlay", NULL
10635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10636 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10637 if (!SWIG_IsOK(res1
)) {
10638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10643 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10645 if (!SWIG_IsOK(res2
)) {
10646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10651 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10658 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10665 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
= 0;
10667 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10668 wxColour
*arg2
= 0 ;
10672 PyObject
* obj0
= 0 ;
10673 PyObject
* obj1
= 0 ;
10674 char * kwnames
[] = {
10675 (char *) "self",(char *) "colText", NULL
10678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10680 if (!SWIG_IsOK(res1
)) {
10681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10683 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10686 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= SWIG_Py_Void();
10701 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
= 0;
10703 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10704 wxColour
*arg2
= 0 ;
10708 PyObject
* obj0
= 0 ;
10709 PyObject
* obj1
= 0 ;
10710 char * kwnames
[] = {
10711 (char *) "self",(char *) "colBack", NULL
10714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10716 if (!SWIG_IsOK(res1
)) {
10717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10719 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10722 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= SWIG_Py_Void();
10737 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
= 0;
10739 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10741 long arg3
= (long) wxTEXT_ATTR_FONT
;
10748 PyObject
* obj0
= 0 ;
10749 PyObject
* obj1
= 0 ;
10750 PyObject
* obj2
= 0 ;
10751 char * kwnames
[] = {
10752 (char *) "self",(char *) "font",(char *) "flags", NULL
10755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10757 if (!SWIG_IsOK(res1
)) {
10758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10760 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10761 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10762 if (!SWIG_IsOK(res2
)) {
10763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10768 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10770 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10771 if (!SWIG_IsOK(ecode3
)) {
10772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10774 arg3
= static_cast< long >(val3
);
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10782 resultobj
= SWIG_Py_Void();
10789 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
= 0;
10791 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10792 wxTextAttrAlignment arg2
;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 char * kwnames
[] = {
10800 (char *) "self",(char *) "alignment", NULL
10803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10805 if (!SWIG_IsOK(res1
)) {
10806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10808 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10810 if (!SWIG_IsOK(ecode2
)) {
10811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10813 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 (arg1
)->SetAlignment(arg2
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= SWIG_Py_Void();
10827 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
= 0;
10829 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10830 wxArrayInt
*arg2
= 0 ;
10833 bool temp2
= false ;
10834 PyObject
* obj0
= 0 ;
10835 PyObject
* obj1
= 0 ;
10836 char * kwnames
[] = {
10837 (char *) "self",(char *) "tabs", NULL
10840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10842 if (!SWIG_IsOK(res1
)) {
10843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10845 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10847 if (! PySequence_Check(obj1
)) {
10848 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10851 arg2
= new wxArrayInt
;
10853 int i
, len
=PySequence_Length(obj1
);
10854 for (i
=0; i
<len
; i
++) {
10855 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10856 PyObject
* number
= PyNumber_Int(item
);
10858 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10861 arg2
->Add(PyInt_AS_LONG(number
));
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 resultobj
= SWIG_Py_Void();
10874 if (temp2
) delete arg2
;
10879 if (temp2
) delete arg2
;
10885 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
= 0;
10887 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10889 int arg3
= (int) 0 ;
10896 PyObject
* obj0
= 0 ;
10897 PyObject
* obj1
= 0 ;
10898 PyObject
* obj2
= 0 ;
10899 char * kwnames
[] = {
10900 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10905 if (!SWIG_IsOK(res1
)) {
10906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10908 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10910 if (!SWIG_IsOK(ecode2
)) {
10911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10913 arg2
= static_cast< int >(val2
);
10915 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10916 if (!SWIG_IsOK(ecode3
)) {
10917 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10919 arg3
= static_cast< int >(val3
);
10922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10923 (arg1
)->SetLeftIndent(arg2
,arg3
);
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10927 resultobj
= SWIG_Py_Void();
10934 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
*resultobj
= 0;
10936 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10942 PyObject
* obj0
= 0 ;
10943 PyObject
* obj1
= 0 ;
10944 char * kwnames
[] = {
10945 (char *) "self",(char *) "indent", NULL
10948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10950 if (!SWIG_IsOK(res1
)) {
10951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10953 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10955 if (!SWIG_IsOK(ecode2
)) {
10956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10958 arg2
= static_cast< int >(val2
);
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 (arg1
)->SetRightIndent(arg2
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= SWIG_Py_Void();
10972 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
= 0;
10974 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10980 PyObject
* obj0
= 0 ;
10981 PyObject
* obj1
= 0 ;
10982 char * kwnames
[] = {
10983 (char *) "self",(char *) "flags", NULL
10986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10988 if (!SWIG_IsOK(res1
)) {
10989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10991 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10992 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10993 if (!SWIG_IsOK(ecode2
)) {
10994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10996 arg2
= static_cast< long >(val2
);
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 (arg1
)->SetFlags(arg2
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= SWIG_Py_Void();
11010 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11011 PyObject
*resultobj
= 0;
11012 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11016 PyObject
*swig_obj
[1] ;
11018 if (!args
) SWIG_fail
;
11019 swig_obj
[0] = args
;
11020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11021 if (!SWIG_IsOK(res1
)) {
11022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11024 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11040 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11041 PyObject
*resultobj
= 0;
11042 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11046 PyObject
*swig_obj
[1] ;
11048 if (!args
) SWIG_fail
;
11049 swig_obj
[0] = args
;
11050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11051 if (!SWIG_IsOK(res1
)) {
11052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11054 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11070 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11071 PyObject
*resultobj
= 0;
11072 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11076 PyObject
*swig_obj
[1] ;
11078 if (!args
) SWIG_fail
;
11079 swig_obj
[0] = args
;
11080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11081 if (!SWIG_IsOK(res1
)) {
11082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11084 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11100 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11101 PyObject
*resultobj
= 0;
11102 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11106 PyObject
*swig_obj
[1] ;
11108 if (!args
) SWIG_fail
;
11109 swig_obj
[0] = args
;
11110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11111 if (!SWIG_IsOK(res1
)) {
11112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11114 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11130 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11131 PyObject
*resultobj
= 0;
11132 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11136 PyObject
*swig_obj
[1] ;
11138 if (!args
) SWIG_fail
;
11139 swig_obj
[0] = args
;
11140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11141 if (!SWIG_IsOK(res1
)) {
11142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11144 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11160 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11161 PyObject
*resultobj
= 0;
11162 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11166 PyObject
*swig_obj
[1] ;
11168 if (!args
) SWIG_fail
;
11169 swig_obj
[0] = args
;
11170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11171 if (!SWIG_IsOK(res1
)) {
11172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11174 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11190 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11191 PyObject
*resultobj
= 0;
11192 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11196 PyObject
*swig_obj
[1] ;
11198 if (!args
) SWIG_fail
;
11199 swig_obj
[0] = args
;
11200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11201 if (!SWIG_IsOK(res1
)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11204 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11208 wxPyEndAllowThreads(__tstate
);
11209 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11220 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
= 0;
11222 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11229 PyObject
* obj0
= 0 ;
11230 PyObject
* obj1
= 0 ;
11231 char * kwnames
[] = {
11232 (char *) "self",(char *) "flag", NULL
11235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11237 if (!SWIG_IsOK(res1
)) {
11238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11240 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11241 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11242 if (!SWIG_IsOK(ecode2
)) {
11243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11245 arg2
= static_cast< long >(val2
);
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11261 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11262 PyObject
*resultobj
= 0;
11263 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11264 wxColour
*result
= 0 ;
11267 PyObject
*swig_obj
[1] ;
11269 if (!args
) SWIG_fail
;
11270 swig_obj
[0] = args
;
11271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11272 if (!SWIG_IsOK(res1
)) {
11273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11275 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11280 result
= (wxColour
*) &_result_ref
;
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11292 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11293 PyObject
*resultobj
= 0;
11294 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11295 wxColour
*result
= 0 ;
11298 PyObject
*swig_obj
[1] ;
11300 if (!args
) SWIG_fail
;
11301 swig_obj
[0] = args
;
11302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11303 if (!SWIG_IsOK(res1
)) {
11304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11306 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11311 result
= (wxColour
*) &_result_ref
;
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11323 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11324 PyObject
*resultobj
= 0;
11325 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11326 wxFont
*result
= 0 ;
11329 PyObject
*swig_obj
[1] ;
11331 if (!args
) SWIG_fail
;
11332 swig_obj
[0] = args
;
11333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11334 if (!SWIG_IsOK(res1
)) {
11335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11337 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11342 result
= (wxFont
*) &_result_ref
;
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11348 wxFont
* resultptr
= new wxFont(*result
);
11349 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11357 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11358 PyObject
*resultobj
= 0;
11359 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11360 wxTextAttrAlignment result
;
11363 PyObject
*swig_obj
[1] ;
11365 if (!args
) SWIG_fail
;
11366 swig_obj
[0] = args
;
11367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11368 if (!SWIG_IsOK(res1
)) {
11369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11371 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11378 resultobj
= SWIG_From_int(static_cast< int >(result
));
11385 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11386 PyObject
*resultobj
= 0;
11387 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11388 wxArrayInt
*result
= 0 ;
11391 PyObject
*swig_obj
[1] ;
11393 if (!args
) SWIG_fail
;
11394 swig_obj
[0] = args
;
11395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11396 if (!SWIG_IsOK(res1
)) {
11397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11399 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11403 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11404 result
= (wxArrayInt
*) &_result_ref
;
11406 wxPyEndAllowThreads(__tstate
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11410 resultobj
= wxArrayInt2PyList_helper(*result
);
11418 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11419 PyObject
*resultobj
= 0;
11420 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11424 PyObject
*swig_obj
[1] ;
11426 if (!args
) SWIG_fail
;
11427 swig_obj
[0] = args
;
11428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11429 if (!SWIG_IsOK(res1
)) {
11430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11432 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11439 resultobj
= SWIG_From_long(static_cast< long >(result
));
11446 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11447 PyObject
*resultobj
= 0;
11448 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11452 PyObject
*swig_obj
[1] ;
11454 if (!args
) SWIG_fail
;
11455 swig_obj
[0] = args
;
11456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11457 if (!SWIG_IsOK(res1
)) {
11458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11460 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11467 resultobj
= SWIG_From_long(static_cast< long >(result
));
11474 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11475 PyObject
*resultobj
= 0;
11476 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11480 PyObject
*swig_obj
[1] ;
11482 if (!args
) SWIG_fail
;
11483 swig_obj
[0] = args
;
11484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11485 if (!SWIG_IsOK(res1
)) {
11486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11488 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 resultobj
= SWIG_From_long(static_cast< long >(result
));
11502 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11503 PyObject
*resultobj
= 0;
11504 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11508 PyObject
*swig_obj
[1] ;
11510 if (!args
) SWIG_fail
;
11511 swig_obj
[0] = args
;
11512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11513 if (!SWIG_IsOK(res1
)) {
11514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11516 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_From_long(static_cast< long >(result
));
11530 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11531 PyObject
*resultobj
= 0;
11532 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11536 PyObject
*swig_obj
[1] ;
11538 if (!args
) SWIG_fail
;
11539 swig_obj
[0] = args
;
11540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11541 if (!SWIG_IsOK(res1
)) {
11542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11544 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11548 wxPyEndAllowThreads(__tstate
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11560 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11561 PyObject
*resultobj
= 0;
11562 wxTextAttr
*arg1
= 0 ;
11563 wxTextAttr
*arg2
= 0 ;
11564 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11572 PyObject
* obj0
= 0 ;
11573 PyObject
* obj1
= 0 ;
11574 PyObject
* obj2
= 0 ;
11575 char * kwnames
[] = {
11576 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11580 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11581 if (!SWIG_IsOK(res1
)) {
11582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11587 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11588 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11589 if (!SWIG_IsOK(res2
)) {
11590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11595 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11596 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11597 if (!SWIG_IsOK(res3
)) {
11598 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11600 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11614 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11617 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11618 return SWIG_Py_Void();
11621 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11622 return SWIG_Python_InitShadowInstance(args
);
11625 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
= 0;
11627 wxWindow
*arg1
= (wxWindow
*) 0 ;
11628 int arg2
= (int) -1 ;
11629 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11630 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11631 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11632 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11633 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11634 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11635 long arg6
= (long) 0 ;
11636 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11637 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11638 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11639 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11640 wxTextCtrl
*result
= 0 ;
11645 bool temp3
= false ;
11652 bool temp8
= false ;
11653 PyObject
* obj0
= 0 ;
11654 PyObject
* obj1
= 0 ;
11655 PyObject
* obj2
= 0 ;
11656 PyObject
* obj3
= 0 ;
11657 PyObject
* obj4
= 0 ;
11658 PyObject
* obj5
= 0 ;
11659 PyObject
* obj6
= 0 ;
11660 PyObject
* obj7
= 0 ;
11661 char * kwnames
[] = {
11662 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11667 if (!SWIG_IsOK(res1
)) {
11668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11670 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11673 if (!SWIG_IsOK(ecode2
)) {
11674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11676 arg2
= static_cast< int >(val2
);
11680 arg3
= wxString_in_helper(obj2
);
11681 if (arg3
== NULL
) SWIG_fail
;
11688 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11694 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11698 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11699 if (!SWIG_IsOK(ecode6
)) {
11700 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11702 arg6
= static_cast< long >(val6
);
11705 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11706 if (!SWIG_IsOK(res7
)) {
11707 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11712 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11716 arg8
= wxString_in_helper(obj7
);
11717 if (arg8
== NULL
) SWIG_fail
;
11722 if (!wxPyCheckForApp()) SWIG_fail
;
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11751 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11752 PyObject
*resultobj
= 0;
11753 wxTextCtrl
*result
= 0 ;
11755 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11757 if (!wxPyCheckForApp()) SWIG_fail
;
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 result
= (wxTextCtrl
*)new wxTextCtrl();
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11770 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
= 0;
11772 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11773 wxWindow
*arg2
= (wxWindow
*) 0 ;
11774 int arg3
= (int) -1 ;
11775 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11776 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11777 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11778 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11779 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11780 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11781 long arg7
= (long) 0 ;
11782 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11783 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11784 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11785 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11793 bool temp4
= false ;
11800 bool temp9
= false ;
11801 PyObject
* obj0
= 0 ;
11802 PyObject
* obj1
= 0 ;
11803 PyObject
* obj2
= 0 ;
11804 PyObject
* obj3
= 0 ;
11805 PyObject
* obj4
= 0 ;
11806 PyObject
* obj5
= 0 ;
11807 PyObject
* obj6
= 0 ;
11808 PyObject
* obj7
= 0 ;
11809 PyObject
* obj8
= 0 ;
11810 char * kwnames
[] = {
11811 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11816 if (!SWIG_IsOK(res1
)) {
11817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11819 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11820 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11821 if (!SWIG_IsOK(res2
)) {
11822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11824 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11827 if (!SWIG_IsOK(ecode3
)) {
11828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11830 arg3
= static_cast< int >(val3
);
11834 arg4
= wxString_in_helper(obj3
);
11835 if (arg4
== NULL
) SWIG_fail
;
11842 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11848 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11852 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11853 if (!SWIG_IsOK(ecode7
)) {
11854 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11856 arg7
= static_cast< long >(val7
);
11859 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11860 if (!SWIG_IsOK(res8
)) {
11861 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11866 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11870 arg9
= wxString_in_helper(obj8
);
11871 if (arg9
== NULL
) SWIG_fail
;
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11906 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11907 PyObject
*resultobj
= 0;
11908 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11912 PyObject
*swig_obj
[1] ;
11914 if (!args
) SWIG_fail
;
11915 swig_obj
[0] = args
;
11916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11917 if (!SWIG_IsOK(res1
)) {
11918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11920 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11929 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11931 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11940 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
= 0;
11942 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11943 wxString
*arg2
= 0 ;
11946 bool temp2
= false ;
11947 PyObject
* obj0
= 0 ;
11948 PyObject
* obj1
= 0 ;
11949 char * kwnames
[] = {
11950 (char *) "self",(char *) "value", NULL
11953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11955 if (!SWIG_IsOK(res1
)) {
11956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11958 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11960 arg2
= wxString_in_helper(obj1
);
11961 if (arg2
== NULL
) SWIG_fail
;
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 (arg1
)->SetValue((wxString
const &)*arg2
);
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 resultobj
= SWIG_Py_Void();
11985 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11986 PyObject
*resultobj
= 0;
11987 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11991 PyObject
*swig_obj
[1] ;
11993 if (!args
) SWIG_fail
;
11994 swig_obj
[0] = args
;
11995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11996 if (!SWIG_IsOK(res1
)) {
11997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11999 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
12003 wxPyEndAllowThreads(__tstate
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12015 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
= 0;
12017 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12018 wxString
*arg2
= 0 ;
12021 bool temp2
= false ;
12022 PyObject
* obj0
= 0 ;
12023 PyObject
* obj1
= 0 ;
12024 char * kwnames
[] = {
12025 (char *) "self",(char *) "value", NULL
12028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12030 if (!SWIG_IsOK(res1
)) {
12031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12033 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12035 arg2
= wxString_in_helper(obj1
);
12036 if (arg2
== NULL
) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 (arg1
)->ChangeValue((wxString
const &)*arg2
);
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= SWIG_Py_Void();
12060 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
= 0;
12062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12072 PyObject
* obj0
= 0 ;
12073 PyObject
* obj1
= 0 ;
12074 PyObject
* obj2
= 0 ;
12075 char * kwnames
[] = {
12076 (char *) "self",(char *) "from",(char *) "to", NULL
12079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12081 if (!SWIG_IsOK(res1
)) {
12082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12084 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12085 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12086 if (!SWIG_IsOK(ecode2
)) {
12087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12089 arg2
= static_cast< long >(val2
);
12090 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12091 if (!SWIG_IsOK(ecode3
)) {
12092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12094 arg3
= static_cast< long >(val3
);
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12114 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
= 0;
12116 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12123 PyObject
* obj0
= 0 ;
12124 PyObject
* obj1
= 0 ;
12125 char * kwnames
[] = {
12126 (char *) "self",(char *) "lineNo", NULL
12129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12131 if (!SWIG_IsOK(res1
)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12134 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12135 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12136 if (!SWIG_IsOK(ecode2
)) {
12137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12139 arg2
= static_cast< long >(val2
);
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= SWIG_From_int(static_cast< int >(result
));
12153 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
= 0;
12155 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12162 PyObject
* obj0
= 0 ;
12163 PyObject
* obj1
= 0 ;
12164 char * kwnames
[] = {
12165 (char *) "self",(char *) "lineNo", NULL
12168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12170 if (!SWIG_IsOK(res1
)) {
12171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12173 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12174 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12175 if (!SWIG_IsOK(ecode2
)) {
12176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12178 arg2
= static_cast< long >(val2
);
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12198 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12199 PyObject
*resultobj
= 0;
12200 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12204 PyObject
*swig_obj
[1] ;
12206 if (!args
) SWIG_fail
;
12207 swig_obj
[0] = args
;
12208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12209 if (!SWIG_IsOK(res1
)) {
12210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12212 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 resultobj
= SWIG_From_int(static_cast< int >(result
));
12226 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12227 PyObject
*resultobj
= 0;
12228 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12232 PyObject
*swig_obj
[1] ;
12234 if (!args
) SWIG_fail
;
12235 swig_obj
[0] = args
;
12236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12237 if (!SWIG_IsOK(res1
)) {
12238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12240 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12256 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12257 PyObject
*resultobj
= 0;
12258 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12262 PyObject
*swig_obj
[1] ;
12264 if (!args
) SWIG_fail
;
12265 swig_obj
[0] = args
;
12266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12267 if (!SWIG_IsOK(res1
)) {
12268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12270 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12286 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12287 PyObject
*resultobj
= 0;
12288 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12292 PyObject
*swig_obj
[1] ;
12294 if (!args
) SWIG_fail
;
12295 swig_obj
[0] = args
;
12296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12297 if (!SWIG_IsOK(res1
)) {
12298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12300 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12316 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12317 PyObject
*resultobj
= 0;
12318 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12322 PyObject
*swig_obj
[1] ;
12324 if (!args
) SWIG_fail
;
12325 swig_obj
[0] = args
;
12326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12327 if (!SWIG_IsOK(res1
)) {
12328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12330 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12346 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12347 PyObject
*resultobj
= 0;
12348 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12349 long *arg2
= (long *) 0 ;
12350 long *arg3
= (long *) 0 ;
12354 int res2
= SWIG_TMPOBJ
;
12356 int res3
= SWIG_TMPOBJ
;
12357 PyObject
*swig_obj
[1] ;
12361 if (!args
) SWIG_fail
;
12362 swig_obj
[0] = args
;
12363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12364 if (!SWIG_IsOK(res1
)) {
12365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12367 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= SWIG_Py_Void();
12375 if (SWIG_IsTmpObj(res2
)) {
12376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12378 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12379 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12381 if (SWIG_IsTmpObj(res3
)) {
12382 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12384 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12385 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12393 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12394 PyObject
*resultobj
= 0;
12395 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12399 PyObject
*swig_obj
[1] ;
12401 if (!args
) SWIG_fail
;
12402 swig_obj
[0] = args
;
12403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12404 if (!SWIG_IsOK(res1
)) {
12405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12407 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12411 wxPyEndAllowThreads(__tstate
);
12412 if (PyErr_Occurred()) SWIG_fail
;
12416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12427 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12428 PyObject
*resultobj
= 0;
12429 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12432 PyObject
*swig_obj
[1] ;
12434 if (!args
) SWIG_fail
;
12435 swig_obj
[0] = args
;
12436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12437 if (!SWIG_IsOK(res1
)) {
12438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12440 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 resultobj
= SWIG_Py_Void();
12454 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
= 0;
12456 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12459 wxString
*arg4
= 0 ;
12466 bool temp4
= false ;
12467 PyObject
* obj0
= 0 ;
12468 PyObject
* obj1
= 0 ;
12469 PyObject
* obj2
= 0 ;
12470 PyObject
* obj3
= 0 ;
12471 char * kwnames
[] = {
12472 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12477 if (!SWIG_IsOK(res1
)) {
12478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12480 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12481 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12482 if (!SWIG_IsOK(ecode2
)) {
12483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12485 arg2
= static_cast< long >(val2
);
12486 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12487 if (!SWIG_IsOK(ecode3
)) {
12488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12490 arg3
= static_cast< long >(val3
);
12492 arg4
= wxString_in_helper(obj3
);
12493 if (arg4
== NULL
) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12499 wxPyEndAllowThreads(__tstate
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12502 resultobj
= SWIG_Py_Void();
12517 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
= 0;
12519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12528 PyObject
* obj0
= 0 ;
12529 PyObject
* obj1
= 0 ;
12530 PyObject
* obj2
= 0 ;
12531 char * kwnames
[] = {
12532 (char *) "self",(char *) "from",(char *) "to", NULL
12535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12537 if (!SWIG_IsOK(res1
)) {
12538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12540 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12541 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12542 if (!SWIG_IsOK(ecode2
)) {
12543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12545 arg2
= static_cast< long >(val2
);
12546 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12547 if (!SWIG_IsOK(ecode3
)) {
12548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12550 arg3
= static_cast< long >(val3
);
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 (arg1
)->Remove(arg2
,arg3
);
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12557 resultobj
= SWIG_Py_Void();
12564 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
= 0;
12566 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12567 wxString
*arg2
= 0 ;
12568 int arg3
= (int) wxTEXT_TYPE_ANY
;
12572 bool temp2
= false ;
12575 PyObject
* obj0
= 0 ;
12576 PyObject
* obj1
= 0 ;
12577 PyObject
* obj2
= 0 ;
12578 char * kwnames
[] = {
12579 (char *) "self",(char *) "file",(char *) "fileType", NULL
12582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12584 if (!SWIG_IsOK(res1
)) {
12585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12587 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12589 arg2
= wxString_in_helper(obj1
);
12590 if (arg2
== NULL
) SWIG_fail
;
12594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12595 if (!SWIG_IsOK(ecode3
)) {
12596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12598 arg3
= static_cast< int >(val3
);
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12623 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
= 0;
12625 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12626 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12627 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12628 int arg3
= (int) wxTEXT_TYPE_ANY
;
12632 bool temp2
= false ;
12635 PyObject
* obj0
= 0 ;
12636 PyObject
* obj1
= 0 ;
12637 PyObject
* obj2
= 0 ;
12638 char * kwnames
[] = {
12639 (char *) "self",(char *) "file",(char *) "fileType", NULL
12642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12644 if (!SWIG_IsOK(res1
)) {
12645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12647 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12650 arg2
= wxString_in_helper(obj1
);
12651 if (arg2
== NULL
) SWIG_fail
;
12656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12657 if (!SWIG_IsOK(ecode3
)) {
12658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12660 arg3
= static_cast< int >(val3
);
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12685 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12686 PyObject
*resultobj
= 0;
12687 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12690 PyObject
*swig_obj
[1] ;
12692 if (!args
) SWIG_fail
;
12693 swig_obj
[0] = args
;
12694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12695 if (!SWIG_IsOK(res1
)) {
12696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12698 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12701 (arg1
)->MarkDirty();
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 resultobj
= SWIG_Py_Void();
12712 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12713 PyObject
*resultobj
= 0;
12714 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12717 PyObject
*swig_obj
[1] ;
12719 if (!args
) SWIG_fail
;
12720 swig_obj
[0] = args
;
12721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12722 if (!SWIG_IsOK(res1
)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12725 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12728 (arg1
)->DiscardEdits();
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12732 resultobj
= SWIG_Py_Void();
12739 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
= 0;
12741 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12747 PyObject
* obj0
= 0 ;
12748 PyObject
* obj1
= 0 ;
12749 char * kwnames
[] = {
12750 (char *) "self",(char *) "modified", NULL
12753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12755 if (!SWIG_IsOK(res1
)) {
12756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12758 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12759 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12760 if (!SWIG_IsOK(ecode2
)) {
12761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12763 arg2
= static_cast< bool >(val2
);
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 (arg1
)->SetModified(arg2
);
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 resultobj
= SWIG_Py_Void();
12777 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
= 0;
12779 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12780 unsigned long arg2
;
12783 unsigned long val2
;
12785 PyObject
* obj0
= 0 ;
12786 PyObject
* obj1
= 0 ;
12787 char * kwnames
[] = {
12788 (char *) "self",(char *) "len", NULL
12791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12793 if (!SWIG_IsOK(res1
)) {
12794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12796 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12797 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12798 if (!SWIG_IsOK(ecode2
)) {
12799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12801 arg2
= static_cast< unsigned long >(val2
);
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 (arg1
)->SetMaxLength(arg2
);
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 resultobj
= SWIG_Py_Void();
12815 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
= 0;
12817 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12818 wxString
*arg2
= 0 ;
12821 bool temp2
= false ;
12822 PyObject
* obj0
= 0 ;
12823 PyObject
* obj1
= 0 ;
12824 char * kwnames
[] = {
12825 (char *) "self",(char *) "text", NULL
12828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12830 if (!SWIG_IsOK(res1
)) {
12831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12833 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12835 arg2
= wxString_in_helper(obj1
);
12836 if (arg2
== NULL
) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 (arg1
)->WriteText((wxString
const &)*arg2
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12845 resultobj
= SWIG_Py_Void();
12860 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
= 0;
12862 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12863 wxString
*arg2
= 0 ;
12866 bool temp2
= false ;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 char * kwnames
[] = {
12870 (char *) "self",(char *) "text", NULL
12873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12875 if (!SWIG_IsOK(res1
)) {
12876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12878 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12880 arg2
= wxString_in_helper(obj1
);
12881 if (arg2
== NULL
) SWIG_fail
;
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12886 (arg1
)->AppendText((wxString
const &)*arg2
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 resultobj
= SWIG_Py_Void();
12905 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
= 0;
12907 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12908 wxKeyEvent
*arg2
= 0 ;
12914 PyObject
* obj0
= 0 ;
12915 PyObject
* obj1
= 0 ;
12916 char * kwnames
[] = {
12917 (char *) "self",(char *) "event", NULL
12920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12922 if (!SWIG_IsOK(res1
)) {
12923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12925 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12927 if (!SWIG_IsOK(res2
)) {
12928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12933 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12936 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12937 wxPyEndAllowThreads(__tstate
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12949 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
= 0;
12951 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12954 wxTextAttr
*arg4
= 0 ;
12964 PyObject
* obj0
= 0 ;
12965 PyObject
* obj1
= 0 ;
12966 PyObject
* obj2
= 0 ;
12967 PyObject
* obj3
= 0 ;
12968 char * kwnames
[] = {
12969 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12974 if (!SWIG_IsOK(res1
)) {
12975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12977 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12978 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12979 if (!SWIG_IsOK(ecode2
)) {
12980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12982 arg2
= static_cast< long >(val2
);
12983 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12984 if (!SWIG_IsOK(ecode3
)) {
12985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12987 arg3
= static_cast< long >(val3
);
12988 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12989 if (!SWIG_IsOK(res4
)) {
12990 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12995 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13011 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
= 0;
13013 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13015 wxTextAttr
*arg3
= 0 ;
13023 PyObject
* obj0
= 0 ;
13024 PyObject
* obj1
= 0 ;
13025 PyObject
* obj2
= 0 ;
13026 char * kwnames
[] = {
13027 (char *) "self",(char *) "position",(char *) "style", NULL
13030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13032 if (!SWIG_IsOK(res1
)) {
13033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13035 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13036 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13037 if (!SWIG_IsOK(ecode2
)) {
13038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13040 arg2
= static_cast< long >(val2
);
13041 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
13042 if (!SWIG_IsOK(res3
)) {
13043 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13048 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13064 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13065 PyObject
*resultobj
= 0;
13066 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13067 wxTextAttr
*arg2
= 0 ;
13073 PyObject
* obj0
= 0 ;
13074 PyObject
* obj1
= 0 ;
13075 char * kwnames
[] = {
13076 (char *) "self",(char *) "style", NULL
13079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13081 if (!SWIG_IsOK(res1
)) {
13082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13084 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13085 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13086 if (!SWIG_IsOK(res2
)) {
13087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13090 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13092 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13108 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13109 PyObject
*resultobj
= 0;
13110 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13111 wxTextAttr
*result
= 0 ;
13114 PyObject
*swig_obj
[1] ;
13116 if (!args
) SWIG_fail
;
13117 swig_obj
[0] = args
;
13118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13119 if (!SWIG_IsOK(res1
)) {
13120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13122 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13126 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13127 result
= (wxTextAttr
*) &_result_ref
;
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13139 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
= 0;
13141 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 PyObject
* obj2
= 0 ;
13154 char * kwnames
[] = {
13155 (char *) "self",(char *) "x",(char *) "y", NULL
13158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13160 if (!SWIG_IsOK(res1
)) {
13161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13163 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13164 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13165 if (!SWIG_IsOK(ecode2
)) {
13166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13168 arg2
= static_cast< long >(val2
);
13169 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13170 if (!SWIG_IsOK(ecode3
)) {
13171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13173 arg3
= static_cast< long >(val3
);
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= SWIG_From_long(static_cast< long >(result
));
13187 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
= 0;
13189 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13191 long *arg3
= (long *) 0 ;
13192 long *arg4
= (long *) 0 ;
13198 int res3
= SWIG_TMPOBJ
;
13200 int res4
= SWIG_TMPOBJ
;
13201 PyObject
* obj0
= 0 ;
13202 PyObject
* obj1
= 0 ;
13203 char * kwnames
[] = {
13204 (char *) "self",(char *) "pos", NULL
13209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13211 if (!SWIG_IsOK(res1
)) {
13212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13214 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13215 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13216 if (!SWIG_IsOK(ecode2
)) {
13217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13219 arg2
= static_cast< long >(val2
);
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13226 resultobj
= SWIG_Py_Void();
13227 if (SWIG_IsTmpObj(res3
)) {
13228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13230 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13231 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13233 if (SWIG_IsTmpObj(res4
)) {
13234 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13236 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13237 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13245 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13246 PyObject
*resultobj
= 0;
13247 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13253 PyObject
* obj0
= 0 ;
13254 PyObject
* obj1
= 0 ;
13255 char * kwnames
[] = {
13256 (char *) "self",(char *) "pos", NULL
13259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13261 if (!SWIG_IsOK(res1
)) {
13262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13264 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13265 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13266 if (!SWIG_IsOK(ecode2
)) {
13267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13269 arg2
= static_cast< long >(val2
);
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 (arg1
)->ShowPosition(arg2
);
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 resultobj
= SWIG_Py_Void();
13283 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
= 0;
13285 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13286 wxPoint
*arg2
= 0 ;
13287 long *arg3
= (long *) 0 ;
13288 long *arg4
= (long *) 0 ;
13289 wxTextCtrlHitTestResult result
;
13294 int res3
= SWIG_TMPOBJ
;
13296 int res4
= SWIG_TMPOBJ
;
13297 PyObject
* obj0
= 0 ;
13298 PyObject
* obj1
= 0 ;
13299 char * kwnames
[] = {
13300 (char *) "self",(char *) "pt", NULL
13305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13307 if (!SWIG_IsOK(res1
)) {
13308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13310 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13313 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 resultobj
= SWIG_From_int(static_cast< int >(result
));
13322 if (SWIG_IsTmpObj(res3
)) {
13323 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13325 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13326 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13328 if (SWIG_IsTmpObj(res4
)) {
13329 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13331 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13332 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13340 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13341 PyObject
*resultobj
= 0;
13342 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13343 wxPoint
*arg2
= 0 ;
13344 long *arg3
= (long *) 0 ;
13345 wxTextCtrlHitTestResult result
;
13350 int res3
= SWIG_TMPOBJ
;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 char * kwnames
[] = {
13354 (char *) "self",(char *) "pt", NULL
13358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13360 if (!SWIG_IsOK(res1
)) {
13361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13363 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13366 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_From_int(static_cast< int >(result
));
13375 if (SWIG_IsTmpObj(res3
)) {
13376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13378 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13379 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13387 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13388 PyObject
*resultobj
= 0;
13389 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13392 PyObject
*swig_obj
[1] ;
13394 if (!args
) SWIG_fail
;
13395 swig_obj
[0] = args
;
13396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13397 if (!SWIG_IsOK(res1
)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13400 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13407 resultobj
= SWIG_Py_Void();
13414 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13415 PyObject
*resultobj
= 0;
13416 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13419 PyObject
*swig_obj
[1] ;
13421 if (!args
) SWIG_fail
;
13422 swig_obj
[0] = args
;
13423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13424 if (!SWIG_IsOK(res1
)) {
13425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13427 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= SWIG_Py_Void();
13441 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13442 PyObject
*resultobj
= 0;
13443 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13446 PyObject
*swig_obj
[1] ;
13448 if (!args
) SWIG_fail
;
13449 swig_obj
[0] = args
;
13450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13451 if (!SWIG_IsOK(res1
)) {
13452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13454 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 wxPyEndAllowThreads(__tstate
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13461 resultobj
= SWIG_Py_Void();
13468 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13469 PyObject
*resultobj
= 0;
13470 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13474 PyObject
*swig_obj
[1] ;
13476 if (!args
) SWIG_fail
;
13477 swig_obj
[0] = args
;
13478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13479 if (!SWIG_IsOK(res1
)) {
13480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13482 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13498 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13499 PyObject
*resultobj
= 0;
13500 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13504 PyObject
*swig_obj
[1] ;
13506 if (!args
) SWIG_fail
;
13507 swig_obj
[0] = args
;
13508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13509 if (!SWIG_IsOK(res1
)) {
13510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13512 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13528 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13529 PyObject
*resultobj
= 0;
13530 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13534 PyObject
*swig_obj
[1] ;
13536 if (!args
) SWIG_fail
;
13537 swig_obj
[0] = args
;
13538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13539 if (!SWIG_IsOK(res1
)) {
13540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13542 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13558 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13559 PyObject
*resultobj
= 0;
13560 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13563 PyObject
*swig_obj
[1] ;
13565 if (!args
) SWIG_fail
;
13566 swig_obj
[0] = args
;
13567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13568 if (!SWIG_IsOK(res1
)) {
13569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13571 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13578 resultobj
= SWIG_Py_Void();
13585 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13586 PyObject
*resultobj
= 0;
13587 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13590 PyObject
*swig_obj
[1] ;
13592 if (!args
) SWIG_fail
;
13593 swig_obj
[0] = args
;
13594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13595 if (!SWIG_IsOK(res1
)) {
13596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13598 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= SWIG_Py_Void();
13612 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13613 PyObject
*resultobj
= 0;
13614 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13618 PyObject
*swig_obj
[1] ;
13620 if (!args
) SWIG_fail
;
13621 swig_obj
[0] = args
;
13622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13623 if (!SWIG_IsOK(res1
)) {
13624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13626 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13642 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13643 PyObject
*resultobj
= 0;
13644 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13648 PyObject
*swig_obj
[1] ;
13650 if (!args
) SWIG_fail
;
13651 swig_obj
[0] = args
;
13652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13653 if (!SWIG_IsOK(res1
)) {
13654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13656 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13672 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13673 PyObject
*resultobj
= 0;
13674 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13680 PyObject
* obj0
= 0 ;
13681 PyObject
* obj1
= 0 ;
13682 char * kwnames
[] = {
13683 (char *) "self",(char *) "pos", NULL
13686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13688 if (!SWIG_IsOK(res1
)) {
13689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13691 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13692 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13693 if (!SWIG_IsOK(ecode2
)) {
13694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13696 arg2
= static_cast< long >(val2
);
13698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13699 (arg1
)->SetInsertionPoint(arg2
);
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13703 resultobj
= SWIG_Py_Void();
13710 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13711 PyObject
*resultobj
= 0;
13712 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13715 PyObject
*swig_obj
[1] ;
13717 if (!args
) SWIG_fail
;
13718 swig_obj
[0] = args
;
13719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13720 if (!SWIG_IsOK(res1
)) {
13721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13723 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13726 (arg1
)->SetInsertionPointEnd();
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13730 resultobj
= SWIG_Py_Void();
13737 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13738 PyObject
*resultobj
= 0;
13739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13743 PyObject
*swig_obj
[1] ;
13745 if (!args
) SWIG_fail
;
13746 swig_obj
[0] = args
;
13747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13748 if (!SWIG_IsOK(res1
)) {
13749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13751 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= SWIG_From_long(static_cast< long >(result
));
13765 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13766 PyObject
*resultobj
= 0;
13767 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13771 PyObject
*swig_obj
[1] ;
13773 if (!args
) SWIG_fail
;
13774 swig_obj
[0] = args
;
13775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13776 if (!SWIG_IsOK(res1
)) {
13777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13779 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= SWIG_From_long(static_cast< long >(result
));
13793 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
= 0;
13795 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13804 PyObject
* obj0
= 0 ;
13805 PyObject
* obj1
= 0 ;
13806 PyObject
* obj2
= 0 ;
13807 char * kwnames
[] = {
13808 (char *) "self",(char *) "from",(char *) "to", NULL
13811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13813 if (!SWIG_IsOK(res1
)) {
13814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13816 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13817 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13818 if (!SWIG_IsOK(ecode2
)) {
13819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13821 arg2
= static_cast< long >(val2
);
13822 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13823 if (!SWIG_IsOK(ecode3
)) {
13824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13826 arg3
= static_cast< long >(val3
);
13828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13829 (arg1
)->SetSelection(arg2
,arg3
);
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 resultobj
= SWIG_Py_Void();
13840 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13841 PyObject
*resultobj
= 0;
13842 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13845 PyObject
*swig_obj
[1] ;
13847 if (!args
) SWIG_fail
;
13848 swig_obj
[0] = args
;
13849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13850 if (!SWIG_IsOK(res1
)) {
13851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13853 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 (arg1
)->SelectAll();
13857 wxPyEndAllowThreads(__tstate
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13860 resultobj
= SWIG_Py_Void();
13867 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13868 PyObject
*resultobj
= 0;
13869 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13875 PyObject
* obj0
= 0 ;
13876 PyObject
* obj1
= 0 ;
13877 char * kwnames
[] = {
13878 (char *) "self",(char *) "editable", NULL
13881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13883 if (!SWIG_IsOK(res1
)) {
13884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13886 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13887 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13888 if (!SWIG_IsOK(ecode2
)) {
13889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13891 arg2
= static_cast< bool >(val2
);
13893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13894 (arg1
)->SetEditable(arg2
);
13895 wxPyEndAllowThreads(__tstate
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13898 resultobj
= SWIG_Py_Void();
13905 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
= 0;
13907 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13913 PyObject
* obj0
= 0 ;
13914 PyObject
* obj1
= 0 ;
13915 char * kwnames
[] = {
13916 (char *) "self",(char *) "check", NULL
13919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13921 if (!SWIG_IsOK(res1
)) {
13922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13924 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13925 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13926 if (!SWIG_IsOK(ecode2
)) {
13927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13929 arg2
= static_cast< bool >(val2
);
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 wxTextCtrl_MacCheckSpelling(arg1
,arg2
);
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13936 resultobj
= SWIG_Py_Void();
13943 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13944 PyObject
*resultobj
= 0;
13945 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13948 PyObject
*swig_obj
[1] ;
13950 if (!args
) SWIG_fail
;
13951 swig_obj
[0] = args
;
13952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13953 if (!SWIG_IsOK(res1
)) {
13954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13956 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 (arg1
)->SendTextUpdatedEvent();
13960 wxPyEndAllowThreads(__tstate
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13963 resultobj
= SWIG_Py_Void();
13970 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
= 0;
13972 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13973 bool arg2
= (bool) true ;
13979 PyObject
* obj0
= 0 ;
13980 PyObject
* obj1
= 0 ;
13981 char * kwnames
[] = {
13982 (char *) "self",(char *) "show", NULL
13985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13987 if (!SWIG_IsOK(res1
)) {
13988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13990 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13992 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13993 if (!SWIG_IsOK(ecode2
)) {
13994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13996 arg2
= static_cast< bool >(val2
);
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
14001 wxPyEndAllowThreads(__tstate
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14013 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14014 PyObject
*resultobj
= 0;
14015 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14019 PyObject
*swig_obj
[1] ;
14021 if (!args
) SWIG_fail
;
14022 swig_obj
[0] = args
;
14023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14024 if (!SWIG_IsOK(res1
)) {
14025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14027 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14030 result
= (bool)(arg1
)->HideNativeCaret();
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14043 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
= 0;
14045 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14046 wxString
*arg2
= 0 ;
14049 bool temp2
= false ;
14050 PyObject
* obj0
= 0 ;
14051 PyObject
* obj1
= 0 ;
14052 char * kwnames
[] = {
14053 (char *) "self",(char *) "text", NULL
14056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14058 if (!SWIG_IsOK(res1
)) {
14059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14061 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14063 arg2
= wxString_in_helper(obj1
);
14064 if (arg2
== NULL
) SWIG_fail
;
14068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14069 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14073 resultobj
= SWIG_Py_Void();
14088 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
= 0;
14090 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14100 PyObject
* obj0
= 0 ;
14101 PyObject
* obj1
= 0 ;
14102 PyObject
* obj2
= 0 ;
14103 char * kwnames
[] = {
14104 (char *) "self",(char *) "from",(char *) "to", NULL
14107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14109 if (!SWIG_IsOK(res1
)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14112 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14113 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14114 if (!SWIG_IsOK(ecode2
)) {
14115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14117 arg2
= static_cast< long >(val2
);
14118 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14119 if (!SWIG_IsOK(ecode3
)) {
14120 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14122 arg3
= static_cast< long >(val3
);
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14142 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14143 PyObject
*resultobj
= 0;
14144 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14145 SwigValueWrapper
<wxVisualAttributes
> result
;
14148 PyObject
* obj0
= 0 ;
14149 char * kwnames
[] = {
14150 (char *) "variant", NULL
14153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14155 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14156 if (!SWIG_IsOK(ecode1
)) {
14157 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14159 arg1
= static_cast< wxWindowVariant
>(val1
);
14162 if (!wxPyCheckForApp()) SWIG_fail
;
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14168 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14175 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14177 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14178 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14179 return SWIG_Py_Void();
14182 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14183 return SWIG_Python_InitShadowInstance(args
);
14186 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14187 PyObject
*resultobj
= 0;
14189 wxMouseEvent
*arg2
= 0 ;
14192 wxTextUrlEvent
*result
= 0 ;
14201 PyObject
* obj0
= 0 ;
14202 PyObject
* obj1
= 0 ;
14203 PyObject
* obj2
= 0 ;
14204 PyObject
* obj3
= 0 ;
14205 char * kwnames
[] = {
14206 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14210 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14211 if (!SWIG_IsOK(ecode1
)) {
14212 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14214 arg1
= static_cast< int >(val1
);
14215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14216 if (!SWIG_IsOK(res2
)) {
14217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14222 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14223 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14224 if (!SWIG_IsOK(ecode3
)) {
14225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14227 arg3
= static_cast< long >(val3
);
14228 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14229 if (!SWIG_IsOK(ecode4
)) {
14230 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14232 arg4
= static_cast< long >(val4
);
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14246 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14247 PyObject
*resultobj
= 0;
14248 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14249 wxMouseEvent
*result
= 0 ;
14252 PyObject
*swig_obj
[1] ;
14254 if (!args
) SWIG_fail
;
14255 swig_obj
[0] = args
;
14256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14257 if (!SWIG_IsOK(res1
)) {
14258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14260 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14265 result
= (wxMouseEvent
*) &_result_ref
;
14267 wxPyEndAllowThreads(__tstate
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14277 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14278 PyObject
*resultobj
= 0;
14279 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14283 PyObject
*swig_obj
[1] ;
14285 if (!args
) SWIG_fail
;
14286 swig_obj
[0] = args
;
14287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14288 if (!SWIG_IsOK(res1
)) {
14289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14291 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14295 wxPyEndAllowThreads(__tstate
);
14296 if (PyErr_Occurred()) SWIG_fail
;
14298 resultobj
= SWIG_From_long(static_cast< long >(result
));
14305 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14306 PyObject
*resultobj
= 0;
14307 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14311 PyObject
*swig_obj
[1] ;
14313 if (!args
) SWIG_fail
;
14314 swig_obj
[0] = args
;
14315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14316 if (!SWIG_IsOK(res1
)) {
14317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14319 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= SWIG_From_long(static_cast< long >(result
));
14333 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14336 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14337 return SWIG_Py_Void();
14340 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14341 return SWIG_Python_InitShadowInstance(args
);
14344 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14345 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14350 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14351 PyObject
*pyobj
= 0;
14355 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14357 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14364 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
= 0;
14366 wxWindow
*arg1
= (wxWindow
*) 0 ;
14367 int arg2
= (int) -1 ;
14368 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14369 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14370 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14371 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14372 long arg5
= (long) wxSB_HORIZONTAL
;
14373 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14374 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14375 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14376 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14377 wxScrollBar
*result
= 0 ;
14388 bool temp7
= false ;
14389 PyObject
* obj0
= 0 ;
14390 PyObject
* obj1
= 0 ;
14391 PyObject
* obj2
= 0 ;
14392 PyObject
* obj3
= 0 ;
14393 PyObject
* obj4
= 0 ;
14394 PyObject
* obj5
= 0 ;
14395 PyObject
* obj6
= 0 ;
14396 char * kwnames
[] = {
14397 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14402 if (!SWIG_IsOK(res1
)) {
14403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14405 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14408 if (!SWIG_IsOK(ecode2
)) {
14409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14411 arg2
= static_cast< int >(val2
);
14416 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14422 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14426 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14427 if (!SWIG_IsOK(ecode5
)) {
14428 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14430 arg5
= static_cast< long >(val5
);
14433 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14434 if (!SWIG_IsOK(res6
)) {
14435 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14440 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14444 arg7
= wxString_in_helper(obj6
);
14445 if (arg7
== NULL
) SWIG_fail
;
14450 if (!wxPyCheckForApp()) SWIG_fail
;
14451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14452 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14471 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14472 PyObject
*resultobj
= 0;
14473 wxScrollBar
*result
= 0 ;
14475 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14477 if (!wxPyCheckForApp()) SWIG_fail
;
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 result
= (wxScrollBar
*)new wxScrollBar();
14480 wxPyEndAllowThreads(__tstate
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14490 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
= 0;
14492 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14493 wxWindow
*arg2
= (wxWindow
*) 0 ;
14494 int arg3
= (int) -1 ;
14495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14499 long arg6
= (long) wxSB_HORIZONTAL
;
14500 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14501 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14502 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14503 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14517 bool temp8
= false ;
14518 PyObject
* obj0
= 0 ;
14519 PyObject
* obj1
= 0 ;
14520 PyObject
* obj2
= 0 ;
14521 PyObject
* obj3
= 0 ;
14522 PyObject
* obj4
= 0 ;
14523 PyObject
* obj5
= 0 ;
14524 PyObject
* obj6
= 0 ;
14525 PyObject
* obj7
= 0 ;
14526 char * kwnames
[] = {
14527 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14532 if (!SWIG_IsOK(res1
)) {
14533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14535 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14537 if (!SWIG_IsOK(res2
)) {
14538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14540 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14543 if (!SWIG_IsOK(ecode3
)) {
14544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14546 arg3
= static_cast< int >(val3
);
14551 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14557 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14561 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14562 if (!SWIG_IsOK(ecode6
)) {
14563 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14565 arg6
= static_cast< long >(val6
);
14568 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14569 if (!SWIG_IsOK(res7
)) {
14570 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14575 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14579 arg8
= wxString_in_helper(obj7
);
14580 if (arg8
== NULL
) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14607 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14608 PyObject
*resultobj
= 0;
14609 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14613 PyObject
*swig_obj
[1] ;
14615 if (!args
) SWIG_fail
;
14616 swig_obj
[0] = args
;
14617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14618 if (!SWIG_IsOK(res1
)) {
14619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14621 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14625 wxPyEndAllowThreads(__tstate
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14628 resultobj
= SWIG_From_int(static_cast< int >(result
));
14635 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14636 PyObject
*resultobj
= 0;
14637 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14641 PyObject
*swig_obj
[1] ;
14643 if (!args
) SWIG_fail
;
14644 swig_obj
[0] = args
;
14645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14646 if (!SWIG_IsOK(res1
)) {
14647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14649 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14656 resultobj
= SWIG_From_int(static_cast< int >(result
));
14663 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14664 PyObject
*resultobj
= 0;
14665 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14669 PyObject
*swig_obj
[1] ;
14671 if (!args
) SWIG_fail
;
14672 swig_obj
[0] = args
;
14673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14674 if (!SWIG_IsOK(res1
)) {
14675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14677 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= SWIG_From_int(static_cast< int >(result
));
14691 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14692 PyObject
*resultobj
= 0;
14693 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14697 PyObject
*swig_obj
[1] ;
14699 if (!args
) SWIG_fail
;
14700 swig_obj
[0] = args
;
14701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14702 if (!SWIG_IsOK(res1
)) {
14703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14705 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14712 resultobj
= SWIG_From_int(static_cast< int >(result
));
14719 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14720 PyObject
*resultobj
= 0;
14721 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14725 PyObject
*swig_obj
[1] ;
14727 if (!args
) SWIG_fail
;
14728 swig_obj
[0] = args
;
14729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14730 if (!SWIG_IsOK(res1
)) {
14731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14733 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14749 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
= 0;
14751 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14757 PyObject
* obj0
= 0 ;
14758 PyObject
* obj1
= 0 ;
14759 char * kwnames
[] = {
14760 (char *) "self",(char *) "viewStart", NULL
14763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14765 if (!SWIG_IsOK(res1
)) {
14766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14768 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14770 if (!SWIG_IsOK(ecode2
)) {
14771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14773 arg2
= static_cast< int >(val2
);
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 (arg1
)->SetThumbPosition(arg2
);
14777 wxPyEndAllowThreads(__tstate
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14780 resultobj
= SWIG_Py_Void();
14787 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14788 PyObject
*resultobj
= 0;
14789 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14790 SwigValueWrapper
<wxVisualAttributes
> result
;
14793 PyObject
* obj0
= 0 ;
14794 char * kwnames
[] = {
14795 (char *) "variant", NULL
14798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14800 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14801 if (!SWIG_IsOK(ecode1
)) {
14802 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14804 arg1
= static_cast< wxWindowVariant
>(val1
);
14807 if (!wxPyCheckForApp()) SWIG_fail
;
14808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14809 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14810 wxPyEndAllowThreads(__tstate
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14813 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14820 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14823 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14824 return SWIG_Py_Void();
14827 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14828 return SWIG_Python_InitShadowInstance(args
);
14831 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14832 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14837 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14838 PyObject
*pyobj
= 0;
14842 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14844 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14851 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14852 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14857 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14858 PyObject
*pyobj
= 0;
14862 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14864 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14871 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
= 0;
14873 wxWindow
*arg1
= (wxWindow
*) 0 ;
14874 int arg2
= (int) -1 ;
14875 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14876 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14877 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14878 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14879 long arg5
= (long) wxSP_HORIZONTAL
;
14880 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14881 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14882 wxSpinButton
*result
= 0 ;
14891 bool temp6
= false ;
14892 PyObject
* obj0
= 0 ;
14893 PyObject
* obj1
= 0 ;
14894 PyObject
* obj2
= 0 ;
14895 PyObject
* obj3
= 0 ;
14896 PyObject
* obj4
= 0 ;
14897 PyObject
* obj5
= 0 ;
14898 char * kwnames
[] = {
14899 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14904 if (!SWIG_IsOK(res1
)) {
14905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14907 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14910 if (!SWIG_IsOK(ecode2
)) {
14911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14913 arg2
= static_cast< int >(val2
);
14918 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14924 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14928 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14929 if (!SWIG_IsOK(ecode5
)) {
14930 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14932 arg5
= static_cast< long >(val5
);
14936 arg6
= wxString_in_helper(obj5
);
14937 if (arg6
== NULL
) SWIG_fail
;
14942 if (!wxPyCheckForApp()) SWIG_fail
;
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14963 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14964 PyObject
*resultobj
= 0;
14965 wxSpinButton
*result
= 0 ;
14967 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14969 if (!wxPyCheckForApp()) SWIG_fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= (wxSpinButton
*)new wxSpinButton();
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14982 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14983 PyObject
*resultobj
= 0;
14984 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14985 wxWindow
*arg2
= (wxWindow
*) 0 ;
14986 int arg3
= (int) -1 ;
14987 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14988 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14989 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14990 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14991 long arg6
= (long) wxSP_HORIZONTAL
;
14992 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14993 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15005 bool temp7
= false ;
15006 PyObject
* obj0
= 0 ;
15007 PyObject
* obj1
= 0 ;
15008 PyObject
* obj2
= 0 ;
15009 PyObject
* obj3
= 0 ;
15010 PyObject
* obj4
= 0 ;
15011 PyObject
* obj5
= 0 ;
15012 PyObject
* obj6
= 0 ;
15013 char * kwnames
[] = {
15014 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15019 if (!SWIG_IsOK(res1
)) {
15020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15022 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15023 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15024 if (!SWIG_IsOK(res2
)) {
15025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15027 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15030 if (!SWIG_IsOK(ecode3
)) {
15031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
15033 arg3
= static_cast< int >(val3
);
15038 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15044 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15048 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15049 if (!SWIG_IsOK(ecode6
)) {
15050 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
15052 arg6
= static_cast< long >(val6
);
15056 arg7
= wxString_in_helper(obj6
);
15057 if (arg7
== NULL
) SWIG_fail
;
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15084 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15085 PyObject
*resultobj
= 0;
15086 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15090 PyObject
*swig_obj
[1] ;
15092 if (!args
) SWIG_fail
;
15093 swig_obj
[0] = args
;
15094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15095 if (!SWIG_IsOK(res1
)) {
15096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15098 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
15102 wxPyEndAllowThreads(__tstate
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15105 resultobj
= SWIG_From_int(static_cast< int >(result
));
15112 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15113 PyObject
*resultobj
= 0;
15114 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15118 PyObject
*swig_obj
[1] ;
15120 if (!args
) SWIG_fail
;
15121 swig_obj
[0] = args
;
15122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15123 if (!SWIG_IsOK(res1
)) {
15124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15126 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15133 resultobj
= SWIG_From_int(static_cast< int >(result
));
15140 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15141 PyObject
*resultobj
= 0;
15142 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15146 PyObject
*swig_obj
[1] ;
15148 if (!args
) SWIG_fail
;
15149 swig_obj
[0] = args
;
15150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15151 if (!SWIG_IsOK(res1
)) {
15152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15154 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15158 wxPyEndAllowThreads(__tstate
);
15159 if (PyErr_Occurred()) SWIG_fail
;
15161 resultobj
= SWIG_From_int(static_cast< int >(result
));
15168 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
= 0;
15170 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15176 PyObject
* obj0
= 0 ;
15177 PyObject
* obj1
= 0 ;
15178 char * kwnames
[] = {
15179 (char *) "self",(char *) "val", NULL
15182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15184 if (!SWIG_IsOK(res1
)) {
15185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15187 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15189 if (!SWIG_IsOK(ecode2
)) {
15190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15192 arg2
= static_cast< int >(val2
);
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15195 (arg1
)->SetValue(arg2
);
15196 wxPyEndAllowThreads(__tstate
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15199 resultobj
= SWIG_Py_Void();
15206 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
= 0;
15208 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15214 PyObject
* obj0
= 0 ;
15215 PyObject
* obj1
= 0 ;
15216 char * kwnames
[] = {
15217 (char *) "self",(char *) "minVal", NULL
15220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15222 if (!SWIG_IsOK(res1
)) {
15223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15225 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15227 if (!SWIG_IsOK(ecode2
)) {
15228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15230 arg2
= static_cast< int >(val2
);
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 (arg1
)->SetMin(arg2
);
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= SWIG_Py_Void();
15244 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15245 PyObject
*resultobj
= 0;
15246 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15252 PyObject
* obj0
= 0 ;
15253 PyObject
* obj1
= 0 ;
15254 char * kwnames
[] = {
15255 (char *) "self",(char *) "maxVal", NULL
15258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15260 if (!SWIG_IsOK(res1
)) {
15261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15263 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15265 if (!SWIG_IsOK(ecode2
)) {
15266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15268 arg2
= static_cast< int >(val2
);
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 (arg1
)->SetMax(arg2
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 resultobj
= SWIG_Py_Void();
15282 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
= 0;
15284 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15293 PyObject
* obj0
= 0 ;
15294 PyObject
* obj1
= 0 ;
15295 PyObject
* obj2
= 0 ;
15296 char * kwnames
[] = {
15297 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15302 if (!SWIG_IsOK(res1
)) {
15303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15305 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15307 if (!SWIG_IsOK(ecode2
)) {
15308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15310 arg2
= static_cast< int >(val2
);
15311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15312 if (!SWIG_IsOK(ecode3
)) {
15313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15315 arg3
= static_cast< int >(val3
);
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 (arg1
)->SetRange(arg2
,arg3
);
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 resultobj
= SWIG_Py_Void();
15329 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15330 PyObject
*resultobj
= 0;
15331 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15335 PyObject
*swig_obj
[1] ;
15337 if (!args
) SWIG_fail
;
15338 swig_obj
[0] = args
;
15339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15340 if (!SWIG_IsOK(res1
)) {
15341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15343 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15359 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15360 PyObject
*resultobj
= 0;
15361 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15362 SwigValueWrapper
<wxVisualAttributes
> result
;
15365 PyObject
* obj0
= 0 ;
15366 char * kwnames
[] = {
15367 (char *) "variant", NULL
15370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15372 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15373 if (!SWIG_IsOK(ecode1
)) {
15374 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15376 arg1
= static_cast< wxWindowVariant
>(val1
);
15379 if (!wxPyCheckForApp()) SWIG_fail
;
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15392 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15394 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15395 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15396 return SWIG_Py_Void();
15399 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15400 return SWIG_Python_InitShadowInstance(args
);
15403 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
= 0;
15405 wxWindow
*arg1
= (wxWindow
*) 0 ;
15406 int arg2
= (int) -1 ;
15407 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15408 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15409 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15410 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15411 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15412 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15413 long arg6
= (long) wxSP_ARROW_KEYS
;
15414 int arg7
= (int) 0 ;
15415 int arg8
= (int) 100 ;
15416 int arg9
= (int) 0 ;
15417 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15418 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15419 wxSpinCtrl
*result
= 0 ;
15424 bool temp3
= false ;
15435 bool temp10
= false ;
15436 PyObject
* obj0
= 0 ;
15437 PyObject
* obj1
= 0 ;
15438 PyObject
* obj2
= 0 ;
15439 PyObject
* obj3
= 0 ;
15440 PyObject
* obj4
= 0 ;
15441 PyObject
* obj5
= 0 ;
15442 PyObject
* obj6
= 0 ;
15443 PyObject
* obj7
= 0 ;
15444 PyObject
* obj8
= 0 ;
15445 PyObject
* obj9
= 0 ;
15446 char * kwnames
[] = {
15447 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15452 if (!SWIG_IsOK(res1
)) {
15453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15455 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15458 if (!SWIG_IsOK(ecode2
)) {
15459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15461 arg2
= static_cast< int >(val2
);
15465 arg3
= wxString_in_helper(obj2
);
15466 if (arg3
== NULL
) SWIG_fail
;
15473 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15479 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15483 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15484 if (!SWIG_IsOK(ecode6
)) {
15485 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15487 arg6
= static_cast< long >(val6
);
15490 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15491 if (!SWIG_IsOK(ecode7
)) {
15492 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15494 arg7
= static_cast< int >(val7
);
15497 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15498 if (!SWIG_IsOK(ecode8
)) {
15499 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15501 arg8
= static_cast< int >(val8
);
15504 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15505 if (!SWIG_IsOK(ecode9
)) {
15506 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15508 arg9
= static_cast< int >(val9
);
15512 arg10
= wxString_in_helper(obj9
);
15513 if (arg10
== NULL
) SWIG_fail
;
15518 if (!wxPyCheckForApp()) SWIG_fail
;
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15547 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15548 PyObject
*resultobj
= 0;
15549 wxSpinCtrl
*result
= 0 ;
15551 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15553 if (!wxPyCheckForApp()) SWIG_fail
;
15554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15556 wxPyEndAllowThreads(__tstate
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15566 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
= 0;
15568 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15569 wxWindow
*arg2
= (wxWindow
*) 0 ;
15570 int arg3
= (int) -1 ;
15571 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15572 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15573 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15574 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15575 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15576 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15577 long arg7
= (long) wxSP_ARROW_KEYS
;
15578 int arg8
= (int) 0 ;
15579 int arg9
= (int) 100 ;
15580 int arg10
= (int) 0 ;
15581 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15582 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15590 bool temp4
= false ;
15601 bool temp11
= false ;
15602 PyObject
* obj0
= 0 ;
15603 PyObject
* obj1
= 0 ;
15604 PyObject
* obj2
= 0 ;
15605 PyObject
* obj3
= 0 ;
15606 PyObject
* obj4
= 0 ;
15607 PyObject
* obj5
= 0 ;
15608 PyObject
* obj6
= 0 ;
15609 PyObject
* obj7
= 0 ;
15610 PyObject
* obj8
= 0 ;
15611 PyObject
* obj9
= 0 ;
15612 PyObject
* obj10
= 0 ;
15613 char * kwnames
[] = {
15614 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15619 if (!SWIG_IsOK(res1
)) {
15620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15622 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15624 if (!SWIG_IsOK(res2
)) {
15625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15627 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15629 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15630 if (!SWIG_IsOK(ecode3
)) {
15631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15633 arg3
= static_cast< int >(val3
);
15637 arg4
= wxString_in_helper(obj3
);
15638 if (arg4
== NULL
) SWIG_fail
;
15645 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15651 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15655 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15656 if (!SWIG_IsOK(ecode7
)) {
15657 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15659 arg7
= static_cast< long >(val7
);
15662 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15663 if (!SWIG_IsOK(ecode8
)) {
15664 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15666 arg8
= static_cast< int >(val8
);
15669 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15670 if (!SWIG_IsOK(ecode9
)) {
15671 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15673 arg9
= static_cast< int >(val9
);
15676 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15677 if (!SWIG_IsOK(ecode10
)) {
15678 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15680 arg10
= static_cast< int >(val10
);
15684 arg11
= wxString_in_helper(obj10
);
15685 if (arg11
== NULL
) SWIG_fail
;
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15720 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15721 PyObject
*resultobj
= 0;
15722 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15726 PyObject
*swig_obj
[1] ;
15728 if (!args
) SWIG_fail
;
15729 swig_obj
[0] = args
;
15730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15731 if (!SWIG_IsOK(res1
)) {
15732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15734 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15741 resultobj
= SWIG_From_int(static_cast< int >(result
));
15748 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15749 PyObject
*resultobj
= 0;
15750 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15756 PyObject
* obj0
= 0 ;
15757 PyObject
* obj1
= 0 ;
15758 char * kwnames
[] = {
15759 (char *) "self",(char *) "value", NULL
15762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15764 if (!SWIG_IsOK(res1
)) {
15765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15767 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15769 if (!SWIG_IsOK(ecode2
)) {
15770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15772 arg2
= static_cast< int >(val2
);
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 (arg1
)->SetValue(arg2
);
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15779 resultobj
= SWIG_Py_Void();
15786 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15787 PyObject
*resultobj
= 0;
15788 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15789 wxString
*arg2
= 0 ;
15792 bool temp2
= false ;
15793 PyObject
* obj0
= 0 ;
15794 PyObject
* obj1
= 0 ;
15795 char * kwnames
[] = {
15796 (char *) "self",(char *) "text", NULL
15799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15801 if (!SWIG_IsOK(res1
)) {
15802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15804 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15806 arg2
= wxString_in_helper(obj1
);
15807 if (arg2
== NULL
) SWIG_fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 (arg1
)->SetValue((wxString
const &)*arg2
);
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15816 resultobj
= SWIG_Py_Void();
15831 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
= 0;
15833 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15842 PyObject
* obj0
= 0 ;
15843 PyObject
* obj1
= 0 ;
15844 PyObject
* obj2
= 0 ;
15845 char * kwnames
[] = {
15846 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15851 if (!SWIG_IsOK(res1
)) {
15852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15854 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15856 if (!SWIG_IsOK(ecode2
)) {
15857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15859 arg2
= static_cast< int >(val2
);
15860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15861 if (!SWIG_IsOK(ecode3
)) {
15862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15864 arg3
= static_cast< int >(val3
);
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 (arg1
)->SetRange(arg2
,arg3
);
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15871 resultobj
= SWIG_Py_Void();
15878 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15879 PyObject
*resultobj
= 0;
15880 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15884 PyObject
*swig_obj
[1] ;
15886 if (!args
) SWIG_fail
;
15887 swig_obj
[0] = args
;
15888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15889 if (!SWIG_IsOK(res1
)) {
15890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15892 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= SWIG_From_int(static_cast< int >(result
));
15906 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15907 PyObject
*resultobj
= 0;
15908 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15912 PyObject
*swig_obj
[1] ;
15914 if (!args
) SWIG_fail
;
15915 swig_obj
[0] = args
;
15916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15917 if (!SWIG_IsOK(res1
)) {
15918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15920 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15927 resultobj
= SWIG_From_int(static_cast< int >(result
));
15934 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
= 0;
15936 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15945 PyObject
* obj0
= 0 ;
15946 PyObject
* obj1
= 0 ;
15947 PyObject
* obj2
= 0 ;
15948 char * kwnames
[] = {
15949 (char *) "self",(char *) "from",(char *) "to", NULL
15952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15954 if (!SWIG_IsOK(res1
)) {
15955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15957 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15958 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15959 if (!SWIG_IsOK(ecode2
)) {
15960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15962 arg2
= static_cast< long >(val2
);
15963 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15964 if (!SWIG_IsOK(ecode3
)) {
15965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15967 arg3
= static_cast< long >(val3
);
15969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 (arg1
)->SetSelection(arg2
,arg3
);
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= SWIG_Py_Void();
15981 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
= 0;
15983 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15984 SwigValueWrapper
<wxVisualAttributes
> result
;
15987 PyObject
* obj0
= 0 ;
15988 char * kwnames
[] = {
15989 (char *) "variant", NULL
15992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15994 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15995 if (!SWIG_IsOK(ecode1
)) {
15996 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15998 arg1
= static_cast< wxWindowVariant
>(val1
);
16001 if (!wxPyCheckForApp()) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16014 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16017 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
16018 return SWIG_Py_Void();
16021 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16022 return SWIG_Python_InitShadowInstance(args
);
16025 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
= 0;
16027 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16028 int arg2
= (int) 0 ;
16029 wxSpinEvent
*result
= 0 ;
16034 PyObject
* obj0
= 0 ;
16035 PyObject
* obj1
= 0 ;
16036 char * kwnames
[] = {
16037 (char *) "commandType",(char *) "winid", NULL
16040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16042 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16043 if (!SWIG_IsOK(ecode1
)) {
16044 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16046 arg1
= static_cast< wxEventType
>(val1
);
16049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16050 if (!SWIG_IsOK(ecode2
)) {
16051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
16053 arg2
= static_cast< int >(val2
);
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
16058 wxPyEndAllowThreads(__tstate
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
16068 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16069 PyObject
*resultobj
= 0;
16070 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16074 PyObject
*swig_obj
[1] ;
16076 if (!args
) SWIG_fail
;
16077 swig_obj
[0] = args
;
16078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16079 if (!SWIG_IsOK(res1
)) {
16080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16082 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
16086 wxPyEndAllowThreads(__tstate
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16089 resultobj
= SWIG_From_int(static_cast< int >(result
));
16096 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16097 PyObject
*resultobj
= 0;
16098 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16104 PyObject
* obj0
= 0 ;
16105 PyObject
* obj1
= 0 ;
16106 char * kwnames
[] = {
16107 (char *) "self",(char *) "pos", NULL
16110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16112 if (!SWIG_IsOK(res1
)) {
16113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16115 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16117 if (!SWIG_IsOK(ecode2
)) {
16118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16120 arg2
= static_cast< int >(val2
);
16122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16123 (arg1
)->SetPosition(arg2
);
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16127 resultobj
= SWIG_Py_Void();
16134 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16137 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16138 return SWIG_Py_Void();
16141 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16142 return SWIG_Python_InitShadowInstance(args
);
16145 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16146 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16151 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16152 PyObject
*pyobj
= 0;
16156 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16158 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16165 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16166 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16171 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16172 PyObject
*pyobj
= 0;
16176 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16178 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16185 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
= 0;
16187 wxWindow
*arg1
= (wxWindow
*) 0 ;
16188 int arg2
= (int) -1 ;
16189 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16190 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16191 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16192 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16193 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16194 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16195 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16196 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16197 int arg7
= (int) 0 ;
16198 long arg8
= (long) wxRA_HORIZONTAL
;
16199 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16200 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16201 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16202 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16203 wxRadioBox
*result
= 0 ;
16208 bool temp3
= false ;
16211 bool temp6
= false ;
16218 bool temp10
= false ;
16219 PyObject
* obj0
= 0 ;
16220 PyObject
* obj1
= 0 ;
16221 PyObject
* obj2
= 0 ;
16222 PyObject
* obj3
= 0 ;
16223 PyObject
* obj4
= 0 ;
16224 PyObject
* obj5
= 0 ;
16225 PyObject
* obj6
= 0 ;
16226 PyObject
* obj7
= 0 ;
16227 PyObject
* obj8
= 0 ;
16228 PyObject
* obj9
= 0 ;
16229 char * kwnames
[] = {
16230 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16235 if (!SWIG_IsOK(res1
)) {
16236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16238 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16241 if (!SWIG_IsOK(ecode2
)) {
16242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16244 arg2
= static_cast< int >(val2
);
16248 arg3
= wxString_in_helper(obj2
);
16249 if (arg3
== NULL
) SWIG_fail
;
16256 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16262 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16267 if (! PySequence_Check(obj5
)) {
16268 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16271 arg6
= new wxArrayString
;
16273 int i
, len
=PySequence_Length(obj5
);
16274 for (i
=0; i
<len
; i
++) {
16275 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16276 wxString
* s
= wxString_in_helper(item
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16285 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16286 if (!SWIG_IsOK(ecode7
)) {
16287 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16289 arg7
= static_cast< int >(val7
);
16292 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16293 if (!SWIG_IsOK(ecode8
)) {
16294 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16296 arg8
= static_cast< long >(val8
);
16299 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16300 if (!SWIG_IsOK(res9
)) {
16301 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16306 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16310 arg10
= wxString_in_helper(obj9
);
16311 if (arg10
== NULL
) SWIG_fail
;
16316 if (!wxPyCheckForApp()) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 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
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16328 if (temp6
) delete arg6
;
16341 if (temp6
) delete arg6
;
16351 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16352 PyObject
*resultobj
= 0;
16353 wxRadioBox
*result
= 0 ;
16355 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16357 if (!wxPyCheckForApp()) SWIG_fail
;
16358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16359 result
= (wxRadioBox
*)new wxRadioBox();
16360 wxPyEndAllowThreads(__tstate
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16370 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16371 PyObject
*resultobj
= 0;
16372 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16373 wxWindow
*arg2
= (wxWindow
*) 0 ;
16374 int arg3
= (int) -1 ;
16375 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16376 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16377 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16378 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16379 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16380 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16381 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16382 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16383 int arg8
= (int) 0 ;
16384 long arg9
= (long) wxRA_HORIZONTAL
;
16385 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16386 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16387 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16388 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16396 bool temp4
= false ;
16399 bool temp7
= false ;
16406 bool temp11
= false ;
16407 PyObject
* obj0
= 0 ;
16408 PyObject
* obj1
= 0 ;
16409 PyObject
* obj2
= 0 ;
16410 PyObject
* obj3
= 0 ;
16411 PyObject
* obj4
= 0 ;
16412 PyObject
* obj5
= 0 ;
16413 PyObject
* obj6
= 0 ;
16414 PyObject
* obj7
= 0 ;
16415 PyObject
* obj8
= 0 ;
16416 PyObject
* obj9
= 0 ;
16417 PyObject
* obj10
= 0 ;
16418 char * kwnames
[] = {
16419 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16424 if (!SWIG_IsOK(res1
)) {
16425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16427 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16428 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16429 if (!SWIG_IsOK(res2
)) {
16430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16432 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16435 if (!SWIG_IsOK(ecode3
)) {
16436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16438 arg3
= static_cast< int >(val3
);
16442 arg4
= wxString_in_helper(obj3
);
16443 if (arg4
== NULL
) SWIG_fail
;
16450 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16456 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16461 if (! PySequence_Check(obj6
)) {
16462 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16465 arg7
= new wxArrayString
;
16467 int i
, len
=PySequence_Length(obj6
);
16468 for (i
=0; i
<len
; i
++) {
16469 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16470 wxString
* s
= wxString_in_helper(item
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16479 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16480 if (!SWIG_IsOK(ecode8
)) {
16481 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16483 arg8
= static_cast< int >(val8
);
16486 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16487 if (!SWIG_IsOK(ecode9
)) {
16488 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16490 arg9
= static_cast< long >(val9
);
16493 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16494 if (!SWIG_IsOK(res10
)) {
16495 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16500 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16504 arg11
= wxString_in_helper(obj10
);
16505 if (arg11
== NULL
) SWIG_fail
;
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 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
);
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16523 if (temp7
) delete arg7
;
16536 if (temp7
) delete arg7
;
16546 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
= 0;
16548 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16554 PyObject
* obj0
= 0 ;
16555 PyObject
* obj1
= 0 ;
16556 char * kwnames
[] = {
16557 (char *) "self",(char *) "n", NULL
16560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16562 if (!SWIG_IsOK(res1
)) {
16563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16565 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16567 if (!SWIG_IsOK(ecode2
)) {
16568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16570 arg2
= static_cast< int >(val2
);
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 (arg1
)->SetSelection(arg2
);
16574 wxPyEndAllowThreads(__tstate
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16577 resultobj
= SWIG_Py_Void();
16584 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16585 PyObject
*resultobj
= 0;
16586 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16590 PyObject
*swig_obj
[1] ;
16592 if (!args
) SWIG_fail
;
16593 swig_obj
[0] = args
;
16594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16595 if (!SWIG_IsOK(res1
)) {
16596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16598 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 resultobj
= SWIG_From_int(static_cast< int >(result
));
16612 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16613 PyObject
*resultobj
= 0;
16614 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16618 PyObject
*swig_obj
[1] ;
16620 if (!args
) SWIG_fail
;
16621 swig_obj
[0] = args
;
16622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16623 if (!SWIG_IsOK(res1
)) {
16624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16626 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16635 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16637 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16646 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16647 PyObject
*resultobj
= 0;
16648 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16649 wxString
*arg2
= 0 ;
16653 bool temp2
= false ;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 char * kwnames
[] = {
16657 (char *) "self",(char *) "s", NULL
16660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16662 if (!SWIG_IsOK(res1
)) {
16663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16665 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16667 arg2
= wxString_in_helper(obj1
);
16668 if (arg2
== NULL
) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16694 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16695 PyObject
*resultobj
= 0;
16696 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16700 PyObject
*swig_obj
[1] ;
16702 if (!args
) SWIG_fail
;
16703 swig_obj
[0] = args
;
16704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16705 if (!SWIG_IsOK(res1
)) {
16706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16708 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16722 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16723 PyObject
*resultobj
= 0;
16724 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16725 wxString
*arg2
= 0 ;
16729 bool temp2
= false ;
16730 PyObject
* obj0
= 0 ;
16731 PyObject
* obj1
= 0 ;
16732 char * kwnames
[] = {
16733 (char *) "self",(char *) "s", NULL
16736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16738 if (!SWIG_IsOK(res1
)) {
16739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16741 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16743 arg2
= wxString_in_helper(obj1
);
16744 if (arg2
== NULL
) SWIG_fail
;
16748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16749 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16750 wxPyEndAllowThreads(__tstate
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16753 resultobj
= SWIG_From_int(static_cast< int >(result
));
16768 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16769 PyObject
*resultobj
= 0;
16770 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 PyObject
* obj1
= 0 ;
16779 char * kwnames
[] = {
16780 (char *) "self",(char *) "n", NULL
16783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16785 if (!SWIG_IsOK(res1
)) {
16786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16788 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16790 if (!SWIG_IsOK(ecode2
)) {
16791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16793 arg2
= static_cast< int >(val2
);
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16797 wxPyEndAllowThreads(__tstate
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16813 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16814 PyObject
*resultobj
= 0;
16815 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16817 wxString
*arg3
= 0 ;
16822 bool temp3
= false ;
16823 PyObject
* obj0
= 0 ;
16824 PyObject
* obj1
= 0 ;
16825 PyObject
* obj2
= 0 ;
16826 char * kwnames
[] = {
16827 (char *) "self",(char *) "n",(char *) "label", NULL
16830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16832 if (!SWIG_IsOK(res1
)) {
16833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16835 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16837 if (!SWIG_IsOK(ecode2
)) {
16838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16840 arg2
= static_cast< int >(val2
);
16842 arg3
= wxString_in_helper(obj2
);
16843 if (arg3
== NULL
) SWIG_fail
;
16847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= SWIG_Py_Void();
16867 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
= 0;
16869 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16870 unsigned int arg2
;
16871 bool arg3
= (bool) true ;
16874 unsigned int val2
;
16878 PyObject
* obj0
= 0 ;
16879 PyObject
* obj1
= 0 ;
16880 PyObject
* obj2
= 0 ;
16881 char * kwnames
[] = {
16882 (char *) "self",(char *) "n",(char *) "enable", NULL
16885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16887 if (!SWIG_IsOK(res1
)) {
16888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16890 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16891 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16892 if (!SWIG_IsOK(ecode2
)) {
16893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16895 arg2
= static_cast< unsigned int >(val2
);
16897 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16898 if (!SWIG_IsOK(ecode3
)) {
16899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16901 arg3
= static_cast< bool >(val3
);
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 (arg1
)->Enable(arg2
,arg3
);
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16909 resultobj
= SWIG_Py_Void();
16916 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16917 PyObject
*resultobj
= 0;
16918 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16919 unsigned int arg2
;
16920 bool arg3
= (bool) true ;
16923 unsigned int val2
;
16927 PyObject
* obj0
= 0 ;
16928 PyObject
* obj1
= 0 ;
16929 PyObject
* obj2
= 0 ;
16930 char * kwnames
[] = {
16931 (char *) "self",(char *) "n",(char *) "show", NULL
16934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16936 if (!SWIG_IsOK(res1
)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16939 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16940 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16941 if (!SWIG_IsOK(ecode2
)) {
16942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16944 arg2
= static_cast< unsigned int >(val2
);
16946 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16947 if (!SWIG_IsOK(ecode3
)) {
16948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16950 arg3
= static_cast< bool >(val3
);
16953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16954 (arg1
)->Show(arg2
,arg3
);
16955 wxPyEndAllowThreads(__tstate
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16958 resultobj
= SWIG_Py_Void();
16965 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16966 PyObject
*resultobj
= 0;
16967 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16968 unsigned int arg2
;
16972 unsigned int val2
;
16974 PyObject
* obj0
= 0 ;
16975 PyObject
* obj1
= 0 ;
16976 char * kwnames
[] = {
16977 (char *) "self",(char *) "n", NULL
16980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16982 if (!SWIG_IsOK(res1
)) {
16983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16985 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16986 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16987 if (!SWIG_IsOK(ecode2
)) {
16988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16990 arg2
= static_cast< unsigned int >(val2
);
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16993 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17006 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
= 0;
17008 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17009 unsigned int arg2
;
17013 unsigned int val2
;
17015 PyObject
* obj0
= 0 ;
17016 PyObject
* obj1
= 0 ;
17017 char * kwnames
[] = {
17018 (char *) "self",(char *) "n", NULL
17021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17023 if (!SWIG_IsOK(res1
)) {
17024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17026 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17027 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17028 if (!SWIG_IsOK(ecode2
)) {
17029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
17031 arg2
= static_cast< unsigned int >(val2
);
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17047 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17048 PyObject
*resultobj
= 0;
17049 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17050 unsigned int result
;
17053 PyObject
*swig_obj
[1] ;
17055 if (!args
) SWIG_fail
;
17056 swig_obj
[0] = args
;
17057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17058 if (!SWIG_IsOK(res1
)) {
17059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17061 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17068 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17075 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17076 PyObject
*resultobj
= 0;
17077 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17078 unsigned int result
;
17081 PyObject
*swig_obj
[1] ;
17083 if (!args
) SWIG_fail
;
17084 swig_obj
[0] = args
;
17085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17086 if (!SWIG_IsOK(res1
)) {
17087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17089 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17103 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17104 PyObject
*resultobj
= 0;
17105 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17118 PyObject
* obj0
= 0 ;
17119 PyObject
* obj1
= 0 ;
17120 PyObject
* obj2
= 0 ;
17121 PyObject
* obj3
= 0 ;
17122 char * kwnames
[] = {
17123 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17128 if (!SWIG_IsOK(res1
)) {
17129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17131 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17133 if (!SWIG_IsOK(ecode2
)) {
17134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17136 arg2
= static_cast< int >(val2
);
17137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17138 if (!SWIG_IsOK(ecode3
)) {
17139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17141 arg3
= static_cast< wxDirection
>(val3
);
17142 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17143 if (!SWIG_IsOK(ecode4
)) {
17144 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17146 arg4
= static_cast< long >(val4
);
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= SWIG_From_int(static_cast< int >(result
));
17160 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17161 PyObject
*resultobj
= 0;
17162 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17163 unsigned int arg2
;
17164 wxString
*arg3
= 0 ;
17167 unsigned int val2
;
17169 bool temp3
= false ;
17170 PyObject
* obj0
= 0 ;
17171 PyObject
* obj1
= 0 ;
17172 PyObject
* obj2
= 0 ;
17173 char * kwnames
[] = {
17174 (char *) "self",(char *) "item",(char *) "text", NULL
17177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17179 if (!SWIG_IsOK(res1
)) {
17180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17182 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17183 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17184 if (!SWIG_IsOK(ecode2
)) {
17185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17187 arg2
= static_cast< unsigned int >(val2
);
17189 arg3
= wxString_in_helper(obj2
);
17190 if (arg3
== NULL
) SWIG_fail
;
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 resultobj
= SWIG_Py_Void();
17214 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17215 PyObject
*resultobj
= 0;
17216 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17217 unsigned int arg2
;
17218 wxToolTip
*result
= 0 ;
17221 unsigned int val2
;
17223 PyObject
* obj0
= 0 ;
17224 PyObject
* obj1
= 0 ;
17225 char * kwnames
[] = {
17226 (char *) "self",(char *) "item", NULL
17229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17231 if (!SWIG_IsOK(res1
)) {
17232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17234 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17235 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17236 if (!SWIG_IsOK(ecode2
)) {
17237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17239 arg2
= static_cast< unsigned int >(val2
);
17241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17242 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17243 wxPyEndAllowThreads(__tstate
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17247 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17255 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
= 0;
17257 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17258 unsigned int arg2
;
17259 wxString
*arg3
= 0 ;
17262 unsigned int val2
;
17264 bool temp3
= false ;
17265 PyObject
* obj0
= 0 ;
17266 PyObject
* obj1
= 0 ;
17267 PyObject
* obj2
= 0 ;
17268 char * kwnames
[] = {
17269 (char *) "self",(char *) "n",(char *) "helpText", NULL
17272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17274 if (!SWIG_IsOK(res1
)) {
17275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17277 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17278 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17279 if (!SWIG_IsOK(ecode2
)) {
17280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17282 arg2
= static_cast< unsigned int >(val2
);
17284 arg3
= wxString_in_helper(obj2
);
17285 if (arg3
== NULL
) SWIG_fail
;
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17294 resultobj
= SWIG_Py_Void();
17309 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
= 0;
17311 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17312 unsigned int arg2
;
17316 unsigned int val2
;
17318 PyObject
* obj0
= 0 ;
17319 PyObject
* obj1
= 0 ;
17320 char * kwnames
[] = {
17321 (char *) "self",(char *) "n", NULL
17324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17326 if (!SWIG_IsOK(res1
)) {
17327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17329 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17330 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17331 if (!SWIG_IsOK(ecode2
)) {
17332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17334 arg2
= static_cast< unsigned int >(val2
);
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17338 wxPyEndAllowThreads(__tstate
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17354 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
= 0;
17356 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17357 SwigValueWrapper
<wxVisualAttributes
> result
;
17360 PyObject
* obj0
= 0 ;
17361 char * kwnames
[] = {
17362 (char *) "variant", NULL
17365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17367 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17368 if (!SWIG_IsOK(ecode1
)) {
17369 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17371 arg1
= static_cast< wxWindowVariant
>(val1
);
17374 if (!wxPyCheckForApp()) SWIG_fail
;
17375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17380 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17387 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17390 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17391 return SWIG_Py_Void();
17394 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17395 return SWIG_Python_InitShadowInstance(args
);
17398 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17399 PyObject
*resultobj
= 0;
17400 wxWindow
*arg1
= (wxWindow
*) 0 ;
17401 int arg2
= (int) -1 ;
17402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17404 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17405 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17406 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17407 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17408 long arg6
= (long) 0 ;
17409 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17410 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17411 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17412 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17413 wxRadioButton
*result
= 0 ;
17418 bool temp3
= false ;
17425 bool temp8
= false ;
17426 PyObject
* obj0
= 0 ;
17427 PyObject
* obj1
= 0 ;
17428 PyObject
* obj2
= 0 ;
17429 PyObject
* obj3
= 0 ;
17430 PyObject
* obj4
= 0 ;
17431 PyObject
* obj5
= 0 ;
17432 PyObject
* obj6
= 0 ;
17433 PyObject
* obj7
= 0 ;
17434 char * kwnames
[] = {
17435 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17440 if (!SWIG_IsOK(res1
)) {
17441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17446 if (!SWIG_IsOK(ecode2
)) {
17447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17449 arg2
= static_cast< int >(val2
);
17453 arg3
= wxString_in_helper(obj2
);
17454 if (arg3
== NULL
) SWIG_fail
;
17461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17471 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17472 if (!SWIG_IsOK(ecode6
)) {
17473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17475 arg6
= static_cast< long >(val6
);
17478 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17479 if (!SWIG_IsOK(res7
)) {
17480 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17485 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17489 arg8
= wxString_in_helper(obj7
);
17490 if (arg8
== NULL
) SWIG_fail
;
17495 if (!wxPyCheckForApp()) SWIG_fail
;
17496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17497 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17498 wxPyEndAllowThreads(__tstate
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17524 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17525 PyObject
*resultobj
= 0;
17526 wxRadioButton
*result
= 0 ;
17528 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17530 if (!wxPyCheckForApp()) SWIG_fail
;
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17532 result
= (wxRadioButton
*)new wxRadioButton();
17533 wxPyEndAllowThreads(__tstate
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17543 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
= 0;
17545 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17546 wxWindow
*arg2
= (wxWindow
*) 0 ;
17547 int arg3
= (int) -1 ;
17548 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17549 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17550 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17551 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17552 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17553 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17554 long arg7
= (long) 0 ;
17555 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17556 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17557 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17558 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17566 bool temp4
= false ;
17573 bool temp9
= false ;
17574 PyObject
* obj0
= 0 ;
17575 PyObject
* obj1
= 0 ;
17576 PyObject
* obj2
= 0 ;
17577 PyObject
* obj3
= 0 ;
17578 PyObject
* obj4
= 0 ;
17579 PyObject
* obj5
= 0 ;
17580 PyObject
* obj6
= 0 ;
17581 PyObject
* obj7
= 0 ;
17582 PyObject
* obj8
= 0 ;
17583 char * kwnames
[] = {
17584 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17589 if (!SWIG_IsOK(res1
)) {
17590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17592 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17594 if (!SWIG_IsOK(res2
)) {
17595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17599 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17600 if (!SWIG_IsOK(ecode3
)) {
17601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17603 arg3
= static_cast< int >(val3
);
17607 arg4
= wxString_in_helper(obj3
);
17608 if (arg4
== NULL
) SWIG_fail
;
17615 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17621 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17625 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17626 if (!SWIG_IsOK(ecode7
)) {
17627 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17629 arg7
= static_cast< long >(val7
);
17632 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17633 if (!SWIG_IsOK(res8
)) {
17634 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17639 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17643 arg9
= wxString_in_helper(obj8
);
17644 if (arg9
== NULL
) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17679 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17680 PyObject
*resultobj
= 0;
17681 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17685 PyObject
*swig_obj
[1] ;
17687 if (!args
) SWIG_fail
;
17688 swig_obj
[0] = args
;
17689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17690 if (!SWIG_IsOK(res1
)) {
17691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17693 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17696 result
= (bool)(arg1
)->GetValue();
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17709 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17710 PyObject
*resultobj
= 0;
17711 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17717 PyObject
* obj0
= 0 ;
17718 PyObject
* obj1
= 0 ;
17719 char * kwnames
[] = {
17720 (char *) "self",(char *) "value", NULL
17723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17725 if (!SWIG_IsOK(res1
)) {
17726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17728 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17729 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17730 if (!SWIG_IsOK(ecode2
)) {
17731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17733 arg2
= static_cast< bool >(val2
);
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 (arg1
)->SetValue(arg2
);
17737 wxPyEndAllowThreads(__tstate
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17740 resultobj
= SWIG_Py_Void();
17747 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17748 PyObject
*resultobj
= 0;
17749 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17750 SwigValueWrapper
<wxVisualAttributes
> result
;
17753 PyObject
* obj0
= 0 ;
17754 char * kwnames
[] = {
17755 (char *) "variant", NULL
17758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17760 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17761 if (!SWIG_IsOK(ecode1
)) {
17762 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17764 arg1
= static_cast< wxWindowVariant
>(val1
);
17767 if (!wxPyCheckForApp()) SWIG_fail
;
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17780 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17783 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17784 return SWIG_Py_Void();
17787 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17788 return SWIG_Python_InitShadowInstance(args
);
17791 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17792 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17797 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17798 PyObject
*pyobj
= 0;
17802 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17804 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17811 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17812 PyObject
*resultobj
= 0;
17813 wxWindow
*arg1
= (wxWindow
*) 0 ;
17814 int arg2
= (int) -1 ;
17815 int arg3
= (int) 0 ;
17816 int arg4
= (int) 0 ;
17817 int arg5
= (int) 100 ;
17818 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17819 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17820 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17821 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17822 long arg8
= (long) wxSL_HORIZONTAL
;
17823 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17824 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17825 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17826 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17827 wxSlider
*result
= 0 ;
17844 bool temp10
= false ;
17845 PyObject
* obj0
= 0 ;
17846 PyObject
* obj1
= 0 ;
17847 PyObject
* obj2
= 0 ;
17848 PyObject
* obj3
= 0 ;
17849 PyObject
* obj4
= 0 ;
17850 PyObject
* obj5
= 0 ;
17851 PyObject
* obj6
= 0 ;
17852 PyObject
* obj7
= 0 ;
17853 PyObject
* obj8
= 0 ;
17854 PyObject
* obj9
= 0 ;
17855 char * kwnames
[] = {
17856 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17861 if (!SWIG_IsOK(res1
)) {
17862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17864 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17867 if (!SWIG_IsOK(ecode2
)) {
17868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17870 arg2
= static_cast< int >(val2
);
17873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17874 if (!SWIG_IsOK(ecode3
)) {
17875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17877 arg3
= static_cast< int >(val3
);
17880 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17881 if (!SWIG_IsOK(ecode4
)) {
17882 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17884 arg4
= static_cast< int >(val4
);
17887 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17888 if (!SWIG_IsOK(ecode5
)) {
17889 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17891 arg5
= static_cast< int >(val5
);
17896 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17902 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17906 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17907 if (!SWIG_IsOK(ecode8
)) {
17908 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17910 arg8
= static_cast< long >(val8
);
17913 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17914 if (!SWIG_IsOK(res9
)) {
17915 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17920 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17924 arg10
= wxString_in_helper(obj9
);
17925 if (arg10
== NULL
) SWIG_fail
;
17930 if (!wxPyCheckForApp()) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17933 wxPyEndAllowThreads(__tstate
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17951 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17952 PyObject
*resultobj
= 0;
17953 wxSlider
*result
= 0 ;
17955 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17957 if (!wxPyCheckForApp()) SWIG_fail
;
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 result
= (wxSlider
*)new wxSlider();
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17970 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
= 0;
17972 wxSlider
*arg1
= (wxSlider
*) 0 ;
17973 wxWindow
*arg2
= (wxWindow
*) 0 ;
17974 int arg3
= (int) -1 ;
17975 int arg4
= (int) 0 ;
17976 int arg5
= (int) 0 ;
17977 int arg6
= (int) 100 ;
17978 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17979 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17980 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17981 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17982 long arg9
= (long) wxSL_HORIZONTAL
;
17983 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17984 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17985 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17986 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
18006 bool temp11
= false ;
18007 PyObject
* obj0
= 0 ;
18008 PyObject
* obj1
= 0 ;
18009 PyObject
* obj2
= 0 ;
18010 PyObject
* obj3
= 0 ;
18011 PyObject
* obj4
= 0 ;
18012 PyObject
* obj5
= 0 ;
18013 PyObject
* obj6
= 0 ;
18014 PyObject
* obj7
= 0 ;
18015 PyObject
* obj8
= 0 ;
18016 PyObject
* obj9
= 0 ;
18017 PyObject
* obj10
= 0 ;
18018 char * kwnames
[] = {
18019 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
18023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18024 if (!SWIG_IsOK(res1
)) {
18025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
18027 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18028 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18029 if (!SWIG_IsOK(res2
)) {
18030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18032 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18035 if (!SWIG_IsOK(ecode3
)) {
18036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
18038 arg3
= static_cast< int >(val3
);
18041 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18042 if (!SWIG_IsOK(ecode4
)) {
18043 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
18045 arg4
= static_cast< int >(val4
);
18048 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18049 if (!SWIG_IsOK(ecode5
)) {
18050 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
18052 arg5
= static_cast< int >(val5
);
18055 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18056 if (!SWIG_IsOK(ecode6
)) {
18057 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
18059 arg6
= static_cast< int >(val6
);
18064 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
18070 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
18074 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
18075 if (!SWIG_IsOK(ecode9
)) {
18076 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18078 arg9
= static_cast< long >(val9
);
18081 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
18082 if (!SWIG_IsOK(res10
)) {
18083 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18088 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
18092 arg11
= wxString_in_helper(obj10
);
18093 if (arg11
== NULL
) SWIG_fail
;
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18120 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18121 PyObject
*resultobj
= 0;
18122 wxSlider
*arg1
= (wxSlider
*) 0 ;
18126 PyObject
*swig_obj
[1] ;
18128 if (!args
) SWIG_fail
;
18129 swig_obj
[0] = args
;
18130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18131 if (!SWIG_IsOK(res1
)) {
18132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18134 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 resultobj
= SWIG_From_int(static_cast< int >(result
));
18148 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
= 0;
18150 wxSlider
*arg1
= (wxSlider
*) 0 ;
18156 PyObject
* obj0
= 0 ;
18157 PyObject
* obj1
= 0 ;
18158 char * kwnames
[] = {
18159 (char *) "self",(char *) "value", NULL
18162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18164 if (!SWIG_IsOK(res1
)) {
18165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18167 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18169 if (!SWIG_IsOK(ecode2
)) {
18170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18172 arg2
= static_cast< int >(val2
);
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 (arg1
)->SetValue(arg2
);
18176 wxPyEndAllowThreads(__tstate
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18179 resultobj
= SWIG_Py_Void();
18186 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18187 PyObject
*resultobj
= 0;
18188 wxSlider
*arg1
= (wxSlider
*) 0 ;
18197 PyObject
* obj0
= 0 ;
18198 PyObject
* obj1
= 0 ;
18199 PyObject
* obj2
= 0 ;
18200 char * kwnames
[] = {
18201 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18206 if (!SWIG_IsOK(res1
)) {
18207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18209 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18211 if (!SWIG_IsOK(ecode2
)) {
18212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18214 arg2
= static_cast< int >(val2
);
18215 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18216 if (!SWIG_IsOK(ecode3
)) {
18217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18219 arg3
= static_cast< int >(val3
);
18221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 (arg1
)->SetRange(arg2
,arg3
);
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= SWIG_Py_Void();
18233 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18234 PyObject
*resultobj
= 0;
18235 wxSlider
*arg1
= (wxSlider
*) 0 ;
18239 PyObject
*swig_obj
[1] ;
18241 if (!args
) SWIG_fail
;
18242 swig_obj
[0] = args
;
18243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18244 if (!SWIG_IsOK(res1
)) {
18245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18247 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= SWIG_From_int(static_cast< int >(result
));
18261 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18262 PyObject
*resultobj
= 0;
18263 wxSlider
*arg1
= (wxSlider
*) 0 ;
18267 PyObject
*swig_obj
[1] ;
18269 if (!args
) SWIG_fail
;
18270 swig_obj
[0] = args
;
18271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18272 if (!SWIG_IsOK(res1
)) {
18273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18275 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= SWIG_From_int(static_cast< int >(result
));
18289 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
= 0;
18291 wxSlider
*arg1
= (wxSlider
*) 0 ;
18297 PyObject
* obj0
= 0 ;
18298 PyObject
* obj1
= 0 ;
18299 char * kwnames
[] = {
18300 (char *) "self",(char *) "minValue", NULL
18303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18305 if (!SWIG_IsOK(res1
)) {
18306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18308 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18310 if (!SWIG_IsOK(ecode2
)) {
18311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18313 arg2
= static_cast< int >(val2
);
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18316 (arg1
)->SetMin(arg2
);
18317 wxPyEndAllowThreads(__tstate
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18320 resultobj
= SWIG_Py_Void();
18327 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18328 PyObject
*resultobj
= 0;
18329 wxSlider
*arg1
= (wxSlider
*) 0 ;
18335 PyObject
* obj0
= 0 ;
18336 PyObject
* obj1
= 0 ;
18337 char * kwnames
[] = {
18338 (char *) "self",(char *) "maxValue", NULL
18341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18343 if (!SWIG_IsOK(res1
)) {
18344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18346 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18348 if (!SWIG_IsOK(ecode2
)) {
18349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18351 arg2
= static_cast< int >(val2
);
18353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18354 (arg1
)->SetMax(arg2
);
18355 wxPyEndAllowThreads(__tstate
);
18356 if (PyErr_Occurred()) SWIG_fail
;
18358 resultobj
= SWIG_Py_Void();
18365 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18366 PyObject
*resultobj
= 0;
18367 wxSlider
*arg1
= (wxSlider
*) 0 ;
18373 PyObject
* obj0
= 0 ;
18374 PyObject
* obj1
= 0 ;
18375 char * kwnames
[] = {
18376 (char *) "self",(char *) "lineSize", NULL
18379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18381 if (!SWIG_IsOK(res1
)) {
18382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18384 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18386 if (!SWIG_IsOK(ecode2
)) {
18387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18389 arg2
= static_cast< int >(val2
);
18391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 (arg1
)->SetLineSize(arg2
);
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18396 resultobj
= SWIG_Py_Void();
18403 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
= 0;
18405 wxSlider
*arg1
= (wxSlider
*) 0 ;
18411 PyObject
* obj0
= 0 ;
18412 PyObject
* obj1
= 0 ;
18413 char * kwnames
[] = {
18414 (char *) "self",(char *) "pageSize", NULL
18417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18419 if (!SWIG_IsOK(res1
)) {
18420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18422 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18424 if (!SWIG_IsOK(ecode2
)) {
18425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18427 arg2
= static_cast< int >(val2
);
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 (arg1
)->SetPageSize(arg2
);
18431 wxPyEndAllowThreads(__tstate
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18434 resultobj
= SWIG_Py_Void();
18441 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18442 PyObject
*resultobj
= 0;
18443 wxSlider
*arg1
= (wxSlider
*) 0 ;
18447 PyObject
*swig_obj
[1] ;
18449 if (!args
) SWIG_fail
;
18450 swig_obj
[0] = args
;
18451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18452 if (!SWIG_IsOK(res1
)) {
18453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18455 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18458 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 resultobj
= SWIG_From_int(static_cast< int >(result
));
18469 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18470 PyObject
*resultobj
= 0;
18471 wxSlider
*arg1
= (wxSlider
*) 0 ;
18475 PyObject
*swig_obj
[1] ;
18477 if (!args
) SWIG_fail
;
18478 swig_obj
[0] = args
;
18479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18480 if (!SWIG_IsOK(res1
)) {
18481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18483 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 resultobj
= SWIG_From_int(static_cast< int >(result
));
18497 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18498 PyObject
*resultobj
= 0;
18499 wxSlider
*arg1
= (wxSlider
*) 0 ;
18505 PyObject
* obj0
= 0 ;
18506 PyObject
* obj1
= 0 ;
18507 char * kwnames
[] = {
18508 (char *) "self",(char *) "lenPixels", NULL
18511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18513 if (!SWIG_IsOK(res1
)) {
18514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18516 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18518 if (!SWIG_IsOK(ecode2
)) {
18519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18521 arg2
= static_cast< int >(val2
);
18523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18524 (arg1
)->SetThumbLength(arg2
);
18525 wxPyEndAllowThreads(__tstate
);
18526 if (PyErr_Occurred()) SWIG_fail
;
18528 resultobj
= SWIG_Py_Void();
18535 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18536 PyObject
*resultobj
= 0;
18537 wxSlider
*arg1
= (wxSlider
*) 0 ;
18541 PyObject
*swig_obj
[1] ;
18543 if (!args
) SWIG_fail
;
18544 swig_obj
[0] = args
;
18545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18546 if (!SWIG_IsOK(res1
)) {
18547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18549 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18552 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18553 wxPyEndAllowThreads(__tstate
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18556 resultobj
= SWIG_From_int(static_cast< int >(result
));
18563 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
= 0;
18565 wxSlider
*arg1
= (wxSlider
*) 0 ;
18567 int arg3
= (int) 1 ;
18574 PyObject
* obj0
= 0 ;
18575 PyObject
* obj1
= 0 ;
18576 PyObject
* obj2
= 0 ;
18577 char * kwnames
[] = {
18578 (char *) "self",(char *) "n",(char *) "pos", NULL
18581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18583 if (!SWIG_IsOK(res1
)) {
18584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18586 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18588 if (!SWIG_IsOK(ecode2
)) {
18589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18591 arg2
= static_cast< int >(val2
);
18593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18594 if (!SWIG_IsOK(ecode3
)) {
18595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18597 arg3
= static_cast< int >(val3
);
18600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18601 (arg1
)->SetTickFreq(arg2
,arg3
);
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18605 resultobj
= SWIG_Py_Void();
18612 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18613 PyObject
*resultobj
= 0;
18614 wxSlider
*arg1
= (wxSlider
*) 0 ;
18618 PyObject
*swig_obj
[1] ;
18620 if (!args
) SWIG_fail
;
18621 swig_obj
[0] = args
;
18622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18623 if (!SWIG_IsOK(res1
)) {
18624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18626 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18629 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 resultobj
= SWIG_From_int(static_cast< int >(result
));
18640 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18641 PyObject
*resultobj
= 0;
18642 wxSlider
*arg1
= (wxSlider
*) 0 ;
18645 PyObject
*swig_obj
[1] ;
18647 if (!args
) SWIG_fail
;
18648 swig_obj
[0] = args
;
18649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18650 if (!SWIG_IsOK(res1
)) {
18651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18653 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 (arg1
)->ClearTicks();
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18660 resultobj
= SWIG_Py_Void();
18667 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18668 PyObject
*resultobj
= 0;
18669 wxSlider
*arg1
= (wxSlider
*) 0 ;
18675 PyObject
* obj0
= 0 ;
18676 PyObject
* obj1
= 0 ;
18677 char * kwnames
[] = {
18678 (char *) "self",(char *) "tickPos", NULL
18681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18683 if (!SWIG_IsOK(res1
)) {
18684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18686 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18688 if (!SWIG_IsOK(ecode2
)) {
18689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18691 arg2
= static_cast< int >(val2
);
18693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18694 (arg1
)->SetTick(arg2
);
18695 wxPyEndAllowThreads(__tstate
);
18696 if (PyErr_Occurred()) SWIG_fail
;
18698 resultobj
= SWIG_Py_Void();
18705 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18706 PyObject
*resultobj
= 0;
18707 wxSlider
*arg1
= (wxSlider
*) 0 ;
18710 PyObject
*swig_obj
[1] ;
18712 if (!args
) SWIG_fail
;
18713 swig_obj
[0] = args
;
18714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18715 if (!SWIG_IsOK(res1
)) {
18716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18718 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 (arg1
)->ClearSel();
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 resultobj
= SWIG_Py_Void();
18732 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18733 PyObject
*resultobj
= 0;
18734 wxSlider
*arg1
= (wxSlider
*) 0 ;
18738 PyObject
*swig_obj
[1] ;
18740 if (!args
) SWIG_fail
;
18741 swig_obj
[0] = args
;
18742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18743 if (!SWIG_IsOK(res1
)) {
18744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18746 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18749 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 resultobj
= SWIG_From_int(static_cast< int >(result
));
18760 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18761 PyObject
*resultobj
= 0;
18762 wxSlider
*arg1
= (wxSlider
*) 0 ;
18766 PyObject
*swig_obj
[1] ;
18768 if (!args
) SWIG_fail
;
18769 swig_obj
[0] = args
;
18770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18771 if (!SWIG_IsOK(res1
)) {
18772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18774 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= SWIG_From_int(static_cast< int >(result
));
18788 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
= 0;
18790 wxSlider
*arg1
= (wxSlider
*) 0 ;
18799 PyObject
* obj0
= 0 ;
18800 PyObject
* obj1
= 0 ;
18801 PyObject
* obj2
= 0 ;
18802 char * kwnames
[] = {
18803 (char *) "self",(char *) "min",(char *) "max", NULL
18806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18808 if (!SWIG_IsOK(res1
)) {
18809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18811 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18813 if (!SWIG_IsOK(ecode2
)) {
18814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18816 arg2
= static_cast< int >(val2
);
18817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18818 if (!SWIG_IsOK(ecode3
)) {
18819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18821 arg3
= static_cast< int >(val3
);
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 (arg1
)->SetSelection(arg2
,arg3
);
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= SWIG_Py_Void();
18835 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
= 0;
18837 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18838 SwigValueWrapper
<wxVisualAttributes
> result
;
18841 PyObject
* obj0
= 0 ;
18842 char * kwnames
[] = {
18843 (char *) "variant", NULL
18846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18848 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18849 if (!SWIG_IsOK(ecode1
)) {
18850 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18852 arg1
= static_cast< wxWindowVariant
>(val1
);
18855 if (!wxPyCheckForApp()) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18868 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18870 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18871 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18872 return SWIG_Py_Void();
18875 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18876 return SWIG_Python_InitShadowInstance(args
);
18879 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18880 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18885 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18886 PyObject
*pyobj
= 0;
18890 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18892 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18899 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
= 0;
18901 wxWindow
*arg1
= (wxWindow
*) 0 ;
18902 int arg2
= (int) -1 ;
18903 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18904 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18905 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18906 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18907 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18908 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18909 long arg6
= (long) 0 ;
18910 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18911 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18912 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18913 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18914 wxToggleButton
*result
= 0 ;
18919 bool temp3
= false ;
18926 bool temp8
= false ;
18927 PyObject
* obj0
= 0 ;
18928 PyObject
* obj1
= 0 ;
18929 PyObject
* obj2
= 0 ;
18930 PyObject
* obj3
= 0 ;
18931 PyObject
* obj4
= 0 ;
18932 PyObject
* obj5
= 0 ;
18933 PyObject
* obj6
= 0 ;
18934 PyObject
* obj7
= 0 ;
18935 char * kwnames
[] = {
18936 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18941 if (!SWIG_IsOK(res1
)) {
18942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18944 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18947 if (!SWIG_IsOK(ecode2
)) {
18948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18950 arg2
= static_cast< int >(val2
);
18954 arg3
= wxString_in_helper(obj2
);
18955 if (arg3
== NULL
) SWIG_fail
;
18962 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18968 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18972 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18973 if (!SWIG_IsOK(ecode6
)) {
18974 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18976 arg6
= static_cast< long >(val6
);
18979 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18980 if (!SWIG_IsOK(res7
)) {
18981 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18986 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18990 arg8
= wxString_in_helper(obj7
);
18991 if (arg8
== NULL
) SWIG_fail
;
18996 if (!wxPyCheckForApp()) SWIG_fail
;
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
19025 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19026 PyObject
*resultobj
= 0;
19027 wxToggleButton
*result
= 0 ;
19029 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
19031 if (!wxPyCheckForApp()) SWIG_fail
;
19032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19033 result
= (wxToggleButton
*)new wxToggleButton();
19034 wxPyEndAllowThreads(__tstate
);
19035 if (PyErr_Occurred()) SWIG_fail
;
19037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
19044 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
= 0;
19046 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19047 wxWindow
*arg2
= (wxWindow
*) 0 ;
19048 int arg3
= (int) -1 ;
19049 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19050 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19051 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19052 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19053 wxSize
const &arg6_defvalue
= wxDefaultSize
;
19054 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
19055 long arg7
= (long) 0 ;
19056 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
19057 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
19058 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
19059 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19067 bool temp4
= false ;
19074 bool temp9
= false ;
19075 PyObject
* obj0
= 0 ;
19076 PyObject
* obj1
= 0 ;
19077 PyObject
* obj2
= 0 ;
19078 PyObject
* obj3
= 0 ;
19079 PyObject
* obj4
= 0 ;
19080 PyObject
* obj5
= 0 ;
19081 PyObject
* obj6
= 0 ;
19082 PyObject
* obj7
= 0 ;
19083 PyObject
* obj8
= 0 ;
19084 char * kwnames
[] = {
19085 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
19089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19090 if (!SWIG_IsOK(res1
)) {
19091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19093 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19094 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19095 if (!SWIG_IsOK(res2
)) {
19096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19098 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19100 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19101 if (!SWIG_IsOK(ecode3
)) {
19102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19104 arg3
= static_cast< int >(val3
);
19108 arg4
= wxString_in_helper(obj3
);
19109 if (arg4
== NULL
) SWIG_fail
;
19116 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19122 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19126 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19127 if (!SWIG_IsOK(ecode7
)) {
19128 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19130 arg7
= static_cast< long >(val7
);
19133 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19134 if (!SWIG_IsOK(res8
)) {
19135 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19140 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19144 arg9
= wxString_in_helper(obj8
);
19145 if (arg9
== NULL
) SWIG_fail
;
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19151 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19180 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
= 0;
19182 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19188 PyObject
* obj0
= 0 ;
19189 PyObject
* obj1
= 0 ;
19190 char * kwnames
[] = {
19191 (char *) "self",(char *) "value", NULL
19194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19196 if (!SWIG_IsOK(res1
)) {
19197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19199 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19200 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19201 if (!SWIG_IsOK(ecode2
)) {
19202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19204 arg2
= static_cast< bool >(val2
);
19206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19207 (arg1
)->SetValue(arg2
);
19208 wxPyEndAllowThreads(__tstate
);
19209 if (PyErr_Occurred()) SWIG_fail
;
19211 resultobj
= SWIG_Py_Void();
19218 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19219 PyObject
*resultobj
= 0;
19220 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19224 PyObject
*swig_obj
[1] ;
19226 if (!args
) SWIG_fail
;
19227 swig_obj
[0] = args
;
19228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19229 if (!SWIG_IsOK(res1
)) {
19230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19232 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19235 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19248 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
= 0;
19250 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19251 SwigValueWrapper
<wxVisualAttributes
> result
;
19254 PyObject
* obj0
= 0 ;
19255 char * kwnames
[] = {
19256 (char *) "variant", NULL
19259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19261 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19262 if (!SWIG_IsOK(ecode1
)) {
19263 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19265 arg1
= static_cast< wxWindowVariant
>(val1
);
19268 if (!wxPyCheckForApp()) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19271 wxPyEndAllowThreads(__tstate
);
19272 if (PyErr_Occurred()) SWIG_fail
;
19274 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19281 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19284 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19285 return SWIG_Py_Void();
19288 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19289 return SWIG_Python_InitShadowInstance(args
);
19292 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19293 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19298 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19299 PyObject
*pyobj
= 0;
19303 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19305 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19312 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19313 PyObject
*resultobj
= 0;
19314 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19318 PyObject
*swig_obj
[1] ;
19320 if (!args
) SWIG_fail
;
19321 swig_obj
[0] = args
;
19322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19323 if (!SWIG_IsOK(res1
)) {
19324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19326 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19329 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19333 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19340 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
= 0;
19342 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19344 wxWindow
*result
= 0 ;
19349 PyObject
* obj0
= 0 ;
19350 PyObject
* obj1
= 0 ;
19351 char * kwnames
[] = {
19352 (char *) "self",(char *) "n", NULL
19355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19357 if (!SWIG_IsOK(res1
)) {
19358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19360 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19361 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19362 if (!SWIG_IsOK(ecode2
)) {
19363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19365 arg2
= static_cast< size_t >(val2
);
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19373 resultobj
= wxPyMake_wxObject(result
, 0);
19381 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19382 PyObject
*resultobj
= 0;
19383 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19384 wxWindow
*result
= 0 ;
19387 PyObject
*swig_obj
[1] ;
19389 if (!args
) SWIG_fail
;
19390 swig_obj
[0] = args
;
19391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19392 if (!SWIG_IsOK(res1
)) {
19393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19395 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19403 resultobj
= wxPyMake_wxObject(result
, 0);
19411 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19412 PyObject
*resultobj
= 0;
19413 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19417 PyObject
*swig_obj
[1] ;
19419 if (!args
) SWIG_fail
;
19420 swig_obj
[0] = args
;
19421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19422 if (!SWIG_IsOK(res1
)) {
19423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19425 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19428 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19429 wxPyEndAllowThreads(__tstate
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19432 resultobj
= SWIG_From_int(static_cast< int >(result
));
19439 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19440 PyObject
*resultobj
= 0;
19441 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19443 wxString
*arg3
= 0 ;
19449 bool temp3
= false ;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj1
= 0 ;
19452 PyObject
* obj2
= 0 ;
19453 char * kwnames
[] = {
19454 (char *) "self",(char *) "n",(char *) "strText", NULL
19457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19459 if (!SWIG_IsOK(res1
)) {
19460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19462 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19463 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19464 if (!SWIG_IsOK(ecode2
)) {
19465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19467 arg2
= static_cast< size_t >(val2
);
19469 arg3
= wxString_in_helper(obj2
);
19470 if (arg3
== NULL
) SWIG_fail
;
19474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19475 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19496 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19497 PyObject
*resultobj
= 0;
19498 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 char * kwnames
[] = {
19508 (char *) "self",(char *) "n", NULL
19511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19513 if (!SWIG_IsOK(res1
)) {
19514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19516 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19517 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19518 if (!SWIG_IsOK(ecode2
)) {
19519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19521 arg2
= static_cast< size_t >(val2
);
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19541 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
= 0;
19543 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19544 wxImageList
*arg2
= (wxImageList
*) 0 ;
19549 PyObject
* obj0
= 0 ;
19550 PyObject
* obj1
= 0 ;
19551 char * kwnames
[] = {
19552 (char *) "self",(char *) "imageList", NULL
19555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19557 if (!SWIG_IsOK(res1
)) {
19558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19560 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19561 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19562 if (!SWIG_IsOK(res2
)) {
19563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19565 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19568 (arg1
)->SetImageList(arg2
);
19569 wxPyEndAllowThreads(__tstate
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19572 resultobj
= SWIG_Py_Void();
19579 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19580 PyObject
*resultobj
= 0;
19581 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19582 wxImageList
*arg2
= (wxImageList
*) 0 ;
19586 PyObject
* obj0
= 0 ;
19587 PyObject
* obj1
= 0 ;
19588 char * kwnames
[] = {
19589 (char *) "self",(char *) "imageList", NULL
19592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19594 if (!SWIG_IsOK(res1
)) {
19595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19597 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19598 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19599 if (!SWIG_IsOK(res2
)) {
19600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19604 (arg1
)->AssignImageList(arg2
);
19605 wxPyEndAllowThreads(__tstate
);
19606 if (PyErr_Occurred()) SWIG_fail
;
19608 resultobj
= SWIG_Py_Void();
19615 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19616 PyObject
*resultobj
= 0;
19617 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19618 wxImageList
*result
= 0 ;
19621 PyObject
*swig_obj
[1] ;
19623 if (!args
) SWIG_fail
;
19624 swig_obj
[0] = args
;
19625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19626 if (!SWIG_IsOK(res1
)) {
19627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19629 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19633 wxPyEndAllowThreads(__tstate
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19637 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19645 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
= 0;
19647 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19654 PyObject
* obj0
= 0 ;
19655 PyObject
* obj1
= 0 ;
19656 char * kwnames
[] = {
19657 (char *) "self",(char *) "n", NULL
19660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19662 if (!SWIG_IsOK(res1
)) {
19663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19665 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19666 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19667 if (!SWIG_IsOK(ecode2
)) {
19668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19670 arg2
= static_cast< size_t >(val2
);
19672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19674 wxPyEndAllowThreads(__tstate
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19677 resultobj
= SWIG_From_int(static_cast< int >(result
));
19684 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
= 0;
19686 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19696 PyObject
* obj0
= 0 ;
19697 PyObject
* obj1
= 0 ;
19698 PyObject
* obj2
= 0 ;
19699 char * kwnames
[] = {
19700 (char *) "self",(char *) "n",(char *) "imageId", NULL
19703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19705 if (!SWIG_IsOK(res1
)) {
19706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19708 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19709 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19710 if (!SWIG_IsOK(ecode2
)) {
19711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19713 arg2
= static_cast< size_t >(val2
);
19714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19715 if (!SWIG_IsOK(ecode3
)) {
19716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19718 arg3
= static_cast< int >(val3
);
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19734 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
= 0;
19736 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19741 PyObject
* obj0
= 0 ;
19742 PyObject
* obj1
= 0 ;
19743 char * kwnames
[] = {
19744 (char *) "self",(char *) "size", NULL
19747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19749 if (!SWIG_IsOK(res1
)) {
19750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19752 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19755 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= SWIG_Py_Void();
19770 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
= 0;
19772 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19778 PyObject
* obj0
= 0 ;
19779 PyObject
* obj1
= 0 ;
19780 char * kwnames
[] = {
19781 (char *) "self",(char *) "sizePage", NULL
19784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19786 if (!SWIG_IsOK(res1
)) {
19787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19789 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19792 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19800 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19807 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19808 PyObject
*resultobj
= 0;
19809 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19810 unsigned int result
;
19813 PyObject
*swig_obj
[1] ;
19815 if (!args
) SWIG_fail
;
19816 swig_obj
[0] = args
;
19817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19818 if (!SWIG_IsOK(res1
)) {
19819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19821 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19835 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
= 0;
19837 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19838 unsigned int arg2
;
19841 unsigned int val2
;
19843 PyObject
* obj0
= 0 ;
19844 PyObject
* obj1
= 0 ;
19845 char * kwnames
[] = {
19846 (char *) "self",(char *) "internalBorder", NULL
19849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19851 if (!SWIG_IsOK(res1
)) {
19852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19854 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19855 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19856 if (!SWIG_IsOK(ecode2
)) {
19857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19859 arg2
= static_cast< unsigned int >(val2
);
19861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 (arg1
)->SetInternalBorder(arg2
);
19863 wxPyEndAllowThreads(__tstate
);
19864 if (PyErr_Occurred()) SWIG_fail
;
19866 resultobj
= SWIG_Py_Void();
19873 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19874 PyObject
*resultobj
= 0;
19875 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19879 PyObject
*swig_obj
[1] ;
19881 if (!args
) SWIG_fail
;
19882 swig_obj
[0] = args
;
19883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19884 if (!SWIG_IsOK(res1
)) {
19885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19887 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19891 wxPyEndAllowThreads(__tstate
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19903 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19904 PyObject
*resultobj
= 0;
19905 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19911 PyObject
* obj0
= 0 ;
19912 PyObject
* obj1
= 0 ;
19913 char * kwnames
[] = {
19914 (char *) "self",(char *) "margin", NULL
19917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19919 if (!SWIG_IsOK(res1
)) {
19920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19922 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19924 if (!SWIG_IsOK(ecode2
)) {
19925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19927 arg2
= static_cast< int >(val2
);
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 (arg1
)->SetControlMargin(arg2
);
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= SWIG_Py_Void();
19941 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19942 PyObject
*resultobj
= 0;
19943 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19947 PyObject
*swig_obj
[1] ;
19949 if (!args
) SWIG_fail
;
19950 swig_obj
[0] = args
;
19951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19952 if (!SWIG_IsOK(res1
)) {
19953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19955 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19959 wxPyEndAllowThreads(__tstate
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19962 resultobj
= SWIG_From_int(static_cast< int >(result
));
19969 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19970 PyObject
*resultobj
= 0;
19971 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19977 PyObject
* obj0
= 0 ;
19978 PyObject
* obj1
= 0 ;
19979 char * kwnames
[] = {
19980 (char *) "self",(char *) "fit", NULL
19983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19985 if (!SWIG_IsOK(res1
)) {
19986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19988 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19989 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19990 if (!SWIG_IsOK(ecode2
)) {
19991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19993 arg2
= static_cast< bool >(val2
);
19995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19996 (arg1
)->SetFitToCurrentPage(arg2
);
19997 wxPyEndAllowThreads(__tstate
);
19998 if (PyErr_Occurred()) SWIG_fail
;
20000 resultobj
= SWIG_Py_Void();
20007 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20008 PyObject
*resultobj
= 0;
20009 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20013 PyObject
*swig_obj
[1] ;
20015 if (!args
) SWIG_fail
;
20016 swig_obj
[0] = args
;
20017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20018 if (!SWIG_IsOK(res1
)) {
20019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20021 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20037 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20038 PyObject
*resultobj
= 0;
20039 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20040 wxSizer
*result
= 0 ;
20043 PyObject
*swig_obj
[1] ;
20045 if (!args
) SWIG_fail
;
20046 swig_obj
[0] = args
;
20047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20048 if (!SWIG_IsOK(res1
)) {
20049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20051 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
20055 wxPyEndAllowThreads(__tstate
);
20056 if (PyErr_Occurred()) SWIG_fail
;
20059 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20067 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20068 PyObject
*resultobj
= 0;
20069 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20076 PyObject
* obj0
= 0 ;
20077 PyObject
* obj1
= 0 ;
20078 char * kwnames
[] = {
20079 (char *) "self",(char *) "n", NULL
20082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20084 if (!SWIG_IsOK(res1
)) {
20085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20087 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20088 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20089 if (!SWIG_IsOK(ecode2
)) {
20090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20092 arg2
= static_cast< size_t >(val2
);
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 result
= (bool)(arg1
)->DeletePage(arg2
);
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20108 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
= 0;
20110 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20117 PyObject
* obj0
= 0 ;
20118 PyObject
* obj1
= 0 ;
20119 char * kwnames
[] = {
20120 (char *) "self",(char *) "n", NULL
20123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20125 if (!SWIG_IsOK(res1
)) {
20126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20128 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20129 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20130 if (!SWIG_IsOK(ecode2
)) {
20131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20133 arg2
= static_cast< size_t >(val2
);
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 result
= (bool)(arg1
)->RemovePage(arg2
);
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20149 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20150 PyObject
*resultobj
= 0;
20151 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20155 PyObject
*swig_obj
[1] ;
20157 if (!args
) SWIG_fail
;
20158 swig_obj
[0] = args
;
20159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20160 if (!SWIG_IsOK(res1
)) {
20161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20163 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20166 result
= (bool)(arg1
)->DeleteAllPages();
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20179 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
= 0;
20181 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20182 wxWindow
*arg2
= (wxWindow
*) 0 ;
20183 wxString
*arg3
= 0 ;
20184 bool arg4
= (bool) false ;
20185 int arg5
= (int) -1 ;
20191 bool temp3
= false ;
20196 PyObject
* obj0
= 0 ;
20197 PyObject
* obj1
= 0 ;
20198 PyObject
* obj2
= 0 ;
20199 PyObject
* obj3
= 0 ;
20200 PyObject
* obj4
= 0 ;
20201 char * kwnames
[] = {
20202 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20207 if (!SWIG_IsOK(res1
)) {
20208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20210 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20211 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20212 if (!SWIG_IsOK(res2
)) {
20213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20215 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20217 arg3
= wxString_in_helper(obj2
);
20218 if (arg3
== NULL
) SWIG_fail
;
20222 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20223 if (!SWIG_IsOK(ecode4
)) {
20224 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20226 arg4
= static_cast< bool >(val4
);
20229 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20230 if (!SWIG_IsOK(ecode5
)) {
20231 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20233 arg5
= static_cast< int >(val5
);
20236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20237 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20238 wxPyEndAllowThreads(__tstate
);
20239 if (PyErr_Occurred()) SWIG_fail
;
20242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20258 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20259 PyObject
*resultobj
= 0;
20260 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20262 wxWindow
*arg3
= (wxWindow
*) 0 ;
20263 wxString
*arg4
= 0 ;
20264 bool arg5
= (bool) false ;
20265 int arg6
= (int) -1 ;
20273 bool temp4
= false ;
20278 PyObject
* obj0
= 0 ;
20279 PyObject
* obj1
= 0 ;
20280 PyObject
* obj2
= 0 ;
20281 PyObject
* obj3
= 0 ;
20282 PyObject
* obj4
= 0 ;
20283 PyObject
* obj5
= 0 ;
20284 char * kwnames
[] = {
20285 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20290 if (!SWIG_IsOK(res1
)) {
20291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20293 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20294 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20295 if (!SWIG_IsOK(ecode2
)) {
20296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20298 arg2
= static_cast< size_t >(val2
);
20299 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20300 if (!SWIG_IsOK(res3
)) {
20301 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20303 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20305 arg4
= wxString_in_helper(obj3
);
20306 if (arg4
== NULL
) SWIG_fail
;
20310 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20311 if (!SWIG_IsOK(ecode5
)) {
20312 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20314 arg5
= static_cast< bool >(val5
);
20317 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20318 if (!SWIG_IsOK(ecode6
)) {
20319 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20321 arg6
= static_cast< int >(val6
);
20324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20325 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20346 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20347 PyObject
*resultobj
= 0;
20348 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20355 PyObject
* obj0
= 0 ;
20356 PyObject
* obj1
= 0 ;
20357 char * kwnames
[] = {
20358 (char *) "self",(char *) "n", NULL
20361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20363 if (!SWIG_IsOK(res1
)) {
20364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20366 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20367 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20368 if (!SWIG_IsOK(ecode2
)) {
20369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20371 arg2
= static_cast< size_t >(val2
);
20373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20374 result
= (int)(arg1
)->SetSelection(arg2
);
20375 wxPyEndAllowThreads(__tstate
);
20376 if (PyErr_Occurred()) SWIG_fail
;
20378 resultobj
= SWIG_From_int(static_cast< int >(result
));
20385 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20386 PyObject
*resultobj
= 0;
20387 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20394 PyObject
* obj0
= 0 ;
20395 PyObject
* obj1
= 0 ;
20396 char * kwnames
[] = {
20397 (char *) "self",(char *) "n", NULL
20400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20402 if (!SWIG_IsOK(res1
)) {
20403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20405 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20406 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20407 if (!SWIG_IsOK(ecode2
)) {
20408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20410 arg2
= static_cast< size_t >(val2
);
20412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20413 result
= (int)(arg1
)->ChangeSelection(arg2
);
20414 wxPyEndAllowThreads(__tstate
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20417 resultobj
= SWIG_From_int(static_cast< int >(result
));
20424 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20425 PyObject
*resultobj
= 0;
20426 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20427 bool arg2
= (bool) true ;
20432 PyObject
* obj0
= 0 ;
20433 PyObject
* obj1
= 0 ;
20434 char * kwnames
[] = {
20435 (char *) "self",(char *) "forward", NULL
20438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20440 if (!SWIG_IsOK(res1
)) {
20441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20443 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20445 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20446 if (!SWIG_IsOK(ecode2
)) {
20447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20449 arg2
= static_cast< bool >(val2
);
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 (arg1
)->AdvanceSelection(arg2
);
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= SWIG_Py_Void();
20464 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20465 PyObject
*resultobj
= 0;
20466 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20467 wxPoint
*arg2
= 0 ;
20468 long *arg3
= (long *) 0 ;
20474 int res3
= SWIG_TMPOBJ
;
20475 PyObject
* obj0
= 0 ;
20476 PyObject
* obj1
= 0 ;
20477 char * kwnames
[] = {
20478 (char *) "self",(char *) "pt", NULL
20482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20484 if (!SWIG_IsOK(res1
)) {
20485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20487 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20490 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20494 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20498 resultobj
= SWIG_From_int(static_cast< int >(result
));
20499 if (SWIG_IsTmpObj(res3
)) {
20500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20502 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20503 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20511 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
= 0;
20513 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20514 SwigValueWrapper
<wxVisualAttributes
> result
;
20517 PyObject
* obj0
= 0 ;
20518 char * kwnames
[] = {
20519 (char *) "variant", NULL
20522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20524 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20525 if (!SWIG_IsOK(ecode1
)) {
20526 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20528 arg1
= static_cast< wxWindowVariant
>(val1
);
20531 if (!wxPyCheckForApp()) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20534 wxPyEndAllowThreads(__tstate
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20537 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20544 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20547 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20548 return SWIG_Py_Void();
20551 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
= 0;
20553 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20554 int arg2
= (int) 0 ;
20555 int arg3
= (int) -1 ;
20556 int arg4
= (int) -1 ;
20557 wxBookCtrlBaseEvent
*result
= 0 ;
20566 PyObject
* obj0
= 0 ;
20567 PyObject
* obj1
= 0 ;
20568 PyObject
* obj2
= 0 ;
20569 PyObject
* obj3
= 0 ;
20570 char * kwnames
[] = {
20571 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20576 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20577 if (!SWIG_IsOK(ecode1
)) {
20578 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20580 arg1
= static_cast< wxEventType
>(val1
);
20583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20584 if (!SWIG_IsOK(ecode2
)) {
20585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20587 arg2
= static_cast< int >(val2
);
20590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20591 if (!SWIG_IsOK(ecode3
)) {
20592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20594 arg3
= static_cast< int >(val3
);
20597 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20598 if (!SWIG_IsOK(ecode4
)) {
20599 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20601 arg4
= static_cast< int >(val4
);
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20616 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20617 PyObject
*resultobj
= 0;
20618 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20622 PyObject
*swig_obj
[1] ;
20624 if (!args
) SWIG_fail
;
20625 swig_obj
[0] = args
;
20626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20627 if (!SWIG_IsOK(res1
)) {
20628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20630 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20637 resultobj
= SWIG_From_int(static_cast< int >(result
));
20644 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20645 PyObject
*resultobj
= 0;
20646 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20652 PyObject
* obj0
= 0 ;
20653 PyObject
* obj1
= 0 ;
20654 char * kwnames
[] = {
20655 (char *) "self",(char *) "nSel", NULL
20658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20660 if (!SWIG_IsOK(res1
)) {
20661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20663 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20665 if (!SWIG_IsOK(ecode2
)) {
20666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20668 arg2
= static_cast< int >(val2
);
20670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20671 (arg1
)->SetSelection(arg2
);
20672 wxPyEndAllowThreads(__tstate
);
20673 if (PyErr_Occurred()) SWIG_fail
;
20675 resultobj
= SWIG_Py_Void();
20682 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20683 PyObject
*resultobj
= 0;
20684 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20688 PyObject
*swig_obj
[1] ;
20690 if (!args
) SWIG_fail
;
20691 swig_obj
[0] = args
;
20692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20693 if (!SWIG_IsOK(res1
)) {
20694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20696 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20699 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20700 wxPyEndAllowThreads(__tstate
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20703 resultobj
= SWIG_From_int(static_cast< int >(result
));
20710 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20711 PyObject
*resultobj
= 0;
20712 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20718 PyObject
* obj0
= 0 ;
20719 PyObject
* obj1
= 0 ;
20720 char * kwnames
[] = {
20721 (char *) "self",(char *) "nOldSel", NULL
20724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20726 if (!SWIG_IsOK(res1
)) {
20727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20729 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20731 if (!SWIG_IsOK(ecode2
)) {
20732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20734 arg2
= static_cast< int >(val2
);
20736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20737 (arg1
)->SetOldSelection(arg2
);
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20741 resultobj
= SWIG_Py_Void();
20748 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20751 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20752 return SWIG_Py_Void();
20755 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20756 return SWIG_Python_InitShadowInstance(args
);
20759 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20760 PyObject
*resultobj
= 0;
20761 wxWindow
*arg1
= (wxWindow
*) 0 ;
20762 int arg2
= (int) -1 ;
20763 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20764 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20765 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20766 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20767 long arg5
= (long) 0 ;
20768 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20769 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20770 wxNotebook
*result
= 0 ;
20779 bool temp6
= false ;
20780 PyObject
* obj0
= 0 ;
20781 PyObject
* obj1
= 0 ;
20782 PyObject
* obj2
= 0 ;
20783 PyObject
* obj3
= 0 ;
20784 PyObject
* obj4
= 0 ;
20785 PyObject
* obj5
= 0 ;
20786 char * kwnames
[] = {
20787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20792 if (!SWIG_IsOK(res1
)) {
20793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20798 if (!SWIG_IsOK(ecode2
)) {
20799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20801 arg2
= static_cast< int >(val2
);
20806 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20812 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20816 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20817 if (!SWIG_IsOK(ecode5
)) {
20818 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20820 arg5
= static_cast< long >(val5
);
20824 arg6
= wxString_in_helper(obj5
);
20825 if (arg6
== NULL
) SWIG_fail
;
20830 if (!wxPyCheckForApp()) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20833 wxPyEndAllowThreads(__tstate
);
20834 if (PyErr_Occurred()) SWIG_fail
;
20836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20851 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20852 PyObject
*resultobj
= 0;
20853 wxNotebook
*result
= 0 ;
20855 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20857 if (!wxPyCheckForApp()) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 result
= (wxNotebook
*)new wxNotebook();
20860 wxPyEndAllowThreads(__tstate
);
20861 if (PyErr_Occurred()) SWIG_fail
;
20863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20870 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20871 PyObject
*resultobj
= 0;
20872 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20873 wxWindow
*arg2
= (wxWindow
*) 0 ;
20874 int arg3
= (int) -1 ;
20875 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20876 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20877 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20878 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20879 long arg6
= (long) 0 ;
20880 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20881 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20893 bool temp7
= false ;
20894 PyObject
* obj0
= 0 ;
20895 PyObject
* obj1
= 0 ;
20896 PyObject
* obj2
= 0 ;
20897 PyObject
* obj3
= 0 ;
20898 PyObject
* obj4
= 0 ;
20899 PyObject
* obj5
= 0 ;
20900 PyObject
* obj6
= 0 ;
20901 char * kwnames
[] = {
20902 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20907 if (!SWIG_IsOK(res1
)) {
20908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20910 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20911 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20912 if (!SWIG_IsOK(res2
)) {
20913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20915 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20918 if (!SWIG_IsOK(ecode3
)) {
20919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20921 arg3
= static_cast< int >(val3
);
20926 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20932 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20936 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20937 if (!SWIG_IsOK(ecode6
)) {
20938 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20940 arg6
= static_cast< long >(val6
);
20944 arg7
= wxString_in_helper(obj6
);
20945 if (arg7
== NULL
) SWIG_fail
;
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20972 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20973 PyObject
*resultobj
= 0;
20974 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20978 PyObject
*swig_obj
[1] ;
20980 if (!args
) SWIG_fail
;
20981 swig_obj
[0] = args
;
20982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20983 if (!SWIG_IsOK(res1
)) {
20984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20986 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20989 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 resultobj
= SWIG_From_int(static_cast< int >(result
));
21000 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
= 0;
21002 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21007 PyObject
* obj0
= 0 ;
21008 PyObject
* obj1
= 0 ;
21009 char * kwnames
[] = {
21010 (char *) "self",(char *) "padding", NULL
21013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21015 if (!SWIG_IsOK(res1
)) {
21016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
21018 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21021 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21025 (arg1
)->SetPadding((wxSize
const &)*arg2
);
21026 wxPyEndAllowThreads(__tstate
);
21027 if (PyErr_Occurred()) SWIG_fail
;
21029 resultobj
= SWIG_Py_Void();
21036 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
= 0;
21038 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21043 PyObject
* obj0
= 0 ;
21044 PyObject
* obj1
= 0 ;
21045 char * kwnames
[] = {
21046 (char *) "self",(char *) "sz", NULL
21049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21051 if (!SWIG_IsOK(res1
)) {
21052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
21054 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21057 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21061 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21065 resultobj
= SWIG_Py_Void();
21072 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21073 PyObject
*resultobj
= 0;
21074 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21078 PyObject
*swig_obj
[1] ;
21080 if (!args
) SWIG_fail
;
21081 swig_obj
[0] = args
;
21082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21083 if (!SWIG_IsOK(res1
)) {
21084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21086 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21093 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21100 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21101 PyObject
*resultobj
= 0;
21102 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21103 SwigValueWrapper
<wxVisualAttributes
> result
;
21106 PyObject
* obj0
= 0 ;
21107 char * kwnames
[] = {
21108 (char *) "variant", NULL
21111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
21113 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21114 if (!SWIG_IsOK(ecode1
)) {
21115 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21117 arg1
= static_cast< wxWindowVariant
>(val1
);
21120 if (!wxPyCheckForApp()) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21133 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21134 PyObject
*resultobj
= 0;
21135 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21142 PyObject
* obj0
= 0 ;
21143 PyObject
* obj1
= 0 ;
21144 char * kwnames
[] = {
21145 (char *) "self",(char *) "nPage", NULL
21148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21150 if (!SWIG_IsOK(res1
)) {
21151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21153 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21155 if (!SWIG_IsOK(ecode2
)) {
21156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21158 arg2
= static_cast< int >(val2
);
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21162 wxPyEndAllowThreads(__tstate
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21174 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
= 0;
21176 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21178 int arg3
= (int) -1 ;
21185 PyObject
* obj0
= 0 ;
21186 PyObject
* obj1
= 0 ;
21187 PyObject
* obj2
= 0 ;
21188 char * kwnames
[] = {
21189 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21194 if (!SWIG_IsOK(res1
)) {
21195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21197 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21199 if (!SWIG_IsOK(ecode2
)) {
21200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21202 arg2
= static_cast< int >(val2
);
21204 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21205 if (!SWIG_IsOK(ecode3
)) {
21206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21208 arg3
= static_cast< int >(val3
);
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21212 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21213 wxPyEndAllowThreads(__tstate
);
21214 if (PyErr_Occurred()) SWIG_fail
;
21216 resultobj
= SWIG_Py_Void();
21223 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21225 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21226 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21227 return SWIG_Py_Void();
21230 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21231 return SWIG_Python_InitShadowInstance(args
);
21234 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
= 0;
21236 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21237 int arg2
= (int) 0 ;
21238 int arg3
= (int) -1 ;
21239 int arg4
= (int) -1 ;
21240 wxNotebookEvent
*result
= 0 ;
21249 PyObject
* obj0
= 0 ;
21250 PyObject
* obj1
= 0 ;
21251 PyObject
* obj2
= 0 ;
21252 PyObject
* obj3
= 0 ;
21253 char * kwnames
[] = {
21254 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21259 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21260 if (!SWIG_IsOK(ecode1
)) {
21261 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21263 arg1
= static_cast< wxEventType
>(val1
);
21266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21267 if (!SWIG_IsOK(ecode2
)) {
21268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21270 arg2
= static_cast< int >(val2
);
21273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21274 if (!SWIG_IsOK(ecode3
)) {
21275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21277 arg3
= static_cast< int >(val3
);
21280 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21281 if (!SWIG_IsOK(ecode4
)) {
21282 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21284 arg4
= static_cast< int >(val4
);
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21299 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21301 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21302 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21303 return SWIG_Py_Void();
21306 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21307 return SWIG_Python_InitShadowInstance(args
);
21310 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
= 0;
21312 wxWindow
*arg1
= (wxWindow
*) 0 ;
21313 int arg2
= (int) -1 ;
21314 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21315 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21316 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21317 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21318 long arg5
= (long) 0 ;
21319 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21320 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21321 wxListbook
*result
= 0 ;
21330 bool temp6
= false ;
21331 PyObject
* obj0
= 0 ;
21332 PyObject
* obj1
= 0 ;
21333 PyObject
* obj2
= 0 ;
21334 PyObject
* obj3
= 0 ;
21335 PyObject
* obj4
= 0 ;
21336 PyObject
* obj5
= 0 ;
21337 char * kwnames
[] = {
21338 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21343 if (!SWIG_IsOK(res1
)) {
21344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21346 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21349 if (!SWIG_IsOK(ecode2
)) {
21350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21352 arg2
= static_cast< int >(val2
);
21357 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21363 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21367 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21368 if (!SWIG_IsOK(ecode5
)) {
21369 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21371 arg5
= static_cast< long >(val5
);
21375 arg6
= wxString_in_helper(obj5
);
21376 if (arg6
== NULL
) SWIG_fail
;
21381 if (!wxPyCheckForApp()) SWIG_fail
;
21382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21383 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21402 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21403 PyObject
*resultobj
= 0;
21404 wxListbook
*result
= 0 ;
21406 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21408 if (!wxPyCheckForApp()) SWIG_fail
;
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 result
= (wxListbook
*)new wxListbook();
21411 wxPyEndAllowThreads(__tstate
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21421 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21422 PyObject
*resultobj
= 0;
21423 wxListbook
*arg1
= (wxListbook
*) 0 ;
21424 wxWindow
*arg2
= (wxWindow
*) 0 ;
21425 int arg3
= (int) -1 ;
21426 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21427 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21428 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21429 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21430 long arg6
= (long) 0 ;
21431 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21432 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21444 bool temp7
= false ;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 PyObject
* obj2
= 0 ;
21448 PyObject
* obj3
= 0 ;
21449 PyObject
* obj4
= 0 ;
21450 PyObject
* obj5
= 0 ;
21451 PyObject
* obj6
= 0 ;
21452 char * kwnames
[] = {
21453 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21458 if (!SWIG_IsOK(res1
)) {
21459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21461 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21462 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21463 if (!SWIG_IsOK(res2
)) {
21464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21466 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21469 if (!SWIG_IsOK(ecode3
)) {
21470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21472 arg3
= static_cast< int >(val3
);
21477 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21483 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21487 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21488 if (!SWIG_IsOK(ecode6
)) {
21489 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21491 arg6
= static_cast< long >(val6
);
21495 arg7
= wxString_in_helper(obj6
);
21496 if (arg7
== NULL
) SWIG_fail
;
21501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21502 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21503 wxPyEndAllowThreads(__tstate
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21523 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21524 PyObject
*resultobj
= 0;
21525 wxListbook
*arg1
= (wxListbook
*) 0 ;
21526 wxListView
*result
= 0 ;
21529 PyObject
*swig_obj
[1] ;
21531 if (!args
) SWIG_fail
;
21532 swig_obj
[0] = args
;
21533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21534 if (!SWIG_IsOK(res1
)) {
21535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21537 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 result
= (wxListView
*)(arg1
)->GetListView();
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21551 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21554 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21555 return SWIG_Py_Void();
21558 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21559 return SWIG_Python_InitShadowInstance(args
);
21562 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
= 0;
21564 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21565 int arg2
= (int) 0 ;
21566 int arg3
= (int) -1 ;
21567 int arg4
= (int) -1 ;
21568 wxListbookEvent
*result
= 0 ;
21577 PyObject
* obj0
= 0 ;
21578 PyObject
* obj1
= 0 ;
21579 PyObject
* obj2
= 0 ;
21580 PyObject
* obj3
= 0 ;
21581 char * kwnames
[] = {
21582 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21587 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21588 if (!SWIG_IsOK(ecode1
)) {
21589 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21591 arg1
= static_cast< wxEventType
>(val1
);
21594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21595 if (!SWIG_IsOK(ecode2
)) {
21596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21598 arg2
= static_cast< int >(val2
);
21601 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21602 if (!SWIG_IsOK(ecode3
)) {
21603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21605 arg3
= static_cast< int >(val3
);
21608 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21609 if (!SWIG_IsOK(ecode4
)) {
21610 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21612 arg4
= static_cast< int >(val4
);
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21627 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21629 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21630 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21631 return SWIG_Py_Void();
21634 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21635 return SWIG_Python_InitShadowInstance(args
);
21638 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21639 PyObject
*resultobj
= 0;
21640 wxWindow
*arg1
= (wxWindow
*) 0 ;
21642 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21643 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21644 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21645 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21646 long arg5
= (long) 0 ;
21647 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21648 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21649 wxChoicebook
*result
= 0 ;
21658 bool temp6
= false ;
21659 PyObject
* obj0
= 0 ;
21660 PyObject
* obj1
= 0 ;
21661 PyObject
* obj2
= 0 ;
21662 PyObject
* obj3
= 0 ;
21663 PyObject
* obj4
= 0 ;
21664 PyObject
* obj5
= 0 ;
21665 char * kwnames
[] = {
21666 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21671 if (!SWIG_IsOK(res1
)) {
21672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21674 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21676 if (!SWIG_IsOK(ecode2
)) {
21677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21679 arg2
= static_cast< int >(val2
);
21683 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21689 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21693 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21694 if (!SWIG_IsOK(ecode5
)) {
21695 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21697 arg5
= static_cast< long >(val5
);
21701 arg6
= wxString_in_helper(obj5
);
21702 if (arg6
== NULL
) SWIG_fail
;
21707 if (!wxPyCheckForApp()) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21709 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21710 wxPyEndAllowThreads(__tstate
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21728 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21729 PyObject
*resultobj
= 0;
21730 wxChoicebook
*result
= 0 ;
21732 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21734 if (!wxPyCheckForApp()) SWIG_fail
;
21735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21736 result
= (wxChoicebook
*)new wxChoicebook();
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21747 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
= 0;
21749 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21750 wxWindow
*arg2
= (wxWindow
*) 0 ;
21752 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21753 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21754 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21755 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21756 long arg6
= (long) 0 ;
21757 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21758 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21770 bool temp7
= false ;
21771 PyObject
* obj0
= 0 ;
21772 PyObject
* obj1
= 0 ;
21773 PyObject
* obj2
= 0 ;
21774 PyObject
* obj3
= 0 ;
21775 PyObject
* obj4
= 0 ;
21776 PyObject
* obj5
= 0 ;
21777 PyObject
* obj6
= 0 ;
21778 char * kwnames
[] = {
21779 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21784 if (!SWIG_IsOK(res1
)) {
21785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21787 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21788 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21789 if (!SWIG_IsOK(res2
)) {
21790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21792 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21793 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21794 if (!SWIG_IsOK(ecode3
)) {
21795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21797 arg3
= static_cast< int >(val3
);
21801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21807 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21811 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21812 if (!SWIG_IsOK(ecode6
)) {
21813 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21815 arg6
= static_cast< long >(val6
);
21819 arg7
= wxString_in_helper(obj6
);
21820 if (arg7
== NULL
) SWIG_fail
;
21825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21847 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21848 PyObject
*resultobj
= 0;
21849 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21850 wxChoice
*result
= 0 ;
21853 PyObject
*swig_obj
[1] ;
21855 if (!args
) SWIG_fail
;
21856 swig_obj
[0] = args
;
21857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21858 if (!SWIG_IsOK(res1
)) {
21859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21861 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21864 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21875 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21878 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21879 return SWIG_Py_Void();
21882 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21883 return SWIG_Python_InitShadowInstance(args
);
21886 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21887 PyObject
*resultobj
= 0;
21888 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21889 int arg2
= (int) 0 ;
21890 int arg3
= (int) -1 ;
21891 int arg4
= (int) -1 ;
21892 wxChoicebookEvent
*result
= 0 ;
21901 PyObject
* obj0
= 0 ;
21902 PyObject
* obj1
= 0 ;
21903 PyObject
* obj2
= 0 ;
21904 PyObject
* obj3
= 0 ;
21905 char * kwnames
[] = {
21906 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21911 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21912 if (!SWIG_IsOK(ecode1
)) {
21913 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21915 arg1
= static_cast< wxEventType
>(val1
);
21918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21919 if (!SWIG_IsOK(ecode2
)) {
21920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21922 arg2
= static_cast< int >(val2
);
21925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21926 if (!SWIG_IsOK(ecode3
)) {
21927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21929 arg3
= static_cast< int >(val3
);
21932 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21933 if (!SWIG_IsOK(ecode4
)) {
21934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21936 arg4
= static_cast< int >(val4
);
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21951 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21954 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21955 return SWIG_Py_Void();
21958 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21959 return SWIG_Python_InitShadowInstance(args
);
21962 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21963 PyObject
*resultobj
= 0;
21964 wxWindow
*arg1
= (wxWindow
*) 0 ;
21966 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21967 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21968 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21969 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21970 long arg5
= (long) wxBK_DEFAULT
;
21971 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21972 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21973 wxTreebook
*result
= 0 ;
21982 bool temp6
= false ;
21983 PyObject
* obj0
= 0 ;
21984 PyObject
* obj1
= 0 ;
21985 PyObject
* obj2
= 0 ;
21986 PyObject
* obj3
= 0 ;
21987 PyObject
* obj4
= 0 ;
21988 PyObject
* obj5
= 0 ;
21989 char * kwnames
[] = {
21990 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21995 if (!SWIG_IsOK(res1
)) {
21996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21998 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22000 if (!SWIG_IsOK(ecode2
)) {
22001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
22003 arg2
= static_cast< int >(val2
);
22007 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22013 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22017 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22018 if (!SWIG_IsOK(ecode5
)) {
22019 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
22021 arg5
= static_cast< long >(val5
);
22025 arg6
= wxString_in_helper(obj5
);
22026 if (arg6
== NULL
) SWIG_fail
;
22031 if (!wxPyCheckForApp()) SWIG_fail
;
22032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22033 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
22052 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22053 PyObject
*resultobj
= 0;
22054 wxTreebook
*result
= 0 ;
22056 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
22058 if (!wxPyCheckForApp()) SWIG_fail
;
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22060 result
= (wxTreebook
*)new wxTreebook();
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
22071 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22072 PyObject
*resultobj
= 0;
22073 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22074 wxWindow
*arg2
= (wxWindow
*) 0 ;
22076 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22077 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22078 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22079 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22080 long arg6
= (long) wxBK_DEFAULT
;
22081 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22082 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22094 bool temp7
= false ;
22095 PyObject
* obj0
= 0 ;
22096 PyObject
* obj1
= 0 ;
22097 PyObject
* obj2
= 0 ;
22098 PyObject
* obj3
= 0 ;
22099 PyObject
* obj4
= 0 ;
22100 PyObject
* obj5
= 0 ;
22101 PyObject
* obj6
= 0 ;
22102 char * kwnames
[] = {
22103 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22108 if (!SWIG_IsOK(res1
)) {
22109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22111 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22112 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22113 if (!SWIG_IsOK(res2
)) {
22114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22116 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22118 if (!SWIG_IsOK(ecode3
)) {
22119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22121 arg3
= static_cast< int >(val3
);
22125 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22131 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22135 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22136 if (!SWIG_IsOK(ecode6
)) {
22137 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22139 arg6
= static_cast< long >(val6
);
22143 arg7
= wxString_in_helper(obj6
);
22144 if (arg7
== NULL
) SWIG_fail
;
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22171 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22172 PyObject
*resultobj
= 0;
22173 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22175 wxWindow
*arg3
= (wxWindow
*) 0 ;
22176 wxString
*arg4
= 0 ;
22177 bool arg5
= (bool) false ;
22178 int arg6
= (int) wxNOT_FOUND
;
22186 bool temp4
= false ;
22191 PyObject
* obj0
= 0 ;
22192 PyObject
* obj1
= 0 ;
22193 PyObject
* obj2
= 0 ;
22194 PyObject
* obj3
= 0 ;
22195 PyObject
* obj4
= 0 ;
22196 PyObject
* obj5
= 0 ;
22197 char * kwnames
[] = {
22198 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22203 if (!SWIG_IsOK(res1
)) {
22204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22206 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22207 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22208 if (!SWIG_IsOK(ecode2
)) {
22209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22211 arg2
= static_cast< size_t >(val2
);
22212 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22213 if (!SWIG_IsOK(res3
)) {
22214 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22216 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22218 arg4
= wxString_in_helper(obj3
);
22219 if (arg4
== NULL
) SWIG_fail
;
22223 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22224 if (!SWIG_IsOK(ecode5
)) {
22225 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22227 arg5
= static_cast< bool >(val5
);
22230 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22231 if (!SWIG_IsOK(ecode6
)) {
22232 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22234 arg6
= static_cast< int >(val6
);
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22259 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22260 PyObject
*resultobj
= 0;
22261 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22262 wxWindow
*arg2
= (wxWindow
*) 0 ;
22263 wxString
*arg3
= 0 ;
22264 bool arg4
= (bool) false ;
22265 int arg5
= (int) wxNOT_FOUND
;
22271 bool temp3
= false ;
22276 PyObject
* obj0
= 0 ;
22277 PyObject
* obj1
= 0 ;
22278 PyObject
* obj2
= 0 ;
22279 PyObject
* obj3
= 0 ;
22280 PyObject
* obj4
= 0 ;
22281 char * kwnames
[] = {
22282 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22287 if (!SWIG_IsOK(res1
)) {
22288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22290 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22291 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22292 if (!SWIG_IsOK(res2
)) {
22293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22295 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22297 arg3
= wxString_in_helper(obj2
);
22298 if (arg3
== NULL
) SWIG_fail
;
22302 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22303 if (!SWIG_IsOK(ecode4
)) {
22304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22306 arg4
= static_cast< bool >(val4
);
22309 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22310 if (!SWIG_IsOK(ecode5
)) {
22311 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22313 arg5
= static_cast< int >(val5
);
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22317 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22338 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22339 PyObject
*resultobj
= 0;
22340 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22347 PyObject
* obj0
= 0 ;
22348 PyObject
* obj1
= 0 ;
22349 char * kwnames
[] = {
22350 (char *) "self",(char *) "pos", NULL
22353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22355 if (!SWIG_IsOK(res1
)) {
22356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22358 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22359 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22360 if (!SWIG_IsOK(ecode2
)) {
22361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22363 arg2
= static_cast< size_t >(val2
);
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22367 wxPyEndAllowThreads(__tstate
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22379 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22380 PyObject
*resultobj
= 0;
22381 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22383 bool arg3
= (bool) true ;
22391 PyObject
* obj0
= 0 ;
22392 PyObject
* obj1
= 0 ;
22393 PyObject
* obj2
= 0 ;
22394 char * kwnames
[] = {
22395 (char *) "self",(char *) "pos",(char *) "expand", NULL
22398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22400 if (!SWIG_IsOK(res1
)) {
22401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22403 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22404 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22405 if (!SWIG_IsOK(ecode2
)) {
22406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22408 arg2
= static_cast< size_t >(val2
);
22410 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22411 if (!SWIG_IsOK(ecode3
)) {
22412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22414 arg3
= static_cast< bool >(val3
);
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22431 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22432 PyObject
*resultobj
= 0;
22433 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22440 PyObject
* obj0
= 0 ;
22441 PyObject
* obj1
= 0 ;
22442 char * kwnames
[] = {
22443 (char *) "self",(char *) "pos", NULL
22446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22448 if (!SWIG_IsOK(res1
)) {
22449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22451 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22452 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22453 if (!SWIG_IsOK(ecode2
)) {
22454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22456 arg2
= static_cast< size_t >(val2
);
22458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22459 result
= (bool)(arg1
)->CollapseNode(arg2
);
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22472 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22473 PyObject
*resultobj
= 0;
22474 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22481 PyObject
* obj0
= 0 ;
22482 PyObject
* obj1
= 0 ;
22483 char * kwnames
[] = {
22484 (char *) "self",(char *) "pos", NULL
22487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22489 if (!SWIG_IsOK(res1
)) {
22490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22492 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22493 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22494 if (!SWIG_IsOK(ecode2
)) {
22495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22497 arg2
= static_cast< size_t >(val2
);
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22504 resultobj
= SWIG_From_int(static_cast< int >(result
));
22511 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22512 PyObject
*resultobj
= 0;
22513 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22514 wxPyTreeCtrl
*result
= 0 ;
22517 PyObject
*swig_obj
[1] ;
22519 if (!args
) SWIG_fail
;
22520 swig_obj
[0] = args
;
22521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22522 if (!SWIG_IsOK(res1
)) {
22523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22525 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22529 wxPyEndAllowThreads(__tstate
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22533 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22541 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22544 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22545 return SWIG_Py_Void();
22548 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22549 return SWIG_Python_InitShadowInstance(args
);
22552 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
= 0;
22554 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22555 int arg2
= (int) 0 ;
22556 int arg3
= (int) wxNOT_FOUND
;
22557 int arg4
= (int) wxNOT_FOUND
;
22558 wxTreebookEvent
*result
= 0 ;
22567 PyObject
* obj0
= 0 ;
22568 PyObject
* obj1
= 0 ;
22569 PyObject
* obj2
= 0 ;
22570 PyObject
* obj3
= 0 ;
22571 char * kwnames
[] = {
22572 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22577 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22578 if (!SWIG_IsOK(ecode1
)) {
22579 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22581 arg1
= static_cast< wxEventType
>(val1
);
22584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22585 if (!SWIG_IsOK(ecode2
)) {
22586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22588 arg2
= static_cast< int >(val2
);
22591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22592 if (!SWIG_IsOK(ecode3
)) {
22593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22595 arg3
= static_cast< int >(val3
);
22598 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22599 if (!SWIG_IsOK(ecode4
)) {
22600 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22602 arg4
= static_cast< int >(val4
);
22605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22606 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22607 wxPyEndAllowThreads(__tstate
);
22608 if (PyErr_Occurred()) SWIG_fail
;
22610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22617 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22620 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22621 return SWIG_Py_Void();
22624 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22625 return SWIG_Python_InitShadowInstance(args
);
22628 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
= 0;
22630 wxWindow
*arg1
= (wxWindow
*) 0 ;
22632 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22633 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22634 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22635 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22636 long arg5
= (long) wxBK_DEFAULT
;
22637 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22638 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22639 wxToolbook
*result
= 0 ;
22648 bool temp6
= false ;
22649 PyObject
* obj0
= 0 ;
22650 PyObject
* obj1
= 0 ;
22651 PyObject
* obj2
= 0 ;
22652 PyObject
* obj3
= 0 ;
22653 PyObject
* obj4
= 0 ;
22654 PyObject
* obj5
= 0 ;
22655 char * kwnames
[] = {
22656 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22661 if (!SWIG_IsOK(res1
)) {
22662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22664 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22666 if (!SWIG_IsOK(ecode2
)) {
22667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22669 arg2
= static_cast< int >(val2
);
22673 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22679 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22683 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22684 if (!SWIG_IsOK(ecode5
)) {
22685 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22687 arg5
= static_cast< long >(val5
);
22691 arg6
= wxString_in_helper(obj5
);
22692 if (arg6
== NULL
) SWIG_fail
;
22697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22698 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22699 wxPyEndAllowThreads(__tstate
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22717 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22718 PyObject
*resultobj
= 0;
22719 wxToolbook
*result
= 0 ;
22721 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22724 result
= (wxToolbook
*)new wxToolbook();
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22735 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22736 PyObject
*resultobj
= 0;
22737 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22738 wxWindow
*arg2
= (wxWindow
*) 0 ;
22740 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22741 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22742 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22743 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22744 long arg6
= (long) 0 ;
22745 wxString
const &arg7_defvalue
= wxEmptyString
;
22746 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22758 bool temp7
= false ;
22759 PyObject
* obj0
= 0 ;
22760 PyObject
* obj1
= 0 ;
22761 PyObject
* obj2
= 0 ;
22762 PyObject
* obj3
= 0 ;
22763 PyObject
* obj4
= 0 ;
22764 PyObject
* obj5
= 0 ;
22765 PyObject
* obj6
= 0 ;
22766 char * kwnames
[] = {
22767 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22772 if (!SWIG_IsOK(res1
)) {
22773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22775 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22776 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22777 if (!SWIG_IsOK(res2
)) {
22778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22780 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22782 if (!SWIG_IsOK(ecode3
)) {
22783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22785 arg3
= static_cast< int >(val3
);
22789 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22795 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22799 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22800 if (!SWIG_IsOK(ecode6
)) {
22801 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22803 arg6
= static_cast< long >(val6
);
22807 arg7
= wxString_in_helper(obj6
);
22808 if (arg7
== NULL
) SWIG_fail
;
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22835 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22836 PyObject
*resultobj
= 0;
22837 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22838 wxToolBarBase
*result
= 0 ;
22841 PyObject
*swig_obj
[1] ;
22843 if (!args
) SWIG_fail
;
22844 swig_obj
[0] = args
;
22845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22846 if (!SWIG_IsOK(res1
)) {
22847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22849 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22857 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22865 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22866 PyObject
*resultobj
= 0;
22867 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22870 PyObject
*swig_obj
[1] ;
22872 if (!args
) SWIG_fail
;
22873 swig_obj
[0] = args
;
22874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22875 if (!SWIG_IsOK(res1
)) {
22876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22878 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= SWIG_Py_Void();
22892 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22894 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22895 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22896 return SWIG_Py_Void();
22899 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22900 return SWIG_Python_InitShadowInstance(args
);
22903 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22904 PyObject
*resultobj
= 0;
22905 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22906 int arg2
= (int) 0 ;
22907 int arg3
= (int) wxNOT_FOUND
;
22908 int arg4
= (int) wxNOT_FOUND
;
22909 wxToolbookEvent
*result
= 0 ;
22918 PyObject
* obj0
= 0 ;
22919 PyObject
* obj1
= 0 ;
22920 PyObject
* obj2
= 0 ;
22921 PyObject
* obj3
= 0 ;
22922 char * kwnames
[] = {
22923 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22928 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22929 if (!SWIG_IsOK(ecode1
)) {
22930 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22932 arg1
= static_cast< wxEventType
>(val1
);
22935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22936 if (!SWIG_IsOK(ecode2
)) {
22937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22939 arg2
= static_cast< int >(val2
);
22942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22943 if (!SWIG_IsOK(ecode3
)) {
22944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22946 arg3
= static_cast< int >(val3
);
22949 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22950 if (!SWIG_IsOK(ecode4
)) {
22951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22953 arg4
= static_cast< int >(val4
);
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22957 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22968 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22971 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22972 return SWIG_Py_Void();
22975 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22976 return SWIG_Python_InitShadowInstance(args
);
22979 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22980 PyObject
*resultobj
= 0;
22981 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22985 PyObject
*swig_obj
[1] ;
22987 if (!args
) SWIG_fail
;
22988 swig_obj
[0] = args
;
22989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22990 if (!SWIG_IsOK(res1
)) {
22991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22993 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 result
= (int)(arg1
)->GetId();
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23000 resultobj
= SWIG_From_int(static_cast< int >(result
));
23007 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23008 PyObject
*resultobj
= 0;
23009 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23010 wxControl
*result
= 0 ;
23013 PyObject
*swig_obj
[1] ;
23015 if (!args
) SWIG_fail
;
23016 swig_obj
[0] = args
;
23017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23018 if (!SWIG_IsOK(res1
)) {
23019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23021 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 result
= (wxControl
*)(arg1
)->GetControl();
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23029 resultobj
= wxPyMake_wxObject(result
, 0);
23037 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23038 PyObject
*resultobj
= 0;
23039 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23040 wxToolBarBase
*result
= 0 ;
23043 PyObject
*swig_obj
[1] ;
23045 if (!args
) SWIG_fail
;
23046 swig_obj
[0] = args
;
23047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23048 if (!SWIG_IsOK(res1
)) {
23049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23051 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
23055 wxPyEndAllowThreads(__tstate
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23059 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23067 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23068 PyObject
*resultobj
= 0;
23069 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23073 PyObject
*swig_obj
[1] ;
23075 if (!args
) SWIG_fail
;
23076 swig_obj
[0] = args
;
23077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23078 if (!SWIG_IsOK(res1
)) {
23079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23081 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23084 result
= (int)(arg1
)->IsButton();
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= SWIG_From_int(static_cast< int >(result
));
23095 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23096 PyObject
*resultobj
= 0;
23097 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23101 PyObject
*swig_obj
[1] ;
23103 if (!args
) SWIG_fail
;
23104 swig_obj
[0] = args
;
23105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23106 if (!SWIG_IsOK(res1
)) {
23107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23109 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 result
= (int)(arg1
)->IsControl();
23113 wxPyEndAllowThreads(__tstate
);
23114 if (PyErr_Occurred()) SWIG_fail
;
23116 resultobj
= SWIG_From_int(static_cast< int >(result
));
23123 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23124 PyObject
*resultobj
= 0;
23125 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23129 PyObject
*swig_obj
[1] ;
23131 if (!args
) SWIG_fail
;
23132 swig_obj
[0] = args
;
23133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23134 if (!SWIG_IsOK(res1
)) {
23135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23137 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 result
= (int)(arg1
)->IsSeparator();
23141 wxPyEndAllowThreads(__tstate
);
23142 if (PyErr_Occurred()) SWIG_fail
;
23144 resultobj
= SWIG_From_int(static_cast< int >(result
));
23151 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23152 PyObject
*resultobj
= 0;
23153 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23157 PyObject
*swig_obj
[1] ;
23159 if (!args
) SWIG_fail
;
23160 swig_obj
[0] = args
;
23161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23162 if (!SWIG_IsOK(res1
)) {
23163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23165 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 result
= (int)(arg1
)->GetStyle();
23169 wxPyEndAllowThreads(__tstate
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23172 resultobj
= SWIG_From_int(static_cast< int >(result
));
23179 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23180 PyObject
*resultobj
= 0;
23181 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23185 PyObject
*swig_obj
[1] ;
23187 if (!args
) SWIG_fail
;
23188 swig_obj
[0] = args
;
23189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23190 if (!SWIG_IsOK(res1
)) {
23191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23193 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23196 result
= (wxItemKind
)(arg1
)->GetKind();
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23200 resultobj
= SWIG_From_int(static_cast< int >(result
));
23207 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23208 PyObject
*resultobj
= 0;
23209 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23213 PyObject
*swig_obj
[1] ;
23215 if (!args
) SWIG_fail
;
23216 swig_obj
[0] = args
;
23217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23218 if (!SWIG_IsOK(res1
)) {
23219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23221 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 result
= (bool)(arg1
)->IsEnabled();
23225 wxPyEndAllowThreads(__tstate
);
23226 if (PyErr_Occurred()) SWIG_fail
;
23229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23237 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23238 PyObject
*resultobj
= 0;
23239 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23243 PyObject
*swig_obj
[1] ;
23245 if (!args
) SWIG_fail
;
23246 swig_obj
[0] = args
;
23247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23248 if (!SWIG_IsOK(res1
)) {
23249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23251 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= (bool)(arg1
)->IsToggled();
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23267 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23268 PyObject
*resultobj
= 0;
23269 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23273 PyObject
*swig_obj
[1] ;
23275 if (!args
) SWIG_fail
;
23276 swig_obj
[0] = args
;
23277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23278 if (!SWIG_IsOK(res1
)) {
23279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23281 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 result
= (bool)(arg1
)->CanBeToggled();
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23297 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23298 PyObject
*resultobj
= 0;
23299 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23300 wxBitmap
*result
= 0 ;
23303 PyObject
*swig_obj
[1] ;
23305 if (!args
) SWIG_fail
;
23306 swig_obj
[0] = args
;
23307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23308 if (!SWIG_IsOK(res1
)) {
23309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23311 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23316 result
= (wxBitmap
*) &_result_ref
;
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23322 wxBitmap
* resultptr
= new wxBitmap(*result
);
23323 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23331 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23332 PyObject
*resultobj
= 0;
23333 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23334 wxBitmap
*result
= 0 ;
23337 PyObject
*swig_obj
[1] ;
23339 if (!args
) SWIG_fail
;
23340 swig_obj
[0] = args
;
23341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23342 if (!SWIG_IsOK(res1
)) {
23343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23345 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23350 result
= (wxBitmap
*) &_result_ref
;
23352 wxPyEndAllowThreads(__tstate
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23356 wxBitmap
* resultptr
= new wxBitmap(*result
);
23357 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23365 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23366 PyObject
*resultobj
= 0;
23367 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23371 PyObject
*swig_obj
[1] ;
23373 if (!args
) SWIG_fail
;
23374 swig_obj
[0] = args
;
23375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23376 if (!SWIG_IsOK(res1
)) {
23377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23379 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 result
= (arg1
)->GetBitmap();
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23393 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23394 PyObject
*resultobj
= 0;
23395 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23399 PyObject
*swig_obj
[1] ;
23401 if (!args
) SWIG_fail
;
23402 swig_obj
[0] = args
;
23403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23404 if (!SWIG_IsOK(res1
)) {
23405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23407 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23410 result
= (arg1
)->GetLabel();
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23427 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23428 PyObject
*resultobj
= 0;
23429 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23433 PyObject
*swig_obj
[1] ;
23435 if (!args
) SWIG_fail
;
23436 swig_obj
[0] = args
;
23437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23438 if (!SWIG_IsOK(res1
)) {
23439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23441 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 result
= (arg1
)->GetShortHelp();
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23461 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23462 PyObject
*resultobj
= 0;
23463 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_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23475 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 result
= (arg1
)->GetLongHelp();
23479 wxPyEndAllowThreads(__tstate
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23495 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23496 PyObject
*resultobj
= 0;
23497 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23504 PyObject
* obj0
= 0 ;
23505 PyObject
* obj1
= 0 ;
23506 char * kwnames
[] = {
23507 (char *) "self",(char *) "enable", NULL
23510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23512 if (!SWIG_IsOK(res1
)) {
23513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23515 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23516 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23517 if (!SWIG_IsOK(ecode2
)) {
23518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23520 arg2
= static_cast< bool >(val2
);
23522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23523 result
= (bool)(arg1
)->Enable(arg2
);
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23536 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23537 PyObject
*resultobj
= 0;
23538 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23541 PyObject
*swig_obj
[1] ;
23543 if (!args
) SWIG_fail
;
23544 swig_obj
[0] = args
;
23545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23546 if (!SWIG_IsOK(res1
)) {
23547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23549 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23556 resultobj
= SWIG_Py_Void();
23563 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
= 0;
23565 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23572 PyObject
* obj0
= 0 ;
23573 PyObject
* obj1
= 0 ;
23574 char * kwnames
[] = {
23575 (char *) "self",(char *) "toggle", NULL
23578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23580 if (!SWIG_IsOK(res1
)) {
23581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23583 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23584 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23585 if (!SWIG_IsOK(ecode2
)) {
23586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23588 arg2
= static_cast< bool >(val2
);
23590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23591 result
= (bool)(arg1
)->SetToggle(arg2
);
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23604 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23605 PyObject
*resultobj
= 0;
23606 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23607 wxString
*arg2
= 0 ;
23611 bool temp2
= false ;
23612 PyObject
* obj0
= 0 ;
23613 PyObject
* obj1
= 0 ;
23614 char * kwnames
[] = {
23615 (char *) "self",(char *) "help", NULL
23618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23620 if (!SWIG_IsOK(res1
)) {
23621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23623 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23625 arg2
= wxString_in_helper(obj1
);
23626 if (arg2
== NULL
) SWIG_fail
;
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23631 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23652 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
= 0;
23654 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23655 wxString
*arg2
= 0 ;
23659 bool temp2
= false ;
23660 PyObject
* obj0
= 0 ;
23661 PyObject
* obj1
= 0 ;
23662 char * kwnames
[] = {
23663 (char *) "self",(char *) "help", NULL
23666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23668 if (!SWIG_IsOK(res1
)) {
23669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23671 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23673 arg2
= wxString_in_helper(obj1
);
23674 if (arg2
== NULL
) SWIG_fail
;
23678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23679 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23680 wxPyEndAllowThreads(__tstate
);
23681 if (PyErr_Occurred()) SWIG_fail
;
23684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23700 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23701 PyObject
*resultobj
= 0;
23702 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23703 wxBitmap
*arg2
= 0 ;
23708 PyObject
* obj0
= 0 ;
23709 PyObject
* obj1
= 0 ;
23710 char * kwnames
[] = {
23711 (char *) "self",(char *) "bmp", NULL
23714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23716 if (!SWIG_IsOK(res1
)) {
23717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23719 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23720 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23721 if (!SWIG_IsOK(res2
)) {
23722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23727 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23734 resultobj
= SWIG_Py_Void();
23741 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23742 PyObject
*resultobj
= 0;
23743 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23744 wxBitmap
*arg2
= 0 ;
23749 PyObject
* obj0
= 0 ;
23750 PyObject
* obj1
= 0 ;
23751 char * kwnames
[] = {
23752 (char *) "self",(char *) "bmp", NULL
23755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23757 if (!SWIG_IsOK(res1
)) {
23758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23760 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23761 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23762 if (!SWIG_IsOK(res2
)) {
23763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23768 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23775 resultobj
= SWIG_Py_Void();
23782 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23783 PyObject
*resultobj
= 0;
23784 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23785 wxString
*arg2
= 0 ;
23788 bool temp2
= false ;
23789 PyObject
* obj0
= 0 ;
23790 PyObject
* obj1
= 0 ;
23791 char * kwnames
[] = {
23792 (char *) "self",(char *) "label", NULL
23795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23797 if (!SWIG_IsOK(res1
)) {
23798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23800 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23802 arg2
= wxString_in_helper(obj1
);
23803 if (arg2
== NULL
) SWIG_fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 (arg1
)->SetLabel((wxString
const &)*arg2
);
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 resultobj
= SWIG_Py_Void();
23827 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23828 PyObject
*resultobj
= 0;
23829 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23832 PyObject
*swig_obj
[1] ;
23834 if (!args
) SWIG_fail
;
23835 swig_obj
[0] = args
;
23836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23837 if (!SWIG_IsOK(res1
)) {
23838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23840 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23847 resultobj
= SWIG_Py_Void();
23854 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23855 PyObject
*resultobj
= 0;
23856 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23857 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23862 PyObject
* obj0
= 0 ;
23863 PyObject
* obj1
= 0 ;
23864 char * kwnames
[] = {
23865 (char *) "self",(char *) "tbar", NULL
23868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23870 if (!SWIG_IsOK(res1
)) {
23871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23873 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23874 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23875 if (!SWIG_IsOK(res2
)) {
23876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23878 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 (arg1
)->Attach(arg2
);
23882 wxPyEndAllowThreads(__tstate
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23885 resultobj
= SWIG_Py_Void();
23892 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23893 PyObject
*resultobj
= 0;
23894 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23895 PyObject
*result
= 0 ;
23898 PyObject
*swig_obj
[1] ;
23900 if (!args
) SWIG_fail
;
23901 swig_obj
[0] = args
;
23902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23903 if (!SWIG_IsOK(res1
)) {
23904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23906 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23913 resultobj
= result
;
23920 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
= 0;
23922 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23923 PyObject
*arg2
= (PyObject
*) 0 ;
23926 PyObject
* obj0
= 0 ;
23927 PyObject
* obj1
= 0 ;
23928 char * kwnames
[] = {
23929 (char *) "self",(char *) "clientData", NULL
23932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23934 if (!SWIG_IsOK(res1
)) {
23935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23937 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23941 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= SWIG_Py_Void();
23952 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23955 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23956 return SWIG_Py_Void();
23959 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23960 PyObject
*resultobj
= 0;
23961 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23963 wxString
*arg3
= 0 ;
23964 wxBitmap
*arg4
= 0 ;
23965 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23966 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23967 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23968 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23969 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23970 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23971 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23972 PyObject
*arg9
= (PyObject
*) NULL
;
23973 wxToolBarToolBase
*result
= 0 ;
23978 bool temp3
= false ;
23985 bool temp7
= false ;
23986 bool temp8
= false ;
23987 PyObject
* obj0
= 0 ;
23988 PyObject
* obj1
= 0 ;
23989 PyObject
* obj2
= 0 ;
23990 PyObject
* obj3
= 0 ;
23991 PyObject
* obj4
= 0 ;
23992 PyObject
* obj5
= 0 ;
23993 PyObject
* obj6
= 0 ;
23994 PyObject
* obj7
= 0 ;
23995 PyObject
* obj8
= 0 ;
23996 char * kwnames
[] = {
23997 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
24001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24002 if (!SWIG_IsOK(res1
)) {
24003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24005 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24007 if (!SWIG_IsOK(ecode2
)) {
24008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
24010 arg2
= static_cast< int >(val2
);
24012 arg3
= wxString_in_helper(obj2
);
24013 if (arg3
== NULL
) SWIG_fail
;
24016 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24017 if (!SWIG_IsOK(res4
)) {
24018 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24023 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24025 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24026 if (!SWIG_IsOK(res5
)) {
24027 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24032 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24035 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24036 if (!SWIG_IsOK(ecode6
)) {
24037 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
24039 arg6
= static_cast< wxItemKind
>(val6
);
24043 arg7
= wxString_in_helper(obj6
);
24044 if (arg7
== NULL
) SWIG_fail
;
24050 arg8
= wxString_in_helper(obj7
);
24051 if (arg8
== NULL
) SWIG_fail
;
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24060 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24065 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24097 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
= 0;
24099 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24102 wxString
*arg4
= 0 ;
24103 wxBitmap
*arg5
= 0 ;
24104 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
24105 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
24106 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
24107 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24108 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24109 wxString
const &arg9_defvalue
= wxPyEmptyString
;
24110 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
24111 PyObject
*arg10
= (PyObject
*) NULL
;
24112 wxToolBarToolBase
*result
= 0 ;
24119 bool temp4
= false ;
24126 bool temp8
= false ;
24127 bool temp9
= false ;
24128 PyObject
* obj0
= 0 ;
24129 PyObject
* obj1
= 0 ;
24130 PyObject
* obj2
= 0 ;
24131 PyObject
* obj3
= 0 ;
24132 PyObject
* obj4
= 0 ;
24133 PyObject
* obj5
= 0 ;
24134 PyObject
* obj6
= 0 ;
24135 PyObject
* obj7
= 0 ;
24136 PyObject
* obj8
= 0 ;
24137 PyObject
* obj9
= 0 ;
24138 char * kwnames
[] = {
24139 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24144 if (!SWIG_IsOK(res1
)) {
24145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24147 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24148 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24149 if (!SWIG_IsOK(ecode2
)) {
24150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24152 arg2
= static_cast< size_t >(val2
);
24153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24154 if (!SWIG_IsOK(ecode3
)) {
24155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24157 arg3
= static_cast< int >(val3
);
24159 arg4
= wxString_in_helper(obj3
);
24160 if (arg4
== NULL
) SWIG_fail
;
24163 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24164 if (!SWIG_IsOK(res5
)) {
24165 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24170 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24172 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24173 if (!SWIG_IsOK(res6
)) {
24174 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24179 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24182 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24183 if (!SWIG_IsOK(ecode7
)) {
24184 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24186 arg7
= static_cast< wxItemKind
>(val7
);
24190 arg8
= wxString_in_helper(obj7
);
24191 if (arg8
== NULL
) SWIG_fail
;
24197 arg9
= wxString_in_helper(obj8
);
24198 if (arg9
== NULL
) SWIG_fail
;
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24212 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24244 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
= 0;
24246 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24247 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24248 wxToolBarToolBase
*result
= 0 ;
24253 PyObject
* obj0
= 0 ;
24254 PyObject
* obj1
= 0 ;
24255 char * kwnames
[] = {
24256 (char *) "self",(char *) "tool", NULL
24259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24261 if (!SWIG_IsOK(res1
)) {
24262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24264 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24265 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24266 if (!SWIG_IsOK(res2
)) {
24267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24269 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24272 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24277 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24285 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
= 0;
24287 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24289 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24290 wxToolBarToolBase
*result
= 0 ;
24297 PyObject
* obj0
= 0 ;
24298 PyObject
* obj1
= 0 ;
24299 PyObject
* obj2
= 0 ;
24300 char * kwnames
[] = {
24301 (char *) "self",(char *) "pos",(char *) "tool", NULL
24304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24306 if (!SWIG_IsOK(res1
)) {
24307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24309 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24310 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24311 if (!SWIG_IsOK(ecode2
)) {
24312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24314 arg2
= static_cast< size_t >(val2
);
24315 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24316 if (!SWIG_IsOK(res3
)) {
24317 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24319 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24323 wxPyEndAllowThreads(__tstate
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24327 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24335 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
= 0;
24337 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24338 wxControl
*arg2
= (wxControl
*) 0 ;
24339 wxString
const &arg3_defvalue
= wxEmptyString
;
24340 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24341 wxToolBarToolBase
*result
= 0 ;
24346 bool temp3
= false ;
24347 PyObject
* obj0
= 0 ;
24348 PyObject
* obj1
= 0 ;
24349 PyObject
* obj2
= 0 ;
24350 char * kwnames
[] = {
24351 (char *) "self",(char *) "control",(char *) "label", NULL
24354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24356 if (!SWIG_IsOK(res1
)) {
24357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24359 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24361 if (!SWIG_IsOK(res2
)) {
24362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24364 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24367 arg3
= wxString_in_helper(obj2
);
24368 if (arg3
== NULL
) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
,(wxString
const &)*arg3
);
24375 wxPyEndAllowThreads(__tstate
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24379 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24395 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24396 PyObject
*resultobj
= 0;
24397 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24399 wxControl
*arg3
= (wxControl
*) 0 ;
24400 wxString
const &arg4_defvalue
= wxEmptyString
;
24401 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24402 wxToolBarToolBase
*result
= 0 ;
24409 bool temp4
= false ;
24410 PyObject
* obj0
= 0 ;
24411 PyObject
* obj1
= 0 ;
24412 PyObject
* obj2
= 0 ;
24413 PyObject
* obj3
= 0 ;
24414 char * kwnames
[] = {
24415 (char *) "self",(char *) "pos",(char *) "control",(char *) "label", NULL
24418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24420 if (!SWIG_IsOK(res1
)) {
24421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24423 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24424 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24425 if (!SWIG_IsOK(ecode2
)) {
24426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24428 arg2
= static_cast< size_t >(val2
);
24429 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24430 if (!SWIG_IsOK(res3
)) {
24431 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24433 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24436 arg4
= wxString_in_helper(obj3
);
24437 if (arg4
== NULL
) SWIG_fail
;
24442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24443 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
,(wxString
const &)*arg4
);
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24448 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24464 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24465 PyObject
*resultobj
= 0;
24466 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24468 wxControl
*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_FindControl",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_FindControl" "', 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_FindControl" "', expected argument " "2"" of type '" "int""'");
24489 arg2
= static_cast< int >(val2
);
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24492 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24493 wxPyEndAllowThreads(__tstate
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24497 resultobj
= wxPyMake_wxObject(result
, 0);
24505 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24506 PyObject
*resultobj
= 0;
24507 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24508 wxToolBarToolBase
*result
= 0 ;
24511 PyObject
*swig_obj
[1] ;
24513 if (!args
) SWIG_fail
;
24514 swig_obj
[0] = args
;
24515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24516 if (!SWIG_IsOK(res1
)) {
24517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24519 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24523 wxPyEndAllowThreads(__tstate
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24527 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24535 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24536 PyObject
*resultobj
= 0;
24537 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24539 wxToolBarToolBase
*result
= 0 ;
24544 PyObject
* obj0
= 0 ;
24545 PyObject
* obj1
= 0 ;
24546 char * kwnames
[] = {
24547 (char *) "self",(char *) "pos", NULL
24550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24552 if (!SWIG_IsOK(res1
)) {
24553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24555 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24556 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24557 if (!SWIG_IsOK(ecode2
)) {
24558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24560 arg2
= static_cast< size_t >(val2
);
24562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24568 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24576 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
= 0;
24578 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24580 wxToolBarToolBase
*result
= 0 ;
24585 PyObject
* obj0
= 0 ;
24586 PyObject
* obj1
= 0 ;
24587 char * kwnames
[] = {
24588 (char *) "self",(char *) "id", NULL
24591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24593 if (!SWIG_IsOK(res1
)) {
24594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24596 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24598 if (!SWIG_IsOK(ecode2
)) {
24599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24601 arg2
= static_cast< int >(val2
);
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24609 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24617 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24618 PyObject
*resultobj
= 0;
24619 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24626 PyObject
* obj0
= 0 ;
24627 PyObject
* obj1
= 0 ;
24628 char * kwnames
[] = {
24629 (char *) "self",(char *) "pos", NULL
24632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24634 if (!SWIG_IsOK(res1
)) {
24635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24637 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24638 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24639 if (!SWIG_IsOK(ecode2
)) {
24640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24642 arg2
= static_cast< size_t >(val2
);
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24658 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24659 PyObject
*resultobj
= 0;
24660 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24667 PyObject
* obj0
= 0 ;
24668 PyObject
* obj1
= 0 ;
24669 char * kwnames
[] = {
24670 (char *) "self",(char *) "id", NULL
24673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24675 if (!SWIG_IsOK(res1
)) {
24676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24678 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24680 if (!SWIG_IsOK(ecode2
)) {
24681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24683 arg2
= static_cast< int >(val2
);
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 result
= (bool)(arg1
)->DeleteTool(arg2
);
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24699 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24700 PyObject
*resultobj
= 0;
24701 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24704 PyObject
*swig_obj
[1] ;
24706 if (!args
) SWIG_fail
;
24707 swig_obj
[0] = args
;
24708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24709 if (!SWIG_IsOK(res1
)) {
24710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24712 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 (arg1
)->ClearTools();
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24719 resultobj
= SWIG_Py_Void();
24726 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24727 PyObject
*resultobj
= 0;
24728 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24732 PyObject
*swig_obj
[1] ;
24734 if (!args
) SWIG_fail
;
24735 swig_obj
[0] = args
;
24736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24737 if (!SWIG_IsOK(res1
)) {
24738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24740 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24743 result
= (bool)(arg1
)->Realize();
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24756 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
= 0;
24758 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24767 PyObject
* obj0
= 0 ;
24768 PyObject
* obj1
= 0 ;
24769 PyObject
* obj2
= 0 ;
24770 char * kwnames
[] = {
24771 (char *) "self",(char *) "id",(char *) "enable", NULL
24774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24776 if (!SWIG_IsOK(res1
)) {
24777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24779 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24781 if (!SWIG_IsOK(ecode2
)) {
24782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24784 arg2
= static_cast< int >(val2
);
24785 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24786 if (!SWIG_IsOK(ecode3
)) {
24787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24789 arg3
= static_cast< bool >(val3
);
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 (arg1
)->EnableTool(arg2
,arg3
);
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24796 resultobj
= SWIG_Py_Void();
24803 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
= 0;
24805 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24814 PyObject
* obj0
= 0 ;
24815 PyObject
* obj1
= 0 ;
24816 PyObject
* obj2
= 0 ;
24817 char * kwnames
[] = {
24818 (char *) "self",(char *) "id",(char *) "toggle", NULL
24821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24823 if (!SWIG_IsOK(res1
)) {
24824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24826 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24828 if (!SWIG_IsOK(ecode2
)) {
24829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24831 arg2
= static_cast< int >(val2
);
24832 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24833 if (!SWIG_IsOK(ecode3
)) {
24834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24836 arg3
= static_cast< bool >(val3
);
24838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24839 (arg1
)->ToggleTool(arg2
,arg3
);
24840 wxPyEndAllowThreads(__tstate
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24843 resultobj
= SWIG_Py_Void();
24850 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
= 0;
24852 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24861 PyObject
* obj0
= 0 ;
24862 PyObject
* obj1
= 0 ;
24863 PyObject
* obj2
= 0 ;
24864 char * kwnames
[] = {
24865 (char *) "self",(char *) "id",(char *) "toggle", NULL
24868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24870 if (!SWIG_IsOK(res1
)) {
24871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24873 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24875 if (!SWIG_IsOK(ecode2
)) {
24876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24878 arg2
= static_cast< int >(val2
);
24879 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24880 if (!SWIG_IsOK(ecode3
)) {
24881 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24883 arg3
= static_cast< bool >(val3
);
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 (arg1
)->SetToggle(arg2
,arg3
);
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24890 resultobj
= SWIG_Py_Void();
24897 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
= 0;
24899 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24901 PyObject
*result
= 0 ;
24906 PyObject
* obj0
= 0 ;
24907 PyObject
* obj1
= 0 ;
24908 char * kwnames
[] = {
24909 (char *) "self",(char *) "id", NULL
24912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24914 if (!SWIG_IsOK(res1
)) {
24915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24917 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24919 if (!SWIG_IsOK(ecode2
)) {
24920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24922 arg2
= static_cast< int >(val2
);
24924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24925 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24926 wxPyEndAllowThreads(__tstate
);
24927 if (PyErr_Occurred()) SWIG_fail
;
24929 resultobj
= result
;
24936 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24937 PyObject
*resultobj
= 0;
24938 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24940 PyObject
*arg3
= (PyObject
*) 0 ;
24945 PyObject
* obj0
= 0 ;
24946 PyObject
* obj1
= 0 ;
24947 PyObject
* obj2
= 0 ;
24948 char * kwnames
[] = {
24949 (char *) "self",(char *) "id",(char *) "clientData", NULL
24952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24954 if (!SWIG_IsOK(res1
)) {
24955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24957 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24959 if (!SWIG_IsOK(ecode2
)) {
24960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24962 arg2
= static_cast< int >(val2
);
24965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24970 resultobj
= SWIG_Py_Void();
24977 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
= 0;
24979 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24986 PyObject
* obj0
= 0 ;
24987 PyObject
* obj1
= 0 ;
24988 char * kwnames
[] = {
24989 (char *) "self",(char *) "id", NULL
24992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24994 if (!SWIG_IsOK(res1
)) {
24995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24997 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24999 if (!SWIG_IsOK(ecode2
)) {
25000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
25002 arg2
= static_cast< int >(val2
);
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25009 resultobj
= SWIG_From_int(static_cast< int >(result
));
25016 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25017 PyObject
*resultobj
= 0;
25018 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25025 PyObject
* obj0
= 0 ;
25026 PyObject
* obj1
= 0 ;
25027 char * kwnames
[] = {
25028 (char *) "self",(char *) "id", NULL
25031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25033 if (!SWIG_IsOK(res1
)) {
25034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25036 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25038 if (!SWIG_IsOK(ecode2
)) {
25039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
25041 arg2
= static_cast< int >(val2
);
25043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25044 result
= (bool)(arg1
)->GetToolState(arg2
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25057 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
= 0;
25059 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25066 PyObject
* obj0
= 0 ;
25067 PyObject
* obj1
= 0 ;
25068 char * kwnames
[] = {
25069 (char *) "self",(char *) "id", NULL
25072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25074 if (!SWIG_IsOK(res1
)) {
25075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25077 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25079 if (!SWIG_IsOK(ecode2
)) {
25080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
25082 arg2
= static_cast< int >(val2
);
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25098 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25099 PyObject
*resultobj
= 0;
25100 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25102 wxString
*arg3
= 0 ;
25107 bool temp3
= false ;
25108 PyObject
* obj0
= 0 ;
25109 PyObject
* obj1
= 0 ;
25110 PyObject
* obj2
= 0 ;
25111 char * kwnames
[] = {
25112 (char *) "self",(char *) "id",(char *) "helpString", NULL
25115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25117 if (!SWIG_IsOK(res1
)) {
25118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25120 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25122 if (!SWIG_IsOK(ecode2
)) {
25123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25125 arg2
= static_cast< int >(val2
);
25127 arg3
= wxString_in_helper(obj2
);
25128 if (arg3
== NULL
) SWIG_fail
;
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
25134 wxPyEndAllowThreads(__tstate
);
25135 if (PyErr_Occurred()) SWIG_fail
;
25137 resultobj
= SWIG_Py_Void();
25152 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25153 PyObject
*resultobj
= 0;
25154 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25161 PyObject
* obj0
= 0 ;
25162 PyObject
* obj1
= 0 ;
25163 char * kwnames
[] = {
25164 (char *) "self",(char *) "id", NULL
25167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25169 if (!SWIG_IsOK(res1
)) {
25170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25172 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25174 if (!SWIG_IsOK(ecode2
)) {
25175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25177 arg2
= static_cast< int >(val2
);
25179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25180 result
= (arg1
)->GetToolShortHelp(arg2
);
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25197 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25198 PyObject
*resultobj
= 0;
25199 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25201 wxString
*arg3
= 0 ;
25206 bool temp3
= false ;
25207 PyObject
* obj0
= 0 ;
25208 PyObject
* obj1
= 0 ;
25209 PyObject
* obj2
= 0 ;
25210 char * kwnames
[] = {
25211 (char *) "self",(char *) "id",(char *) "helpString", NULL
25214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25216 if (!SWIG_IsOK(res1
)) {
25217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25219 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25221 if (!SWIG_IsOK(ecode2
)) {
25222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25224 arg2
= static_cast< int >(val2
);
25226 arg3
= wxString_in_helper(obj2
);
25227 if (arg3
== NULL
) SWIG_fail
;
25231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25232 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25233 wxPyEndAllowThreads(__tstate
);
25234 if (PyErr_Occurred()) SWIG_fail
;
25236 resultobj
= SWIG_Py_Void();
25251 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25252 PyObject
*resultobj
= 0;
25253 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25260 PyObject
* obj0
= 0 ;
25261 PyObject
* obj1
= 0 ;
25262 char * kwnames
[] = {
25263 (char *) "self",(char *) "id", NULL
25266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25268 if (!SWIG_IsOK(res1
)) {
25269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25271 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25273 if (!SWIG_IsOK(ecode2
)) {
25274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25276 arg2
= static_cast< int >(val2
);
25278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25279 result
= (arg1
)->GetToolLongHelp(arg2
);
25280 wxPyEndAllowThreads(__tstate
);
25281 if (PyErr_Occurred()) SWIG_fail
;
25285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25296 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25297 PyObject
*resultobj
= 0;
25298 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25307 PyObject
* obj0
= 0 ;
25308 PyObject
* obj1
= 0 ;
25309 PyObject
* obj2
= 0 ;
25310 char * kwnames
[] = {
25311 (char *) "self",(char *) "x",(char *) "y", NULL
25314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25316 if (!SWIG_IsOK(res1
)) {
25317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25319 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25321 if (!SWIG_IsOK(ecode2
)) {
25322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25324 arg2
= static_cast< int >(val2
);
25325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25326 if (!SWIG_IsOK(ecode3
)) {
25327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25329 arg3
= static_cast< int >(val3
);
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 (arg1
)->SetMargins(arg2
,arg3
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 resultobj
= SWIG_Py_Void();
25343 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25344 PyObject
*resultobj
= 0;
25345 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25350 PyObject
* obj0
= 0 ;
25351 PyObject
* obj1
= 0 ;
25352 char * kwnames
[] = {
25353 (char *) "self",(char *) "size", NULL
25356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25358 if (!SWIG_IsOK(res1
)) {
25359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25361 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25364 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25372 resultobj
= SWIG_Py_Void();
25379 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
= 0;
25381 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25387 PyObject
* obj0
= 0 ;
25388 PyObject
* obj1
= 0 ;
25389 char * kwnames
[] = {
25390 (char *) "self",(char *) "packing", NULL
25393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25395 if (!SWIG_IsOK(res1
)) {
25396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25398 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25400 if (!SWIG_IsOK(ecode2
)) {
25401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25403 arg2
= static_cast< int >(val2
);
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 (arg1
)->SetToolPacking(arg2
);
25407 wxPyEndAllowThreads(__tstate
);
25408 if (PyErr_Occurred()) SWIG_fail
;
25410 resultobj
= SWIG_Py_Void();
25417 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
= 0;
25419 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25425 PyObject
* obj0
= 0 ;
25426 PyObject
* obj1
= 0 ;
25427 char * kwnames
[] = {
25428 (char *) "self",(char *) "separation", NULL
25431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25433 if (!SWIG_IsOK(res1
)) {
25434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25436 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25438 if (!SWIG_IsOK(ecode2
)) {
25439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25441 arg2
= static_cast< int >(val2
);
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 (arg1
)->SetToolSeparation(arg2
);
25445 wxPyEndAllowThreads(__tstate
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25448 resultobj
= SWIG_Py_Void();
25455 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25456 PyObject
*resultobj
= 0;
25457 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25461 PyObject
*swig_obj
[1] ;
25463 if (!args
) SWIG_fail
;
25464 swig_obj
[0] = args
;
25465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25466 if (!SWIG_IsOK(res1
)) {
25467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25469 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25472 result
= (arg1
)->GetToolMargins();
25473 wxPyEndAllowThreads(__tstate
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25476 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25483 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25484 PyObject
*resultobj
= 0;
25485 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25489 PyObject
*swig_obj
[1] ;
25491 if (!args
) SWIG_fail
;
25492 swig_obj
[0] = args
;
25493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25494 if (!SWIG_IsOK(res1
)) {
25495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25497 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 result
= (arg1
)->GetMargins();
25501 wxPyEndAllowThreads(__tstate
);
25502 if (PyErr_Occurred()) SWIG_fail
;
25504 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25511 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25512 PyObject
*resultobj
= 0;
25513 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25517 PyObject
*swig_obj
[1] ;
25519 if (!args
) SWIG_fail
;
25520 swig_obj
[0] = args
;
25521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25522 if (!SWIG_IsOK(res1
)) {
25523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25525 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 result
= (int)(arg1
)->GetToolPacking();
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25532 resultobj
= SWIG_From_int(static_cast< int >(result
));
25539 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25540 PyObject
*resultobj
= 0;
25541 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25545 PyObject
*swig_obj
[1] ;
25547 if (!args
) SWIG_fail
;
25548 swig_obj
[0] = args
;
25549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25550 if (!SWIG_IsOK(res1
)) {
25551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25553 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25556 result
= (int)(arg1
)->GetToolSeparation();
25557 wxPyEndAllowThreads(__tstate
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25560 resultobj
= SWIG_From_int(static_cast< int >(result
));
25567 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25568 PyObject
*resultobj
= 0;
25569 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25575 PyObject
* obj0
= 0 ;
25576 PyObject
* obj1
= 0 ;
25577 char * kwnames
[] = {
25578 (char *) "self",(char *) "nRows", NULL
25581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25583 if (!SWIG_IsOK(res1
)) {
25584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25586 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25588 if (!SWIG_IsOK(ecode2
)) {
25589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25591 arg2
= static_cast< int >(val2
);
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 (arg1
)->SetRows(arg2
);
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25598 resultobj
= SWIG_Py_Void();
25605 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25606 PyObject
*resultobj
= 0;
25607 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25616 PyObject
* obj0
= 0 ;
25617 PyObject
* obj1
= 0 ;
25618 PyObject
* obj2
= 0 ;
25619 char * kwnames
[] = {
25620 (char *) "self",(char *) "rows",(char *) "cols", NULL
25623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25625 if (!SWIG_IsOK(res1
)) {
25626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25628 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25630 if (!SWIG_IsOK(ecode2
)) {
25631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25633 arg2
= static_cast< int >(val2
);
25634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25635 if (!SWIG_IsOK(ecode3
)) {
25636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25638 arg3
= static_cast< int >(val3
);
25640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25642 wxPyEndAllowThreads(__tstate
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25645 resultobj
= SWIG_Py_Void();
25652 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25653 PyObject
*resultobj
= 0;
25654 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25658 PyObject
*swig_obj
[1] ;
25660 if (!args
) SWIG_fail
;
25661 swig_obj
[0] = args
;
25662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25663 if (!SWIG_IsOK(res1
)) {
25664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25666 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25669 result
= (int)(arg1
)->GetMaxRows();
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25673 resultobj
= SWIG_From_int(static_cast< int >(result
));
25680 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25681 PyObject
*resultobj
= 0;
25682 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25686 PyObject
*swig_obj
[1] ;
25688 if (!args
) SWIG_fail
;
25689 swig_obj
[0] = args
;
25690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25691 if (!SWIG_IsOK(res1
)) {
25692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25694 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 result
= (int)(arg1
)->GetMaxCols();
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25701 resultobj
= SWIG_From_int(static_cast< int >(result
));
25708 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25709 PyObject
*resultobj
= 0;
25710 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25715 PyObject
* obj0
= 0 ;
25716 PyObject
* obj1
= 0 ;
25717 char * kwnames
[] = {
25718 (char *) "self",(char *) "size", NULL
25721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25723 if (!SWIG_IsOK(res1
)) {
25724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25726 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25729 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25733 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25737 resultobj
= SWIG_Py_Void();
25744 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25745 PyObject
*resultobj
= 0;
25746 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25750 PyObject
*swig_obj
[1] ;
25752 if (!args
) SWIG_fail
;
25753 swig_obj
[0] = args
;
25754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25755 if (!SWIG_IsOK(res1
)) {
25756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25758 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25761 result
= (arg1
)->GetToolBitmapSize();
25762 wxPyEndAllowThreads(__tstate
);
25763 if (PyErr_Occurred()) SWIG_fail
;
25765 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25772 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25773 PyObject
*resultobj
= 0;
25774 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25778 PyObject
*swig_obj
[1] ;
25780 if (!args
) SWIG_fail
;
25781 swig_obj
[0] = args
;
25782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25783 if (!SWIG_IsOK(res1
)) {
25784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25786 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25789 result
= (arg1
)->GetToolSize();
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25793 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25800 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25801 PyObject
*resultobj
= 0;
25802 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25805 wxToolBarToolBase
*result
= 0 ;
25812 PyObject
* obj0
= 0 ;
25813 PyObject
* obj1
= 0 ;
25814 PyObject
* obj2
= 0 ;
25815 char * kwnames
[] = {
25816 (char *) "self",(char *) "x",(char *) "y", NULL
25819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25821 if (!SWIG_IsOK(res1
)) {
25822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25824 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25826 if (!SWIG_IsOK(ecode2
)) {
25827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25829 arg2
= static_cast< int >(val2
);
25830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25831 if (!SWIG_IsOK(ecode3
)) {
25832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25834 arg3
= static_cast< int >(val3
);
25836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25837 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25838 wxPyEndAllowThreads(__tstate
);
25839 if (PyErr_Occurred()) SWIG_fail
;
25842 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25850 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
= 0;
25852 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25854 wxToolBarToolBase
*result
= 0 ;
25859 PyObject
* obj0
= 0 ;
25860 PyObject
* obj1
= 0 ;
25861 char * kwnames
[] = {
25862 (char *) "self",(char *) "toolid", NULL
25865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25867 if (!SWIG_IsOK(res1
)) {
25868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25870 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25872 if (!SWIG_IsOK(ecode2
)) {
25873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25875 arg2
= static_cast< int >(val2
);
25877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25878 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25879 wxPyEndAllowThreads(__tstate
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25883 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25891 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25892 PyObject
*resultobj
= 0;
25893 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25897 PyObject
*swig_obj
[1] ;
25899 if (!args
) SWIG_fail
;
25900 swig_obj
[0] = args
;
25901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25902 if (!SWIG_IsOK(res1
)) {
25903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25905 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 result
= (bool)(arg1
)->IsVertical();
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25921 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25922 PyObject
*resultobj
= 0;
25923 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25927 PyObject
*swig_obj
[1] ;
25929 if (!args
) SWIG_fail
;
25930 swig_obj
[0] = args
;
25931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25932 if (!SWIG_IsOK(res1
)) {
25933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25935 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25938 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25939 wxPyEndAllowThreads(__tstate
);
25940 if (PyErr_Occurred()) SWIG_fail
;
25942 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25949 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25952 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25953 return SWIG_Py_Void();
25956 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25957 PyObject
*resultobj
= 0;
25958 wxWindow
*arg1
= (wxWindow
*) 0 ;
25959 int arg2
= (int) -1 ;
25960 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25961 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25962 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25963 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25964 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25965 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25966 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25967 wxToolBar
*result
= 0 ;
25976 bool temp6
= false ;
25977 PyObject
* obj0
= 0 ;
25978 PyObject
* obj1
= 0 ;
25979 PyObject
* obj2
= 0 ;
25980 PyObject
* obj3
= 0 ;
25981 PyObject
* obj4
= 0 ;
25982 PyObject
* obj5
= 0 ;
25983 char * kwnames
[] = {
25984 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25989 if (!SWIG_IsOK(res1
)) {
25990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25992 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25995 if (!SWIG_IsOK(ecode2
)) {
25996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25998 arg2
= static_cast< int >(val2
);
26003 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26009 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26013 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
26014 if (!SWIG_IsOK(ecode5
)) {
26015 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
26017 arg5
= static_cast< long >(val5
);
26021 arg6
= wxString_in_helper(obj5
);
26022 if (arg6
== NULL
) SWIG_fail
;
26027 if (!wxPyCheckForApp()) SWIG_fail
;
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
26048 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26049 PyObject
*resultobj
= 0;
26050 wxToolBar
*result
= 0 ;
26052 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
26054 if (!wxPyCheckForApp()) SWIG_fail
;
26055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26056 result
= (wxToolBar
*)new wxToolBar();
26057 wxPyEndAllowThreads(__tstate
);
26058 if (PyErr_Occurred()) SWIG_fail
;
26060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
26067 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26068 PyObject
*resultobj
= 0;
26069 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26070 wxWindow
*arg2
= (wxWindow
*) 0 ;
26071 int arg3
= (int) -1 ;
26072 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26073 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26074 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26075 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26076 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
26077 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
26078 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26090 bool temp7
= false ;
26091 PyObject
* obj0
= 0 ;
26092 PyObject
* obj1
= 0 ;
26093 PyObject
* obj2
= 0 ;
26094 PyObject
* obj3
= 0 ;
26095 PyObject
* obj4
= 0 ;
26096 PyObject
* obj5
= 0 ;
26097 PyObject
* obj6
= 0 ;
26098 char * kwnames
[] = {
26099 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26104 if (!SWIG_IsOK(res1
)) {
26105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26107 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26108 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26109 if (!SWIG_IsOK(res2
)) {
26110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26112 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26115 if (!SWIG_IsOK(ecode3
)) {
26116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26118 arg3
= static_cast< int >(val3
);
26123 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26129 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26133 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
26134 if (!SWIG_IsOK(ecode6
)) {
26135 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26137 arg6
= static_cast< long >(val6
);
26141 arg7
= wxString_in_helper(obj6
);
26142 if (arg7
== NULL
) SWIG_fail
;
26147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26148 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26149 wxPyEndAllowThreads(__tstate
);
26150 if (PyErr_Occurred()) SWIG_fail
;
26153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26169 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26170 PyObject
*resultobj
= 0;
26171 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26173 wxBitmap
*arg3
= 0 ;
26180 PyObject
* obj0
= 0 ;
26181 PyObject
* obj1
= 0 ;
26182 PyObject
* obj2
= 0 ;
26183 char * kwnames
[] = {
26184 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolNormalBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26189 if (!SWIG_IsOK(res1
)) {
26190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26192 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26194 if (!SWIG_IsOK(ecode2
)) {
26195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "2"" of type '" "int""'");
26197 arg2
= static_cast< int >(val2
);
26198 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26199 if (!SWIG_IsOK(res3
)) {
26200 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26205 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 (arg1
)->SetToolNormalBitmap(arg2
,(wxBitmap
const &)*arg3
);
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26212 resultobj
= SWIG_Py_Void();
26219 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26220 PyObject
*resultobj
= 0;
26221 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26223 wxBitmap
*arg3
= 0 ;
26230 PyObject
* obj0
= 0 ;
26231 PyObject
* obj1
= 0 ;
26232 PyObject
* obj2
= 0 ;
26233 char * kwnames
[] = {
26234 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolDisabledBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26239 if (!SWIG_IsOK(res1
)) {
26240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26242 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26244 if (!SWIG_IsOK(ecode2
)) {
26245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "2"" of type '" "int""'");
26247 arg2
= static_cast< int >(val2
);
26248 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26249 if (!SWIG_IsOK(res3
)) {
26250 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26255 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 (arg1
)->SetToolDisabledBitmap(arg2
,(wxBitmap
const &)*arg3
);
26259 wxPyEndAllowThreads(__tstate
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26262 resultobj
= SWIG_Py_Void();
26269 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26270 PyObject
*resultobj
= 0;
26271 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26272 SwigValueWrapper
<wxVisualAttributes
> result
;
26275 PyObject
* obj0
= 0 ;
26276 char * kwnames
[] = {
26277 (char *) "variant", NULL
26280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26282 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26283 if (!SWIG_IsOK(ecode1
)) {
26284 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26286 arg1
= static_cast< wxWindowVariant
>(val1
);
26289 if (!wxPyCheckForApp()) SWIG_fail
;
26290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26291 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26292 wxPyEndAllowThreads(__tstate
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26295 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26302 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26305 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26306 return SWIG_Py_Void();
26309 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26310 return SWIG_Python_InitShadowInstance(args
);
26313 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26314 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26319 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26320 PyObject
*pyobj
= 0;
26324 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26326 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26333 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26334 PyObject
*resultobj
= 0;
26335 wxColour
const &arg1_defvalue
= wxNullColour
;
26336 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26337 wxColour
const &arg2_defvalue
= wxNullColour
;
26338 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26339 wxFont
const &arg3_defvalue
= wxNullFont
;
26340 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26341 wxListItemAttr
*result
= 0 ;
26346 PyObject
* obj0
= 0 ;
26347 PyObject
* obj1
= 0 ;
26348 PyObject
* obj2
= 0 ;
26349 char * kwnames
[] = {
26350 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26357 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26363 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26367 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26368 if (!SWIG_IsOK(res3
)) {
26369 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26374 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26389 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26390 PyObject
*resultobj
= 0;
26391 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26394 PyObject
*swig_obj
[1] ;
26396 if (!args
) SWIG_fail
;
26397 swig_obj
[0] = args
;
26398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26399 if (!SWIG_IsOK(res1
)) {
26400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26402 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 wxPyEndAllowThreads(__tstate
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26410 resultobj
= SWIG_Py_Void();
26417 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26418 PyObject
*resultobj
= 0;
26419 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26420 wxColour
*arg2
= 0 ;
26424 PyObject
* obj0
= 0 ;
26425 PyObject
* obj1
= 0 ;
26426 char * kwnames
[] = {
26427 (char *) "self",(char *) "colText", NULL
26430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26432 if (!SWIG_IsOK(res1
)) {
26433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26435 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26438 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26442 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26443 wxPyEndAllowThreads(__tstate
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26446 resultobj
= SWIG_Py_Void();
26453 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26454 PyObject
*resultobj
= 0;
26455 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26456 wxColour
*arg2
= 0 ;
26460 PyObject
* obj0
= 0 ;
26461 PyObject
* obj1
= 0 ;
26462 char * kwnames
[] = {
26463 (char *) "self",(char *) "colBack", NULL
26466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26468 if (!SWIG_IsOK(res1
)) {
26469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26471 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26474 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26482 resultobj
= SWIG_Py_Void();
26489 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26490 PyObject
*resultobj
= 0;
26491 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26497 PyObject
* obj0
= 0 ;
26498 PyObject
* obj1
= 0 ;
26499 char * kwnames
[] = {
26500 (char *) "self",(char *) "font", NULL
26503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26505 if (!SWIG_IsOK(res1
)) {
26506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26508 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26510 if (!SWIG_IsOK(res2
)) {
26511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26516 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 (arg1
)->SetFont((wxFont
const &)*arg2
);
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 resultobj
= SWIG_Py_Void();
26530 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26531 PyObject
*resultobj
= 0;
26532 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26536 PyObject
*swig_obj
[1] ;
26538 if (!args
) SWIG_fail
;
26539 swig_obj
[0] = args
;
26540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26541 if (!SWIG_IsOK(res1
)) {
26542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26544 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 result
= (bool)(arg1
)->HasTextColour();
26548 wxPyEndAllowThreads(__tstate
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26560 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26561 PyObject
*resultobj
= 0;
26562 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26566 PyObject
*swig_obj
[1] ;
26568 if (!args
) SWIG_fail
;
26569 swig_obj
[0] = args
;
26570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26571 if (!SWIG_IsOK(res1
)) {
26572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26574 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26577 result
= (bool)(arg1
)->HasBackgroundColour();
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26590 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26591 PyObject
*resultobj
= 0;
26592 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26596 PyObject
*swig_obj
[1] ;
26598 if (!args
) SWIG_fail
;
26599 swig_obj
[0] = args
;
26600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26601 if (!SWIG_IsOK(res1
)) {
26602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26604 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 result
= (bool)(arg1
)->HasFont();
26608 wxPyEndAllowThreads(__tstate
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26620 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26621 PyObject
*resultobj
= 0;
26622 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26626 PyObject
*swig_obj
[1] ;
26628 if (!args
) SWIG_fail
;
26629 swig_obj
[0] = args
;
26630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26631 if (!SWIG_IsOK(res1
)) {
26632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26634 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26637 result
= (arg1
)->GetTextColour();
26638 wxPyEndAllowThreads(__tstate
);
26639 if (PyErr_Occurred()) SWIG_fail
;
26641 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26648 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26649 PyObject
*resultobj
= 0;
26650 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26654 PyObject
*swig_obj
[1] ;
26656 if (!args
) SWIG_fail
;
26657 swig_obj
[0] = args
;
26658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26659 if (!SWIG_IsOK(res1
)) {
26660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26662 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26665 result
= (arg1
)->GetBackgroundColour();
26666 wxPyEndAllowThreads(__tstate
);
26667 if (PyErr_Occurred()) SWIG_fail
;
26669 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26676 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26677 PyObject
*resultobj
= 0;
26678 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26682 PyObject
*swig_obj
[1] ;
26684 if (!args
) SWIG_fail
;
26685 swig_obj
[0] = args
;
26686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26687 if (!SWIG_IsOK(res1
)) {
26688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26690 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 result
= (arg1
)->GetFont();
26694 wxPyEndAllowThreads(__tstate
);
26695 if (PyErr_Occurred()) SWIG_fail
;
26697 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26704 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26705 PyObject
*resultobj
= 0;
26706 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26707 wxListItemAttr
*arg2
= 0 ;
26712 PyObject
* obj0
= 0 ;
26713 PyObject
* obj1
= 0 ;
26714 char * kwnames
[] = {
26715 (char *) "self",(char *) "source", NULL
26718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26720 if (!SWIG_IsOK(res1
)) {
26721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26723 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26725 if (!SWIG_IsOK(res2
)) {
26726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26731 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26735 wxPyEndAllowThreads(__tstate
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26738 resultobj
= SWIG_Py_Void();
26745 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26746 PyObject
*resultobj
= 0;
26747 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26750 PyObject
*swig_obj
[1] ;
26752 if (!args
) SWIG_fail
;
26753 swig_obj
[0] = args
;
26754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26755 if (!SWIG_IsOK(res1
)) {
26756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26758 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26761 wxListItemAttr_Destroy(arg1
);
26762 wxPyEndAllowThreads(__tstate
);
26763 if (PyErr_Occurred()) SWIG_fail
;
26765 resultobj
= SWIG_Py_Void();
26772 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26774 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26775 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26776 return SWIG_Py_Void();
26779 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26780 return SWIG_Python_InitShadowInstance(args
);
26783 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26784 PyObject
*resultobj
= 0;
26785 wxListItem
*result
= 0 ;
26787 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 result
= (wxListItem
*)new wxListItem();
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26801 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26802 PyObject
*resultobj
= 0;
26803 wxListItem
*arg1
= (wxListItem
*) 0 ;
26806 PyObject
*swig_obj
[1] ;
26808 if (!args
) SWIG_fail
;
26809 swig_obj
[0] = args
;
26810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26811 if (!SWIG_IsOK(res1
)) {
26812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26814 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 wxPyEndAllowThreads(__tstate
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26822 resultobj
= SWIG_Py_Void();
26829 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26830 PyObject
*resultobj
= 0;
26831 wxListItem
*arg1
= (wxListItem
*) 0 ;
26834 PyObject
*swig_obj
[1] ;
26836 if (!args
) SWIG_fail
;
26837 swig_obj
[0] = args
;
26838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26839 if (!SWIG_IsOK(res1
)) {
26840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26842 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 wxPyEndAllowThreads(__tstate
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26849 resultobj
= SWIG_Py_Void();
26856 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26857 PyObject
*resultobj
= 0;
26858 wxListItem
*arg1
= (wxListItem
*) 0 ;
26861 PyObject
*swig_obj
[1] ;
26863 if (!args
) SWIG_fail
;
26864 swig_obj
[0] = args
;
26865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26866 if (!SWIG_IsOK(res1
)) {
26867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26869 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26872 (arg1
)->ClearAttributes();
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26876 resultobj
= SWIG_Py_Void();
26883 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26884 PyObject
*resultobj
= 0;
26885 wxListItem
*arg1
= (wxListItem
*) 0 ;
26891 PyObject
* obj0
= 0 ;
26892 PyObject
* obj1
= 0 ;
26893 char * kwnames
[] = {
26894 (char *) "self",(char *) "mask", NULL
26897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26899 if (!SWIG_IsOK(res1
)) {
26900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26902 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26903 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26904 if (!SWIG_IsOK(ecode2
)) {
26905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26907 arg2
= static_cast< long >(val2
);
26909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26910 (arg1
)->SetMask(arg2
);
26911 wxPyEndAllowThreads(__tstate
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26914 resultobj
= SWIG_Py_Void();
26921 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26922 PyObject
*resultobj
= 0;
26923 wxListItem
*arg1
= (wxListItem
*) 0 ;
26929 PyObject
* obj0
= 0 ;
26930 PyObject
* obj1
= 0 ;
26931 char * kwnames
[] = {
26932 (char *) "self",(char *) "id", NULL
26935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26937 if (!SWIG_IsOK(res1
)) {
26938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26940 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26941 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26942 if (!SWIG_IsOK(ecode2
)) {
26943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26945 arg2
= static_cast< long >(val2
);
26947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26948 (arg1
)->SetId(arg2
);
26949 wxPyEndAllowThreads(__tstate
);
26950 if (PyErr_Occurred()) SWIG_fail
;
26952 resultobj
= SWIG_Py_Void();
26959 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26960 PyObject
*resultobj
= 0;
26961 wxListItem
*arg1
= (wxListItem
*) 0 ;
26967 PyObject
* obj0
= 0 ;
26968 PyObject
* obj1
= 0 ;
26969 char * kwnames
[] = {
26970 (char *) "self",(char *) "col", NULL
26973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26975 if (!SWIG_IsOK(res1
)) {
26976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26978 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26980 if (!SWIG_IsOK(ecode2
)) {
26981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26983 arg2
= static_cast< int >(val2
);
26985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26986 (arg1
)->SetColumn(arg2
);
26987 wxPyEndAllowThreads(__tstate
);
26988 if (PyErr_Occurred()) SWIG_fail
;
26990 resultobj
= SWIG_Py_Void();
26997 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26998 PyObject
*resultobj
= 0;
26999 wxListItem
*arg1
= (wxListItem
*) 0 ;
27005 PyObject
* obj0
= 0 ;
27006 PyObject
* obj1
= 0 ;
27007 char * kwnames
[] = {
27008 (char *) "self",(char *) "state", NULL
27011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27013 if (!SWIG_IsOK(res1
)) {
27014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27016 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27017 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27018 if (!SWIG_IsOK(ecode2
)) {
27019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
27021 arg2
= static_cast< long >(val2
);
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 (arg1
)->SetState(arg2
);
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27028 resultobj
= SWIG_Py_Void();
27035 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27036 PyObject
*resultobj
= 0;
27037 wxListItem
*arg1
= (wxListItem
*) 0 ;
27043 PyObject
* obj0
= 0 ;
27044 PyObject
* obj1
= 0 ;
27045 char * kwnames
[] = {
27046 (char *) "self",(char *) "stateMask", NULL
27049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27051 if (!SWIG_IsOK(res1
)) {
27052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27054 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27055 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27056 if (!SWIG_IsOK(ecode2
)) {
27057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
27059 arg2
= static_cast< long >(val2
);
27061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27062 (arg1
)->SetStateMask(arg2
);
27063 wxPyEndAllowThreads(__tstate
);
27064 if (PyErr_Occurred()) SWIG_fail
;
27066 resultobj
= SWIG_Py_Void();
27073 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27074 PyObject
*resultobj
= 0;
27075 wxListItem
*arg1
= (wxListItem
*) 0 ;
27076 wxString
*arg2
= 0 ;
27079 bool temp2
= false ;
27080 PyObject
* obj0
= 0 ;
27081 PyObject
* obj1
= 0 ;
27082 char * kwnames
[] = {
27083 (char *) "self",(char *) "text", NULL
27086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27088 if (!SWIG_IsOK(res1
)) {
27089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27091 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27093 arg2
= wxString_in_helper(obj1
);
27094 if (arg2
== NULL
) SWIG_fail
;
27098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 (arg1
)->SetText((wxString
const &)*arg2
);
27100 wxPyEndAllowThreads(__tstate
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27103 resultobj
= SWIG_Py_Void();
27118 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27119 PyObject
*resultobj
= 0;
27120 wxListItem
*arg1
= (wxListItem
*) 0 ;
27126 PyObject
* obj0
= 0 ;
27127 PyObject
* obj1
= 0 ;
27128 char * kwnames
[] = {
27129 (char *) "self",(char *) "image", NULL
27132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27134 if (!SWIG_IsOK(res1
)) {
27135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27137 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27139 if (!SWIG_IsOK(ecode2
)) {
27140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
27142 arg2
= static_cast< int >(val2
);
27144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27145 (arg1
)->SetImage(arg2
);
27146 wxPyEndAllowThreads(__tstate
);
27147 if (PyErr_Occurred()) SWIG_fail
;
27149 resultobj
= SWIG_Py_Void();
27156 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27157 PyObject
*resultobj
= 0;
27158 wxListItem
*arg1
= (wxListItem
*) 0 ;
27164 PyObject
* obj0
= 0 ;
27165 PyObject
* obj1
= 0 ;
27166 char * kwnames
[] = {
27167 (char *) "self",(char *) "data", NULL
27170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27172 if (!SWIG_IsOK(res1
)) {
27173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27175 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27176 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27177 if (!SWIG_IsOK(ecode2
)) {
27178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
27180 arg2
= static_cast< long >(val2
);
27182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27183 (arg1
)->SetData(arg2
);
27184 wxPyEndAllowThreads(__tstate
);
27185 if (PyErr_Occurred()) SWIG_fail
;
27187 resultobj
= SWIG_Py_Void();
27194 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27195 PyObject
*resultobj
= 0;
27196 wxListItem
*arg1
= (wxListItem
*) 0 ;
27202 PyObject
* obj0
= 0 ;
27203 PyObject
* obj1
= 0 ;
27204 char * kwnames
[] = {
27205 (char *) "self",(char *) "width", NULL
27208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27210 if (!SWIG_IsOK(res1
)) {
27211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27213 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27215 if (!SWIG_IsOK(ecode2
)) {
27216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27218 arg2
= static_cast< int >(val2
);
27220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27221 (arg1
)->SetWidth(arg2
);
27222 wxPyEndAllowThreads(__tstate
);
27223 if (PyErr_Occurred()) SWIG_fail
;
27225 resultobj
= SWIG_Py_Void();
27232 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27233 PyObject
*resultobj
= 0;
27234 wxListItem
*arg1
= (wxListItem
*) 0 ;
27235 wxListColumnFormat arg2
;
27240 PyObject
* obj0
= 0 ;
27241 PyObject
* obj1
= 0 ;
27242 char * kwnames
[] = {
27243 (char *) "self",(char *) "align", NULL
27246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27248 if (!SWIG_IsOK(res1
)) {
27249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27251 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27253 if (!SWIG_IsOK(ecode2
)) {
27254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27256 arg2
= static_cast< wxListColumnFormat
>(val2
);
27258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27259 (arg1
)->SetAlign(arg2
);
27260 wxPyEndAllowThreads(__tstate
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27263 resultobj
= SWIG_Py_Void();
27270 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27271 PyObject
*resultobj
= 0;
27272 wxListItem
*arg1
= (wxListItem
*) 0 ;
27273 wxColour
*arg2
= 0 ;
27277 PyObject
* obj0
= 0 ;
27278 PyObject
* obj1
= 0 ;
27279 char * kwnames
[] = {
27280 (char *) "self",(char *) "colText", NULL
27283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27285 if (!SWIG_IsOK(res1
)) {
27286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27288 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27291 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27295 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27296 wxPyEndAllowThreads(__tstate
);
27297 if (PyErr_Occurred()) SWIG_fail
;
27299 resultobj
= SWIG_Py_Void();
27306 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27307 PyObject
*resultobj
= 0;
27308 wxListItem
*arg1
= (wxListItem
*) 0 ;
27309 wxColour
*arg2
= 0 ;
27313 PyObject
* obj0
= 0 ;
27314 PyObject
* obj1
= 0 ;
27315 char * kwnames
[] = {
27316 (char *) "self",(char *) "colBack", NULL
27319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27321 if (!SWIG_IsOK(res1
)) {
27322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27324 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27327 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27331 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27332 wxPyEndAllowThreads(__tstate
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27335 resultobj
= SWIG_Py_Void();
27342 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27343 PyObject
*resultobj
= 0;
27344 wxListItem
*arg1
= (wxListItem
*) 0 ;
27350 PyObject
* obj0
= 0 ;
27351 PyObject
* obj1
= 0 ;
27352 char * kwnames
[] = {
27353 (char *) "self",(char *) "font", NULL
27356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27358 if (!SWIG_IsOK(res1
)) {
27359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27361 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27362 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27363 if (!SWIG_IsOK(res2
)) {
27364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27369 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27372 (arg1
)->SetFont((wxFont
const &)*arg2
);
27373 wxPyEndAllowThreads(__tstate
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27376 resultobj
= SWIG_Py_Void();
27383 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27384 PyObject
*resultobj
= 0;
27385 wxListItem
*arg1
= (wxListItem
*) 0 ;
27389 PyObject
*swig_obj
[1] ;
27391 if (!args
) SWIG_fail
;
27392 swig_obj
[0] = args
;
27393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27394 if (!SWIG_IsOK(res1
)) {
27395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27397 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27400 result
= (long)(arg1
)->GetMask();
27401 wxPyEndAllowThreads(__tstate
);
27402 if (PyErr_Occurred()) SWIG_fail
;
27404 resultobj
= SWIG_From_long(static_cast< long >(result
));
27411 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27412 PyObject
*resultobj
= 0;
27413 wxListItem
*arg1
= (wxListItem
*) 0 ;
27417 PyObject
*swig_obj
[1] ;
27419 if (!args
) SWIG_fail
;
27420 swig_obj
[0] = args
;
27421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27422 if (!SWIG_IsOK(res1
)) {
27423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27425 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27428 result
= (long)(arg1
)->GetId();
27429 wxPyEndAllowThreads(__tstate
);
27430 if (PyErr_Occurred()) SWIG_fail
;
27432 resultobj
= SWIG_From_long(static_cast< long >(result
));
27439 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27440 PyObject
*resultobj
= 0;
27441 wxListItem
*arg1
= (wxListItem
*) 0 ;
27445 PyObject
*swig_obj
[1] ;
27447 if (!args
) SWIG_fail
;
27448 swig_obj
[0] = args
;
27449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27450 if (!SWIG_IsOK(res1
)) {
27451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27453 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27456 result
= (int)(arg1
)->GetColumn();
27457 wxPyEndAllowThreads(__tstate
);
27458 if (PyErr_Occurred()) SWIG_fail
;
27460 resultobj
= SWIG_From_int(static_cast< int >(result
));
27467 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27468 PyObject
*resultobj
= 0;
27469 wxListItem
*arg1
= (wxListItem
*) 0 ;
27473 PyObject
*swig_obj
[1] ;
27475 if (!args
) SWIG_fail
;
27476 swig_obj
[0] = args
;
27477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27478 if (!SWIG_IsOK(res1
)) {
27479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27481 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27484 result
= (long)(arg1
)->GetState();
27485 wxPyEndAllowThreads(__tstate
);
27486 if (PyErr_Occurred()) SWIG_fail
;
27488 resultobj
= SWIG_From_long(static_cast< long >(result
));
27495 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27496 PyObject
*resultobj
= 0;
27497 wxListItem
*arg1
= (wxListItem
*) 0 ;
27498 wxString
*result
= 0 ;
27501 PyObject
*swig_obj
[1] ;
27503 if (!args
) SWIG_fail
;
27504 swig_obj
[0] = args
;
27505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27506 if (!SWIG_IsOK(res1
)) {
27507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27509 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27513 wxString
const &_result_ref
= (arg1
)->GetText();
27514 result
= (wxString
*) &_result_ref
;
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27521 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27523 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27532 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27533 PyObject
*resultobj
= 0;
27534 wxListItem
*arg1
= (wxListItem
*) 0 ;
27538 PyObject
*swig_obj
[1] ;
27540 if (!args
) SWIG_fail
;
27541 swig_obj
[0] = args
;
27542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27543 if (!SWIG_IsOK(res1
)) {
27544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27546 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27549 result
= (int)(arg1
)->GetImage();
27550 wxPyEndAllowThreads(__tstate
);
27551 if (PyErr_Occurred()) SWIG_fail
;
27553 resultobj
= SWIG_From_int(static_cast< int >(result
));
27560 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27561 PyObject
*resultobj
= 0;
27562 wxListItem
*arg1
= (wxListItem
*) 0 ;
27566 PyObject
*swig_obj
[1] ;
27568 if (!args
) SWIG_fail
;
27569 swig_obj
[0] = args
;
27570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27571 if (!SWIG_IsOK(res1
)) {
27572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27574 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27577 result
= (long)(arg1
)->GetData();
27578 wxPyEndAllowThreads(__tstate
);
27579 if (PyErr_Occurred()) SWIG_fail
;
27581 resultobj
= SWIG_From_long(static_cast< long >(result
));
27588 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27589 PyObject
*resultobj
= 0;
27590 wxListItem
*arg1
= (wxListItem
*) 0 ;
27594 PyObject
*swig_obj
[1] ;
27596 if (!args
) SWIG_fail
;
27597 swig_obj
[0] = args
;
27598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27599 if (!SWIG_IsOK(res1
)) {
27600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27602 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27605 result
= (int)(arg1
)->GetWidth();
27606 wxPyEndAllowThreads(__tstate
);
27607 if (PyErr_Occurred()) SWIG_fail
;
27609 resultobj
= SWIG_From_int(static_cast< int >(result
));
27616 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27617 PyObject
*resultobj
= 0;
27618 wxListItem
*arg1
= (wxListItem
*) 0 ;
27619 wxListColumnFormat result
;
27622 PyObject
*swig_obj
[1] ;
27624 if (!args
) SWIG_fail
;
27625 swig_obj
[0] = args
;
27626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27627 if (!SWIG_IsOK(res1
)) {
27628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27630 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27634 wxPyEndAllowThreads(__tstate
);
27635 if (PyErr_Occurred()) SWIG_fail
;
27637 resultobj
= SWIG_From_int(static_cast< int >(result
));
27644 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27645 PyObject
*resultobj
= 0;
27646 wxListItem
*arg1
= (wxListItem
*) 0 ;
27647 wxListItemAttr
*result
= 0 ;
27650 PyObject
*swig_obj
[1] ;
27652 if (!args
) SWIG_fail
;
27653 swig_obj
[0] = args
;
27654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27655 if (!SWIG_IsOK(res1
)) {
27656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27658 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27662 wxPyEndAllowThreads(__tstate
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27672 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27673 PyObject
*resultobj
= 0;
27674 wxListItem
*arg1
= (wxListItem
*) 0 ;
27678 PyObject
*swig_obj
[1] ;
27680 if (!args
) SWIG_fail
;
27681 swig_obj
[0] = args
;
27682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27683 if (!SWIG_IsOK(res1
)) {
27684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27686 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27689 result
= (bool)(arg1
)->HasAttributes();
27690 wxPyEndAllowThreads(__tstate
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27702 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27703 PyObject
*resultobj
= 0;
27704 wxListItem
*arg1
= (wxListItem
*) 0 ;
27708 PyObject
*swig_obj
[1] ;
27710 if (!args
) SWIG_fail
;
27711 swig_obj
[0] = args
;
27712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27713 if (!SWIG_IsOK(res1
)) {
27714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27716 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27719 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27720 wxPyEndAllowThreads(__tstate
);
27721 if (PyErr_Occurred()) SWIG_fail
;
27723 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27730 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27731 PyObject
*resultobj
= 0;
27732 wxListItem
*arg1
= (wxListItem
*) 0 ;
27736 PyObject
*swig_obj
[1] ;
27738 if (!args
) SWIG_fail
;
27739 swig_obj
[0] = args
;
27740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27741 if (!SWIG_IsOK(res1
)) {
27742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27744 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27748 wxPyEndAllowThreads(__tstate
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27751 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27758 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27759 PyObject
*resultobj
= 0;
27760 wxListItem
*arg1
= (wxListItem
*) 0 ;
27764 PyObject
*swig_obj
[1] ;
27766 if (!args
) SWIG_fail
;
27767 swig_obj
[0] = args
;
27768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27769 if (!SWIG_IsOK(res1
)) {
27770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27772 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27775 result
= ((wxListItem
const *)arg1
)->GetFont();
27776 wxPyEndAllowThreads(__tstate
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27779 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27786 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_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_mask_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_mask_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_mask_set" "', expected argument " "2"" of type '" "long""'");
27806 arg2
= static_cast< long >(val2
);
27807 if (arg1
) (arg1
)->m_mask
= arg2
;
27809 resultobj
= SWIG_Py_Void();
27816 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_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_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27830 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27831 result
= (long) ((arg1
)->m_mask
);
27832 resultobj
= SWIG_From_long(static_cast< long >(result
));
27839 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27840 PyObject
*resultobj
= 0;
27841 wxListItem
*arg1
= (wxListItem
*) 0 ;
27847 PyObject
*swig_obj
[2] ;
27849 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27851 if (!SWIG_IsOK(res1
)) {
27852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27854 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27855 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27856 if (!SWIG_IsOK(ecode2
)) {
27857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27859 arg2
= static_cast< long >(val2
);
27860 if (arg1
) (arg1
)->m_itemId
= arg2
;
27862 resultobj
= SWIG_Py_Void();
27869 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27870 PyObject
*resultobj
= 0;
27871 wxListItem
*arg1
= (wxListItem
*) 0 ;
27875 PyObject
*swig_obj
[1] ;
27877 if (!args
) SWIG_fail
;
27878 swig_obj
[0] = args
;
27879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27880 if (!SWIG_IsOK(res1
)) {
27881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27883 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27884 result
= (long) ((arg1
)->m_itemId
);
27885 resultobj
= SWIG_From_long(static_cast< long >(result
));
27892 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27893 PyObject
*resultobj
= 0;
27894 wxListItem
*arg1
= (wxListItem
*) 0 ;
27900 PyObject
*swig_obj
[2] ;
27902 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27904 if (!SWIG_IsOK(res1
)) {
27905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27907 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27908 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27909 if (!SWIG_IsOK(ecode2
)) {
27910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27912 arg2
= static_cast< int >(val2
);
27913 if (arg1
) (arg1
)->m_col
= arg2
;
27915 resultobj
= SWIG_Py_Void();
27922 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27923 PyObject
*resultobj
= 0;
27924 wxListItem
*arg1
= (wxListItem
*) 0 ;
27928 PyObject
*swig_obj
[1] ;
27930 if (!args
) SWIG_fail
;
27931 swig_obj
[0] = args
;
27932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27933 if (!SWIG_IsOK(res1
)) {
27934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27936 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27937 result
= (int) ((arg1
)->m_col
);
27938 resultobj
= SWIG_From_int(static_cast< int >(result
));
27945 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27946 PyObject
*resultobj
= 0;
27947 wxListItem
*arg1
= (wxListItem
*) 0 ;
27953 PyObject
*swig_obj
[2] ;
27955 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27957 if (!SWIG_IsOK(res1
)) {
27958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27960 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27961 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27962 if (!SWIG_IsOK(ecode2
)) {
27963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27965 arg2
= static_cast< long >(val2
);
27966 if (arg1
) (arg1
)->m_state
= arg2
;
27968 resultobj
= SWIG_Py_Void();
27975 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27976 PyObject
*resultobj
= 0;
27977 wxListItem
*arg1
= (wxListItem
*) 0 ;
27981 PyObject
*swig_obj
[1] ;
27983 if (!args
) SWIG_fail
;
27984 swig_obj
[0] = args
;
27985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27986 if (!SWIG_IsOK(res1
)) {
27987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27989 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27990 result
= (long) ((arg1
)->m_state
);
27991 resultobj
= SWIG_From_long(static_cast< long >(result
));
27998 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27999 PyObject
*resultobj
= 0;
28000 wxListItem
*arg1
= (wxListItem
*) 0 ;
28006 PyObject
*swig_obj
[2] ;
28008 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
28009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28010 if (!SWIG_IsOK(res1
)) {
28011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28013 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28014 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28015 if (!SWIG_IsOK(ecode2
)) {
28016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
28018 arg2
= static_cast< long >(val2
);
28019 if (arg1
) (arg1
)->m_stateMask
= arg2
;
28021 resultobj
= SWIG_Py_Void();
28028 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28029 PyObject
*resultobj
= 0;
28030 wxListItem
*arg1
= (wxListItem
*) 0 ;
28034 PyObject
*swig_obj
[1] ;
28036 if (!args
) SWIG_fail
;
28037 swig_obj
[0] = args
;
28038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28039 if (!SWIG_IsOK(res1
)) {
28040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28042 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28043 result
= (long) ((arg1
)->m_stateMask
);
28044 resultobj
= SWIG_From_long(static_cast< long >(result
));
28051 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28052 PyObject
*resultobj
= 0;
28053 wxListItem
*arg1
= (wxListItem
*) 0 ;
28054 wxString
*arg2
= (wxString
*) 0 ;
28057 bool temp2
= false ;
28058 PyObject
*swig_obj
[2] ;
28060 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
28061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28062 if (!SWIG_IsOK(res1
)) {
28063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28065 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28067 arg2
= wxString_in_helper(swig_obj
[1]);
28068 if (arg2
== NULL
) SWIG_fail
;
28071 if (arg1
) (arg1
)->m_text
= *arg2
;
28073 resultobj
= SWIG_Py_Void();
28088 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28089 PyObject
*resultobj
= 0;
28090 wxListItem
*arg1
= (wxListItem
*) 0 ;
28091 wxString
*result
= 0 ;
28094 PyObject
*swig_obj
[1] ;
28096 if (!args
) SWIG_fail
;
28097 swig_obj
[0] = args
;
28098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28099 if (!SWIG_IsOK(res1
)) {
28100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28102 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28103 result
= (wxString
*)& ((arg1
)->m_text
);
28106 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28108 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28117 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28118 PyObject
*resultobj
= 0;
28119 wxListItem
*arg1
= (wxListItem
*) 0 ;
28125 PyObject
*swig_obj
[2] ;
28127 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
28128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28129 if (!SWIG_IsOK(res1
)) {
28130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28132 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28133 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28134 if (!SWIG_IsOK(ecode2
)) {
28135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
28137 arg2
= static_cast< int >(val2
);
28138 if (arg1
) (arg1
)->m_image
= arg2
;
28140 resultobj
= SWIG_Py_Void();
28147 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28148 PyObject
*resultobj
= 0;
28149 wxListItem
*arg1
= (wxListItem
*) 0 ;
28153 PyObject
*swig_obj
[1] ;
28155 if (!args
) SWIG_fail
;
28156 swig_obj
[0] = args
;
28157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28158 if (!SWIG_IsOK(res1
)) {
28159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28161 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28162 result
= (int) ((arg1
)->m_image
);
28163 resultobj
= SWIG_From_int(static_cast< int >(result
));
28170 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28171 PyObject
*resultobj
= 0;
28172 wxListItem
*arg1
= (wxListItem
*) 0 ;
28178 PyObject
*swig_obj
[2] ;
28180 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
28181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28182 if (!SWIG_IsOK(res1
)) {
28183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28185 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28186 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28187 if (!SWIG_IsOK(ecode2
)) {
28188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
28190 arg2
= static_cast< long >(val2
);
28191 if (arg1
) (arg1
)->m_data
= arg2
;
28193 resultobj
= SWIG_Py_Void();
28200 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28201 PyObject
*resultobj
= 0;
28202 wxListItem
*arg1
= (wxListItem
*) 0 ;
28206 PyObject
*swig_obj
[1] ;
28208 if (!args
) SWIG_fail
;
28209 swig_obj
[0] = args
;
28210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28211 if (!SWIG_IsOK(res1
)) {
28212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28214 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28215 result
= (long) ((arg1
)->m_data
);
28216 resultobj
= SWIG_From_long(static_cast< long >(result
));
28223 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28224 PyObject
*resultobj
= 0;
28225 wxListItem
*arg1
= (wxListItem
*) 0 ;
28231 PyObject
*swig_obj
[2] ;
28233 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
28234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28235 if (!SWIG_IsOK(res1
)) {
28236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28238 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28239 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28240 if (!SWIG_IsOK(ecode2
)) {
28241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28243 arg2
= static_cast< int >(val2
);
28244 if (arg1
) (arg1
)->m_format
= arg2
;
28246 resultobj
= SWIG_Py_Void();
28253 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28254 PyObject
*resultobj
= 0;
28255 wxListItem
*arg1
= (wxListItem
*) 0 ;
28259 PyObject
*swig_obj
[1] ;
28261 if (!args
) SWIG_fail
;
28262 swig_obj
[0] = args
;
28263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28264 if (!SWIG_IsOK(res1
)) {
28265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28267 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28268 result
= (int) ((arg1
)->m_format
);
28269 resultobj
= SWIG_From_int(static_cast< int >(result
));
28276 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28277 PyObject
*resultobj
= 0;
28278 wxListItem
*arg1
= (wxListItem
*) 0 ;
28284 PyObject
*swig_obj
[2] ;
28286 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28288 if (!SWIG_IsOK(res1
)) {
28289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28291 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28292 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28293 if (!SWIG_IsOK(ecode2
)) {
28294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28296 arg2
= static_cast< int >(val2
);
28297 if (arg1
) (arg1
)->m_width
= arg2
;
28299 resultobj
= SWIG_Py_Void();
28306 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28307 PyObject
*resultobj
= 0;
28308 wxListItem
*arg1
= (wxListItem
*) 0 ;
28312 PyObject
*swig_obj
[1] ;
28314 if (!args
) SWIG_fail
;
28315 swig_obj
[0] = args
;
28316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28317 if (!SWIG_IsOK(res1
)) {
28318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28320 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28321 result
= (int) ((arg1
)->m_width
);
28322 resultobj
= SWIG_From_int(static_cast< int >(result
));
28329 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28332 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28333 return SWIG_Py_Void();
28336 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28337 return SWIG_Python_InitShadowInstance(args
);
28340 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28341 PyObject
*resultobj
= 0;
28342 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28343 int arg2
= (int) 0 ;
28344 wxListEvent
*result
= 0 ;
28349 PyObject
* obj0
= 0 ;
28350 PyObject
* obj1
= 0 ;
28351 char * kwnames
[] = {
28352 (char *) "commandType",(char *) "id", NULL
28355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28357 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28358 if (!SWIG_IsOK(ecode1
)) {
28359 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28361 arg1
= static_cast< wxEventType
>(val1
);
28364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28365 if (!SWIG_IsOK(ecode2
)) {
28366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28368 arg2
= static_cast< int >(val2
);
28371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28372 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28373 wxPyEndAllowThreads(__tstate
);
28374 if (PyErr_Occurred()) SWIG_fail
;
28376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28383 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28384 PyObject
*resultobj
= 0;
28385 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28391 PyObject
*swig_obj
[2] ;
28393 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_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_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28398 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28399 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28400 if (!SWIG_IsOK(ecode2
)) {
28401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28403 arg2
= static_cast< int >(val2
);
28404 if (arg1
) (arg1
)->m_code
= arg2
;
28406 resultobj
= SWIG_Py_Void();
28413 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28414 PyObject
*resultobj
= 0;
28415 wxListEvent
*arg1
= (wxListEvent
*) 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_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28427 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28428 result
= (int) ((arg1
)->m_code
);
28429 resultobj
= SWIG_From_int(static_cast< int >(result
));
28436 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28437 PyObject
*resultobj
= 0;
28438 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28444 PyObject
*swig_obj
[2] ;
28446 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28448 if (!SWIG_IsOK(res1
)) {
28449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28451 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28452 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28453 if (!SWIG_IsOK(ecode2
)) {
28454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28456 arg2
= static_cast< long >(val2
);
28457 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28459 resultobj
= SWIG_Py_Void();
28466 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28467 PyObject
*resultobj
= 0;
28468 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28472 PyObject
*swig_obj
[1] ;
28474 if (!args
) SWIG_fail
;
28475 swig_obj
[0] = args
;
28476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28477 if (!SWIG_IsOK(res1
)) {
28478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28480 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28481 result
= (long) ((arg1
)->m_oldItemIndex
);
28482 resultobj
= SWIG_From_long(static_cast< long >(result
));
28489 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28490 PyObject
*resultobj
= 0;
28491 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28497 PyObject
*swig_obj
[2] ;
28499 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28501 if (!SWIG_IsOK(res1
)) {
28502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28504 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28505 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28506 if (!SWIG_IsOK(ecode2
)) {
28507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28509 arg2
= static_cast< long >(val2
);
28510 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28512 resultobj
= SWIG_Py_Void();
28519 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28520 PyObject
*resultobj
= 0;
28521 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28525 PyObject
*swig_obj
[1] ;
28527 if (!args
) SWIG_fail
;
28528 swig_obj
[0] = args
;
28529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28530 if (!SWIG_IsOK(res1
)) {
28531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28533 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28534 result
= (long) ((arg1
)->m_itemIndex
);
28535 resultobj
= SWIG_From_long(static_cast< long >(result
));
28542 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28543 PyObject
*resultobj
= 0;
28544 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28550 PyObject
*swig_obj
[2] ;
28552 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28554 if (!SWIG_IsOK(res1
)) {
28555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28557 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28558 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28559 if (!SWIG_IsOK(ecode2
)) {
28560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28562 arg2
= static_cast< int >(val2
);
28563 if (arg1
) (arg1
)->m_col
= arg2
;
28565 resultobj
= SWIG_Py_Void();
28572 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28573 PyObject
*resultobj
= 0;
28574 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28578 PyObject
*swig_obj
[1] ;
28580 if (!args
) SWIG_fail
;
28581 swig_obj
[0] = args
;
28582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28583 if (!SWIG_IsOK(res1
)) {
28584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28586 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28587 result
= (int) ((arg1
)->m_col
);
28588 resultobj
= SWIG_From_int(static_cast< int >(result
));
28595 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28596 PyObject
*resultobj
= 0;
28597 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28598 wxPoint
*arg2
= (wxPoint
*) 0 ;
28603 PyObject
*swig_obj
[2] ;
28605 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28607 if (!SWIG_IsOK(res1
)) {
28608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28610 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28611 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28612 if (!SWIG_IsOK(res2
)) {
28613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28615 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28616 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28618 resultobj
= SWIG_Py_Void();
28625 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28626 PyObject
*resultobj
= 0;
28627 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28628 wxPoint
*result
= 0 ;
28631 PyObject
*swig_obj
[1] ;
28633 if (!args
) SWIG_fail
;
28634 swig_obj
[0] = args
;
28635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28636 if (!SWIG_IsOK(res1
)) {
28637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28639 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28640 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28648 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28649 PyObject
*resultobj
= 0;
28650 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28651 wxListItem
*result
= 0 ;
28654 PyObject
*swig_obj
[1] ;
28656 if (!args
) SWIG_fail
;
28657 swig_obj
[0] = args
;
28658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28659 if (!SWIG_IsOK(res1
)) {
28660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28662 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28663 result
= (wxListItem
*)& ((arg1
)->m_item
);
28665 resultobj
= wxPyMake_wxObject(result
, 0);
28673 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28674 PyObject
*resultobj
= 0;
28675 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28679 PyObject
*swig_obj
[1] ;
28681 if (!args
) SWIG_fail
;
28682 swig_obj
[0] = args
;
28683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28684 if (!SWIG_IsOK(res1
)) {
28685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28687 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28690 result
= (int)(arg1
)->GetKeyCode();
28691 wxPyEndAllowThreads(__tstate
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28694 resultobj
= SWIG_From_int(static_cast< int >(result
));
28701 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28702 PyObject
*resultobj
= 0;
28703 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28707 PyObject
*swig_obj
[1] ;
28709 if (!args
) SWIG_fail
;
28710 swig_obj
[0] = args
;
28711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28712 if (!SWIG_IsOK(res1
)) {
28713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28715 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28718 result
= (long)(arg1
)->GetIndex();
28719 wxPyEndAllowThreads(__tstate
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28722 resultobj
= SWIG_From_long(static_cast< long >(result
));
28729 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28730 PyObject
*resultobj
= 0;
28731 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28735 PyObject
*swig_obj
[1] ;
28737 if (!args
) SWIG_fail
;
28738 swig_obj
[0] = args
;
28739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28740 if (!SWIG_IsOK(res1
)) {
28741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28743 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28746 result
= (int)(arg1
)->GetColumn();
28747 wxPyEndAllowThreads(__tstate
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28750 resultobj
= SWIG_From_int(static_cast< int >(result
));
28757 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28758 PyObject
*resultobj
= 0;
28759 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28763 PyObject
*swig_obj
[1] ;
28765 if (!args
) SWIG_fail
;
28766 swig_obj
[0] = args
;
28767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28768 if (!SWIG_IsOK(res1
)) {
28769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28771 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28774 result
= (arg1
)->GetPoint();
28775 wxPyEndAllowThreads(__tstate
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28778 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28785 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28786 PyObject
*resultobj
= 0;
28787 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28788 wxString
*result
= 0 ;
28791 PyObject
*swig_obj
[1] ;
28793 if (!args
) SWIG_fail
;
28794 swig_obj
[0] = args
;
28795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28796 if (!SWIG_IsOK(res1
)) {
28797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28799 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28803 wxString
const &_result_ref
= (arg1
)->GetLabel();
28804 result
= (wxString
*) &_result_ref
;
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28811 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28813 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28822 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28823 PyObject
*resultobj
= 0;
28824 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28825 wxString
*result
= 0 ;
28828 PyObject
*swig_obj
[1] ;
28830 if (!args
) SWIG_fail
;
28831 swig_obj
[0] = args
;
28832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28833 if (!SWIG_IsOK(res1
)) {
28834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28836 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28840 wxString
const &_result_ref
= (arg1
)->GetText();
28841 result
= (wxString
*) &_result_ref
;
28843 wxPyEndAllowThreads(__tstate
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28848 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28850 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28859 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28860 PyObject
*resultobj
= 0;
28861 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28865 PyObject
*swig_obj
[1] ;
28867 if (!args
) SWIG_fail
;
28868 swig_obj
[0] = args
;
28869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28870 if (!SWIG_IsOK(res1
)) {
28871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28873 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28876 result
= (int)(arg1
)->GetImage();
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28880 resultobj
= SWIG_From_int(static_cast< int >(result
));
28887 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28888 PyObject
*resultobj
= 0;
28889 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28893 PyObject
*swig_obj
[1] ;
28895 if (!args
) SWIG_fail
;
28896 swig_obj
[0] = args
;
28897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28898 if (!SWIG_IsOK(res1
)) {
28899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28901 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28904 result
= (long)(arg1
)->GetData();
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28908 resultobj
= SWIG_From_long(static_cast< long >(result
));
28915 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28916 PyObject
*resultobj
= 0;
28917 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28921 PyObject
*swig_obj
[1] ;
28923 if (!args
) SWIG_fail
;
28924 swig_obj
[0] = args
;
28925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28926 if (!SWIG_IsOK(res1
)) {
28927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28929 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28932 result
= (long)(arg1
)->GetMask();
28933 wxPyEndAllowThreads(__tstate
);
28934 if (PyErr_Occurred()) SWIG_fail
;
28936 resultobj
= SWIG_From_long(static_cast< long >(result
));
28943 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28944 PyObject
*resultobj
= 0;
28945 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28946 wxListItem
*result
= 0 ;
28949 PyObject
*swig_obj
[1] ;
28951 if (!args
) SWIG_fail
;
28952 swig_obj
[0] = args
;
28953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28954 if (!SWIG_IsOK(res1
)) {
28955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28957 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28961 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28962 result
= (wxListItem
*) &_result_ref
;
28964 wxPyEndAllowThreads(__tstate
);
28965 if (PyErr_Occurred()) SWIG_fail
;
28967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28974 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28975 PyObject
*resultobj
= 0;
28976 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28980 PyObject
*swig_obj
[1] ;
28982 if (!args
) SWIG_fail
;
28983 swig_obj
[0] = args
;
28984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28985 if (!SWIG_IsOK(res1
)) {
28986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28988 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28991 result
= (long)(arg1
)->GetCacheFrom();
28992 wxPyEndAllowThreads(__tstate
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28995 resultobj
= SWIG_From_long(static_cast< long >(result
));
29002 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29003 PyObject
*resultobj
= 0;
29004 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29008 PyObject
*swig_obj
[1] ;
29010 if (!args
) SWIG_fail
;
29011 swig_obj
[0] = args
;
29012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29013 if (!SWIG_IsOK(res1
)) {
29014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
29016 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29019 result
= (long)(arg1
)->GetCacheTo();
29020 wxPyEndAllowThreads(__tstate
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29023 resultobj
= SWIG_From_long(static_cast< long >(result
));
29030 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29031 PyObject
*resultobj
= 0;
29032 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29036 PyObject
*swig_obj
[1] ;
29038 if (!args
) SWIG_fail
;
29039 swig_obj
[0] = args
;
29040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29041 if (!SWIG_IsOK(res1
)) {
29042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
29044 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29047 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
29048 wxPyEndAllowThreads(__tstate
);
29049 if (PyErr_Occurred()) SWIG_fail
;
29052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29060 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29061 PyObject
*resultobj
= 0;
29062 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29068 PyObject
* obj0
= 0 ;
29069 PyObject
* obj1
= 0 ;
29070 char * kwnames
[] = {
29071 (char *) "self",(char *) "editCancelled", NULL
29074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29076 if (!SWIG_IsOK(res1
)) {
29077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
29079 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29080 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29081 if (!SWIG_IsOK(ecode2
)) {
29082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
29084 arg2
= static_cast< bool >(val2
);
29086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29087 (arg1
)->SetEditCanceled(arg2
);
29088 wxPyEndAllowThreads(__tstate
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29091 resultobj
= SWIG_Py_Void();
29098 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29101 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
29102 return SWIG_Py_Void();
29105 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29106 return SWIG_Python_InitShadowInstance(args
);
29109 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29110 PyObject
*resultobj
= 0;
29111 wxWindow
*arg1
= (wxWindow
*) 0 ;
29112 int arg2
= (int) -1 ;
29113 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29114 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29115 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29116 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29117 long arg5
= (long) wxLC_ICON
;
29118 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29119 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29120 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
29121 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29122 wxPyListCtrl
*result
= 0 ;
29133 bool temp7
= false ;
29134 PyObject
* obj0
= 0 ;
29135 PyObject
* obj1
= 0 ;
29136 PyObject
* obj2
= 0 ;
29137 PyObject
* obj3
= 0 ;
29138 PyObject
* obj4
= 0 ;
29139 PyObject
* obj5
= 0 ;
29140 PyObject
* obj6
= 0 ;
29141 char * kwnames
[] = {
29142 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29147 if (!SWIG_IsOK(res1
)) {
29148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
29150 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29153 if (!SWIG_IsOK(ecode2
)) {
29154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
29156 arg2
= static_cast< int >(val2
);
29161 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29167 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29171 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29172 if (!SWIG_IsOK(ecode5
)) {
29173 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
29175 arg5
= static_cast< long >(val5
);
29178 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
29179 if (!SWIG_IsOK(res6
)) {
29180 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29185 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
29189 arg7
= wxString_in_helper(obj6
);
29190 if (arg7
== NULL
) SWIG_fail
;
29195 if (!wxPyCheckForApp()) SWIG_fail
;
29196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29197 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29198 wxPyEndAllowThreads(__tstate
);
29199 if (PyErr_Occurred()) SWIG_fail
;
29201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
29216 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29217 PyObject
*resultobj
= 0;
29218 wxPyListCtrl
*result
= 0 ;
29220 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
29222 if (!wxPyCheckForApp()) SWIG_fail
;
29223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29224 result
= (wxPyListCtrl
*)new wxPyListCtrl();
29225 wxPyEndAllowThreads(__tstate
);
29226 if (PyErr_Occurred()) SWIG_fail
;
29228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
29235 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29236 PyObject
*resultobj
= 0;
29237 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29238 wxWindow
*arg2
= (wxWindow
*) 0 ;
29239 int arg3
= (int) -1 ;
29240 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29241 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29242 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29243 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29244 long arg6
= (long) wxLC_ICON
;
29245 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29246 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29247 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
29248 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29262 bool temp8
= false ;
29263 PyObject
* obj0
= 0 ;
29264 PyObject
* obj1
= 0 ;
29265 PyObject
* obj2
= 0 ;
29266 PyObject
* obj3
= 0 ;
29267 PyObject
* obj4
= 0 ;
29268 PyObject
* obj5
= 0 ;
29269 PyObject
* obj6
= 0 ;
29270 PyObject
* obj7
= 0 ;
29271 char * kwnames
[] = {
29272 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29277 if (!SWIG_IsOK(res1
)) {
29278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29280 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29282 if (!SWIG_IsOK(res2
)) {
29283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29285 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29288 if (!SWIG_IsOK(ecode3
)) {
29289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29291 arg3
= static_cast< int >(val3
);
29296 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29302 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29306 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29307 if (!SWIG_IsOK(ecode6
)) {
29308 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29310 arg6
= static_cast< long >(val6
);
29313 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29314 if (!SWIG_IsOK(res7
)) {
29315 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29320 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29324 arg8
= wxString_in_helper(obj7
);
29325 if (arg8
== NULL
) SWIG_fail
;
29330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29331 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29332 wxPyEndAllowThreads(__tstate
);
29333 if (PyErr_Occurred()) SWIG_fail
;
29336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29352 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29353 PyObject
*resultobj
= 0;
29354 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29355 PyObject
*arg2
= (PyObject
*) 0 ;
29356 PyObject
*arg3
= (PyObject
*) 0 ;
29359 PyObject
* obj0
= 0 ;
29360 PyObject
* obj1
= 0 ;
29361 PyObject
* obj2
= 0 ;
29362 char * kwnames
[] = {
29363 (char *) "self",(char *) "self",(char *) "_class", NULL
29366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29368 if (!SWIG_IsOK(res1
)) {
29369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29371 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29376 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29377 wxPyEndAllowThreads(__tstate
);
29378 if (PyErr_Occurred()) SWIG_fail
;
29380 resultobj
= SWIG_Py_Void();
29387 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29388 PyObject
*resultobj
= 0;
29389 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29391 wxListItem
*result
= 0 ;
29396 PyObject
* obj0
= 0 ;
29397 PyObject
* obj1
= 0 ;
29398 char * kwnames
[] = {
29399 (char *) "self",(char *) "col", NULL
29402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29404 if (!SWIG_IsOK(res1
)) {
29405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29407 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29409 if (!SWIG_IsOK(ecode2
)) {
29410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29412 arg2
= static_cast< int >(val2
);
29414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29415 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29416 wxPyEndAllowThreads(__tstate
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29420 resultobj
= wxPyMake_wxObject(result
, 0);
29428 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29429 PyObject
*resultobj
= 0;
29430 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29432 wxListItem
*arg3
= 0 ;
29440 PyObject
* obj0
= 0 ;
29441 PyObject
* obj1
= 0 ;
29442 PyObject
* obj2
= 0 ;
29443 char * kwnames
[] = {
29444 (char *) "self",(char *) "col",(char *) "item", NULL
29447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29449 if (!SWIG_IsOK(res1
)) {
29450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29452 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29454 if (!SWIG_IsOK(ecode2
)) {
29455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29457 arg2
= static_cast< int >(val2
);
29458 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29459 if (!SWIG_IsOK(res3
)) {
29460 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29465 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29468 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29469 wxPyEndAllowThreads(__tstate
);
29470 if (PyErr_Occurred()) SWIG_fail
;
29473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29481 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29482 PyObject
*resultobj
= 0;
29483 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29490 PyObject
* obj0
= 0 ;
29491 PyObject
* obj1
= 0 ;
29492 char * kwnames
[] = {
29493 (char *) "self",(char *) "col", NULL
29496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29498 if (!SWIG_IsOK(res1
)) {
29499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29501 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29503 if (!SWIG_IsOK(ecode2
)) {
29504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29506 arg2
= static_cast< int >(val2
);
29508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29509 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29510 wxPyEndAllowThreads(__tstate
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29513 resultobj
= SWIG_From_int(static_cast< int >(result
));
29520 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29521 PyObject
*resultobj
= 0;
29522 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29532 PyObject
* obj0
= 0 ;
29533 PyObject
* obj1
= 0 ;
29534 PyObject
* obj2
= 0 ;
29535 char * kwnames
[] = {
29536 (char *) "self",(char *) "col",(char *) "width", NULL
29539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29541 if (!SWIG_IsOK(res1
)) {
29542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29544 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29546 if (!SWIG_IsOK(ecode2
)) {
29547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29549 arg2
= static_cast< int >(val2
);
29550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29551 if (!SWIG_IsOK(ecode3
)) {
29552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29554 arg3
= static_cast< int >(val3
);
29556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29557 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29558 wxPyEndAllowThreads(__tstate
);
29559 if (PyErr_Occurred()) SWIG_fail
;
29562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29570 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29571 PyObject
*resultobj
= 0;
29572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29576 PyObject
*swig_obj
[1] ;
29578 if (!args
) SWIG_fail
;
29579 swig_obj
[0] = args
;
29580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29581 if (!SWIG_IsOK(res1
)) {
29582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29584 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29587 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29588 wxPyEndAllowThreads(__tstate
);
29589 if (PyErr_Occurred()) SWIG_fail
;
29591 resultobj
= SWIG_From_int(static_cast< int >(result
));
29598 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29599 PyObject
*resultobj
= 0;
29600 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29604 PyObject
*swig_obj
[1] ;
29606 if (!args
) SWIG_fail
;
29607 swig_obj
[0] = args
;
29608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29609 if (!SWIG_IsOK(res1
)) {
29610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29612 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29615 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29616 wxPyEndAllowThreads(__tstate
);
29617 if (PyErr_Occurred()) SWIG_fail
;
29619 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29626 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29627 PyObject
*resultobj
= 0;
29628 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29629 wxTextCtrl
*result
= 0 ;
29632 PyObject
*swig_obj
[1] ;
29634 if (!args
) SWIG_fail
;
29635 swig_obj
[0] = args
;
29636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29637 if (!SWIG_IsOK(res1
)) {
29638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29640 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29643 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29644 wxPyEndAllowThreads(__tstate
);
29645 if (PyErr_Occurred()) SWIG_fail
;
29648 resultobj
= wxPyMake_wxObject(result
, 0);
29656 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29657 PyObject
*resultobj
= 0;
29658 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29660 int arg3
= (int) 0 ;
29661 wxListItem
*result
= 0 ;
29668 PyObject
* obj0
= 0 ;
29669 PyObject
* obj1
= 0 ;
29670 PyObject
* obj2
= 0 ;
29671 char * kwnames
[] = {
29672 (char *) "self",(char *) "itemId",(char *) "col", NULL
29675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29677 if (!SWIG_IsOK(res1
)) {
29678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29680 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29681 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29682 if (!SWIG_IsOK(ecode2
)) {
29683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29685 arg2
= static_cast< long >(val2
);
29687 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29688 if (!SWIG_IsOK(ecode3
)) {
29689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29691 arg3
= static_cast< int >(val3
);
29694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29695 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29696 wxPyEndAllowThreads(__tstate
);
29697 if (PyErr_Occurred()) SWIG_fail
;
29700 resultobj
= wxPyMake_wxObject(result
, 0);
29708 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29709 PyObject
*resultobj
= 0;
29710 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29711 wxListItem
*arg2
= 0 ;
29717 PyObject
* obj0
= 0 ;
29718 PyObject
* obj1
= 0 ;
29719 char * kwnames
[] = {
29720 (char *) "self",(char *) "info", NULL
29723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29725 if (!SWIG_IsOK(res1
)) {
29726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29728 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29729 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29730 if (!SWIG_IsOK(res2
)) {
29731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29736 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29739 result
= (bool)(arg1
)->SetItem(*arg2
);
29740 wxPyEndAllowThreads(__tstate
);
29741 if (PyErr_Occurred()) SWIG_fail
;
29744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29752 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
= 0;
29754 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29757 wxString
*arg4
= 0 ;
29758 int arg5
= (int) -1 ;
29766 bool temp4
= false ;
29769 PyObject
* obj0
= 0 ;
29770 PyObject
* obj1
= 0 ;
29771 PyObject
* obj2
= 0 ;
29772 PyObject
* obj3
= 0 ;
29773 PyObject
* obj4
= 0 ;
29774 char * kwnames
[] = {
29775 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29780 if (!SWIG_IsOK(res1
)) {
29781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29783 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29784 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29785 if (!SWIG_IsOK(ecode2
)) {
29786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29788 arg2
= static_cast< long >(val2
);
29789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29790 if (!SWIG_IsOK(ecode3
)) {
29791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29793 arg3
= static_cast< int >(val3
);
29795 arg4
= wxString_in_helper(obj3
);
29796 if (arg4
== NULL
) SWIG_fail
;
29800 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29801 if (!SWIG_IsOK(ecode5
)) {
29802 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29804 arg5
= static_cast< int >(val5
);
29807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29808 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29809 wxPyEndAllowThreads(__tstate
);
29810 if (PyErr_Occurred()) SWIG_fail
;
29812 resultobj
= SWIG_From_long(static_cast< long >(result
));
29827 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29828 PyObject
*resultobj
= 0;
29829 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29839 PyObject
* obj0
= 0 ;
29840 PyObject
* obj1
= 0 ;
29841 PyObject
* obj2
= 0 ;
29842 char * kwnames
[] = {
29843 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29848 if (!SWIG_IsOK(res1
)) {
29849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29851 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29852 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29853 if (!SWIG_IsOK(ecode2
)) {
29854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29856 arg2
= static_cast< long >(val2
);
29857 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29858 if (!SWIG_IsOK(ecode3
)) {
29859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29861 arg3
= static_cast< long >(val3
);
29863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29864 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29865 wxPyEndAllowThreads(__tstate
);
29866 if (PyErr_Occurred()) SWIG_fail
;
29868 resultobj
= SWIG_From_int(static_cast< int >(result
));
29875 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29876 PyObject
*resultobj
= 0;
29877 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29890 PyObject
* obj0
= 0 ;
29891 PyObject
* obj1
= 0 ;
29892 PyObject
* obj2
= 0 ;
29893 PyObject
* obj3
= 0 ;
29894 char * kwnames
[] = {
29895 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29900 if (!SWIG_IsOK(res1
)) {
29901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29903 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29904 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29905 if (!SWIG_IsOK(ecode2
)) {
29906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29908 arg2
= static_cast< long >(val2
);
29909 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29910 if (!SWIG_IsOK(ecode3
)) {
29911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29913 arg3
= static_cast< long >(val3
);
29914 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29915 if (!SWIG_IsOK(ecode4
)) {
29916 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29918 arg4
= static_cast< long >(val4
);
29920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29921 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29922 wxPyEndAllowThreads(__tstate
);
29923 if (PyErr_Occurred()) SWIG_fail
;
29926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29934 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29935 PyObject
*resultobj
= 0;
29936 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29939 int arg4
= (int) -1 ;
29949 PyObject
* obj0
= 0 ;
29950 PyObject
* obj1
= 0 ;
29951 PyObject
* obj2
= 0 ;
29952 PyObject
* obj3
= 0 ;
29953 char * kwnames
[] = {
29954 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29959 if (!SWIG_IsOK(res1
)) {
29960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29962 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29963 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29964 if (!SWIG_IsOK(ecode2
)) {
29965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29967 arg2
= static_cast< long >(val2
);
29968 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29969 if (!SWIG_IsOK(ecode3
)) {
29970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29972 arg3
= static_cast< int >(val3
);
29974 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29975 if (!SWIG_IsOK(ecode4
)) {
29976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29978 arg4
= static_cast< int >(val4
);
29981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29982 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29983 wxPyEndAllowThreads(__tstate
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29995 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29996 PyObject
*resultobj
= 0;
29997 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30010 PyObject
* obj0
= 0 ;
30011 PyObject
* obj1
= 0 ;
30012 PyObject
* obj2
= 0 ;
30013 PyObject
* obj3
= 0 ;
30014 char * kwnames
[] = {
30015 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
30018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30020 if (!SWIG_IsOK(res1
)) {
30021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30023 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30024 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30025 if (!SWIG_IsOK(ecode2
)) {
30026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
30028 arg2
= static_cast< long >(val2
);
30029 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30030 if (!SWIG_IsOK(ecode3
)) {
30031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
30033 arg3
= static_cast< long >(val3
);
30034 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30035 if (!SWIG_IsOK(ecode4
)) {
30036 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
30038 arg4
= static_cast< int >(val4
);
30040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30041 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
30042 wxPyEndAllowThreads(__tstate
);
30043 if (PyErr_Occurred()) SWIG_fail
;
30046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30054 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30055 PyObject
*resultobj
= 0;
30056 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30063 PyObject
* obj0
= 0 ;
30064 PyObject
* obj1
= 0 ;
30065 char * kwnames
[] = {
30066 (char *) "self",(char *) "item", NULL
30069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30071 if (!SWIG_IsOK(res1
)) {
30072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30074 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30075 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30076 if (!SWIG_IsOK(ecode2
)) {
30077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
30079 arg2
= static_cast< long >(val2
);
30081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30082 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
30083 wxPyEndAllowThreads(__tstate
);
30084 if (PyErr_Occurred()) SWIG_fail
;
30088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30099 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30100 PyObject
*resultobj
= 0;
30101 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30103 wxString
*arg3
= 0 ;
30108 bool temp3
= false ;
30109 PyObject
* obj0
= 0 ;
30110 PyObject
* obj1
= 0 ;
30111 PyObject
* obj2
= 0 ;
30112 char * kwnames
[] = {
30113 (char *) "self",(char *) "item",(char *) "str", NULL
30116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30118 if (!SWIG_IsOK(res1
)) {
30119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30121 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30122 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30123 if (!SWIG_IsOK(ecode2
)) {
30124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
30126 arg2
= static_cast< long >(val2
);
30128 arg3
= wxString_in_helper(obj2
);
30129 if (arg3
== NULL
) SWIG_fail
;
30133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30134 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
30135 wxPyEndAllowThreads(__tstate
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30138 resultobj
= SWIG_Py_Void();
30153 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30154 PyObject
*resultobj
= 0;
30155 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30162 PyObject
* obj0
= 0 ;
30163 PyObject
* obj1
= 0 ;
30164 char * kwnames
[] = {
30165 (char *) "self",(char *) "item", NULL
30168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30170 if (!SWIG_IsOK(res1
)) {
30171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30173 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30174 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30175 if (!SWIG_IsOK(ecode2
)) {
30176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
30178 arg2
= static_cast< long >(val2
);
30180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30181 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30185 resultobj
= SWIG_From_long(static_cast< long >(result
));
30192 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30193 PyObject
*resultobj
= 0;
30194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30204 PyObject
* obj0
= 0 ;
30205 PyObject
* obj1
= 0 ;
30206 PyObject
* obj2
= 0 ;
30207 char * kwnames
[] = {
30208 (char *) "self",(char *) "item",(char *) "data", NULL
30211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30213 if (!SWIG_IsOK(res1
)) {
30214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30216 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30217 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30218 if (!SWIG_IsOK(ecode2
)) {
30219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30221 arg2
= static_cast< long >(val2
);
30222 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30223 if (!SWIG_IsOK(ecode3
)) {
30224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30226 arg3
= static_cast< long >(val3
);
30228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30229 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
30230 wxPyEndAllowThreads(__tstate
);
30231 if (PyErr_Occurred()) SWIG_fail
;
30234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30242 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30243 PyObject
*resultobj
= 0;
30244 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30251 PyObject
* obj0
= 0 ;
30252 PyObject
* obj1
= 0 ;
30253 char * kwnames
[] = {
30254 (char *) "self",(char *) "item", NULL
30257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30259 if (!SWIG_IsOK(res1
)) {
30260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30262 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30263 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30264 if (!SWIG_IsOK(ecode2
)) {
30265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30267 arg2
= static_cast< long >(val2
);
30269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30270 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30271 wxPyEndAllowThreads(__tstate
);
30272 if (PyErr_Occurred()) SWIG_fail
;
30274 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30281 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30282 PyObject
*resultobj
= 0;
30283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30285 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30293 PyObject
* obj0
= 0 ;
30294 PyObject
* obj1
= 0 ;
30295 PyObject
* obj2
= 0 ;
30296 char * kwnames
[] = {
30297 (char *) "self",(char *) "item",(char *) "code", NULL
30300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30302 if (!SWIG_IsOK(res1
)) {
30303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30305 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30306 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30307 if (!SWIG_IsOK(ecode2
)) {
30308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30310 arg2
= static_cast< long >(val2
);
30312 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30313 if (!SWIG_IsOK(ecode3
)) {
30314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30316 arg3
= static_cast< int >(val3
);
30319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30320 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30321 wxPyEndAllowThreads(__tstate
);
30322 if (PyErr_Occurred()) SWIG_fail
;
30324 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30331 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30332 PyObject
*resultobj
= 0;
30333 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30335 wxPoint
*arg3
= 0 ;
30342 PyObject
* obj0
= 0 ;
30343 PyObject
* obj1
= 0 ;
30344 PyObject
* obj2
= 0 ;
30345 char * kwnames
[] = {
30346 (char *) "self",(char *) "item",(char *) "pos", NULL
30349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30351 if (!SWIG_IsOK(res1
)) {
30352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30354 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30355 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30356 if (!SWIG_IsOK(ecode2
)) {
30357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30359 arg2
= static_cast< long >(val2
);
30362 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30366 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30367 wxPyEndAllowThreads(__tstate
);
30368 if (PyErr_Occurred()) SWIG_fail
;
30371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30379 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30380 PyObject
*resultobj
= 0;
30381 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30385 PyObject
*swig_obj
[1] ;
30387 if (!args
) SWIG_fail
;
30388 swig_obj
[0] = args
;
30389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30390 if (!SWIG_IsOK(res1
)) {
30391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30393 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30396 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30397 wxPyEndAllowThreads(__tstate
);
30398 if (PyErr_Occurred()) SWIG_fail
;
30400 resultobj
= SWIG_From_int(static_cast< int >(result
));
30407 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30408 PyObject
*resultobj
= 0;
30409 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30413 PyObject
*swig_obj
[1] ;
30415 if (!args
) SWIG_fail
;
30416 swig_obj
[0] = args
;
30417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30418 if (!SWIG_IsOK(res1
)) {
30419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30421 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30424 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30425 wxPyEndAllowThreads(__tstate
);
30426 if (PyErr_Occurred()) SWIG_fail
;
30428 resultobj
= SWIG_From_int(static_cast< int >(result
));
30435 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30436 PyObject
*resultobj
= 0;
30437 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30441 PyObject
*swig_obj
[1] ;
30443 if (!args
) SWIG_fail
;
30444 swig_obj
[0] = args
;
30445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30446 if (!SWIG_IsOK(res1
)) {
30447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30449 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30452 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30453 wxPyEndAllowThreads(__tstate
);
30454 if (PyErr_Occurred()) SWIG_fail
;
30456 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30463 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30464 PyObject
*resultobj
= 0;
30465 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30469 PyObject
*swig_obj
[1] ;
30471 if (!args
) SWIG_fail
;
30472 swig_obj
[0] = args
;
30473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30474 if (!SWIG_IsOK(res1
)) {
30475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30477 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30480 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30481 wxPyEndAllowThreads(__tstate
);
30482 if (PyErr_Occurred()) SWIG_fail
;
30484 resultobj
= SWIG_From_int(static_cast< int >(result
));
30491 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30492 PyObject
*resultobj
= 0;
30493 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30497 PyObject
*swig_obj
[1] ;
30499 if (!args
) SWIG_fail
;
30500 swig_obj
[0] = args
;
30501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30502 if (!SWIG_IsOK(res1
)) {
30503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30505 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30508 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30509 wxPyEndAllowThreads(__tstate
);
30510 if (PyErr_Occurred()) SWIG_fail
;
30512 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30519 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30520 PyObject
*resultobj
= 0;
30521 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30522 wxColour
*arg2
= 0 ;
30526 PyObject
* obj0
= 0 ;
30527 PyObject
* obj1
= 0 ;
30528 char * kwnames
[] = {
30529 (char *) "self",(char *) "col", NULL
30532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30534 if (!SWIG_IsOK(res1
)) {
30535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30537 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30540 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30544 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30545 wxPyEndAllowThreads(__tstate
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30548 resultobj
= SWIG_Py_Void();
30555 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30556 PyObject
*resultobj
= 0;
30557 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30561 PyObject
*swig_obj
[1] ;
30563 if (!args
) SWIG_fail
;
30564 swig_obj
[0] = args
;
30565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30566 if (!SWIG_IsOK(res1
)) {
30567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30569 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30572 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30573 wxPyEndAllowThreads(__tstate
);
30574 if (PyErr_Occurred()) SWIG_fail
;
30576 resultobj
= SWIG_From_long(static_cast< long >(result
));
30583 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30584 PyObject
*resultobj
= 0;
30585 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30587 bool arg3
= (bool) true ;
30594 PyObject
* obj0
= 0 ;
30595 PyObject
* obj1
= 0 ;
30596 PyObject
* obj2
= 0 ;
30597 char * kwnames
[] = {
30598 (char *) "self",(char *) "style",(char *) "add", NULL
30601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30603 if (!SWIG_IsOK(res1
)) {
30604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30606 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30607 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30608 if (!SWIG_IsOK(ecode2
)) {
30609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30611 arg2
= static_cast< long >(val2
);
30613 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30614 if (!SWIG_IsOK(ecode3
)) {
30615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30617 arg3
= static_cast< bool >(val3
);
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 (arg1
)->SetSingleStyle(arg2
,arg3
);
30622 wxPyEndAllowThreads(__tstate
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30625 resultobj
= SWIG_Py_Void();
30632 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30633 PyObject
*resultobj
= 0;
30634 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30636 int arg3
= (int) wxLIST_NEXT_ALL
;
30637 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30647 PyObject
* obj0
= 0 ;
30648 PyObject
* obj1
= 0 ;
30649 PyObject
* obj2
= 0 ;
30650 PyObject
* obj3
= 0 ;
30651 char * kwnames
[] = {
30652 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30657 if (!SWIG_IsOK(res1
)) {
30658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30660 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30661 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30662 if (!SWIG_IsOK(ecode2
)) {
30663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30665 arg2
= static_cast< long >(val2
);
30667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30668 if (!SWIG_IsOK(ecode3
)) {
30669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30671 arg3
= static_cast< int >(val3
);
30674 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30675 if (!SWIG_IsOK(ecode4
)) {
30676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30678 arg4
= static_cast< int >(val4
);
30681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30682 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30683 wxPyEndAllowThreads(__tstate
);
30684 if (PyErr_Occurred()) SWIG_fail
;
30686 resultobj
= SWIG_From_long(static_cast< long >(result
));
30693 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30694 PyObject
*resultobj
= 0;
30695 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30697 wxImageList
*result
= 0 ;
30702 PyObject
* obj0
= 0 ;
30703 PyObject
* obj1
= 0 ;
30704 char * kwnames
[] = {
30705 (char *) "self",(char *) "which", NULL
30708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30710 if (!SWIG_IsOK(res1
)) {
30711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30713 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30715 if (!SWIG_IsOK(ecode2
)) {
30716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30718 arg2
= static_cast< int >(val2
);
30720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30721 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30722 wxPyEndAllowThreads(__tstate
);
30723 if (PyErr_Occurred()) SWIG_fail
;
30726 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30734 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30735 PyObject
*resultobj
= 0;
30736 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30737 wxImageList
*arg2
= (wxImageList
*) 0 ;
30745 PyObject
* obj0
= 0 ;
30746 PyObject
* obj1
= 0 ;
30747 PyObject
* obj2
= 0 ;
30748 char * kwnames
[] = {
30749 (char *) "self",(char *) "imageList",(char *) "which", NULL
30752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30754 if (!SWIG_IsOK(res1
)) {
30755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30757 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30758 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30759 if (!SWIG_IsOK(res2
)) {
30760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30762 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30764 if (!SWIG_IsOK(ecode3
)) {
30765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30767 arg3
= static_cast< int >(val3
);
30769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30770 (arg1
)->SetImageList(arg2
,arg3
);
30771 wxPyEndAllowThreads(__tstate
);
30772 if (PyErr_Occurred()) SWIG_fail
;
30774 resultobj
= SWIG_Py_Void();
30781 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30782 PyObject
*resultobj
= 0;
30783 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30784 wxImageList
*arg2
= (wxImageList
*) 0 ;
30791 PyObject
* obj0
= 0 ;
30792 PyObject
* obj1
= 0 ;
30793 PyObject
* obj2
= 0 ;
30794 char * kwnames
[] = {
30795 (char *) "self",(char *) "imageList",(char *) "which", NULL
30798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30800 if (!SWIG_IsOK(res1
)) {
30801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30803 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30804 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30805 if (!SWIG_IsOK(res2
)) {
30806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30809 if (!SWIG_IsOK(ecode3
)) {
30810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30812 arg3
= static_cast< int >(val3
);
30814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30815 (arg1
)->AssignImageList(arg2
,arg3
);
30816 wxPyEndAllowThreads(__tstate
);
30817 if (PyErr_Occurred()) SWIG_fail
;
30819 resultobj
= SWIG_Py_Void();
30826 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30827 PyObject
*resultobj
= 0;
30828 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30832 PyObject
*swig_obj
[1] ;
30834 if (!args
) SWIG_fail
;
30835 swig_obj
[0] = args
;
30836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30837 if (!SWIG_IsOK(res1
)) {
30838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30840 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30843 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30844 wxPyEndAllowThreads(__tstate
);
30845 if (PyErr_Occurred()) SWIG_fail
;
30848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30856 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30857 PyObject
*resultobj
= 0;
30858 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30862 PyObject
*swig_obj
[1] ;
30864 if (!args
) SWIG_fail
;
30865 swig_obj
[0] = args
;
30866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30867 if (!SWIG_IsOK(res1
)) {
30868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30870 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30873 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30874 wxPyEndAllowThreads(__tstate
);
30875 if (PyErr_Occurred()) SWIG_fail
;
30878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30886 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30887 PyObject
*resultobj
= 0;
30888 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30894 PyObject
* obj0
= 0 ;
30895 PyObject
* obj1
= 0 ;
30896 char * kwnames
[] = {
30897 (char *) "self",(char *) "item", NULL
30900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30902 if (!SWIG_IsOK(res1
)) {
30903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30905 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30906 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30907 if (!SWIG_IsOK(ecode2
)) {
30908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30910 arg2
= static_cast< long >(val2
);
30912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30913 (arg1
)->RefreshItem(arg2
);
30914 wxPyEndAllowThreads(__tstate
);
30915 if (PyErr_Occurred()) SWIG_fail
;
30917 resultobj
= SWIG_Py_Void();
30924 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30925 PyObject
*resultobj
= 0;
30926 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30935 PyObject
* obj0
= 0 ;
30936 PyObject
* obj1
= 0 ;
30937 PyObject
* obj2
= 0 ;
30938 char * kwnames
[] = {
30939 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30944 if (!SWIG_IsOK(res1
)) {
30945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30947 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30948 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30949 if (!SWIG_IsOK(ecode2
)) {
30950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30952 arg2
= static_cast< long >(val2
);
30953 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30954 if (!SWIG_IsOK(ecode3
)) {
30955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30957 arg3
= static_cast< long >(val3
);
30959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30960 (arg1
)->RefreshItems(arg2
,arg3
);
30961 wxPyEndAllowThreads(__tstate
);
30962 if (PyErr_Occurred()) SWIG_fail
;
30964 resultobj
= SWIG_Py_Void();
30971 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30972 PyObject
*resultobj
= 0;
30973 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30974 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30980 PyObject
* obj0
= 0 ;
30981 PyObject
* obj1
= 0 ;
30982 char * kwnames
[] = {
30983 (char *) "self",(char *) "flag", NULL
30986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30988 if (!SWIG_IsOK(res1
)) {
30989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30991 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30994 if (!SWIG_IsOK(ecode2
)) {
30995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30997 arg2
= static_cast< int >(val2
);
31000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31001 result
= (bool)(arg1
)->Arrange(arg2
);
31002 wxPyEndAllowThreads(__tstate
);
31003 if (PyErr_Occurred()) SWIG_fail
;
31006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31014 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31015 PyObject
*resultobj
= 0;
31016 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31023 PyObject
* obj0
= 0 ;
31024 PyObject
* obj1
= 0 ;
31025 char * kwnames
[] = {
31026 (char *) "self",(char *) "item", NULL
31029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31031 if (!SWIG_IsOK(res1
)) {
31032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31034 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31035 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31036 if (!SWIG_IsOK(ecode2
)) {
31037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
31039 arg2
= static_cast< long >(val2
);
31041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31042 result
= (bool)(arg1
)->DeleteItem(arg2
);
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31055 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31056 PyObject
*resultobj
= 0;
31057 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31061 PyObject
*swig_obj
[1] ;
31063 if (!args
) SWIG_fail
;
31064 swig_obj
[0] = args
;
31065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31066 if (!SWIG_IsOK(res1
)) {
31067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31069 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31072 result
= (bool)(arg1
)->DeleteAllItems();
31073 wxPyEndAllowThreads(__tstate
);
31074 if (PyErr_Occurred()) SWIG_fail
;
31077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31085 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31086 PyObject
*resultobj
= 0;
31087 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31094 PyObject
* obj0
= 0 ;
31095 PyObject
* obj1
= 0 ;
31096 char * kwnames
[] = {
31097 (char *) "self",(char *) "col", NULL
31100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31102 if (!SWIG_IsOK(res1
)) {
31103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31105 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31107 if (!SWIG_IsOK(ecode2
)) {
31108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
31110 arg2
= static_cast< int >(val2
);
31112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31113 result
= (bool)(arg1
)->DeleteColumn(arg2
);
31114 wxPyEndAllowThreads(__tstate
);
31115 if (PyErr_Occurred()) SWIG_fail
;
31118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31126 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31127 PyObject
*resultobj
= 0;
31128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31132 PyObject
*swig_obj
[1] ;
31134 if (!args
) SWIG_fail
;
31135 swig_obj
[0] = args
;
31136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31137 if (!SWIG_IsOK(res1
)) {
31138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31140 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31143 result
= (bool)(arg1
)->DeleteAllColumns();
31144 wxPyEndAllowThreads(__tstate
);
31145 if (PyErr_Occurred()) SWIG_fail
;
31148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31156 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31157 PyObject
*resultobj
= 0;
31158 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31161 PyObject
*swig_obj
[1] ;
31163 if (!args
) SWIG_fail
;
31164 swig_obj
[0] = args
;
31165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31166 if (!SWIG_IsOK(res1
)) {
31167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31169 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31172 (arg1
)->ClearAll();
31173 wxPyEndAllowThreads(__tstate
);
31174 if (PyErr_Occurred()) SWIG_fail
;
31176 resultobj
= SWIG_Py_Void();
31183 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31184 PyObject
*resultobj
= 0;
31185 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31187 wxTextCtrl
*result
= 0 ;
31192 PyObject
* obj0
= 0 ;
31193 PyObject
* obj1
= 0 ;
31194 char * kwnames
[] = {
31195 (char *) "self",(char *) "item", NULL
31198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31200 if (!SWIG_IsOK(res1
)) {
31201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31203 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31204 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31205 if (!SWIG_IsOK(ecode2
)) {
31206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31208 arg2
= static_cast< long >(val2
);
31210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31211 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
31212 wxPyEndAllowThreads(__tstate
);
31213 if (PyErr_Occurred()) SWIG_fail
;
31216 resultobj
= wxPyMake_wxObject(result
, 0);
31224 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31225 PyObject
*resultobj
= 0;
31226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31233 PyObject
* obj0
= 0 ;
31234 PyObject
* obj1
= 0 ;
31235 char * kwnames
[] = {
31236 (char *) "self",(char *) "cancel", NULL
31239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31241 if (!SWIG_IsOK(res1
)) {
31242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31244 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31245 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31246 if (!SWIG_IsOK(ecode2
)) {
31247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
31249 arg2
= static_cast< bool >(val2
);
31251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31252 result
= (bool)(arg1
)->EndEditLabel(arg2
);
31253 wxPyEndAllowThreads(__tstate
);
31254 if (PyErr_Occurred()) SWIG_fail
;
31257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31265 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31266 PyObject
*resultobj
= 0;
31267 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31274 PyObject
* obj0
= 0 ;
31275 PyObject
* obj1
= 0 ;
31276 char * kwnames
[] = {
31277 (char *) "self",(char *) "item", NULL
31280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31282 if (!SWIG_IsOK(res1
)) {
31283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31285 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31286 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31287 if (!SWIG_IsOK(ecode2
)) {
31288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31290 arg2
= static_cast< long >(val2
);
31292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31293 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31294 wxPyEndAllowThreads(__tstate
);
31295 if (PyErr_Occurred()) SWIG_fail
;
31298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31306 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31307 PyObject
*resultobj
= 0;
31308 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31310 wxString
*arg3
= 0 ;
31311 bool arg4
= (bool) false ;
31317 bool temp3
= false ;
31320 PyObject
* obj0
= 0 ;
31321 PyObject
* obj1
= 0 ;
31322 PyObject
* obj2
= 0 ;
31323 PyObject
* obj3
= 0 ;
31324 char * kwnames
[] = {
31325 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31330 if (!SWIG_IsOK(res1
)) {
31331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31333 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31334 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31335 if (!SWIG_IsOK(ecode2
)) {
31336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31338 arg2
= static_cast< long >(val2
);
31340 arg3
= wxString_in_helper(obj2
);
31341 if (arg3
== NULL
) SWIG_fail
;
31345 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31346 if (!SWIG_IsOK(ecode4
)) {
31347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31349 arg4
= static_cast< bool >(val4
);
31352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31353 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31354 wxPyEndAllowThreads(__tstate
);
31355 if (PyErr_Occurred()) SWIG_fail
;
31357 resultobj
= SWIG_From_long(static_cast< long >(result
));
31372 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31373 PyObject
*resultobj
= 0;
31374 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31384 PyObject
* obj0
= 0 ;
31385 PyObject
* obj1
= 0 ;
31386 PyObject
* obj2
= 0 ;
31387 char * kwnames
[] = {
31388 (char *) "self",(char *) "start",(char *) "data", NULL
31391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31393 if (!SWIG_IsOK(res1
)) {
31394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31396 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31397 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31398 if (!SWIG_IsOK(ecode2
)) {
31399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31401 arg2
= static_cast< long >(val2
);
31402 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31403 if (!SWIG_IsOK(ecode3
)) {
31404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31406 arg3
= static_cast< long >(val3
);
31408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31409 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31410 wxPyEndAllowThreads(__tstate
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31413 resultobj
= SWIG_From_long(static_cast< long >(result
));
31420 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31421 PyObject
*resultobj
= 0;
31422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31424 wxPoint
*arg3
= 0 ;
31434 PyObject
* obj0
= 0 ;
31435 PyObject
* obj1
= 0 ;
31436 PyObject
* obj2
= 0 ;
31437 PyObject
* obj3
= 0 ;
31438 char * kwnames
[] = {
31439 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31444 if (!SWIG_IsOK(res1
)) {
31445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31447 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31448 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31449 if (!SWIG_IsOK(ecode2
)) {
31450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31452 arg2
= static_cast< long >(val2
);
31455 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31457 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31458 if (!SWIG_IsOK(ecode4
)) {
31459 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31461 arg4
= static_cast< int >(val4
);
31463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31464 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31465 wxPyEndAllowThreads(__tstate
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31468 resultobj
= SWIG_From_long(static_cast< long >(result
));
31475 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31476 PyObject
*resultobj
= 0;
31477 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31478 wxPoint
*arg2
= 0 ;
31485 int res3
= SWIG_TMPOBJ
;
31486 PyObject
* obj0
= 0 ;
31487 PyObject
* obj1
= 0 ;
31488 char * kwnames
[] = {
31489 (char *) "self",(char *) "point", NULL
31493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31495 if (!SWIG_IsOK(res1
)) {
31496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31498 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31501 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31505 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31506 wxPyEndAllowThreads(__tstate
);
31507 if (PyErr_Occurred()) SWIG_fail
;
31509 resultobj
= SWIG_From_long(static_cast< long >(result
));
31510 if (SWIG_IsTmpObj(res3
)) {
31511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31513 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31522 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31523 PyObject
*resultobj
= 0;
31524 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31525 wxPoint
*arg2
= 0 ;
31527 long *arg4
= (long *) 0 ;
31533 int res3
= SWIG_TMPOBJ
;
31535 int res4
= SWIG_TMPOBJ
;
31536 PyObject
* obj0
= 0 ;
31537 PyObject
* obj1
= 0 ;
31538 char * kwnames
[] = {
31539 (char *) "self",(char *) "point", NULL
31544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31546 if (!SWIG_IsOK(res1
)) {
31547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31549 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31552 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31556 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31557 wxPyEndAllowThreads(__tstate
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31560 resultobj
= SWIG_From_long(static_cast< long >(result
));
31561 if (SWIG_IsTmpObj(res3
)) {
31562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31564 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31567 if (SWIG_IsTmpObj(res4
)) {
31568 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31570 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31579 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31580 PyObject
*resultobj
= 0;
31581 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31582 wxListItem
*arg2
= 0 ;
31588 PyObject
* obj0
= 0 ;
31589 PyObject
* obj1
= 0 ;
31590 char * kwnames
[] = {
31591 (char *) "self",(char *) "info", NULL
31594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31596 if (!SWIG_IsOK(res1
)) {
31597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31599 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31601 if (!SWIG_IsOK(res2
)) {
31602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31607 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31610 result
= (long)(arg1
)->InsertItem(*arg2
);
31611 wxPyEndAllowThreads(__tstate
);
31612 if (PyErr_Occurred()) SWIG_fail
;
31614 resultobj
= SWIG_From_long(static_cast< long >(result
));
31621 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31622 PyObject
*resultobj
= 0;
31623 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31625 wxString
*arg3
= 0 ;
31626 int arg4
= (int) -1 ;
31632 bool temp3
= false ;
31635 PyObject
* obj0
= 0 ;
31636 PyObject
* obj1
= 0 ;
31637 PyObject
* obj2
= 0 ;
31638 PyObject
* obj3
= 0 ;
31639 char * kwnames
[] = {
31640 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31645 if (!SWIG_IsOK(res1
)) {
31646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31648 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31649 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31650 if (!SWIG_IsOK(ecode2
)) {
31651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31653 arg2
= static_cast< long >(val2
);
31655 arg3
= wxString_in_helper(obj2
);
31656 if (arg3
== NULL
) SWIG_fail
;
31660 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31661 if (!SWIG_IsOK(ecode4
)) {
31662 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31664 arg4
= static_cast< int >(val4
);
31667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31668 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31669 wxPyEndAllowThreads(__tstate
);
31670 if (PyErr_Occurred()) SWIG_fail
;
31672 resultobj
= SWIG_From_long(static_cast< long >(result
));
31687 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31688 PyObject
*resultobj
= 0;
31689 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31699 PyObject
* obj0
= 0 ;
31700 PyObject
* obj1
= 0 ;
31701 PyObject
* obj2
= 0 ;
31702 char * kwnames
[] = {
31703 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31708 if (!SWIG_IsOK(res1
)) {
31709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31711 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31712 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31713 if (!SWIG_IsOK(ecode2
)) {
31714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31716 arg2
= static_cast< long >(val2
);
31717 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31718 if (!SWIG_IsOK(ecode3
)) {
31719 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31721 arg3
= static_cast< int >(val3
);
31723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31724 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31725 wxPyEndAllowThreads(__tstate
);
31726 if (PyErr_Occurred()) SWIG_fail
;
31728 resultobj
= SWIG_From_long(static_cast< long >(result
));
31735 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31736 PyObject
*resultobj
= 0;
31737 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31739 wxString
*arg3
= 0 ;
31746 bool temp3
= false ;
31749 PyObject
* obj0
= 0 ;
31750 PyObject
* obj1
= 0 ;
31751 PyObject
* obj2
= 0 ;
31752 PyObject
* obj3
= 0 ;
31753 char * kwnames
[] = {
31754 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31759 if (!SWIG_IsOK(res1
)) {
31760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31762 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31763 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31764 if (!SWIG_IsOK(ecode2
)) {
31765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31767 arg2
= static_cast< long >(val2
);
31769 arg3
= wxString_in_helper(obj2
);
31770 if (arg3
== NULL
) SWIG_fail
;
31773 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31774 if (!SWIG_IsOK(ecode4
)) {
31775 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31777 arg4
= static_cast< int >(val4
);
31779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31780 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31781 wxPyEndAllowThreads(__tstate
);
31782 if (PyErr_Occurred()) SWIG_fail
;
31784 resultobj
= SWIG_From_long(static_cast< long >(result
));
31799 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31800 PyObject
*resultobj
= 0;
31801 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31803 wxListItem
*arg3
= 0 ;
31811 PyObject
* obj0
= 0 ;
31812 PyObject
* obj1
= 0 ;
31813 PyObject
* obj2
= 0 ;
31814 char * kwnames
[] = {
31815 (char *) "self",(char *) "col",(char *) "info", NULL
31818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31820 if (!SWIG_IsOK(res1
)) {
31821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31823 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31824 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31825 if (!SWIG_IsOK(ecode2
)) {
31826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31828 arg2
= static_cast< long >(val2
);
31829 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31830 if (!SWIG_IsOK(res3
)) {
31831 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31836 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31839 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31840 wxPyEndAllowThreads(__tstate
);
31841 if (PyErr_Occurred()) SWIG_fail
;
31843 resultobj
= SWIG_From_long(static_cast< long >(result
));
31850 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31851 PyObject
*resultobj
= 0;
31852 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31854 wxString
*arg3
= 0 ;
31855 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31856 int arg5
= (int) -1 ;
31862 bool temp3
= false ;
31867 PyObject
* obj0
= 0 ;
31868 PyObject
* obj1
= 0 ;
31869 PyObject
* obj2
= 0 ;
31870 PyObject
* obj3
= 0 ;
31871 PyObject
* obj4
= 0 ;
31872 char * kwnames
[] = {
31873 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31878 if (!SWIG_IsOK(res1
)) {
31879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31881 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31882 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31883 if (!SWIG_IsOK(ecode2
)) {
31884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31886 arg2
= static_cast< long >(val2
);
31888 arg3
= wxString_in_helper(obj2
);
31889 if (arg3
== NULL
) SWIG_fail
;
31893 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31894 if (!SWIG_IsOK(ecode4
)) {
31895 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31897 arg4
= static_cast< int >(val4
);
31900 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31901 if (!SWIG_IsOK(ecode5
)) {
31902 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31904 arg5
= static_cast< int >(val5
);
31907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31908 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31909 wxPyEndAllowThreads(__tstate
);
31910 if (PyErr_Occurred()) SWIG_fail
;
31912 resultobj
= SWIG_From_long(static_cast< long >(result
));
31927 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31928 PyObject
*resultobj
= 0;
31929 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31935 PyObject
* obj0
= 0 ;
31936 PyObject
* obj1
= 0 ;
31937 char * kwnames
[] = {
31938 (char *) "self",(char *) "count", NULL
31941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31943 if (!SWIG_IsOK(res1
)) {
31944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31946 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31947 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31948 if (!SWIG_IsOK(ecode2
)) {
31949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31951 arg2
= static_cast< long >(val2
);
31953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31954 (arg1
)->SetItemCount(arg2
);
31955 wxPyEndAllowThreads(__tstate
);
31956 if (PyErr_Occurred()) SWIG_fail
;
31958 resultobj
= SWIG_Py_Void();
31965 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31966 PyObject
*resultobj
= 0;
31967 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31977 PyObject
* obj0
= 0 ;
31978 PyObject
* obj1
= 0 ;
31979 PyObject
* obj2
= 0 ;
31980 char * kwnames
[] = {
31981 (char *) "self",(char *) "dx",(char *) "dy", NULL
31984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31986 if (!SWIG_IsOK(res1
)) {
31987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31989 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31991 if (!SWIG_IsOK(ecode2
)) {
31992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31994 arg2
= static_cast< int >(val2
);
31995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31996 if (!SWIG_IsOK(ecode3
)) {
31997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31999 arg3
= static_cast< int >(val3
);
32001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32002 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
32003 wxPyEndAllowThreads(__tstate
);
32004 if (PyErr_Occurred()) SWIG_fail
;
32007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32015 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32016 PyObject
*resultobj
= 0;
32017 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32019 wxColour
*arg3
= 0 ;
32025 PyObject
* obj0
= 0 ;
32026 PyObject
* obj1
= 0 ;
32027 PyObject
* obj2
= 0 ;
32028 char * kwnames
[] = {
32029 (char *) "self",(char *) "item",(char *) "col", NULL
32032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32034 if (!SWIG_IsOK(res1
)) {
32035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32037 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32038 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32039 if (!SWIG_IsOK(ecode2
)) {
32040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
32042 arg2
= static_cast< long >(val2
);
32045 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32049 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
32050 wxPyEndAllowThreads(__tstate
);
32051 if (PyErr_Occurred()) SWIG_fail
;
32053 resultobj
= SWIG_Py_Void();
32060 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32061 PyObject
*resultobj
= 0;
32062 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32069 PyObject
* obj0
= 0 ;
32070 PyObject
* obj1
= 0 ;
32071 char * kwnames
[] = {
32072 (char *) "self",(char *) "item", NULL
32075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32077 if (!SWIG_IsOK(res1
)) {
32078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32080 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32081 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32082 if (!SWIG_IsOK(ecode2
)) {
32083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
32085 arg2
= static_cast< long >(val2
);
32087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32088 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
32089 wxPyEndAllowThreads(__tstate
);
32090 if (PyErr_Occurred()) SWIG_fail
;
32092 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32099 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32100 PyObject
*resultobj
= 0;
32101 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32103 wxColour
*arg3
= 0 ;
32109 PyObject
* obj0
= 0 ;
32110 PyObject
* obj1
= 0 ;
32111 PyObject
* obj2
= 0 ;
32112 char * kwnames
[] = {
32113 (char *) "self",(char *) "item",(char *) "col", NULL
32116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32118 if (!SWIG_IsOK(res1
)) {
32119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32121 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32122 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32123 if (!SWIG_IsOK(ecode2
)) {
32124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32126 arg2
= static_cast< long >(val2
);
32129 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32133 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
32134 wxPyEndAllowThreads(__tstate
);
32135 if (PyErr_Occurred()) SWIG_fail
;
32137 resultobj
= SWIG_Py_Void();
32144 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32145 PyObject
*resultobj
= 0;
32146 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32153 PyObject
* obj0
= 0 ;
32154 PyObject
* obj1
= 0 ;
32155 char * kwnames
[] = {
32156 (char *) "self",(char *) "item", NULL
32159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32161 if (!SWIG_IsOK(res1
)) {
32162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32164 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32165 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32166 if (!SWIG_IsOK(ecode2
)) {
32167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32169 arg2
= static_cast< long >(val2
);
32171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32172 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
32173 wxPyEndAllowThreads(__tstate
);
32174 if (PyErr_Occurred()) SWIG_fail
;
32176 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32183 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32184 PyObject
*resultobj
= 0;
32185 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32194 PyObject
* obj0
= 0 ;
32195 PyObject
* obj1
= 0 ;
32196 PyObject
* obj2
= 0 ;
32197 char * kwnames
[] = {
32198 (char *) "self",(char *) "item",(char *) "f", NULL
32201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32203 if (!SWIG_IsOK(res1
)) {
32204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32206 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32207 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32208 if (!SWIG_IsOK(ecode2
)) {
32209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32211 arg2
= static_cast< long >(val2
);
32212 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
32213 if (!SWIG_IsOK(res3
)) {
32214 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32219 arg3
= reinterpret_cast< wxFont
* >(argp3
);
32221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32222 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
32223 wxPyEndAllowThreads(__tstate
);
32224 if (PyErr_Occurred()) SWIG_fail
;
32226 resultobj
= SWIG_Py_Void();
32233 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32234 PyObject
*resultobj
= 0;
32235 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32242 PyObject
* obj0
= 0 ;
32243 PyObject
* obj1
= 0 ;
32244 char * kwnames
[] = {
32245 (char *) "self",(char *) "item", NULL
32248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32250 if (!SWIG_IsOK(res1
)) {
32251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32253 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32254 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32255 if (!SWIG_IsOK(ecode2
)) {
32256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32258 arg2
= static_cast< long >(val2
);
32260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32261 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32262 wxPyEndAllowThreads(__tstate
);
32263 if (PyErr_Occurred()) SWIG_fail
;
32265 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32272 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32273 PyObject
*resultobj
= 0;
32274 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32275 PyObject
*arg2
= (PyObject
*) 0 ;
32279 PyObject
* obj0
= 0 ;
32280 PyObject
* obj1
= 0 ;
32281 char * kwnames
[] = {
32282 (char *) "self",(char *) "func", NULL
32285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32287 if (!SWIG_IsOK(res1
)) {
32288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32290 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32294 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32295 wxPyEndAllowThreads(__tstate
);
32296 if (PyErr_Occurred()) SWIG_fail
;
32299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32307 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32308 PyObject
*resultobj
= 0;
32309 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32310 wxWindow
*result
= 0 ;
32313 PyObject
*swig_obj
[1] ;
32315 if (!args
) SWIG_fail
;
32316 swig_obj
[0] = args
;
32317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32318 if (!SWIG_IsOK(res1
)) {
32319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32321 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32324 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32325 wxPyEndAllowThreads(__tstate
);
32326 if (PyErr_Occurred()) SWIG_fail
;
32329 resultobj
= wxPyMake_wxObject(result
, 0);
32337 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32338 PyObject
*resultobj
= 0;
32339 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32340 SwigValueWrapper
<wxVisualAttributes
> result
;
32343 PyObject
* obj0
= 0 ;
32344 char * kwnames
[] = {
32345 (char *) "variant", NULL
32348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32350 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32351 if (!SWIG_IsOK(ecode1
)) {
32352 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32354 arg1
= static_cast< wxWindowVariant
>(val1
);
32357 if (!wxPyCheckForApp()) SWIG_fail
;
32358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32359 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32360 wxPyEndAllowThreads(__tstate
);
32361 if (PyErr_Occurred()) SWIG_fail
;
32363 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32370 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32372 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32373 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32374 return SWIG_Py_Void();
32377 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32378 return SWIG_Python_InitShadowInstance(args
);
32381 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32382 PyObject
*resultobj
= 0;
32383 wxWindow
*arg1
= (wxWindow
*) 0 ;
32384 int arg2
= (int) -1 ;
32385 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32386 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32387 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32388 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32389 long arg5
= (long) wxLC_REPORT
;
32390 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32391 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32392 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32393 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32394 wxListView
*result
= 0 ;
32405 bool temp7
= false ;
32406 PyObject
* obj0
= 0 ;
32407 PyObject
* obj1
= 0 ;
32408 PyObject
* obj2
= 0 ;
32409 PyObject
* obj3
= 0 ;
32410 PyObject
* obj4
= 0 ;
32411 PyObject
* obj5
= 0 ;
32412 PyObject
* obj6
= 0 ;
32413 char * kwnames
[] = {
32414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32419 if (!SWIG_IsOK(res1
)) {
32420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32422 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32425 if (!SWIG_IsOK(ecode2
)) {
32426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32428 arg2
= static_cast< int >(val2
);
32433 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32439 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32443 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32444 if (!SWIG_IsOK(ecode5
)) {
32445 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32447 arg5
= static_cast< long >(val5
);
32450 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32451 if (!SWIG_IsOK(res6
)) {
32452 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32457 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32461 arg7
= wxString_in_helper(obj6
);
32462 if (arg7
== NULL
) SWIG_fail
;
32467 if (!wxPyCheckForApp()) SWIG_fail
;
32468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32469 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32470 wxPyEndAllowThreads(__tstate
);
32471 if (PyErr_Occurred()) SWIG_fail
;
32473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32488 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32489 PyObject
*resultobj
= 0;
32490 wxListView
*result
= 0 ;
32492 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32494 if (!wxPyCheckForApp()) SWIG_fail
;
32495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32496 result
= (wxListView
*)new wxListView();
32497 wxPyEndAllowThreads(__tstate
);
32498 if (PyErr_Occurred()) SWIG_fail
;
32500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32507 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32508 PyObject
*resultobj
= 0;
32509 wxListView
*arg1
= (wxListView
*) 0 ;
32510 wxWindow
*arg2
= (wxWindow
*) 0 ;
32511 int arg3
= (int) -1 ;
32512 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32513 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32514 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32515 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32516 long arg6
= (long) wxLC_REPORT
;
32517 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32518 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32519 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32520 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32534 bool temp8
= false ;
32535 PyObject
* obj0
= 0 ;
32536 PyObject
* obj1
= 0 ;
32537 PyObject
* obj2
= 0 ;
32538 PyObject
* obj3
= 0 ;
32539 PyObject
* obj4
= 0 ;
32540 PyObject
* obj5
= 0 ;
32541 PyObject
* obj6
= 0 ;
32542 PyObject
* obj7
= 0 ;
32543 char * kwnames
[] = {
32544 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) 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_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32552 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32553 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32554 if (!SWIG_IsOK(res2
)) {
32555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32557 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32560 if (!SWIG_IsOK(ecode3
)) {
32561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32563 arg3
= static_cast< int >(val3
);
32568 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32574 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32578 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32579 if (!SWIG_IsOK(ecode6
)) {
32580 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32582 arg6
= static_cast< long >(val6
);
32585 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32586 if (!SWIG_IsOK(res7
)) {
32587 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32592 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32596 arg8
= wxString_in_helper(obj7
);
32597 if (arg8
== NULL
) SWIG_fail
;
32602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32603 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32604 wxPyEndAllowThreads(__tstate
);
32605 if (PyErr_Occurred()) SWIG_fail
;
32608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32624 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32625 PyObject
*resultobj
= 0;
32626 wxListView
*arg1
= (wxListView
*) 0 ;
32628 bool arg3
= (bool) true ;
32635 PyObject
* obj0
= 0 ;
32636 PyObject
* obj1
= 0 ;
32637 PyObject
* obj2
= 0 ;
32638 char * kwnames
[] = {
32639 (char *) "self",(char *) "n",(char *) "on", NULL
32642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32644 if (!SWIG_IsOK(res1
)) {
32645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32647 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32648 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32649 if (!SWIG_IsOK(ecode2
)) {
32650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32652 arg2
= static_cast< long >(val2
);
32654 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32655 if (!SWIG_IsOK(ecode3
)) {
32656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32658 arg3
= static_cast< bool >(val3
);
32661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32662 (arg1
)->Select(arg2
,arg3
);
32663 wxPyEndAllowThreads(__tstate
);
32664 if (PyErr_Occurred()) SWIG_fail
;
32666 resultobj
= SWIG_Py_Void();
32673 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32674 PyObject
*resultobj
= 0;
32675 wxListView
*arg1
= (wxListView
*) 0 ;
32681 PyObject
* obj0
= 0 ;
32682 PyObject
* obj1
= 0 ;
32683 char * kwnames
[] = {
32684 (char *) "self",(char *) "index", NULL
32687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32689 if (!SWIG_IsOK(res1
)) {
32690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32692 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32693 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32694 if (!SWIG_IsOK(ecode2
)) {
32695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32697 arg2
= static_cast< long >(val2
);
32699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32700 (arg1
)->Focus(arg2
);
32701 wxPyEndAllowThreads(__tstate
);
32702 if (PyErr_Occurred()) SWIG_fail
;
32704 resultobj
= SWIG_Py_Void();
32711 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32712 PyObject
*resultobj
= 0;
32713 wxListView
*arg1
= (wxListView
*) 0 ;
32717 PyObject
*swig_obj
[1] ;
32719 if (!args
) SWIG_fail
;
32720 swig_obj
[0] = args
;
32721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32722 if (!SWIG_IsOK(res1
)) {
32723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32725 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32728 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32729 wxPyEndAllowThreads(__tstate
);
32730 if (PyErr_Occurred()) SWIG_fail
;
32732 resultobj
= SWIG_From_long(static_cast< long >(result
));
32739 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32740 PyObject
*resultobj
= 0;
32741 wxListView
*arg1
= (wxListView
*) 0 ;
32748 PyObject
* obj0
= 0 ;
32749 PyObject
* obj1
= 0 ;
32750 char * kwnames
[] = {
32751 (char *) "self",(char *) "item", NULL
32754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32756 if (!SWIG_IsOK(res1
)) {
32757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32759 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32760 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32761 if (!SWIG_IsOK(ecode2
)) {
32762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32764 arg2
= static_cast< long >(val2
);
32766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32767 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32768 wxPyEndAllowThreads(__tstate
);
32769 if (PyErr_Occurred()) SWIG_fail
;
32771 resultobj
= SWIG_From_long(static_cast< long >(result
));
32778 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32779 PyObject
*resultobj
= 0;
32780 wxListView
*arg1
= (wxListView
*) 0 ;
32784 PyObject
*swig_obj
[1] ;
32786 if (!args
) SWIG_fail
;
32787 swig_obj
[0] = args
;
32788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32789 if (!SWIG_IsOK(res1
)) {
32790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32792 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32795 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32796 wxPyEndAllowThreads(__tstate
);
32797 if (PyErr_Occurred()) SWIG_fail
;
32799 resultobj
= SWIG_From_long(static_cast< long >(result
));
32806 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32807 PyObject
*resultobj
= 0;
32808 wxListView
*arg1
= (wxListView
*) 0 ;
32815 PyObject
* obj0
= 0 ;
32816 PyObject
* obj1
= 0 ;
32817 char * kwnames
[] = {
32818 (char *) "self",(char *) "index", NULL
32821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32823 if (!SWIG_IsOK(res1
)) {
32824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32826 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32827 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32828 if (!SWIG_IsOK(ecode2
)) {
32829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32831 arg2
= static_cast< long >(val2
);
32833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32834 result
= (bool)(arg1
)->IsSelected(arg2
);
32835 wxPyEndAllowThreads(__tstate
);
32836 if (PyErr_Occurred()) SWIG_fail
;
32839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32847 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32848 PyObject
*resultobj
= 0;
32849 wxListView
*arg1
= (wxListView
*) 0 ;
32858 PyObject
* obj0
= 0 ;
32859 PyObject
* obj1
= 0 ;
32860 PyObject
* obj2
= 0 ;
32861 char * kwnames
[] = {
32862 (char *) "self",(char *) "col",(char *) "image", NULL
32865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32867 if (!SWIG_IsOK(res1
)) {
32868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32870 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32872 if (!SWIG_IsOK(ecode2
)) {
32873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32875 arg2
= static_cast< int >(val2
);
32876 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32877 if (!SWIG_IsOK(ecode3
)) {
32878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32880 arg3
= static_cast< int >(val3
);
32882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32883 (arg1
)->SetColumnImage(arg2
,arg3
);
32884 wxPyEndAllowThreads(__tstate
);
32885 if (PyErr_Occurred()) SWIG_fail
;
32887 resultobj
= SWIG_Py_Void();
32894 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32895 PyObject
*resultobj
= 0;
32896 wxListView
*arg1
= (wxListView
*) 0 ;
32902 PyObject
* obj0
= 0 ;
32903 PyObject
* obj1
= 0 ;
32904 char * kwnames
[] = {
32905 (char *) "self",(char *) "col", NULL
32908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32910 if (!SWIG_IsOK(res1
)) {
32911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32913 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32915 if (!SWIG_IsOK(ecode2
)) {
32916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32918 arg2
= static_cast< int >(val2
);
32920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32921 (arg1
)->ClearColumnImage(arg2
);
32922 wxPyEndAllowThreads(__tstate
);
32923 if (PyErr_Occurred()) SWIG_fail
;
32925 resultobj
= SWIG_Py_Void();
32932 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32934 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32935 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32936 return SWIG_Py_Void();
32939 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32940 return SWIG_Python_InitShadowInstance(args
);
32943 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32944 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32949 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32950 PyObject
*pyobj
= 0;
32954 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32956 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32963 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32964 PyObject
*resultobj
= 0;
32965 wxTreeItemId
*result
= 0 ;
32967 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32970 result
= (wxTreeItemId
*)new wxTreeItemId();
32971 wxPyEndAllowThreads(__tstate
);
32972 if (PyErr_Occurred()) SWIG_fail
;
32974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32981 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32982 PyObject
*resultobj
= 0;
32983 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32986 PyObject
*swig_obj
[1] ;
32988 if (!args
) SWIG_fail
;
32989 swig_obj
[0] = args
;
32990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32991 if (!SWIG_IsOK(res1
)) {
32992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32994 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32999 wxPyEndAllowThreads(__tstate
);
33000 if (PyErr_Occurred()) SWIG_fail
;
33002 resultobj
= SWIG_Py_Void();
33009 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33010 PyObject
*resultobj
= 0;
33011 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33015 PyObject
*swig_obj
[1] ;
33017 if (!args
) SWIG_fail
;
33018 swig_obj
[0] = args
;
33019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33020 if (!SWIG_IsOK(res1
)) {
33021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
33023 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33026 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
33027 wxPyEndAllowThreads(__tstate
);
33028 if (PyErr_Occurred()) SWIG_fail
;
33031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33039 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33040 PyObject
*resultobj
= 0;
33041 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33042 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
33048 PyObject
* obj0
= 0 ;
33049 PyObject
* obj1
= 0 ;
33050 char * kwnames
[] = {
33051 (char *) "self",(char *) "other", NULL
33054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33056 if (!SWIG_IsOK(res1
)) {
33057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33059 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33060 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33061 if (!SWIG_IsOK(res2
)) {
33062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
33064 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33067 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
33068 wxPyEndAllowThreads(__tstate
);
33069 if (PyErr_Occurred()) SWIG_fail
;
33072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33080 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33081 PyObject
*resultobj
= 0;
33082 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33083 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
33089 PyObject
* obj0
= 0 ;
33090 PyObject
* obj1
= 0 ;
33091 char * kwnames
[] = {
33092 (char *) "self",(char *) "other", NULL
33095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33097 if (!SWIG_IsOK(res1
)) {
33098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33100 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33101 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33102 if (!SWIG_IsOK(res2
)) {
33103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
33105 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33108 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
33109 wxPyEndAllowThreads(__tstate
);
33110 if (PyErr_Occurred()) SWIG_fail
;
33113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33121 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33122 PyObject
*resultobj
= 0;
33123 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33124 void *arg2
= (void *) 0 ;
33128 PyObject
*swig_obj
[2] ;
33130 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
33131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33132 if (!SWIG_IsOK(res1
)) {
33133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33135 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33136 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
33137 if (!SWIG_IsOK(res2
)) {
33138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
33140 if (arg1
) (arg1
)->m_pItem
= arg2
;
33142 resultobj
= SWIG_Py_Void();
33149 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33150 PyObject
*resultobj
= 0;
33151 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33155 PyObject
*swig_obj
[1] ;
33157 if (!args
) SWIG_fail
;
33158 swig_obj
[0] = args
;
33159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33160 if (!SWIG_IsOK(res1
)) {
33161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33163 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33164 result
= (void *) ((arg1
)->m_pItem
);
33165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
33172 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33175 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
33176 return SWIG_Py_Void();
33179 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33180 return SWIG_Python_InitShadowInstance(args
);
33183 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33184 PyObject
*resultobj
= 0;
33185 PyObject
*arg1
= (PyObject
*) NULL
;
33186 wxPyTreeItemData
*result
= 0 ;
33187 PyObject
* obj0
= 0 ;
33188 char * kwnames
[] = {
33189 (char *) "obj", NULL
33192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
33197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33198 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
33199 wxPyEndAllowThreads(__tstate
);
33200 if (PyErr_Occurred()) SWIG_fail
;
33202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
33209 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33210 PyObject
*resultobj
= 0;
33211 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33214 PyObject
*swig_obj
[1] ;
33216 if (!args
) SWIG_fail
;
33217 swig_obj
[0] = args
;
33218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33219 if (!SWIG_IsOK(res1
)) {
33220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33222 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33227 wxPyEndAllowThreads(__tstate
);
33228 if (PyErr_Occurred()) SWIG_fail
;
33230 resultobj
= SWIG_Py_Void();
33237 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33238 PyObject
*resultobj
= 0;
33239 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33240 PyObject
*result
= 0 ;
33243 PyObject
*swig_obj
[1] ;
33245 if (!args
) SWIG_fail
;
33246 swig_obj
[0] = args
;
33247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33248 if (!SWIG_IsOK(res1
)) {
33249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33251 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33254 result
= (PyObject
*)(arg1
)->GetData();
33255 wxPyEndAllowThreads(__tstate
);
33256 if (PyErr_Occurred()) SWIG_fail
;
33258 resultobj
= result
;
33265 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33266 PyObject
*resultobj
= 0;
33267 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33268 PyObject
*arg2
= (PyObject
*) 0 ;
33271 PyObject
* obj0
= 0 ;
33272 PyObject
* obj1
= 0 ;
33273 char * kwnames
[] = {
33274 (char *) "self",(char *) "obj", NULL
33277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33279 if (!SWIG_IsOK(res1
)) {
33280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33282 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33286 (arg1
)->SetData(arg2
);
33287 wxPyEndAllowThreads(__tstate
);
33288 if (PyErr_Occurred()) SWIG_fail
;
33290 resultobj
= SWIG_Py_Void();
33297 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33298 PyObject
*resultobj
= 0;
33299 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33300 wxTreeItemId
*result
= 0 ;
33303 PyObject
*swig_obj
[1] ;
33305 if (!args
) SWIG_fail
;
33306 swig_obj
[0] = args
;
33307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33308 if (!SWIG_IsOK(res1
)) {
33309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33311 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33315 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33316 result
= (wxTreeItemId
*) &_result_ref
;
33318 wxPyEndAllowThreads(__tstate
);
33319 if (PyErr_Occurred()) SWIG_fail
;
33321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33328 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33329 PyObject
*resultobj
= 0;
33330 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33331 wxTreeItemId
*arg2
= 0 ;
33336 PyObject
* obj0
= 0 ;
33337 PyObject
* obj1
= 0 ;
33338 char * kwnames
[] = {
33339 (char *) "self",(char *) "id", NULL
33342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33344 if (!SWIG_IsOK(res1
)) {
33345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33347 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33348 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33349 if (!SWIG_IsOK(res2
)) {
33350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33355 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33358 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33359 wxPyEndAllowThreads(__tstate
);
33360 if (PyErr_Occurred()) SWIG_fail
;
33362 resultobj
= SWIG_Py_Void();
33369 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33370 PyObject
*resultobj
= 0;
33371 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33374 PyObject
*swig_obj
[1] ;
33376 if (!args
) SWIG_fail
;
33377 swig_obj
[0] = args
;
33378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33379 if (!SWIG_IsOK(res1
)) {
33380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33382 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33385 wxPyTreeItemData_Destroy(arg1
);
33386 wxPyEndAllowThreads(__tstate
);
33387 if (PyErr_Occurred()) SWIG_fail
;
33389 resultobj
= SWIG_Py_Void();
33396 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33398 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33399 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33400 return SWIG_Py_Void();
33403 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33404 return SWIG_Python_InitShadowInstance(args
);
33407 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33410 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33411 if (!SWIG_IsOK(res
)) {
33412 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33417 wxTreeItemId
* temp
;
33418 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33419 wxNullTreeItemId
= *temp
;
33420 if (SWIG_IsNewObj(res
)) delete temp
;
33429 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33430 PyObject
*pyobj
= 0;
33432 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33437 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33438 PyObject
*resultobj
= 0;
33439 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33440 int arg2
= (int) 0 ;
33441 wxTreeEvent
*result
= 0 ;
33447 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33449 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33450 if (!SWIG_IsOK(ecode1
)) {
33451 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33453 arg1
= static_cast< wxEventType
>(val1
);
33456 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33457 if (!SWIG_IsOK(ecode2
)) {
33458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33460 arg2
= static_cast< int >(val2
);
33463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33464 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33465 wxPyEndAllowThreads(__tstate
);
33466 if (PyErr_Occurred()) SWIG_fail
;
33468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33475 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33476 PyObject
*resultobj
= 0;
33478 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33479 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33480 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33481 wxTreeEvent
*result
= 0 ;
33489 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33490 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33491 if (!SWIG_IsOK(ecode1
)) {
33492 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33494 arg1
= static_cast< wxEventType
>(val1
);
33495 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33496 if (!SWIG_IsOK(res2
)) {
33497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33499 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33501 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33502 if (!SWIG_IsOK(res3
)) {
33503 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33508 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33512 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33513 wxPyEndAllowThreads(__tstate
);
33514 if (PyErr_Occurred()) SWIG_fail
;
33516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33523 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33527 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33529 if ((argc
>= 0) && (argc
<= 2)) {
33534 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33535 _v
= SWIG_CheckState(res
);
33538 if (!_v
) goto check_1
;
33540 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33544 if ((argc
>= 2) && (argc
<= 3)) {
33545 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33549 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33554 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33555 PyObject
*resultobj
= 0;
33556 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33557 wxTreeItemId result
;
33560 PyObject
*swig_obj
[1] ;
33562 if (!args
) SWIG_fail
;
33563 swig_obj
[0] = args
;
33564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33565 if (!SWIG_IsOK(res1
)) {
33566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33568 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33571 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33572 wxPyEndAllowThreads(__tstate
);
33573 if (PyErr_Occurred()) SWIG_fail
;
33575 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33582 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33583 PyObject
*resultobj
= 0;
33584 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33585 wxTreeItemId
*arg2
= 0 ;
33590 PyObject
* obj0
= 0 ;
33591 PyObject
* obj1
= 0 ;
33592 char * kwnames
[] = {
33593 (char *) "self",(char *) "item", NULL
33596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33598 if (!SWIG_IsOK(res1
)) {
33599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33601 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33602 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33603 if (!SWIG_IsOK(res2
)) {
33604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33609 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33612 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33613 wxPyEndAllowThreads(__tstate
);
33614 if (PyErr_Occurred()) SWIG_fail
;
33616 resultobj
= SWIG_Py_Void();
33623 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33624 PyObject
*resultobj
= 0;
33625 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33626 wxTreeItemId result
;
33629 PyObject
*swig_obj
[1] ;
33631 if (!args
) SWIG_fail
;
33632 swig_obj
[0] = args
;
33633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33634 if (!SWIG_IsOK(res1
)) {
33635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33637 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33640 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33641 wxPyEndAllowThreads(__tstate
);
33642 if (PyErr_Occurred()) SWIG_fail
;
33644 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33651 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33652 PyObject
*resultobj
= 0;
33653 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33654 wxTreeItemId
*arg2
= 0 ;
33659 PyObject
* obj0
= 0 ;
33660 PyObject
* obj1
= 0 ;
33661 char * kwnames
[] = {
33662 (char *) "self",(char *) "item", NULL
33665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33667 if (!SWIG_IsOK(res1
)) {
33668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33670 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33672 if (!SWIG_IsOK(res2
)) {
33673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33678 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33681 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33682 wxPyEndAllowThreads(__tstate
);
33683 if (PyErr_Occurred()) SWIG_fail
;
33685 resultobj
= SWIG_Py_Void();
33692 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33693 PyObject
*resultobj
= 0;
33694 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33698 PyObject
*swig_obj
[1] ;
33700 if (!args
) SWIG_fail
;
33701 swig_obj
[0] = args
;
33702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33703 if (!SWIG_IsOK(res1
)) {
33704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33706 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33709 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33710 wxPyEndAllowThreads(__tstate
);
33711 if (PyErr_Occurred()) SWIG_fail
;
33713 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33720 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33721 PyObject
*resultobj
= 0;
33722 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33723 wxPoint
*arg2
= 0 ;
33727 PyObject
* obj0
= 0 ;
33728 PyObject
* obj1
= 0 ;
33729 char * kwnames
[] = {
33730 (char *) "self",(char *) "pt", NULL
33733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33735 if (!SWIG_IsOK(res1
)) {
33736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33738 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33741 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33745 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33746 wxPyEndAllowThreads(__tstate
);
33747 if (PyErr_Occurred()) SWIG_fail
;
33749 resultobj
= SWIG_Py_Void();
33756 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33757 PyObject
*resultobj
= 0;
33758 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33759 wxKeyEvent
*result
= 0 ;
33762 PyObject
*swig_obj
[1] ;
33764 if (!args
) SWIG_fail
;
33765 swig_obj
[0] = args
;
33766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33767 if (!SWIG_IsOK(res1
)) {
33768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33770 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33774 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33775 result
= (wxKeyEvent
*) &_result_ref
;
33777 wxPyEndAllowThreads(__tstate
);
33778 if (PyErr_Occurred()) SWIG_fail
;
33780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33787 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33788 PyObject
*resultobj
= 0;
33789 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33793 PyObject
*swig_obj
[1] ;
33795 if (!args
) SWIG_fail
;
33796 swig_obj
[0] = args
;
33797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33798 if (!SWIG_IsOK(res1
)) {
33799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33801 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33804 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33805 wxPyEndAllowThreads(__tstate
);
33806 if (PyErr_Occurred()) SWIG_fail
;
33808 resultobj
= SWIG_From_int(static_cast< int >(result
));
33815 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33816 PyObject
*resultobj
= 0;
33817 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33818 wxKeyEvent
*arg2
= 0 ;
33823 PyObject
* obj0
= 0 ;
33824 PyObject
* obj1
= 0 ;
33825 char * kwnames
[] = {
33826 (char *) "self",(char *) "evt", NULL
33829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33831 if (!SWIG_IsOK(res1
)) {
33832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33834 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33835 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33836 if (!SWIG_IsOK(res2
)) {
33837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33842 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33845 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33846 wxPyEndAllowThreads(__tstate
);
33847 if (PyErr_Occurred()) SWIG_fail
;
33849 resultobj
= SWIG_Py_Void();
33856 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33857 PyObject
*resultobj
= 0;
33858 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33859 wxString
*result
= 0 ;
33862 PyObject
*swig_obj
[1] ;
33864 if (!args
) SWIG_fail
;
33865 swig_obj
[0] = args
;
33866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33867 if (!SWIG_IsOK(res1
)) {
33868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33870 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33874 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33875 result
= (wxString
*) &_result_ref
;
33877 wxPyEndAllowThreads(__tstate
);
33878 if (PyErr_Occurred()) SWIG_fail
;
33882 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33884 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33893 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33894 PyObject
*resultobj
= 0;
33895 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33896 wxString
*arg2
= 0 ;
33899 bool temp2
= false ;
33900 PyObject
* obj0
= 0 ;
33901 PyObject
* obj1
= 0 ;
33902 char * kwnames
[] = {
33903 (char *) "self",(char *) "label", NULL
33906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33908 if (!SWIG_IsOK(res1
)) {
33909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33911 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33913 arg2
= wxString_in_helper(obj1
);
33914 if (arg2
== NULL
) SWIG_fail
;
33918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33919 (arg1
)->SetLabel((wxString
const &)*arg2
);
33920 wxPyEndAllowThreads(__tstate
);
33921 if (PyErr_Occurred()) SWIG_fail
;
33923 resultobj
= SWIG_Py_Void();
33938 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33939 PyObject
*resultobj
= 0;
33940 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33944 PyObject
*swig_obj
[1] ;
33946 if (!args
) SWIG_fail
;
33947 swig_obj
[0] = args
;
33948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33949 if (!SWIG_IsOK(res1
)) {
33950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33952 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33955 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33956 wxPyEndAllowThreads(__tstate
);
33957 if (PyErr_Occurred()) SWIG_fail
;
33960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33968 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33969 PyObject
*resultobj
= 0;
33970 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33976 PyObject
* obj0
= 0 ;
33977 PyObject
* obj1
= 0 ;
33978 char * kwnames
[] = {
33979 (char *) "self",(char *) "editCancelled", NULL
33982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33984 if (!SWIG_IsOK(res1
)) {
33985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33987 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33988 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33989 if (!SWIG_IsOK(ecode2
)) {
33990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33992 arg2
= static_cast< bool >(val2
);
33994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33995 (arg1
)->SetEditCanceled(arg2
);
33996 wxPyEndAllowThreads(__tstate
);
33997 if (PyErr_Occurred()) SWIG_fail
;
33999 resultobj
= SWIG_Py_Void();
34006 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34007 PyObject
*resultobj
= 0;
34008 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
34009 wxString
*arg2
= 0 ;
34012 bool temp2
= false ;
34013 PyObject
* obj0
= 0 ;
34014 PyObject
* obj1
= 0 ;
34015 char * kwnames
[] = {
34016 (char *) "self",(char *) "toolTip", NULL
34019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
34021 if (!SWIG_IsOK(res1
)) {
34022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34024 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34026 arg2
= wxString_in_helper(obj1
);
34027 if (arg2
== NULL
) SWIG_fail
;
34031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34032 (arg1
)->SetToolTip((wxString
const &)*arg2
);
34033 wxPyEndAllowThreads(__tstate
);
34034 if (PyErr_Occurred()) SWIG_fail
;
34036 resultobj
= SWIG_Py_Void();
34051 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34052 PyObject
*resultobj
= 0;
34053 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
34057 PyObject
*swig_obj
[1] ;
34059 if (!args
) SWIG_fail
;
34060 swig_obj
[0] = args
;
34061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
34062 if (!SWIG_IsOK(res1
)) {
34063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34065 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34068 result
= (arg1
)->GetToolTip();
34069 wxPyEndAllowThreads(__tstate
);
34070 if (PyErr_Occurred()) SWIG_fail
;
34074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34085 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34087 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34088 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
34089 return SWIG_Py_Void();
34092 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34093 return SWIG_Python_InitShadowInstance(args
);
34096 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34097 PyObject
*resultobj
= 0;
34098 wxWindow
*arg1
= (wxWindow
*) 0 ;
34099 int arg2
= (int) -1 ;
34100 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34101 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34102 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34103 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34104 long arg5
= (long) wxTR_DEFAULT_STYLE
;
34105 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
34106 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
34107 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
34108 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
34109 wxPyTreeCtrl
*result
= 0 ;
34120 bool temp7
= false ;
34121 PyObject
* obj0
= 0 ;
34122 PyObject
* obj1
= 0 ;
34123 PyObject
* obj2
= 0 ;
34124 PyObject
* obj3
= 0 ;
34125 PyObject
* obj4
= 0 ;
34126 PyObject
* obj5
= 0 ;
34127 PyObject
* obj6
= 0 ;
34128 char * kwnames
[] = {
34129 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34134 if (!SWIG_IsOK(res1
)) {
34135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
34137 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34140 if (!SWIG_IsOK(ecode2
)) {
34141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
34143 arg2
= static_cast< int >(val2
);
34148 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34154 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34158 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
34159 if (!SWIG_IsOK(ecode5
)) {
34160 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
34162 arg5
= static_cast< long >(val5
);
34165 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
34166 if (!SWIG_IsOK(res6
)) {
34167 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34172 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
34176 arg7
= wxString_in_helper(obj6
);
34177 if (arg7
== NULL
) SWIG_fail
;
34182 if (!wxPyCheckForApp()) SWIG_fail
;
34183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34185 wxPyEndAllowThreads(__tstate
);
34186 if (PyErr_Occurred()) SWIG_fail
;
34188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
34203 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34204 PyObject
*resultobj
= 0;
34205 wxPyTreeCtrl
*result
= 0 ;
34207 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
34209 if (!wxPyCheckForApp()) SWIG_fail
;
34210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34211 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
34212 wxPyEndAllowThreads(__tstate
);
34213 if (PyErr_Occurred()) SWIG_fail
;
34215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
34222 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34223 PyObject
*resultobj
= 0;
34224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34225 wxWindow
*arg2
= (wxWindow
*) 0 ;
34226 int arg3
= (int) -1 ;
34227 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34228 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34229 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34230 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34231 long arg6
= (long) wxTR_DEFAULT_STYLE
;
34232 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34233 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34234 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
34235 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34249 bool temp8
= false ;
34250 PyObject
* obj0
= 0 ;
34251 PyObject
* obj1
= 0 ;
34252 PyObject
* obj2
= 0 ;
34253 PyObject
* obj3
= 0 ;
34254 PyObject
* obj4
= 0 ;
34255 PyObject
* obj5
= 0 ;
34256 PyObject
* obj6
= 0 ;
34257 PyObject
* obj7
= 0 ;
34258 char * kwnames
[] = {
34259 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34264 if (!SWIG_IsOK(res1
)) {
34265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34267 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34269 if (!SWIG_IsOK(res2
)) {
34270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34272 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34275 if (!SWIG_IsOK(ecode3
)) {
34276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34278 arg3
= static_cast< int >(val3
);
34283 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34289 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34293 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34294 if (!SWIG_IsOK(ecode6
)) {
34295 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34297 arg6
= static_cast< long >(val6
);
34300 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34301 if (!SWIG_IsOK(res7
)) {
34302 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34307 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34311 arg8
= wxString_in_helper(obj7
);
34312 if (arg8
== NULL
) SWIG_fail
;
34317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34318 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34319 wxPyEndAllowThreads(__tstate
);
34320 if (PyErr_Occurred()) SWIG_fail
;
34323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34339 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34340 PyObject
*resultobj
= 0;
34341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34342 PyObject
*arg2
= (PyObject
*) 0 ;
34343 PyObject
*arg3
= (PyObject
*) 0 ;
34346 PyObject
* obj0
= 0 ;
34347 PyObject
* obj1
= 0 ;
34348 PyObject
* obj2
= 0 ;
34349 char * kwnames
[] = {
34350 (char *) "self",(char *) "self",(char *) "_class", NULL
34353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34355 if (!SWIG_IsOK(res1
)) {
34356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34358 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34363 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34364 wxPyEndAllowThreads(__tstate
);
34365 if (PyErr_Occurred()) SWIG_fail
;
34367 resultobj
= SWIG_Py_Void();
34374 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34375 PyObject
*resultobj
= 0;
34376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34377 unsigned int result
;
34380 PyObject
*swig_obj
[1] ;
34382 if (!args
) SWIG_fail
;
34383 swig_obj
[0] = args
;
34384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34385 if (!SWIG_IsOK(res1
)) {
34386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34388 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34391 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34392 wxPyEndAllowThreads(__tstate
);
34393 if (PyErr_Occurred()) SWIG_fail
;
34395 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34402 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34403 PyObject
*resultobj
= 0;
34404 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34405 unsigned int result
;
34408 PyObject
*swig_obj
[1] ;
34410 if (!args
) SWIG_fail
;
34411 swig_obj
[0] = args
;
34412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34413 if (!SWIG_IsOK(res1
)) {
34414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34416 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34419 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34420 wxPyEndAllowThreads(__tstate
);
34421 if (PyErr_Occurred()) SWIG_fail
;
34423 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34430 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34431 PyObject
*resultobj
= 0;
34432 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34433 unsigned int arg2
;
34436 unsigned int val2
;
34438 PyObject
* obj0
= 0 ;
34439 PyObject
* obj1
= 0 ;
34440 char * kwnames
[] = {
34441 (char *) "self",(char *) "indent", NULL
34444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34446 if (!SWIG_IsOK(res1
)) {
34447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34449 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34450 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34451 if (!SWIG_IsOK(ecode2
)) {
34452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34454 arg2
= static_cast< unsigned int >(val2
);
34456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34457 (arg1
)->SetIndent(arg2
);
34458 wxPyEndAllowThreads(__tstate
);
34459 if (PyErr_Occurred()) SWIG_fail
;
34461 resultobj
= SWIG_Py_Void();
34468 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34469 PyObject
*resultobj
= 0;
34470 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34471 unsigned int result
;
34474 PyObject
*swig_obj
[1] ;
34476 if (!args
) SWIG_fail
;
34477 swig_obj
[0] = args
;
34478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34479 if (!SWIG_IsOK(res1
)) {
34480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34482 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34485 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34486 wxPyEndAllowThreads(__tstate
);
34487 if (PyErr_Occurred()) SWIG_fail
;
34489 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34496 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34497 PyObject
*resultobj
= 0;
34498 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34499 unsigned int arg2
;
34502 unsigned int val2
;
34504 PyObject
* obj0
= 0 ;
34505 PyObject
* obj1
= 0 ;
34506 char * kwnames
[] = {
34507 (char *) "self",(char *) "spacing", NULL
34510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34512 if (!SWIG_IsOK(res1
)) {
34513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34515 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34516 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34517 if (!SWIG_IsOK(ecode2
)) {
34518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34520 arg2
= static_cast< unsigned int >(val2
);
34522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34523 (arg1
)->SetSpacing(arg2
);
34524 wxPyEndAllowThreads(__tstate
);
34525 if (PyErr_Occurred()) SWIG_fail
;
34527 resultobj
= SWIG_Py_Void();
34534 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34535 PyObject
*resultobj
= 0;
34536 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34537 wxImageList
*result
= 0 ;
34540 PyObject
*swig_obj
[1] ;
34542 if (!args
) SWIG_fail
;
34543 swig_obj
[0] = args
;
34544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34545 if (!SWIG_IsOK(res1
)) {
34546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34548 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34551 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34552 wxPyEndAllowThreads(__tstate
);
34553 if (PyErr_Occurred()) SWIG_fail
;
34556 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34564 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34565 PyObject
*resultobj
= 0;
34566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34567 wxImageList
*result
= 0 ;
34570 PyObject
*swig_obj
[1] ;
34572 if (!args
) SWIG_fail
;
34573 swig_obj
[0] = args
;
34574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34575 if (!SWIG_IsOK(res1
)) {
34576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34578 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34581 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34582 wxPyEndAllowThreads(__tstate
);
34583 if (PyErr_Occurred()) SWIG_fail
;
34586 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34594 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34595 PyObject
*resultobj
= 0;
34596 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34597 wxImageList
*arg2
= (wxImageList
*) 0 ;
34602 PyObject
* obj0
= 0 ;
34603 PyObject
* obj1
= 0 ;
34604 char * kwnames
[] = {
34605 (char *) "self",(char *) "imageList", NULL
34608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34610 if (!SWIG_IsOK(res1
)) {
34611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34613 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34614 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34615 if (!SWIG_IsOK(res2
)) {
34616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34618 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34621 (arg1
)->SetImageList(arg2
);
34622 wxPyEndAllowThreads(__tstate
);
34623 if (PyErr_Occurred()) SWIG_fail
;
34625 resultobj
= SWIG_Py_Void();
34632 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34633 PyObject
*resultobj
= 0;
34634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34635 wxImageList
*arg2
= (wxImageList
*) 0 ;
34640 PyObject
* obj0
= 0 ;
34641 PyObject
* obj1
= 0 ;
34642 char * kwnames
[] = {
34643 (char *) "self",(char *) "imageList", NULL
34646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34648 if (!SWIG_IsOK(res1
)) {
34649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34651 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34652 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34653 if (!SWIG_IsOK(res2
)) {
34654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34656 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34659 (arg1
)->SetStateImageList(arg2
);
34660 wxPyEndAllowThreads(__tstate
);
34661 if (PyErr_Occurred()) SWIG_fail
;
34663 resultobj
= SWIG_Py_Void();
34670 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34671 PyObject
*resultobj
= 0;
34672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34673 wxImageList
*arg2
= (wxImageList
*) 0 ;
34677 PyObject
* obj0
= 0 ;
34678 PyObject
* obj1
= 0 ;
34679 char * kwnames
[] = {
34680 (char *) "self",(char *) "imageList", NULL
34683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34685 if (!SWIG_IsOK(res1
)) {
34686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34688 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34689 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34690 if (!SWIG_IsOK(res2
)) {
34691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34695 (arg1
)->AssignImageList(arg2
);
34696 wxPyEndAllowThreads(__tstate
);
34697 if (PyErr_Occurred()) SWIG_fail
;
34699 resultobj
= SWIG_Py_Void();
34706 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34707 PyObject
*resultobj
= 0;
34708 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34709 wxImageList
*arg2
= (wxImageList
*) 0 ;
34713 PyObject
* obj0
= 0 ;
34714 PyObject
* obj1
= 0 ;
34715 char * kwnames
[] = {
34716 (char *) "self",(char *) "imageList", NULL
34719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34721 if (!SWIG_IsOK(res1
)) {
34722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34724 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34725 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34726 if (!SWIG_IsOK(res2
)) {
34727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34731 (arg1
)->AssignStateImageList(arg2
);
34732 wxPyEndAllowThreads(__tstate
);
34733 if (PyErr_Occurred()) SWIG_fail
;
34735 resultobj
= SWIG_Py_Void();
34742 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34743 PyObject
*resultobj
= 0;
34744 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34745 wxTreeItemId
*arg2
= 0 ;
34751 PyObject
* obj0
= 0 ;
34752 PyObject
* obj1
= 0 ;
34753 char * kwnames
[] = {
34754 (char *) "self",(char *) "item", NULL
34757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34759 if (!SWIG_IsOK(res1
)) {
34760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34762 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34763 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34764 if (!SWIG_IsOK(res2
)) {
34765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34770 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34773 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34774 wxPyEndAllowThreads(__tstate
);
34775 if (PyErr_Occurred()) SWIG_fail
;
34779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34790 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34791 PyObject
*resultobj
= 0;
34792 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34793 wxTreeItemId
*arg2
= 0 ;
34794 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34802 PyObject
* obj0
= 0 ;
34803 PyObject
* obj1
= 0 ;
34804 PyObject
* obj2
= 0 ;
34805 char * kwnames
[] = {
34806 (char *) "self",(char *) "item",(char *) "which", NULL
34809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34811 if (!SWIG_IsOK(res1
)) {
34812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34814 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34815 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34816 if (!SWIG_IsOK(res2
)) {
34817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34822 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34824 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34825 if (!SWIG_IsOK(ecode3
)) {
34826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34828 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34832 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34833 wxPyEndAllowThreads(__tstate
);
34834 if (PyErr_Occurred()) SWIG_fail
;
34836 resultobj
= SWIG_From_int(static_cast< int >(result
));
34843 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34844 PyObject
*resultobj
= 0;
34845 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34846 wxTreeItemId
*arg2
= 0 ;
34847 wxPyTreeItemData
*result
= 0 ;
34852 PyObject
* obj0
= 0 ;
34853 PyObject
* obj1
= 0 ;
34854 char * kwnames
[] = {
34855 (char *) "self",(char *) "item", NULL
34858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34860 if (!SWIG_IsOK(res1
)) {
34861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34863 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34864 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34865 if (!SWIG_IsOK(res2
)) {
34866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34871 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34874 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34875 wxPyEndAllowThreads(__tstate
);
34876 if (PyErr_Occurred()) SWIG_fail
;
34878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34885 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34886 PyObject
*resultobj
= 0;
34887 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34888 wxTreeItemId
*arg2
= 0 ;
34889 PyObject
*result
= 0 ;
34894 PyObject
* obj0
= 0 ;
34895 PyObject
* obj1
= 0 ;
34896 char * kwnames
[] = {
34897 (char *) "self",(char *) "item", NULL
34900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34902 if (!SWIG_IsOK(res1
)) {
34903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34905 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34906 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34907 if (!SWIG_IsOK(res2
)) {
34908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34913 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34916 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34917 wxPyEndAllowThreads(__tstate
);
34918 if (PyErr_Occurred()) SWIG_fail
;
34920 resultobj
= result
;
34927 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34928 PyObject
*resultobj
= 0;
34929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34930 wxTreeItemId
*arg2
= 0 ;
34936 PyObject
* obj0
= 0 ;
34937 PyObject
* obj1
= 0 ;
34938 char * kwnames
[] = {
34939 (char *) "self",(char *) "item", NULL
34942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34944 if (!SWIG_IsOK(res1
)) {
34945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34947 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34948 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34949 if (!SWIG_IsOK(res2
)) {
34950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34955 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34958 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34959 wxPyEndAllowThreads(__tstate
);
34960 if (PyErr_Occurred()) SWIG_fail
;
34962 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34969 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34970 PyObject
*resultobj
= 0;
34971 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34972 wxTreeItemId
*arg2
= 0 ;
34978 PyObject
* obj0
= 0 ;
34979 PyObject
* obj1
= 0 ;
34980 char * kwnames
[] = {
34981 (char *) "self",(char *) "item", NULL
34984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34986 if (!SWIG_IsOK(res1
)) {
34987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34989 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34991 if (!SWIG_IsOK(res2
)) {
34992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34997 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35000 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
35001 wxPyEndAllowThreads(__tstate
);
35002 if (PyErr_Occurred()) SWIG_fail
;
35004 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
35011 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35012 PyObject
*resultobj
= 0;
35013 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35014 wxTreeItemId
*arg2
= 0 ;
35020 PyObject
* obj0
= 0 ;
35021 PyObject
* obj1
= 0 ;
35022 char * kwnames
[] = {
35023 (char *) "self",(char *) "item", NULL
35026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35028 if (!SWIG_IsOK(res1
)) {
35029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35031 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35032 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35033 if (!SWIG_IsOK(res2
)) {
35034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35039 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35042 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
35043 wxPyEndAllowThreads(__tstate
);
35044 if (PyErr_Occurred()) SWIG_fail
;
35046 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
35053 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35054 PyObject
*resultobj
= 0;
35055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35056 wxTreeItemId
*arg2
= 0 ;
35057 wxString
*arg3
= 0 ;
35062 bool temp3
= false ;
35063 PyObject
* obj0
= 0 ;
35064 PyObject
* obj1
= 0 ;
35065 PyObject
* obj2
= 0 ;
35066 char * kwnames
[] = {
35067 (char *) "self",(char *) "item",(char *) "text", NULL
35070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35072 if (!SWIG_IsOK(res1
)) {
35073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35075 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35077 if (!SWIG_IsOK(res2
)) {
35078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35083 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35085 arg3
= wxString_in_helper(obj2
);
35086 if (arg3
== NULL
) SWIG_fail
;
35090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35091 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
35092 wxPyEndAllowThreads(__tstate
);
35093 if (PyErr_Occurred()) SWIG_fail
;
35095 resultobj
= SWIG_Py_Void();
35110 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35111 PyObject
*resultobj
= 0;
35112 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35113 wxTreeItemId
*arg2
= 0 ;
35115 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
35124 PyObject
* obj0
= 0 ;
35125 PyObject
* obj1
= 0 ;
35126 PyObject
* obj2
= 0 ;
35127 PyObject
* obj3
= 0 ;
35128 char * kwnames
[] = {
35129 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
35132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35134 if (!SWIG_IsOK(res1
)) {
35135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35137 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35138 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35139 if (!SWIG_IsOK(res2
)) {
35140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35145 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35147 if (!SWIG_IsOK(ecode3
)) {
35148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
35150 arg3
= static_cast< int >(val3
);
35152 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35153 if (!SWIG_IsOK(ecode4
)) {
35154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
35156 arg4
= static_cast< wxTreeItemIcon
>(val4
);
35159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35160 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
35161 wxPyEndAllowThreads(__tstate
);
35162 if (PyErr_Occurred()) SWIG_fail
;
35164 resultobj
= SWIG_Py_Void();
35171 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35172 PyObject
*resultobj
= 0;
35173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35174 wxTreeItemId
*arg2
= 0 ;
35175 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
35181 PyObject
* obj0
= 0 ;
35182 PyObject
* obj1
= 0 ;
35183 PyObject
* obj2
= 0 ;
35184 char * kwnames
[] = {
35185 (char *) "self",(char *) "item",(char *) "data", NULL
35188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35190 if (!SWIG_IsOK(res1
)) {
35191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35193 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35194 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35195 if (!SWIG_IsOK(res2
)) {
35196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35201 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35202 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35203 if (!SWIG_IsOK(res3
)) {
35204 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35208 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35209 wxPyEndAllowThreads(__tstate
);
35210 if (PyErr_Occurred()) SWIG_fail
;
35212 resultobj
= SWIG_Py_Void();
35219 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35220 PyObject
*resultobj
= 0;
35221 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35222 wxTreeItemId
*arg2
= 0 ;
35223 PyObject
*arg3
= (PyObject
*) 0 ;
35228 PyObject
* obj0
= 0 ;
35229 PyObject
* obj1
= 0 ;
35230 PyObject
* obj2
= 0 ;
35231 char * kwnames
[] = {
35232 (char *) "self",(char *) "item",(char *) "obj", NULL
35235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35237 if (!SWIG_IsOK(res1
)) {
35238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35240 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35241 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35242 if (!SWIG_IsOK(res2
)) {
35243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35248 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35252 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35253 wxPyEndAllowThreads(__tstate
);
35254 if (PyErr_Occurred()) SWIG_fail
;
35256 resultobj
= SWIG_Py_Void();
35263 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35264 PyObject
*resultobj
= 0;
35265 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35266 wxTreeItemId
*arg2
= 0 ;
35267 bool arg3
= (bool) true ;
35274 PyObject
* obj0
= 0 ;
35275 PyObject
* obj1
= 0 ;
35276 PyObject
* obj2
= 0 ;
35277 char * kwnames
[] = {
35278 (char *) "self",(char *) "item",(char *) "has", NULL
35281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35283 if (!SWIG_IsOK(res1
)) {
35284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35286 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35287 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35288 if (!SWIG_IsOK(res2
)) {
35289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35294 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35296 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35297 if (!SWIG_IsOK(ecode3
)) {
35298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35300 arg3
= static_cast< bool >(val3
);
35303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35304 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35305 wxPyEndAllowThreads(__tstate
);
35306 if (PyErr_Occurred()) SWIG_fail
;
35308 resultobj
= SWIG_Py_Void();
35315 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35316 PyObject
*resultobj
= 0;
35317 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35318 wxTreeItemId
*arg2
= 0 ;
35319 bool arg3
= (bool) true ;
35326 PyObject
* obj0
= 0 ;
35327 PyObject
* obj1
= 0 ;
35328 PyObject
* obj2
= 0 ;
35329 char * kwnames
[] = {
35330 (char *) "self",(char *) "item",(char *) "bold", NULL
35333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35335 if (!SWIG_IsOK(res1
)) {
35336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35338 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35340 if (!SWIG_IsOK(res2
)) {
35341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35346 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35348 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35349 if (!SWIG_IsOK(ecode3
)) {
35350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35352 arg3
= static_cast< bool >(val3
);
35355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35356 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35357 wxPyEndAllowThreads(__tstate
);
35358 if (PyErr_Occurred()) SWIG_fail
;
35360 resultobj
= SWIG_Py_Void();
35367 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35368 PyObject
*resultobj
= 0;
35369 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35370 wxTreeItemId
*arg2
= 0 ;
35371 bool arg3
= (bool) true ;
35378 PyObject
* obj0
= 0 ;
35379 PyObject
* obj1
= 0 ;
35380 PyObject
* obj2
= 0 ;
35381 char * kwnames
[] = {
35382 (char *) "self",(char *) "item",(char *) "highlight", NULL
35385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35387 if (!SWIG_IsOK(res1
)) {
35388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35390 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35391 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35392 if (!SWIG_IsOK(res2
)) {
35393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35398 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35400 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35401 if (!SWIG_IsOK(ecode3
)) {
35402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35404 arg3
= static_cast< bool >(val3
);
35407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35408 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35409 wxPyEndAllowThreads(__tstate
);
35410 if (PyErr_Occurred()) SWIG_fail
;
35412 resultobj
= SWIG_Py_Void();
35419 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35420 PyObject
*resultobj
= 0;
35421 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35422 wxTreeItemId
*arg2
= 0 ;
35423 wxColour
*arg3
= 0 ;
35429 PyObject
* obj0
= 0 ;
35430 PyObject
* obj1
= 0 ;
35431 PyObject
* obj2
= 0 ;
35432 char * kwnames
[] = {
35433 (char *) "self",(char *) "item",(char *) "col", NULL
35436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35438 if (!SWIG_IsOK(res1
)) {
35439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35441 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35442 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35443 if (!SWIG_IsOK(res2
)) {
35444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35449 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35452 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35456 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35457 wxPyEndAllowThreads(__tstate
);
35458 if (PyErr_Occurred()) SWIG_fail
;
35460 resultobj
= SWIG_Py_Void();
35467 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35468 PyObject
*resultobj
= 0;
35469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35470 wxTreeItemId
*arg2
= 0 ;
35471 wxColour
*arg3
= 0 ;
35477 PyObject
* obj0
= 0 ;
35478 PyObject
* obj1
= 0 ;
35479 PyObject
* obj2
= 0 ;
35480 char * kwnames
[] = {
35481 (char *) "self",(char *) "item",(char *) "col", NULL
35484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35486 if (!SWIG_IsOK(res1
)) {
35487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35489 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35490 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35491 if (!SWIG_IsOK(res2
)) {
35492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35497 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35500 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35504 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35505 wxPyEndAllowThreads(__tstate
);
35506 if (PyErr_Occurred()) SWIG_fail
;
35508 resultobj
= SWIG_Py_Void();
35515 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35516 PyObject
*resultobj
= 0;
35517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35518 wxTreeItemId
*arg2
= 0 ;
35526 PyObject
* obj0
= 0 ;
35527 PyObject
* obj1
= 0 ;
35528 PyObject
* obj2
= 0 ;
35529 char * kwnames
[] = {
35530 (char *) "self",(char *) "item",(char *) "font", NULL
35533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35535 if (!SWIG_IsOK(res1
)) {
35536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35538 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35540 if (!SWIG_IsOK(res2
)) {
35541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35546 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35547 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35548 if (!SWIG_IsOK(res3
)) {
35549 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35554 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35557 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35558 wxPyEndAllowThreads(__tstate
);
35559 if (PyErr_Occurred()) SWIG_fail
;
35561 resultobj
= SWIG_Py_Void();
35568 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35569 PyObject
*resultobj
= 0;
35570 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35571 wxTreeItemId
*arg2
= 0 ;
35577 PyObject
* obj0
= 0 ;
35578 PyObject
* obj1
= 0 ;
35579 char * kwnames
[] = {
35580 (char *) "self",(char *) "item", NULL
35583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35585 if (!SWIG_IsOK(res1
)) {
35586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35588 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35589 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35590 if (!SWIG_IsOK(res2
)) {
35591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35596 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35599 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35600 wxPyEndAllowThreads(__tstate
);
35601 if (PyErr_Occurred()) SWIG_fail
;
35604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35612 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35613 PyObject
*resultobj
= 0;
35614 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35615 wxTreeItemId
*arg2
= 0 ;
35621 PyObject
* obj0
= 0 ;
35622 PyObject
* obj1
= 0 ;
35623 char * kwnames
[] = {
35624 (char *) "self",(char *) "item", NULL
35627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35629 if (!SWIG_IsOK(res1
)) {
35630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35632 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35633 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35634 if (!SWIG_IsOK(res2
)) {
35635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35640 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35643 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35644 wxPyEndAllowThreads(__tstate
);
35645 if (PyErr_Occurred()) SWIG_fail
;
35648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35656 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35657 PyObject
*resultobj
= 0;
35658 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35659 wxTreeItemId
*arg2
= 0 ;
35665 PyObject
* obj0
= 0 ;
35666 PyObject
* obj1
= 0 ;
35667 char * kwnames
[] = {
35668 (char *) "self",(char *) "item", NULL
35671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35673 if (!SWIG_IsOK(res1
)) {
35674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35676 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35677 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35678 if (!SWIG_IsOK(res2
)) {
35679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35684 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35687 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35688 wxPyEndAllowThreads(__tstate
);
35689 if (PyErr_Occurred()) SWIG_fail
;
35692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35700 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35701 PyObject
*resultobj
= 0;
35702 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35703 wxTreeItemId
*arg2
= 0 ;
35709 PyObject
* obj0
= 0 ;
35710 PyObject
* obj1
= 0 ;
35711 char * kwnames
[] = {
35712 (char *) "self",(char *) "item", NULL
35715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35717 if (!SWIG_IsOK(res1
)) {
35718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35720 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35721 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35722 if (!SWIG_IsOK(res2
)) {
35723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35728 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35731 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35732 wxPyEndAllowThreads(__tstate
);
35733 if (PyErr_Occurred()) SWIG_fail
;
35736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35744 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35745 PyObject
*resultobj
= 0;
35746 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35747 wxTreeItemId
*arg2
= 0 ;
35753 PyObject
* obj0
= 0 ;
35754 PyObject
* obj1
= 0 ;
35755 char * kwnames
[] = {
35756 (char *) "self",(char *) "item", NULL
35759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35761 if (!SWIG_IsOK(res1
)) {
35762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35764 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35765 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35766 if (!SWIG_IsOK(res2
)) {
35767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35772 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35775 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35776 wxPyEndAllowThreads(__tstate
);
35777 if (PyErr_Occurred()) SWIG_fail
;
35780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35788 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35789 PyObject
*resultobj
= 0;
35790 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35794 PyObject
*swig_obj
[1] ;
35796 if (!args
) SWIG_fail
;
35797 swig_obj
[0] = args
;
35798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35799 if (!SWIG_IsOK(res1
)) {
35800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35802 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35805 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsEmpty();
35806 wxPyEndAllowThreads(__tstate
);
35807 if (PyErr_Occurred()) SWIG_fail
;
35810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35818 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35819 PyObject
*resultobj
= 0;
35820 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35821 wxTreeItemId
*arg2
= 0 ;
35822 bool arg3
= (bool) true ;
35830 PyObject
* obj0
= 0 ;
35831 PyObject
* obj1
= 0 ;
35832 PyObject
* obj2
= 0 ;
35833 char * kwnames
[] = {
35834 (char *) "self",(char *) "item",(char *) "recursively", NULL
35837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35839 if (!SWIG_IsOK(res1
)) {
35840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35842 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35843 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35844 if (!SWIG_IsOK(res2
)) {
35845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35850 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35852 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35853 if (!SWIG_IsOK(ecode3
)) {
35854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35856 arg3
= static_cast< bool >(val3
);
35859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35860 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35861 wxPyEndAllowThreads(__tstate
);
35862 if (PyErr_Occurred()) SWIG_fail
;
35864 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35871 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35872 PyObject
*resultobj
= 0;
35873 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35874 wxTreeItemId result
;
35877 PyObject
*swig_obj
[1] ;
35879 if (!args
) SWIG_fail
;
35880 swig_obj
[0] = args
;
35881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35882 if (!SWIG_IsOK(res1
)) {
35883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35885 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35888 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35889 wxPyEndAllowThreads(__tstate
);
35890 if (PyErr_Occurred()) SWIG_fail
;
35892 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35899 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35900 PyObject
*resultobj
= 0;
35901 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35902 wxTreeItemId result
;
35905 PyObject
*swig_obj
[1] ;
35907 if (!args
) SWIG_fail
;
35908 swig_obj
[0] = args
;
35909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35910 if (!SWIG_IsOK(res1
)) {
35911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35913 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35916 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35917 wxPyEndAllowThreads(__tstate
);
35918 if (PyErr_Occurred()) SWIG_fail
;
35920 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35927 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35928 PyObject
*resultobj
= 0;
35929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35930 PyObject
*result
= 0 ;
35933 PyObject
*swig_obj
[1] ;
35935 if (!args
) SWIG_fail
;
35936 swig_obj
[0] = args
;
35937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35938 if (!SWIG_IsOK(res1
)) {
35939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35941 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35944 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35945 wxPyEndAllowThreads(__tstate
);
35946 if (PyErr_Occurred()) SWIG_fail
;
35948 resultobj
= result
;
35955 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35956 PyObject
*resultobj
= 0;
35957 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35958 wxTreeItemId
*arg2
= 0 ;
35959 wxTreeItemId result
;
35964 PyObject
* obj0
= 0 ;
35965 PyObject
* obj1
= 0 ;
35966 char * kwnames
[] = {
35967 (char *) "self",(char *) "item", NULL
35970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35972 if (!SWIG_IsOK(res1
)) {
35973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35975 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35976 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35977 if (!SWIG_IsOK(res2
)) {
35978 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35983 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35986 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35987 wxPyEndAllowThreads(__tstate
);
35988 if (PyErr_Occurred()) SWIG_fail
;
35990 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35997 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35998 PyObject
*resultobj
= 0;
35999 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36000 wxTreeItemId
*arg2
= 0 ;
36001 PyObject
*result
= 0 ;
36006 PyObject
* obj0
= 0 ;
36007 PyObject
* obj1
= 0 ;
36008 char * kwnames
[] = {
36009 (char *) "self",(char *) "item", NULL
36012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36014 if (!SWIG_IsOK(res1
)) {
36015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36017 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36018 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36019 if (!SWIG_IsOK(res2
)) {
36020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36025 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36028 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
36029 wxPyEndAllowThreads(__tstate
);
36030 if (PyErr_Occurred()) SWIG_fail
;
36032 resultobj
= result
;
36039 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36040 PyObject
*resultobj
= 0;
36041 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36042 wxTreeItemId
*arg2
= 0 ;
36043 void *arg3
= (void *) 0 ;
36044 PyObject
*result
= 0 ;
36050 PyObject
* obj0
= 0 ;
36051 PyObject
* obj1
= 0 ;
36052 PyObject
* obj2
= 0 ;
36053 char * kwnames
[] = {
36054 (char *) "self",(char *) "item",(char *) "cookie", NULL
36057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36059 if (!SWIG_IsOK(res1
)) {
36060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36062 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36063 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36064 if (!SWIG_IsOK(res2
)) {
36065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36070 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36071 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
36072 if (!SWIG_IsOK(res3
)) {
36073 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
36076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36077 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36078 wxPyEndAllowThreads(__tstate
);
36079 if (PyErr_Occurred()) SWIG_fail
;
36081 resultobj
= result
;
36088 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36089 PyObject
*resultobj
= 0;
36090 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36091 wxTreeItemId
*arg2
= 0 ;
36092 wxTreeItemId result
;
36097 PyObject
* obj0
= 0 ;
36098 PyObject
* obj1
= 0 ;
36099 char * kwnames
[] = {
36100 (char *) "self",(char *) "item", NULL
36103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36105 if (!SWIG_IsOK(res1
)) {
36106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36108 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36109 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36110 if (!SWIG_IsOK(res2
)) {
36111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36116 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36119 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
36120 wxPyEndAllowThreads(__tstate
);
36121 if (PyErr_Occurred()) SWIG_fail
;
36123 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36130 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36131 PyObject
*resultobj
= 0;
36132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36133 wxTreeItemId
*arg2
= 0 ;
36134 wxTreeItemId result
;
36139 PyObject
* obj0
= 0 ;
36140 PyObject
* obj1
= 0 ;
36141 char * kwnames
[] = {
36142 (char *) "self",(char *) "item", NULL
36145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36147 if (!SWIG_IsOK(res1
)) {
36148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36150 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36152 if (!SWIG_IsOK(res2
)) {
36153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36158 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36161 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
36162 wxPyEndAllowThreads(__tstate
);
36163 if (PyErr_Occurred()) SWIG_fail
;
36165 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36172 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36173 PyObject
*resultobj
= 0;
36174 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36175 wxTreeItemId
*arg2
= 0 ;
36176 wxTreeItemId result
;
36181 PyObject
* obj0
= 0 ;
36182 PyObject
* obj1
= 0 ;
36183 char * kwnames
[] = {
36184 (char *) "self",(char *) "item", NULL
36187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36189 if (!SWIG_IsOK(res1
)) {
36190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36192 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36193 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36194 if (!SWIG_IsOK(res2
)) {
36195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36200 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36203 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
36204 wxPyEndAllowThreads(__tstate
);
36205 if (PyErr_Occurred()) SWIG_fail
;
36207 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36214 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36215 PyObject
*resultobj
= 0;
36216 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36217 wxTreeItemId result
;
36220 PyObject
*swig_obj
[1] ;
36222 if (!args
) SWIG_fail
;
36223 swig_obj
[0] = args
;
36224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36225 if (!SWIG_IsOK(res1
)) {
36226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36228 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36231 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
36232 wxPyEndAllowThreads(__tstate
);
36233 if (PyErr_Occurred()) SWIG_fail
;
36235 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36242 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36243 PyObject
*resultobj
= 0;
36244 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36245 wxTreeItemId
*arg2
= 0 ;
36246 wxTreeItemId result
;
36251 PyObject
* obj0
= 0 ;
36252 PyObject
* obj1
= 0 ;
36253 char * kwnames
[] = {
36254 (char *) "self",(char *) "item", NULL
36257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36259 if (!SWIG_IsOK(res1
)) {
36260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36262 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36264 if (!SWIG_IsOK(res2
)) {
36265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36270 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36273 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
36274 wxPyEndAllowThreads(__tstate
);
36275 if (PyErr_Occurred()) SWIG_fail
;
36277 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36284 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36285 PyObject
*resultobj
= 0;
36286 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36287 wxTreeItemId
*arg2
= 0 ;
36288 wxTreeItemId result
;
36293 PyObject
* obj0
= 0 ;
36294 PyObject
* obj1
= 0 ;
36295 char * kwnames
[] = {
36296 (char *) "self",(char *) "item", NULL
36299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36301 if (!SWIG_IsOK(res1
)) {
36302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36304 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36305 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36306 if (!SWIG_IsOK(res2
)) {
36307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36312 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36315 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36316 wxPyEndAllowThreads(__tstate
);
36317 if (PyErr_Occurred()) SWIG_fail
;
36319 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36326 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36327 PyObject
*resultobj
= 0;
36328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36329 wxString
*arg2
= 0 ;
36330 int arg3
= (int) -1 ;
36331 int arg4
= (int) -1 ;
36332 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36333 wxTreeItemId result
;
36336 bool temp2
= false ;
36342 PyObject
* obj0
= 0 ;
36343 PyObject
* obj1
= 0 ;
36344 PyObject
* obj2
= 0 ;
36345 PyObject
* obj3
= 0 ;
36346 PyObject
* obj4
= 0 ;
36347 char * kwnames
[] = {
36348 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36353 if (!SWIG_IsOK(res1
)) {
36354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36356 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36358 arg2
= wxString_in_helper(obj1
);
36359 if (arg2
== NULL
) SWIG_fail
;
36363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36364 if (!SWIG_IsOK(ecode3
)) {
36365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36367 arg3
= static_cast< int >(val3
);
36370 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36371 if (!SWIG_IsOK(ecode4
)) {
36372 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36374 arg4
= static_cast< int >(val4
);
36377 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36378 if (!SWIG_IsOK(res5
)) {
36379 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36384 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36385 wxPyEndAllowThreads(__tstate
);
36386 if (PyErr_Occurred()) SWIG_fail
;
36388 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36403 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36404 PyObject
*resultobj
= 0;
36405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36406 wxTreeItemId
*arg2
= 0 ;
36407 wxString
*arg3
= 0 ;
36408 int arg4
= (int) -1 ;
36409 int arg5
= (int) -1 ;
36410 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36411 wxTreeItemId result
;
36416 bool temp3
= false ;
36422 PyObject
* obj0
= 0 ;
36423 PyObject
* obj1
= 0 ;
36424 PyObject
* obj2
= 0 ;
36425 PyObject
* obj3
= 0 ;
36426 PyObject
* obj4
= 0 ;
36427 PyObject
* obj5
= 0 ;
36428 char * kwnames
[] = {
36429 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36434 if (!SWIG_IsOK(res1
)) {
36435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36437 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36438 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36439 if (!SWIG_IsOK(res2
)) {
36440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36445 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36447 arg3
= wxString_in_helper(obj2
);
36448 if (arg3
== NULL
) SWIG_fail
;
36452 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36453 if (!SWIG_IsOK(ecode4
)) {
36454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36456 arg4
= static_cast< int >(val4
);
36459 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36460 if (!SWIG_IsOK(ecode5
)) {
36461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36463 arg5
= static_cast< int >(val5
);
36466 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36467 if (!SWIG_IsOK(res6
)) {
36468 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36473 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36474 wxPyEndAllowThreads(__tstate
);
36475 if (PyErr_Occurred()) SWIG_fail
;
36477 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36492 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36493 PyObject
*resultobj
= 0;
36494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36495 wxTreeItemId
*arg2
= 0 ;
36496 wxTreeItemId
*arg3
= 0 ;
36497 wxString
*arg4
= 0 ;
36498 int arg5
= (int) -1 ;
36499 int arg6
= (int) -1 ;
36500 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36501 wxTreeItemId result
;
36508 bool temp4
= false ;
36514 PyObject
* obj0
= 0 ;
36515 PyObject
* obj1
= 0 ;
36516 PyObject
* obj2
= 0 ;
36517 PyObject
* obj3
= 0 ;
36518 PyObject
* obj4
= 0 ;
36519 PyObject
* obj5
= 0 ;
36520 PyObject
* obj6
= 0 ;
36521 char * kwnames
[] = {
36522 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36527 if (!SWIG_IsOK(res1
)) {
36528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36530 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36531 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36532 if (!SWIG_IsOK(res2
)) {
36533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36538 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36539 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36540 if (!SWIG_IsOK(res3
)) {
36541 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36546 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36548 arg4
= wxString_in_helper(obj3
);
36549 if (arg4
== NULL
) SWIG_fail
;
36553 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36554 if (!SWIG_IsOK(ecode5
)) {
36555 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36557 arg5
= static_cast< int >(val5
);
36560 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36561 if (!SWIG_IsOK(ecode6
)) {
36562 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36564 arg6
= static_cast< int >(val6
);
36567 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36568 if (!SWIG_IsOK(res7
)) {
36569 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36574 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36575 wxPyEndAllowThreads(__tstate
);
36576 if (PyErr_Occurred()) SWIG_fail
;
36578 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36593 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36594 PyObject
*resultobj
= 0;
36595 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36596 wxTreeItemId
*arg2
= 0 ;
36598 wxString
*arg4
= 0 ;
36599 int arg5
= (int) -1 ;
36600 int arg6
= (int) -1 ;
36601 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36602 wxTreeItemId result
;
36609 bool temp4
= false ;
36615 PyObject
* obj0
= 0 ;
36616 PyObject
* obj1
= 0 ;
36617 PyObject
* obj2
= 0 ;
36618 PyObject
* obj3
= 0 ;
36619 PyObject
* obj4
= 0 ;
36620 PyObject
* obj5
= 0 ;
36621 PyObject
* obj6
= 0 ;
36622 char * kwnames
[] = {
36623 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36628 if (!SWIG_IsOK(res1
)) {
36629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36631 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36632 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36633 if (!SWIG_IsOK(res2
)) {
36634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36637 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36639 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36640 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36641 if (!SWIG_IsOK(ecode3
)) {
36642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36644 arg3
= static_cast< size_t >(val3
);
36646 arg4
= wxString_in_helper(obj3
);
36647 if (arg4
== NULL
) SWIG_fail
;
36651 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36652 if (!SWIG_IsOK(ecode5
)) {
36653 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36655 arg5
= static_cast< int >(val5
);
36658 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36659 if (!SWIG_IsOK(ecode6
)) {
36660 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36662 arg6
= static_cast< int >(val6
);
36665 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36666 if (!SWIG_IsOK(res7
)) {
36667 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36672 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36673 wxPyEndAllowThreads(__tstate
);
36674 if (PyErr_Occurred()) SWIG_fail
;
36676 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36691 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36692 PyObject
*resultobj
= 0;
36693 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36694 wxTreeItemId
*arg2
= 0 ;
36695 wxString
*arg3
= 0 ;
36696 int arg4
= (int) -1 ;
36697 int arg5
= (int) -1 ;
36698 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36699 wxTreeItemId result
;
36704 bool temp3
= false ;
36710 PyObject
* obj0
= 0 ;
36711 PyObject
* obj1
= 0 ;
36712 PyObject
* obj2
= 0 ;
36713 PyObject
* obj3
= 0 ;
36714 PyObject
* obj4
= 0 ;
36715 PyObject
* obj5
= 0 ;
36716 char * kwnames
[] = {
36717 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36722 if (!SWIG_IsOK(res1
)) {
36723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36725 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36726 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36727 if (!SWIG_IsOK(res2
)) {
36728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36733 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36735 arg3
= wxString_in_helper(obj2
);
36736 if (arg3
== NULL
) SWIG_fail
;
36740 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36741 if (!SWIG_IsOK(ecode4
)) {
36742 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36744 arg4
= static_cast< int >(val4
);
36747 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36748 if (!SWIG_IsOK(ecode5
)) {
36749 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36751 arg5
= static_cast< int >(val5
);
36754 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36755 if (!SWIG_IsOK(res6
)) {
36756 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36761 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36762 wxPyEndAllowThreads(__tstate
);
36763 if (PyErr_Occurred()) SWIG_fail
;
36765 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36780 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36781 PyObject
*resultobj
= 0;
36782 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36783 wxTreeItemId
*arg2
= 0 ;
36788 PyObject
* obj0
= 0 ;
36789 PyObject
* obj1
= 0 ;
36790 char * kwnames
[] = {
36791 (char *) "self",(char *) "item", NULL
36794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36796 if (!SWIG_IsOK(res1
)) {
36797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36799 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36800 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36801 if (!SWIG_IsOK(res2
)) {
36802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36807 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36810 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36811 wxPyEndAllowThreads(__tstate
);
36812 if (PyErr_Occurred()) SWIG_fail
;
36814 resultobj
= SWIG_Py_Void();
36821 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36822 PyObject
*resultobj
= 0;
36823 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36824 wxTreeItemId
*arg2
= 0 ;
36829 PyObject
* obj0
= 0 ;
36830 PyObject
* obj1
= 0 ;
36831 char * kwnames
[] = {
36832 (char *) "self",(char *) "item", NULL
36835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36837 if (!SWIG_IsOK(res1
)) {
36838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36840 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36841 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36842 if (!SWIG_IsOK(res2
)) {
36843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36848 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36851 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36852 wxPyEndAllowThreads(__tstate
);
36853 if (PyErr_Occurred()) SWIG_fail
;
36855 resultobj
= SWIG_Py_Void();
36862 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36863 PyObject
*resultobj
= 0;
36864 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36867 PyObject
*swig_obj
[1] ;
36869 if (!args
) SWIG_fail
;
36870 swig_obj
[0] = args
;
36871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36872 if (!SWIG_IsOK(res1
)) {
36873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36875 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36878 (arg1
)->DeleteAllItems();
36879 wxPyEndAllowThreads(__tstate
);
36880 if (PyErr_Occurred()) SWIG_fail
;
36882 resultobj
= SWIG_Py_Void();
36889 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36890 PyObject
*resultobj
= 0;
36891 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36892 wxTreeItemId
*arg2
= 0 ;
36897 PyObject
* obj0
= 0 ;
36898 PyObject
* obj1
= 0 ;
36899 char * kwnames
[] = {
36900 (char *) "self",(char *) "item", NULL
36903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36905 if (!SWIG_IsOK(res1
)) {
36906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36908 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36910 if (!SWIG_IsOK(res2
)) {
36911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36916 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36919 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36920 wxPyEndAllowThreads(__tstate
);
36921 if (PyErr_Occurred()) SWIG_fail
;
36923 resultobj
= SWIG_Py_Void();
36930 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36931 PyObject
*resultobj
= 0;
36932 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36933 wxTreeItemId
*arg2
= 0 ;
36938 PyObject
* obj0
= 0 ;
36939 PyObject
* obj1
= 0 ;
36940 char * kwnames
[] = {
36941 (char *) "self",(char *) "item", NULL
36944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36946 if (!SWIG_IsOK(res1
)) {
36947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36949 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36951 if (!SWIG_IsOK(res2
)) {
36952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36957 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36960 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36961 wxPyEndAllowThreads(__tstate
);
36962 if (PyErr_Occurred()) SWIG_fail
;
36964 resultobj
= SWIG_Py_Void();
36971 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36972 PyObject
*resultobj
= 0;
36973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36976 PyObject
*swig_obj
[1] ;
36978 if (!args
) SWIG_fail
;
36979 swig_obj
[0] = args
;
36980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36981 if (!SWIG_IsOK(res1
)) {
36982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36984 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36987 (arg1
)->ExpandAll();
36988 wxPyEndAllowThreads(__tstate
);
36989 if (PyErr_Occurred()) SWIG_fail
;
36991 resultobj
= SWIG_Py_Void();
36998 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36999 PyObject
*resultobj
= 0;
37000 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37001 wxTreeItemId
*arg2
= 0 ;
37006 PyObject
* obj0
= 0 ;
37007 PyObject
* obj1
= 0 ;
37008 char * kwnames
[] = {
37009 (char *) "self",(char *) "item", NULL
37012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37014 if (!SWIG_IsOK(res1
)) {
37015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37017 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37018 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37019 if (!SWIG_IsOK(res2
)) {
37020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37025 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37028 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
37029 wxPyEndAllowThreads(__tstate
);
37030 if (PyErr_Occurred()) SWIG_fail
;
37032 resultobj
= SWIG_Py_Void();
37039 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37040 PyObject
*resultobj
= 0;
37041 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37042 wxTreeItemId
*arg2
= 0 ;
37047 PyObject
* obj0
= 0 ;
37048 PyObject
* obj1
= 0 ;
37049 char * kwnames
[] = {
37050 (char *) "self",(char *) "item", NULL
37053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37055 if (!SWIG_IsOK(res1
)) {
37056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37058 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37059 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37060 if (!SWIG_IsOK(res2
)) {
37061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37066 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37069 (arg1
)->CollapseAllChildren((wxTreeItemId
const &)*arg2
);
37070 wxPyEndAllowThreads(__tstate
);
37071 if (PyErr_Occurred()) SWIG_fail
;
37073 resultobj
= SWIG_Py_Void();
37080 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37081 PyObject
*resultobj
= 0;
37082 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37085 PyObject
*swig_obj
[1] ;
37087 if (!args
) SWIG_fail
;
37088 swig_obj
[0] = args
;
37089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37090 if (!SWIG_IsOK(res1
)) {
37091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37093 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37096 (arg1
)->CollapseAll();
37097 wxPyEndAllowThreads(__tstate
);
37098 if (PyErr_Occurred()) SWIG_fail
;
37100 resultobj
= SWIG_Py_Void();
37107 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37108 PyObject
*resultobj
= 0;
37109 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37110 wxTreeItemId
*arg2
= 0 ;
37115 PyObject
* obj0
= 0 ;
37116 PyObject
* obj1
= 0 ;
37117 char * kwnames
[] = {
37118 (char *) "self",(char *) "item", NULL
37121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37123 if (!SWIG_IsOK(res1
)) {
37124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37126 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37128 if (!SWIG_IsOK(res2
)) {
37129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37134 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37137 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
37138 wxPyEndAllowThreads(__tstate
);
37139 if (PyErr_Occurred()) SWIG_fail
;
37141 resultobj
= SWIG_Py_Void();
37148 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37149 PyObject
*resultobj
= 0;
37150 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37151 wxTreeItemId
*arg2
= 0 ;
37156 PyObject
* obj0
= 0 ;
37157 PyObject
* obj1
= 0 ;
37158 char * kwnames
[] = {
37159 (char *) "self",(char *) "item", NULL
37162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37164 if (!SWIG_IsOK(res1
)) {
37165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37167 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37168 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37169 if (!SWIG_IsOK(res2
)) {
37170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37175 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37178 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
37179 wxPyEndAllowThreads(__tstate
);
37180 if (PyErr_Occurred()) SWIG_fail
;
37182 resultobj
= SWIG_Py_Void();
37189 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37190 PyObject
*resultobj
= 0;
37191 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37194 PyObject
*swig_obj
[1] ;
37196 if (!args
) SWIG_fail
;
37197 swig_obj
[0] = args
;
37198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37199 if (!SWIG_IsOK(res1
)) {
37200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37202 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37205 (arg1
)->Unselect();
37206 wxPyEndAllowThreads(__tstate
);
37207 if (PyErr_Occurred()) SWIG_fail
;
37209 resultobj
= SWIG_Py_Void();
37216 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37217 PyObject
*resultobj
= 0;
37218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37219 wxTreeItemId
*arg2
= 0 ;
37224 PyObject
* obj0
= 0 ;
37225 PyObject
* obj1
= 0 ;
37226 char * kwnames
[] = {
37227 (char *) "self",(char *) "item", NULL
37230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37232 if (!SWIG_IsOK(res1
)) {
37233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37235 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37236 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37237 if (!SWIG_IsOK(res2
)) {
37238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37243 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37246 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
37247 wxPyEndAllowThreads(__tstate
);
37248 if (PyErr_Occurred()) SWIG_fail
;
37250 resultobj
= SWIG_Py_Void();
37257 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37258 PyObject
*resultobj
= 0;
37259 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37262 PyObject
*swig_obj
[1] ;
37264 if (!args
) SWIG_fail
;
37265 swig_obj
[0] = args
;
37266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37267 if (!SWIG_IsOK(res1
)) {
37268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37270 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37273 (arg1
)->UnselectAll();
37274 wxPyEndAllowThreads(__tstate
);
37275 if (PyErr_Occurred()) SWIG_fail
;
37277 resultobj
= SWIG_Py_Void();
37284 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37285 PyObject
*resultobj
= 0;
37286 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37287 wxTreeItemId
*arg2
= 0 ;
37288 bool arg3
= (bool) true ;
37295 PyObject
* obj0
= 0 ;
37296 PyObject
* obj1
= 0 ;
37297 PyObject
* obj2
= 0 ;
37298 char * kwnames
[] = {
37299 (char *) "self",(char *) "item",(char *) "select", NULL
37302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37304 if (!SWIG_IsOK(res1
)) {
37305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37307 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37308 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37309 if (!SWIG_IsOK(res2
)) {
37310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37315 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37317 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37318 if (!SWIG_IsOK(ecode3
)) {
37319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37321 arg3
= static_cast< bool >(val3
);
37324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37325 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37326 wxPyEndAllowThreads(__tstate
);
37327 if (PyErr_Occurred()) SWIG_fail
;
37329 resultobj
= SWIG_Py_Void();
37336 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37337 PyObject
*resultobj
= 0;
37338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37339 wxTreeItemId
*arg2
= 0 ;
37344 PyObject
* obj0
= 0 ;
37345 PyObject
* obj1
= 0 ;
37346 char * kwnames
[] = {
37347 (char *) "self",(char *) "item", NULL
37350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37352 if (!SWIG_IsOK(res1
)) {
37353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37355 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37356 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37357 if (!SWIG_IsOK(res2
)) {
37358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37363 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37366 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37367 wxPyEndAllowThreads(__tstate
);
37368 if (PyErr_Occurred()) SWIG_fail
;
37370 resultobj
= SWIG_Py_Void();
37377 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37378 PyObject
*resultobj
= 0;
37379 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37380 wxTreeItemId
*arg2
= 0 ;
37385 PyObject
* obj0
= 0 ;
37386 PyObject
* obj1
= 0 ;
37387 char * kwnames
[] = {
37388 (char *) "self",(char *) "item", NULL
37391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37393 if (!SWIG_IsOK(res1
)) {
37394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37396 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37397 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37398 if (!SWIG_IsOK(res2
)) {
37399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37404 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37407 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37408 wxPyEndAllowThreads(__tstate
);
37409 if (PyErr_Occurred()) SWIG_fail
;
37411 resultobj
= SWIG_Py_Void();
37418 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37419 PyObject
*resultobj
= 0;
37420 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37421 wxTreeItemId
*arg2
= 0 ;
37426 PyObject
* obj0
= 0 ;
37427 PyObject
* obj1
= 0 ;
37428 char * kwnames
[] = {
37429 (char *) "self",(char *) "item", NULL
37432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37434 if (!SWIG_IsOK(res1
)) {
37435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37437 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37438 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37439 if (!SWIG_IsOK(res2
)) {
37440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37445 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37448 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37449 wxPyEndAllowThreads(__tstate
);
37450 if (PyErr_Occurred()) SWIG_fail
;
37452 resultobj
= SWIG_Py_Void();
37459 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37460 PyObject
*resultobj
= 0;
37461 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37462 wxTreeItemId
*arg2
= 0 ;
37467 PyObject
* obj0
= 0 ;
37468 PyObject
* obj1
= 0 ;
37469 char * kwnames
[] = {
37470 (char *) "self",(char *) "item", NULL
37473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37475 if (!SWIG_IsOK(res1
)) {
37476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37478 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37479 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37480 if (!SWIG_IsOK(res2
)) {
37481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37486 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37489 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37490 wxPyEndAllowThreads(__tstate
);
37491 if (PyErr_Occurred()) SWIG_fail
;
37493 resultobj
= SWIG_Py_Void();
37500 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37501 PyObject
*resultobj
= 0;
37502 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37503 wxTextCtrl
*result
= 0 ;
37506 PyObject
*swig_obj
[1] ;
37508 if (!args
) SWIG_fail
;
37509 swig_obj
[0] = args
;
37510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37511 if (!SWIG_IsOK(res1
)) {
37512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37514 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37517 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37518 wxPyEndAllowThreads(__tstate
);
37519 if (PyErr_Occurred()) SWIG_fail
;
37522 resultobj
= wxPyMake_wxObject(result
, 0);
37530 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37531 PyObject
*resultobj
= 0;
37532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37533 wxTreeItemId
*arg2
= 0 ;
37534 bool arg3
= (bool) false ;
37541 PyObject
* obj0
= 0 ;
37542 PyObject
* obj1
= 0 ;
37543 PyObject
* obj2
= 0 ;
37544 char * kwnames
[] = {
37545 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
37548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37550 if (!SWIG_IsOK(res1
)) {
37551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37553 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37554 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37555 if (!SWIG_IsOK(res2
)) {
37556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37561 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37563 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37564 if (!SWIG_IsOK(ecode3
)) {
37565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
37567 arg3
= static_cast< bool >(val3
);
37570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37571 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
37572 wxPyEndAllowThreads(__tstate
);
37573 if (PyErr_Occurred()) SWIG_fail
;
37575 resultobj
= SWIG_Py_Void();
37582 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37583 PyObject
*resultobj
= 0;
37584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37585 wxTreeItemId
*arg2
= 0 ;
37590 PyObject
* obj0
= 0 ;
37591 PyObject
* obj1
= 0 ;
37592 char * kwnames
[] = {
37593 (char *) "self",(char *) "item", NULL
37596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37598 if (!SWIG_IsOK(res1
)) {
37599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37601 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37602 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37603 if (!SWIG_IsOK(res2
)) {
37604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37609 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37612 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37613 wxPyEndAllowThreads(__tstate
);
37614 if (PyErr_Occurred()) SWIG_fail
;
37616 resultobj
= SWIG_Py_Void();
37623 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37624 PyObject
*resultobj
= 0;
37625 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37626 wxPoint
*arg2
= 0 ;
37628 wxTreeItemId result
;
37633 int res3
= SWIG_TMPOBJ
;
37634 PyObject
* obj0
= 0 ;
37635 PyObject
* obj1
= 0 ;
37636 char * kwnames
[] = {
37637 (char *) "self",(char *) "point", NULL
37641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37643 if (!SWIG_IsOK(res1
)) {
37644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37646 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37649 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37653 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37654 wxPyEndAllowThreads(__tstate
);
37655 if (PyErr_Occurred()) SWIG_fail
;
37657 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37658 if (SWIG_IsTmpObj(res3
)) {
37659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37661 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37670 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37671 PyObject
*resultobj
= 0;
37672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37673 wxTreeItemId
*arg2
= 0 ;
37674 bool arg3
= (bool) false ;
37675 PyObject
*result
= 0 ;
37682 PyObject
* obj0
= 0 ;
37683 PyObject
* obj1
= 0 ;
37684 PyObject
* obj2
= 0 ;
37685 char * kwnames
[] = {
37686 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37691 if (!SWIG_IsOK(res1
)) {
37692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37694 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37695 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37696 if (!SWIG_IsOK(res2
)) {
37697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37702 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37704 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37705 if (!SWIG_IsOK(ecode3
)) {
37706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37708 arg3
= static_cast< bool >(val3
);
37711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37712 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37713 wxPyEndAllowThreads(__tstate
);
37714 if (PyErr_Occurred()) SWIG_fail
;
37716 resultobj
= result
;
37723 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37724 PyObject
*resultobj
= 0;
37725 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37726 wxTreeItemId
*arg2
= 0 ;
37734 PyObject
* obj0
= 0 ;
37735 PyObject
* obj1
= 0 ;
37736 PyObject
* obj2
= 0 ;
37737 char * kwnames
[] = {
37738 (char *) "self",(char *) "node",(char *) "state", NULL
37741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37743 if (!SWIG_IsOK(res1
)) {
37744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37746 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37747 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37748 if (!SWIG_IsOK(res2
)) {
37749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37754 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37756 if (!SWIG_IsOK(ecode3
)) {
37757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37759 arg3
= static_cast< int >(val3
);
37761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37762 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
37763 wxPyEndAllowThreads(__tstate
);
37764 if (PyErr_Occurred()) SWIG_fail
;
37766 resultobj
= SWIG_Py_Void();
37773 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37774 PyObject
*resultobj
= 0;
37775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37776 wxTreeItemId
*arg2
= 0 ;
37782 PyObject
* obj0
= 0 ;
37783 PyObject
* obj1
= 0 ;
37784 char * kwnames
[] = {
37785 (char *) "self",(char *) "node", NULL
37788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37790 if (!SWIG_IsOK(res1
)) {
37791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37793 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37794 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37795 if (!SWIG_IsOK(res2
)) {
37796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37801 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37804 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
37805 wxPyEndAllowThreads(__tstate
);
37806 if (PyErr_Occurred()) SWIG_fail
;
37808 resultobj
= SWIG_From_int(static_cast< int >(result
));
37815 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37816 PyObject
*resultobj
= 0;
37817 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37818 SwigValueWrapper
<wxVisualAttributes
> result
;
37821 PyObject
* obj0
= 0 ;
37822 char * kwnames
[] = {
37823 (char *) "variant", NULL
37826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37828 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37829 if (!SWIG_IsOK(ecode1
)) {
37830 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37832 arg1
= static_cast< wxWindowVariant
>(val1
);
37835 if (!wxPyCheckForApp()) SWIG_fail
;
37836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37837 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37838 wxPyEndAllowThreads(__tstate
);
37839 if (PyErr_Occurred()) SWIG_fail
;
37841 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37848 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37849 PyObject
*resultobj
= 0;
37850 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37856 PyObject
* obj0
= 0 ;
37857 PyObject
* obj1
= 0 ;
37858 char * kwnames
[] = {
37859 (char *) "self",(char *) "q", NULL
37862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37864 if (!SWIG_IsOK(res1
)) {
37865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37867 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37868 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37869 if (!SWIG_IsOK(ecode2
)) {
37870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37872 arg2
= static_cast< bool >(val2
);
37874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37875 (arg1
)->SetQuickBestSize(arg2
);
37876 wxPyEndAllowThreads(__tstate
);
37877 if (PyErr_Occurred()) SWIG_fail
;
37879 resultobj
= SWIG_Py_Void();
37886 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37887 PyObject
*resultobj
= 0;
37888 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37892 PyObject
*swig_obj
[1] ;
37894 if (!args
) SWIG_fail
;
37895 swig_obj
[0] = args
;
37896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37897 if (!SWIG_IsOK(res1
)) {
37898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37900 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37903 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37904 wxPyEndAllowThreads(__tstate
);
37905 if (PyErr_Occurred()) SWIG_fail
;
37908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37916 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37918 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37919 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37920 return SWIG_Py_Void();
37923 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37924 return SWIG_Python_InitShadowInstance(args
);
37927 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37928 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37933 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37934 PyObject
*pyobj
= 0;
37938 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37940 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37947 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37948 PyObject
*resultobj
= 0;
37949 wxWindow
*arg1
= (wxWindow
*) 0 ;
37950 int arg2
= (int) (int)-1 ;
37951 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37952 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37953 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37954 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37955 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37956 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37957 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37958 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37959 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37960 int arg8
= (int) 0 ;
37961 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37962 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37963 wxGenericDirCtrl
*result
= 0 ;
37968 bool temp3
= false ;
37973 bool temp7
= false ;
37976 bool temp9
= false ;
37977 PyObject
* obj0
= 0 ;
37978 PyObject
* obj1
= 0 ;
37979 PyObject
* obj2
= 0 ;
37980 PyObject
* obj3
= 0 ;
37981 PyObject
* obj4
= 0 ;
37982 PyObject
* obj5
= 0 ;
37983 PyObject
* obj6
= 0 ;
37984 PyObject
* obj7
= 0 ;
37985 PyObject
* obj8
= 0 ;
37986 char * kwnames
[] = {
37987 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37992 if (!SWIG_IsOK(res1
)) {
37993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37995 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37998 if (!SWIG_IsOK(ecode2
)) {
37999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
38001 arg2
= static_cast< int >(val2
);
38005 arg3
= wxString_in_helper(obj2
);
38006 if (arg3
== NULL
) SWIG_fail
;
38013 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38019 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38023 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38024 if (!SWIG_IsOK(ecode6
)) {
38025 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
38027 arg6
= static_cast< long >(val6
);
38031 arg7
= wxString_in_helper(obj6
);
38032 if (arg7
== NULL
) SWIG_fail
;
38037 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
38038 if (!SWIG_IsOK(ecode8
)) {
38039 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
38041 arg8
= static_cast< int >(val8
);
38045 arg9
= wxString_in_helper(obj8
);
38046 if (arg9
== NULL
) SWIG_fail
;
38051 if (!wxPyCheckForApp()) SWIG_fail
;
38052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38053 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
38054 wxPyEndAllowThreads(__tstate
);
38055 if (PyErr_Occurred()) SWIG_fail
;
38057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
38088 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38089 PyObject
*resultobj
= 0;
38090 wxGenericDirCtrl
*result
= 0 ;
38092 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
38094 if (!wxPyCheckForApp()) SWIG_fail
;
38095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38096 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
38097 wxPyEndAllowThreads(__tstate
);
38098 if (PyErr_Occurred()) SWIG_fail
;
38100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
38107 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38108 PyObject
*resultobj
= 0;
38109 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38110 wxWindow
*arg2
= (wxWindow
*) 0 ;
38111 int arg3
= (int) (int)-1 ;
38112 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
38113 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38114 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
38115 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
38116 wxSize
const &arg6_defvalue
= wxDefaultSize
;
38117 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
38118 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
38119 wxString
const &arg8_defvalue
= wxPyEmptyString
;
38120 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
38121 int arg9
= (int) 0 ;
38122 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
38123 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
38131 bool temp4
= false ;
38136 bool temp8
= false ;
38139 bool temp10
= false ;
38140 PyObject
* obj0
= 0 ;
38141 PyObject
* obj1
= 0 ;
38142 PyObject
* obj2
= 0 ;
38143 PyObject
* obj3
= 0 ;
38144 PyObject
* obj4
= 0 ;
38145 PyObject
* obj5
= 0 ;
38146 PyObject
* obj6
= 0 ;
38147 PyObject
* obj7
= 0 ;
38148 PyObject
* obj8
= 0 ;
38149 PyObject
* obj9
= 0 ;
38150 char * kwnames
[] = {
38151 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
38154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
38155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38156 if (!SWIG_IsOK(res1
)) {
38157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38159 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38160 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38161 if (!SWIG_IsOK(res2
)) {
38162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
38164 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38167 if (!SWIG_IsOK(ecode3
)) {
38168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38170 arg3
= static_cast< int >(val3
);
38174 arg4
= wxString_in_helper(obj3
);
38175 if (arg4
== NULL
) SWIG_fail
;
38182 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
38188 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
38192 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
38193 if (!SWIG_IsOK(ecode7
)) {
38194 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
38196 arg7
= static_cast< long >(val7
);
38200 arg8
= wxString_in_helper(obj7
);
38201 if (arg8
== NULL
) SWIG_fail
;
38206 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
38207 if (!SWIG_IsOK(ecode9
)) {
38208 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
38210 arg9
= static_cast< int >(val9
);
38214 arg10
= wxString_in_helper(obj9
);
38215 if (arg10
== NULL
) SWIG_fail
;
38220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38221 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
38222 wxPyEndAllowThreads(__tstate
);
38223 if (PyErr_Occurred()) SWIG_fail
;
38226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38258 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38259 PyObject
*resultobj
= 0;
38260 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38261 wxString
*arg2
= 0 ;
38265 bool temp2
= false ;
38266 PyObject
* obj0
= 0 ;
38267 PyObject
* obj1
= 0 ;
38268 char * kwnames
[] = {
38269 (char *) "self",(char *) "path", NULL
38272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38274 if (!SWIG_IsOK(res1
)) {
38275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38277 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38279 arg2
= wxString_in_helper(obj1
);
38280 if (arg2
== NULL
) SWIG_fail
;
38284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38285 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
38286 wxPyEndAllowThreads(__tstate
);
38287 if (PyErr_Occurred()) SWIG_fail
;
38290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38306 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38307 PyObject
*resultobj
= 0;
38308 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38309 wxString
*arg2
= 0 ;
38313 bool temp2
= false ;
38314 PyObject
* obj0
= 0 ;
38315 PyObject
* obj1
= 0 ;
38316 char * kwnames
[] = {
38317 (char *) "self",(char *) "path", NULL
38320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38322 if (!SWIG_IsOK(res1
)) {
38323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38325 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38327 arg2
= wxString_in_helper(obj1
);
38328 if (arg2
== NULL
) SWIG_fail
;
38332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38333 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
38334 wxPyEndAllowThreads(__tstate
);
38335 if (PyErr_Occurred()) SWIG_fail
;
38338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38354 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38355 PyObject
*resultobj
= 0;
38356 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38360 PyObject
*swig_obj
[1] ;
38362 if (!args
) SWIG_fail
;
38363 swig_obj
[0] = args
;
38364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38365 if (!SWIG_IsOK(res1
)) {
38366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38368 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38371 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
38372 wxPyEndAllowThreads(__tstate
);
38373 if (PyErr_Occurred()) SWIG_fail
;
38377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38388 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38389 PyObject
*resultobj
= 0;
38390 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38391 wxString
*arg2
= 0 ;
38394 bool temp2
= false ;
38395 PyObject
* obj0
= 0 ;
38396 PyObject
* obj1
= 0 ;
38397 char * kwnames
[] = {
38398 (char *) "self",(char *) "path", NULL
38401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38403 if (!SWIG_IsOK(res1
)) {
38404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38406 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38408 arg2
= wxString_in_helper(obj1
);
38409 if (arg2
== NULL
) SWIG_fail
;
38413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38414 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
38415 wxPyEndAllowThreads(__tstate
);
38416 if (PyErr_Occurred()) SWIG_fail
;
38418 resultobj
= SWIG_Py_Void();
38433 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38434 PyObject
*resultobj
= 0;
38435 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38439 PyObject
*swig_obj
[1] ;
38441 if (!args
) SWIG_fail
;
38442 swig_obj
[0] = args
;
38443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38444 if (!SWIG_IsOK(res1
)) {
38445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38447 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38450 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38451 wxPyEndAllowThreads(__tstate
);
38452 if (PyErr_Occurred()) SWIG_fail
;
38456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38467 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38468 PyObject
*resultobj
= 0;
38469 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38473 PyObject
*swig_obj
[1] ;
38475 if (!args
) SWIG_fail
;
38476 swig_obj
[0] = args
;
38477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38478 if (!SWIG_IsOK(res1
)) {
38479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38481 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38484 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38485 wxPyEndAllowThreads(__tstate
);
38486 if (PyErr_Occurred()) SWIG_fail
;
38490 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38492 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38501 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38502 PyObject
*resultobj
= 0;
38503 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38504 wxString
*arg2
= 0 ;
38507 bool temp2
= false ;
38508 PyObject
* obj0
= 0 ;
38509 PyObject
* obj1
= 0 ;
38510 char * kwnames
[] = {
38511 (char *) "self",(char *) "path", NULL
38514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38516 if (!SWIG_IsOK(res1
)) {
38517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38519 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38521 arg2
= wxString_in_helper(obj1
);
38522 if (arg2
== NULL
) SWIG_fail
;
38526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38527 (arg1
)->SetPath((wxString
const &)*arg2
);
38528 wxPyEndAllowThreads(__tstate
);
38529 if (PyErr_Occurred()) SWIG_fail
;
38531 resultobj
= SWIG_Py_Void();
38546 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38547 PyObject
*resultobj
= 0;
38548 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38554 PyObject
* obj0
= 0 ;
38555 PyObject
* obj1
= 0 ;
38556 char * kwnames
[] = {
38557 (char *) "self",(char *) "show", NULL
38560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38562 if (!SWIG_IsOK(res1
)) {
38563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38565 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38566 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38567 if (!SWIG_IsOK(ecode2
)) {
38568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38570 arg2
= static_cast< bool >(val2
);
38572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38573 (arg1
)->ShowHidden(arg2
);
38574 wxPyEndAllowThreads(__tstate
);
38575 if (PyErr_Occurred()) SWIG_fail
;
38577 resultobj
= SWIG_Py_Void();
38584 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38585 PyObject
*resultobj
= 0;
38586 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38590 PyObject
*swig_obj
[1] ;
38592 if (!args
) SWIG_fail
;
38593 swig_obj
[0] = args
;
38594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38595 if (!SWIG_IsOK(res1
)) {
38596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38598 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38601 result
= (bool)(arg1
)->GetShowHidden();
38602 wxPyEndAllowThreads(__tstate
);
38603 if (PyErr_Occurred()) SWIG_fail
;
38606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38614 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38615 PyObject
*resultobj
= 0;
38616 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38620 PyObject
*swig_obj
[1] ;
38622 if (!args
) SWIG_fail
;
38623 swig_obj
[0] = args
;
38624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38625 if (!SWIG_IsOK(res1
)) {
38626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38628 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38631 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38632 wxPyEndAllowThreads(__tstate
);
38633 if (PyErr_Occurred()) SWIG_fail
;
38637 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38639 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38648 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38649 PyObject
*resultobj
= 0;
38650 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38651 wxString
*arg2
= 0 ;
38654 bool temp2
= false ;
38655 PyObject
* obj0
= 0 ;
38656 PyObject
* obj1
= 0 ;
38657 char * kwnames
[] = {
38658 (char *) "self",(char *) "filter", NULL
38661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38663 if (!SWIG_IsOK(res1
)) {
38664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38666 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38668 arg2
= wxString_in_helper(obj1
);
38669 if (arg2
== NULL
) SWIG_fail
;
38673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38674 (arg1
)->SetFilter((wxString
const &)*arg2
);
38675 wxPyEndAllowThreads(__tstate
);
38676 if (PyErr_Occurred()) SWIG_fail
;
38678 resultobj
= SWIG_Py_Void();
38693 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38694 PyObject
*resultobj
= 0;
38695 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38699 PyObject
*swig_obj
[1] ;
38701 if (!args
) SWIG_fail
;
38702 swig_obj
[0] = args
;
38703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38704 if (!SWIG_IsOK(res1
)) {
38705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38707 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38710 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38711 wxPyEndAllowThreads(__tstate
);
38712 if (PyErr_Occurred()) SWIG_fail
;
38714 resultobj
= SWIG_From_int(static_cast< int >(result
));
38721 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38722 PyObject
*resultobj
= 0;
38723 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38729 PyObject
* obj0
= 0 ;
38730 PyObject
* obj1
= 0 ;
38731 char * kwnames
[] = {
38732 (char *) "self",(char *) "n", NULL
38735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38737 if (!SWIG_IsOK(res1
)) {
38738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38740 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38742 if (!SWIG_IsOK(ecode2
)) {
38743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38745 arg2
= static_cast< int >(val2
);
38747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38748 (arg1
)->SetFilterIndex(arg2
);
38749 wxPyEndAllowThreads(__tstate
);
38750 if (PyErr_Occurred()) SWIG_fail
;
38752 resultobj
= SWIG_Py_Void();
38759 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38760 PyObject
*resultobj
= 0;
38761 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38762 wxTreeItemId result
;
38765 PyObject
*swig_obj
[1] ;
38767 if (!args
) SWIG_fail
;
38768 swig_obj
[0] = args
;
38769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38770 if (!SWIG_IsOK(res1
)) {
38771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38773 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38776 result
= (arg1
)->GetRootId();
38777 wxPyEndAllowThreads(__tstate
);
38778 if (PyErr_Occurred()) SWIG_fail
;
38780 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38787 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38788 PyObject
*resultobj
= 0;
38789 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38790 wxPyTreeCtrl
*result
= 0 ;
38793 PyObject
*swig_obj
[1] ;
38795 if (!args
) SWIG_fail
;
38796 swig_obj
[0] = args
;
38797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38798 if (!SWIG_IsOK(res1
)) {
38799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38801 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38804 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38805 wxPyEndAllowThreads(__tstate
);
38806 if (PyErr_Occurred()) SWIG_fail
;
38809 resultobj
= wxPyMake_wxObject(result
, 0);
38817 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38818 PyObject
*resultobj
= 0;
38819 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38820 wxDirFilterListCtrl
*result
= 0 ;
38823 PyObject
*swig_obj
[1] ;
38825 if (!args
) SWIG_fail
;
38826 swig_obj
[0] = args
;
38827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38828 if (!SWIG_IsOK(res1
)) {
38829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38831 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38834 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38835 wxPyEndAllowThreads(__tstate
);
38836 if (PyErr_Occurred()) SWIG_fail
;
38838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38845 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38846 PyObject
*resultobj
= 0;
38847 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38848 wxTreeItemId arg2
;
38849 wxString
*arg3
= 0 ;
38851 wxTreeItemId result
;
38856 bool temp3
= false ;
38858 int res4
= SWIG_TMPOBJ
;
38859 PyObject
* obj0
= 0 ;
38860 PyObject
* obj1
= 0 ;
38861 PyObject
* obj2
= 0 ;
38862 char * kwnames
[] = {
38863 (char *) "self",(char *) "parentId",(char *) "path", NULL
38867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38869 if (!SWIG_IsOK(res1
)) {
38870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38872 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38875 if (!SWIG_IsOK(res2
)) {
38876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38881 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38883 if (SWIG_IsNewObj(res2
)) delete temp
;
38887 arg3
= wxString_in_helper(obj2
);
38888 if (arg3
== NULL
) SWIG_fail
;
38892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38893 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38894 wxPyEndAllowThreads(__tstate
);
38895 if (PyErr_Occurred()) SWIG_fail
;
38897 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38898 if (SWIG_IsTmpObj(res4
)) {
38899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38901 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38918 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38919 PyObject
*resultobj
= 0;
38920 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38923 PyObject
*swig_obj
[1] ;
38925 if (!args
) SWIG_fail
;
38926 swig_obj
[0] = args
;
38927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38928 if (!SWIG_IsOK(res1
)) {
38929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38931 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38934 (arg1
)->DoResize();
38935 wxPyEndAllowThreads(__tstate
);
38936 if (PyErr_Occurred()) SWIG_fail
;
38938 resultobj
= SWIG_Py_Void();
38945 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38946 PyObject
*resultobj
= 0;
38947 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38950 PyObject
*swig_obj
[1] ;
38952 if (!args
) SWIG_fail
;
38953 swig_obj
[0] = args
;
38954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38955 if (!SWIG_IsOK(res1
)) {
38956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38958 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38961 (arg1
)->ReCreateTree();
38962 wxPyEndAllowThreads(__tstate
);
38963 if (PyErr_Occurred()) SWIG_fail
;
38965 resultobj
= SWIG_Py_Void();
38972 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38974 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38975 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38976 return SWIG_Py_Void();
38979 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38980 return SWIG_Python_InitShadowInstance(args
);
38983 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38984 PyObject
*resultobj
= 0;
38985 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38986 int arg2
= (int) (int)-1 ;
38987 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38988 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38989 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38990 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38991 long arg5
= (long) 0 ;
38992 wxDirFilterListCtrl
*result
= 0 ;
39001 PyObject
* obj0
= 0 ;
39002 PyObject
* obj1
= 0 ;
39003 PyObject
* obj2
= 0 ;
39004 PyObject
* obj3
= 0 ;
39005 PyObject
* obj4
= 0 ;
39006 char * kwnames
[] = {
39007 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
39012 if (!SWIG_IsOK(res1
)) {
39013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
39015 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
39017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39018 if (!SWIG_IsOK(ecode2
)) {
39019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
39021 arg2
= static_cast< int >(val2
);
39026 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39032 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39036 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39037 if (!SWIG_IsOK(ecode5
)) {
39038 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
39040 arg5
= static_cast< long >(val5
);
39043 if (!wxPyCheckForApp()) SWIG_fail
;
39044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39045 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39046 wxPyEndAllowThreads(__tstate
);
39047 if (PyErr_Occurred()) SWIG_fail
;
39049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
39056 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39057 PyObject
*resultobj
= 0;
39058 wxDirFilterListCtrl
*result
= 0 ;
39060 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
39062 if (!wxPyCheckForApp()) SWIG_fail
;
39063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39064 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
39065 wxPyEndAllowThreads(__tstate
);
39066 if (PyErr_Occurred()) SWIG_fail
;
39068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
39075 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39076 PyObject
*resultobj
= 0;
39077 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
39078 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
39079 int arg3
= (int) (int)-1 ;
39080 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
39081 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
39082 wxSize
const &arg5_defvalue
= wxDefaultSize
;
39083 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
39084 long arg6
= (long) 0 ;
39096 PyObject
* obj0
= 0 ;
39097 PyObject
* obj1
= 0 ;
39098 PyObject
* obj2
= 0 ;
39099 PyObject
* obj3
= 0 ;
39100 PyObject
* obj4
= 0 ;
39101 PyObject
* obj5
= 0 ;
39102 char * kwnames
[] = {
39103 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
39108 if (!SWIG_IsOK(res1
)) {
39109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
39111 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
39112 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
39113 if (!SWIG_IsOK(res2
)) {
39114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
39116 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
39118 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39119 if (!SWIG_IsOK(ecode3
)) {
39120 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
39122 arg3
= static_cast< int >(val3
);
39127 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
39133 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
39137 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
39138 if (!SWIG_IsOK(ecode6
)) {
39139 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
39141 arg6
= static_cast< long >(val6
);
39144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39145 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
39146 wxPyEndAllowThreads(__tstate
);
39147 if (PyErr_Occurred()) SWIG_fail
;
39150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39158 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39159 PyObject
*resultobj
= 0;
39160 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
39161 wxString
*arg2
= 0 ;
39165 bool temp2
= false ;
39168 PyObject
* obj0
= 0 ;
39169 PyObject
* obj1
= 0 ;
39170 PyObject
* obj2
= 0 ;
39171 char * kwnames
[] = {
39172 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
39175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
39177 if (!SWIG_IsOK(res1
)) {
39178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
39180 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
39182 arg2
= wxString_in_helper(obj1
);
39183 if (arg2
== NULL
) SWIG_fail
;
39186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39187 if (!SWIG_IsOK(ecode3
)) {
39188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
39190 arg3
= static_cast< int >(val3
);
39192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39193 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
39194 wxPyEndAllowThreads(__tstate
);
39195 if (PyErr_Occurred()) SWIG_fail
;
39197 resultobj
= SWIG_Py_Void();
39212 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39214 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39215 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
39216 return SWIG_Py_Void();
39219 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39220 return SWIG_Python_InitShadowInstance(args
);
39223 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39224 PyObject
*resultobj
= 0;
39225 wxWindow
*arg1
= (wxWindow
*) 0 ;
39226 int arg2
= (int) (int)-1 ;
39227 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39228 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39229 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39230 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39231 long arg5
= (long) 0 ;
39232 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
39233 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
39234 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
39235 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
39236 wxPyControl
*result
= 0 ;
39247 bool temp7
= false ;
39248 PyObject
* obj0
= 0 ;
39249 PyObject
* obj1
= 0 ;
39250 PyObject
* obj2
= 0 ;
39251 PyObject
* obj3
= 0 ;
39252 PyObject
* obj4
= 0 ;
39253 PyObject
* obj5
= 0 ;
39254 PyObject
* obj6
= 0 ;
39255 char * kwnames
[] = {
39256 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
39259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
39260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39261 if (!SWIG_IsOK(res1
)) {
39262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
39264 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39267 if (!SWIG_IsOK(ecode2
)) {
39268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
39270 arg2
= static_cast< int >(val2
);
39275 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39281 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39285 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39286 if (!SWIG_IsOK(ecode5
)) {
39287 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
39289 arg5
= static_cast< long >(val5
);
39292 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
39293 if (!SWIG_IsOK(res6
)) {
39294 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39299 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
39303 arg7
= wxString_in_helper(obj6
);
39304 if (arg7
== NULL
) SWIG_fail
;
39309 if (!wxPyCheckForApp()) SWIG_fail
;
39310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39311 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
39312 wxPyEndAllowThreads(__tstate
);
39313 if (PyErr_Occurred()) SWIG_fail
;
39315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
39330 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39331 PyObject
*resultobj
= 0;
39332 wxPyControl
*result
= 0 ;
39334 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
39336 if (!wxPyCheckForApp()) SWIG_fail
;
39337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39338 result
= (wxPyControl
*)new wxPyControl();
39339 wxPyEndAllowThreads(__tstate
);
39340 if (PyErr_Occurred()) SWIG_fail
;
39342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
39349 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39350 PyObject
*resultobj
= 0;
39351 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39352 PyObject
*arg2
= (PyObject
*) 0 ;
39353 PyObject
*arg3
= (PyObject
*) 0 ;
39356 PyObject
* obj0
= 0 ;
39357 PyObject
* obj1
= 0 ;
39358 PyObject
* obj2
= 0 ;
39359 char * kwnames
[] = {
39360 (char *) "self",(char *) "self",(char *) "_class", NULL
39363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39365 if (!SWIG_IsOK(res1
)) {
39366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39368 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39373 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39374 wxPyEndAllowThreads(__tstate
);
39375 if (PyErr_Occurred()) SWIG_fail
;
39377 resultobj
= SWIG_Py_Void();
39384 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39385 PyObject
*resultobj
= 0;
39386 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39387 wxDC
*arg2
= (wxDC
*) 0 ;
39393 PyObject
* obj0
= 0 ;
39394 PyObject
* obj1
= 0 ;
39395 char * kwnames
[] = {
39396 (char *) "self",(char *) "dc", NULL
39399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39401 if (!SWIG_IsOK(res1
)) {
39402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39404 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39405 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
39406 if (!SWIG_IsOK(res2
)) {
39407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39409 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39412 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
39413 wxPyEndAllowThreads(__tstate
);
39414 if (PyErr_Occurred()) SWIG_fail
;
39417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39425 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39426 PyObject
*resultobj
= 0;
39427 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39442 PyObject
* obj0
= 0 ;
39443 PyObject
* obj1
= 0 ;
39444 PyObject
* obj2
= 0 ;
39445 PyObject
* obj3
= 0 ;
39446 PyObject
* obj4
= 0 ;
39447 char * kwnames
[] = {
39448 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39453 if (!SWIG_IsOK(res1
)) {
39454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39456 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39458 if (!SWIG_IsOK(ecode2
)) {
39459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39461 arg2
= static_cast< int >(val2
);
39462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39463 if (!SWIG_IsOK(ecode3
)) {
39464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39466 arg3
= static_cast< int >(val3
);
39467 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39468 if (!SWIG_IsOK(ecode4
)) {
39469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39471 arg4
= static_cast< int >(val4
);
39472 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39473 if (!SWIG_IsOK(ecode5
)) {
39474 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39476 arg5
= static_cast< int >(val5
);
39478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39479 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39480 wxPyEndAllowThreads(__tstate
);
39481 if (PyErr_Occurred()) SWIG_fail
;
39483 resultobj
= SWIG_Py_Void();
39490 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39491 PyObject
*resultobj
= 0;
39492 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39497 int arg6
= (int) wxSIZE_AUTO
;
39510 PyObject
* obj0
= 0 ;
39511 PyObject
* obj1
= 0 ;
39512 PyObject
* obj2
= 0 ;
39513 PyObject
* obj3
= 0 ;
39514 PyObject
* obj4
= 0 ;
39515 PyObject
* obj5
= 0 ;
39516 char * kwnames
[] = {
39517 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39522 if (!SWIG_IsOK(res1
)) {
39523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39525 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39527 if (!SWIG_IsOK(ecode2
)) {
39528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39530 arg2
= static_cast< int >(val2
);
39531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39532 if (!SWIG_IsOK(ecode3
)) {
39533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39535 arg3
= static_cast< int >(val3
);
39536 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39537 if (!SWIG_IsOK(ecode4
)) {
39538 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39540 arg4
= static_cast< int >(val4
);
39541 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39542 if (!SWIG_IsOK(ecode5
)) {
39543 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39545 arg5
= static_cast< int >(val5
);
39547 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39548 if (!SWIG_IsOK(ecode6
)) {
39549 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39551 arg6
= static_cast< int >(val6
);
39554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39555 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39556 wxPyEndAllowThreads(__tstate
);
39557 if (PyErr_Occurred()) SWIG_fail
;
39559 resultobj
= SWIG_Py_Void();
39566 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39567 PyObject
*resultobj
= 0;
39568 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39577 PyObject
* obj0
= 0 ;
39578 PyObject
* obj1
= 0 ;
39579 PyObject
* obj2
= 0 ;
39580 char * kwnames
[] = {
39581 (char *) "self",(char *) "width",(char *) "height", NULL
39584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39586 if (!SWIG_IsOK(res1
)) {
39587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39589 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39591 if (!SWIG_IsOK(ecode2
)) {
39592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39594 arg2
= static_cast< int >(val2
);
39595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39596 if (!SWIG_IsOK(ecode3
)) {
39597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39599 arg3
= static_cast< int >(val3
);
39601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39602 (arg1
)->DoSetClientSize(arg2
,arg3
);
39603 wxPyEndAllowThreads(__tstate
);
39604 if (PyErr_Occurred()) SWIG_fail
;
39606 resultobj
= SWIG_Py_Void();
39613 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39614 PyObject
*resultobj
= 0;
39615 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39624 PyObject
* obj0
= 0 ;
39625 PyObject
* obj1
= 0 ;
39626 PyObject
* obj2
= 0 ;
39627 char * kwnames
[] = {
39628 (char *) "self",(char *) "x",(char *) "y", NULL
39631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39633 if (!SWIG_IsOK(res1
)) {
39634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39636 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39638 if (!SWIG_IsOK(ecode2
)) {
39639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39641 arg2
= static_cast< int >(val2
);
39642 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39643 if (!SWIG_IsOK(ecode3
)) {
39644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39646 arg3
= static_cast< int >(val3
);
39648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39649 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39650 wxPyEndAllowThreads(__tstate
);
39651 if (PyErr_Occurred()) SWIG_fail
;
39653 resultobj
= SWIG_Py_Void();
39660 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39661 PyObject
*resultobj
= 0;
39662 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39663 int *arg2
= (int *) 0 ;
39664 int *arg3
= (int *) 0 ;
39668 int res2
= SWIG_TMPOBJ
;
39670 int res3
= SWIG_TMPOBJ
;
39671 PyObject
*swig_obj
[1] ;
39675 if (!args
) SWIG_fail
;
39676 swig_obj
[0] = args
;
39677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39678 if (!SWIG_IsOK(res1
)) {
39679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39681 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39684 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39685 wxPyEndAllowThreads(__tstate
);
39686 if (PyErr_Occurred()) SWIG_fail
;
39688 resultobj
= SWIG_Py_Void();
39689 if (SWIG_IsTmpObj(res2
)) {
39690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39692 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39693 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39695 if (SWIG_IsTmpObj(res3
)) {
39696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39698 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39699 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39707 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39708 PyObject
*resultobj
= 0;
39709 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39710 int *arg2
= (int *) 0 ;
39711 int *arg3
= (int *) 0 ;
39715 int res2
= SWIG_TMPOBJ
;
39717 int res3
= SWIG_TMPOBJ
;
39718 PyObject
*swig_obj
[1] ;
39722 if (!args
) SWIG_fail
;
39723 swig_obj
[0] = args
;
39724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39725 if (!SWIG_IsOK(res1
)) {
39726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39728 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39731 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39732 wxPyEndAllowThreads(__tstate
);
39733 if (PyErr_Occurred()) SWIG_fail
;
39735 resultobj
= SWIG_Py_Void();
39736 if (SWIG_IsTmpObj(res2
)) {
39737 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39739 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39740 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39742 if (SWIG_IsTmpObj(res3
)) {
39743 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39745 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39746 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39754 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39755 PyObject
*resultobj
= 0;
39756 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39757 int *arg2
= (int *) 0 ;
39758 int *arg3
= (int *) 0 ;
39762 int res2
= SWIG_TMPOBJ
;
39764 int res3
= SWIG_TMPOBJ
;
39765 PyObject
*swig_obj
[1] ;
39769 if (!args
) SWIG_fail
;
39770 swig_obj
[0] = args
;
39771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39772 if (!SWIG_IsOK(res1
)) {
39773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39775 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39778 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39779 wxPyEndAllowThreads(__tstate
);
39780 if (PyErr_Occurred()) SWIG_fail
;
39782 resultobj
= SWIG_Py_Void();
39783 if (SWIG_IsTmpObj(res2
)) {
39784 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39786 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39787 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39789 if (SWIG_IsTmpObj(res3
)) {
39790 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39792 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39793 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39801 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39802 PyObject
*resultobj
= 0;
39803 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39807 PyObject
*swig_obj
[1] ;
39809 if (!args
) SWIG_fail
;
39810 swig_obj
[0] = args
;
39811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39812 if (!SWIG_IsOK(res1
)) {
39813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39815 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39818 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39819 wxPyEndAllowThreads(__tstate
);
39820 if (PyErr_Occurred()) SWIG_fail
;
39822 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39829 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39830 PyObject
*resultobj
= 0;
39831 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39835 PyObject
*swig_obj
[1] ;
39837 if (!args
) SWIG_fail
;
39838 swig_obj
[0] = args
;
39839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39840 if (!SWIG_IsOK(res1
)) {
39841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39843 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39846 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39847 wxPyEndAllowThreads(__tstate
);
39848 if (PyErr_Occurred()) SWIG_fail
;
39850 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39857 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39858 PyObject
*resultobj
= 0;
39859 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39860 SwigValueWrapper
<wxVisualAttributes
> result
;
39863 PyObject
*swig_obj
[1] ;
39865 if (!args
) SWIG_fail
;
39866 swig_obj
[0] = args
;
39867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39868 if (!SWIG_IsOK(res1
)) {
39869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39871 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39874 result
= (arg1
)->GetDefaultAttributes();
39875 wxPyEndAllowThreads(__tstate
);
39876 if (PyErr_Occurred()) SWIG_fail
;
39878 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39885 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39886 PyObject
*resultobj
= 0;
39887 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39890 PyObject
*swig_obj
[1] ;
39892 if (!args
) SWIG_fail
;
39893 swig_obj
[0] = args
;
39894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39895 if (!SWIG_IsOK(res1
)) {
39896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39898 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39901 (arg1
)->OnInternalIdle();
39902 wxPyEndAllowThreads(__tstate
);
39903 if (PyErr_Occurred()) SWIG_fail
;
39905 resultobj
= SWIG_Py_Void();
39912 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39914 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39915 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39916 return SWIG_Py_Void();
39919 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39920 return SWIG_Python_InitShadowInstance(args
);
39923 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39924 PyObject
*resultobj
= 0;
39925 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39926 int arg2
= (int) 0 ;
39927 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39928 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39929 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39930 wxHelpEvent
*result
= 0 ;
39938 PyObject
* obj0
= 0 ;
39939 PyObject
* obj1
= 0 ;
39940 PyObject
* obj2
= 0 ;
39941 PyObject
* obj3
= 0 ;
39942 char * kwnames
[] = {
39943 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39948 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39949 if (!SWIG_IsOK(ecode1
)) {
39950 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39952 arg1
= static_cast< wxEventType
>(val1
);
39955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39956 if (!SWIG_IsOK(ecode2
)) {
39957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39959 arg2
= static_cast< int >(val2
);
39964 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39968 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39969 if (!SWIG_IsOK(ecode4
)) {
39970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39972 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39976 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39977 wxPyEndAllowThreads(__tstate
);
39978 if (PyErr_Occurred()) SWIG_fail
;
39980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39987 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39988 PyObject
*resultobj
= 0;
39989 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39993 PyObject
*swig_obj
[1] ;
39995 if (!args
) SWIG_fail
;
39996 swig_obj
[0] = args
;
39997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39998 if (!SWIG_IsOK(res1
)) {
39999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40001 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40004 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
40005 wxPyEndAllowThreads(__tstate
);
40006 if (PyErr_Occurred()) SWIG_fail
;
40008 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
40015 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40016 PyObject
*resultobj
= 0;
40017 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40018 wxPoint
*arg2
= 0 ;
40022 PyObject
* obj0
= 0 ;
40023 PyObject
* obj1
= 0 ;
40024 char * kwnames
[] = {
40025 (char *) "self",(char *) "pos", NULL
40028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40030 if (!SWIG_IsOK(res1
)) {
40031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40033 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40036 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40040 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
40041 wxPyEndAllowThreads(__tstate
);
40042 if (PyErr_Occurred()) SWIG_fail
;
40044 resultobj
= SWIG_Py_Void();
40051 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40052 PyObject
*resultobj
= 0;
40053 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40054 wxString
*result
= 0 ;
40057 PyObject
*swig_obj
[1] ;
40059 if (!args
) SWIG_fail
;
40060 swig_obj
[0] = args
;
40061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40062 if (!SWIG_IsOK(res1
)) {
40063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40065 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40069 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
40070 result
= (wxString
*) &_result_ref
;
40072 wxPyEndAllowThreads(__tstate
);
40073 if (PyErr_Occurred()) SWIG_fail
;
40077 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
40079 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
40088 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40089 PyObject
*resultobj
= 0;
40090 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40091 wxString
*arg2
= 0 ;
40094 bool temp2
= false ;
40095 PyObject
* obj0
= 0 ;
40096 PyObject
* obj1
= 0 ;
40097 char * kwnames
[] = {
40098 (char *) "self",(char *) "link", NULL
40101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40103 if (!SWIG_IsOK(res1
)) {
40104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40106 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40108 arg2
= wxString_in_helper(obj1
);
40109 if (arg2
== NULL
) SWIG_fail
;
40113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40114 (arg1
)->SetLink((wxString
const &)*arg2
);
40115 wxPyEndAllowThreads(__tstate
);
40116 if (PyErr_Occurred()) SWIG_fail
;
40118 resultobj
= SWIG_Py_Void();
40133 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40134 PyObject
*resultobj
= 0;
40135 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40136 wxString
*result
= 0 ;
40139 PyObject
*swig_obj
[1] ;
40141 if (!args
) SWIG_fail
;
40142 swig_obj
[0] = args
;
40143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40144 if (!SWIG_IsOK(res1
)) {
40145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40147 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40151 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
40152 result
= (wxString
*) &_result_ref
;
40154 wxPyEndAllowThreads(__tstate
);
40155 if (PyErr_Occurred()) SWIG_fail
;
40159 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
40161 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
40170 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40171 PyObject
*resultobj
= 0;
40172 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40173 wxString
*arg2
= 0 ;
40176 bool temp2
= false ;
40177 PyObject
* obj0
= 0 ;
40178 PyObject
* obj1
= 0 ;
40179 char * kwnames
[] = {
40180 (char *) "self",(char *) "target", NULL
40183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40185 if (!SWIG_IsOK(res1
)) {
40186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40188 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40190 arg2
= wxString_in_helper(obj1
);
40191 if (arg2
== NULL
) SWIG_fail
;
40195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40196 (arg1
)->SetTarget((wxString
const &)*arg2
);
40197 wxPyEndAllowThreads(__tstate
);
40198 if (PyErr_Occurred()) SWIG_fail
;
40200 resultobj
= SWIG_Py_Void();
40215 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40216 PyObject
*resultobj
= 0;
40217 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40218 wxHelpEvent::Origin result
;
40221 PyObject
*swig_obj
[1] ;
40223 if (!args
) SWIG_fail
;
40224 swig_obj
[0] = args
;
40225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40226 if (!SWIG_IsOK(res1
)) {
40227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40229 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40232 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
40233 wxPyEndAllowThreads(__tstate
);
40234 if (PyErr_Occurred()) SWIG_fail
;
40236 resultobj
= SWIG_From_int(static_cast< int >(result
));
40243 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40244 PyObject
*resultobj
= 0;
40245 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40246 wxHelpEvent::Origin arg2
;
40251 PyObject
* obj0
= 0 ;
40252 PyObject
* obj1
= 0 ;
40253 char * kwnames
[] = {
40254 (char *) "self",(char *) "origin", NULL
40257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40259 if (!SWIG_IsOK(res1
)) {
40260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40262 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40264 if (!SWIG_IsOK(ecode2
)) {
40265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
40267 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
40269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40270 (arg1
)->SetOrigin(arg2
);
40271 wxPyEndAllowThreads(__tstate
);
40272 if (PyErr_Occurred()) SWIG_fail
;
40274 resultobj
= SWIG_Py_Void();
40281 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40284 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
40285 return SWIG_Py_Void();
40288 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40289 return SWIG_Python_InitShadowInstance(args
);
40292 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40293 PyObject
*resultobj
= 0;
40294 wxWindow
*arg1
= (wxWindow
*) NULL
;
40295 bool arg2
= (bool) true ;
40296 wxContextHelp
*result
= 0 ;
40301 PyObject
* obj0
= 0 ;
40302 PyObject
* obj1
= 0 ;
40303 char * kwnames
[] = {
40304 (char *) "window",(char *) "doNow", NULL
40307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40310 if (!SWIG_IsOK(res1
)) {
40311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40313 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40316 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40317 if (!SWIG_IsOK(ecode2
)) {
40318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40320 arg2
= static_cast< bool >(val2
);
40323 if (!wxPyCheckForApp()) SWIG_fail
;
40324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40325 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
40326 wxPyEndAllowThreads(__tstate
);
40327 if (PyErr_Occurred()) SWIG_fail
;
40329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
40336 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40337 PyObject
*resultobj
= 0;
40338 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40341 PyObject
*swig_obj
[1] ;
40343 if (!args
) SWIG_fail
;
40344 swig_obj
[0] = args
;
40345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
40346 if (!SWIG_IsOK(res1
)) {
40347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40349 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40354 wxPyEndAllowThreads(__tstate
);
40355 if (PyErr_Occurred()) SWIG_fail
;
40357 resultobj
= SWIG_Py_Void();
40364 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40365 PyObject
*resultobj
= 0;
40366 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40367 wxWindow
*arg2
= (wxWindow
*) NULL
;
40373 PyObject
* obj0
= 0 ;
40374 PyObject
* obj1
= 0 ;
40375 char * kwnames
[] = {
40376 (char *) "self",(char *) "window", NULL
40379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40381 if (!SWIG_IsOK(res1
)) {
40382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40384 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40387 if (!SWIG_IsOK(res2
)) {
40388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40390 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40394 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
40395 wxPyEndAllowThreads(__tstate
);
40396 if (PyErr_Occurred()) SWIG_fail
;
40399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40407 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40408 PyObject
*resultobj
= 0;
40409 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40413 PyObject
*swig_obj
[1] ;
40415 if (!args
) SWIG_fail
;
40416 swig_obj
[0] = args
;
40417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40418 if (!SWIG_IsOK(res1
)) {
40419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40421 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40424 result
= (bool)(arg1
)->EndContextHelp();
40425 wxPyEndAllowThreads(__tstate
);
40426 if (PyErr_Occurred()) SWIG_fail
;
40429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40437 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40439 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40440 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40441 return SWIG_Py_Void();
40444 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40445 return SWIG_Python_InitShadowInstance(args
);
40448 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40449 PyObject
*resultobj
= 0;
40450 wxWindow
*arg1
= (wxWindow
*) 0 ;
40451 int arg2
= (int) wxID_CONTEXT_HELP
;
40452 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40453 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40454 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40455 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40456 long arg5
= (long) wxBU_AUTODRAW
;
40457 wxContextHelpButton
*result
= 0 ;
40466 PyObject
* obj0
= 0 ;
40467 PyObject
* obj1
= 0 ;
40468 PyObject
* obj2
= 0 ;
40469 PyObject
* obj3
= 0 ;
40470 PyObject
* obj4
= 0 ;
40471 char * kwnames
[] = {
40472 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40477 if (!SWIG_IsOK(res1
)) {
40478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40480 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40483 if (!SWIG_IsOK(ecode2
)) {
40484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40486 arg2
= static_cast< int >(val2
);
40491 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40497 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40501 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40502 if (!SWIG_IsOK(ecode5
)) {
40503 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40505 arg5
= static_cast< long >(val5
);
40508 if (!wxPyCheckForApp()) SWIG_fail
;
40509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40510 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40511 wxPyEndAllowThreads(__tstate
);
40512 if (PyErr_Occurred()) SWIG_fail
;
40514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40521 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40523 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40524 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40525 return SWIG_Py_Void();
40528 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40529 return SWIG_Python_InitShadowInstance(args
);
40532 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40533 PyObject
*resultobj
= 0;
40534 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40537 PyObject
*swig_obj
[1] ;
40539 if (!args
) SWIG_fail
;
40540 swig_obj
[0] = args
;
40541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40542 if (!SWIG_IsOK(res1
)) {
40543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40545 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40550 wxPyEndAllowThreads(__tstate
);
40551 if (PyErr_Occurred()) SWIG_fail
;
40553 resultobj
= SWIG_Py_Void();
40560 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40561 PyObject
*resultobj
= 0;
40562 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40563 wxHelpProvider
*result
= 0 ;
40565 PyObject
* obj0
= 0 ;
40566 char * kwnames
[] = {
40567 (char *) "helpProvider", NULL
40570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40571 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40572 if (!SWIG_IsOK(res1
)) {
40573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40577 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40578 wxPyEndAllowThreads(__tstate
);
40579 if (PyErr_Occurred()) SWIG_fail
;
40581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40588 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40589 PyObject
*resultobj
= 0;
40590 wxHelpProvider
*result
= 0 ;
40592 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40595 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40596 wxPyEndAllowThreads(__tstate
);
40597 if (PyErr_Occurred()) SWIG_fail
;
40599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40606 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40607 PyObject
*resultobj
= 0;
40608 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40609 wxWindow
*arg2
= (wxWindow
*) 0 ;
40615 PyObject
* obj0
= 0 ;
40616 PyObject
* obj1
= 0 ;
40617 char * kwnames
[] = {
40618 (char *) "self",(char *) "window", NULL
40621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40623 if (!SWIG_IsOK(res1
)) {
40624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40626 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40627 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40628 if (!SWIG_IsOK(res2
)) {
40629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40631 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40634 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40635 wxPyEndAllowThreads(__tstate
);
40636 if (PyErr_Occurred()) SWIG_fail
;
40640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40651 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40652 PyObject
*resultobj
= 0;
40653 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40654 wxWindow
*arg2
= (wxWindow
*) 0 ;
40660 PyObject
* obj0
= 0 ;
40661 PyObject
* obj1
= 0 ;
40662 char * kwnames
[] = {
40663 (char *) "self",(char *) "window", NULL
40666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40668 if (!SWIG_IsOK(res1
)) {
40669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40671 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40672 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40673 if (!SWIG_IsOK(res2
)) {
40674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40676 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40679 result
= (bool)(arg1
)->ShowHelp(arg2
);
40680 wxPyEndAllowThreads(__tstate
);
40681 if (PyErr_Occurred()) SWIG_fail
;
40684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40692 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40693 PyObject
*resultobj
= 0;
40694 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40695 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40696 wxPoint
*arg3
= 0 ;
40697 wxHelpEvent::Origin arg4
;
40706 PyObject
* obj0
= 0 ;
40707 PyObject
* obj1
= 0 ;
40708 PyObject
* obj2
= 0 ;
40709 PyObject
* obj3
= 0 ;
40710 char * kwnames
[] = {
40711 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40716 if (!SWIG_IsOK(res1
)) {
40717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40719 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40720 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40721 if (!SWIG_IsOK(res2
)) {
40722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40724 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40727 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40729 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40730 if (!SWIG_IsOK(ecode4
)) {
40731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40733 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40736 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40737 wxPyEndAllowThreads(__tstate
);
40738 if (PyErr_Occurred()) SWIG_fail
;
40741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40749 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40750 PyObject
*resultobj
= 0;
40751 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40752 wxWindow
*arg2
= (wxWindow
*) 0 ;
40753 wxString
*arg3
= 0 ;
40758 bool temp3
= false ;
40759 PyObject
* obj0
= 0 ;
40760 PyObject
* obj1
= 0 ;
40761 PyObject
* obj2
= 0 ;
40762 char * kwnames
[] = {
40763 (char *) "self",(char *) "window",(char *) "text", NULL
40766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40768 if (!SWIG_IsOK(res1
)) {
40769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40771 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40772 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40773 if (!SWIG_IsOK(res2
)) {
40774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40776 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40778 arg3
= wxString_in_helper(obj2
);
40779 if (arg3
== NULL
) SWIG_fail
;
40783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40784 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40785 wxPyEndAllowThreads(__tstate
);
40786 if (PyErr_Occurred()) SWIG_fail
;
40788 resultobj
= SWIG_Py_Void();
40803 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40804 PyObject
*resultobj
= 0;
40805 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40807 wxString
*arg3
= 0 ;
40812 bool temp3
= false ;
40813 PyObject
* obj0
= 0 ;
40814 PyObject
* obj1
= 0 ;
40815 PyObject
* obj2
= 0 ;
40816 char * kwnames
[] = {
40817 (char *) "self",(char *) "id",(char *) "text", NULL
40820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40822 if (!SWIG_IsOK(res1
)) {
40823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40825 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40827 if (!SWIG_IsOK(ecode2
)) {
40828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40830 arg2
= static_cast< int >(val2
);
40832 arg3
= wxString_in_helper(obj2
);
40833 if (arg3
== NULL
) SWIG_fail
;
40837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40838 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40839 wxPyEndAllowThreads(__tstate
);
40840 if (PyErr_Occurred()) SWIG_fail
;
40842 resultobj
= SWIG_Py_Void();
40857 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40858 PyObject
*resultobj
= 0;
40859 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40860 wxWindow
*arg2
= (wxWindow
*) 0 ;
40865 PyObject
* obj0
= 0 ;
40866 PyObject
* obj1
= 0 ;
40867 char * kwnames
[] = {
40868 (char *) "self",(char *) "window", NULL
40871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40873 if (!SWIG_IsOK(res1
)) {
40874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40876 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40877 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40878 if (!SWIG_IsOK(res2
)) {
40879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40881 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40884 (arg1
)->RemoveHelp(arg2
);
40885 wxPyEndAllowThreads(__tstate
);
40886 if (PyErr_Occurred()) SWIG_fail
;
40888 resultobj
= SWIG_Py_Void();
40895 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40896 PyObject
*resultobj
= 0;
40897 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40900 PyObject
*swig_obj
[1] ;
40902 if (!args
) SWIG_fail
;
40903 swig_obj
[0] = args
;
40904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40905 if (!SWIG_IsOK(res1
)) {
40906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40908 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40911 wxHelpProvider_Destroy(arg1
);
40912 wxPyEndAllowThreads(__tstate
);
40913 if (PyErr_Occurred()) SWIG_fail
;
40915 resultobj
= SWIG_Py_Void();
40922 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40925 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40926 return SWIG_Py_Void();
40929 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40930 PyObject
*resultobj
= 0;
40931 wxSimpleHelpProvider
*result
= 0 ;
40933 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40936 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40937 wxPyEndAllowThreads(__tstate
);
40938 if (PyErr_Occurred()) SWIG_fail
;
40940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40947 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40950 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40951 return SWIG_Py_Void();
40954 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40955 return SWIG_Python_InitShadowInstance(args
);
40958 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40959 PyObject
*resultobj
= 0;
40960 wxBitmap
*arg1
= 0 ;
40961 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40962 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40963 wxGenericDragImage
*result
= 0 ;
40968 PyObject
* obj0
= 0 ;
40969 PyObject
* obj1
= 0 ;
40970 char * kwnames
[] = {
40971 (char *) "image",(char *) "cursor", NULL
40974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40975 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40976 if (!SWIG_IsOK(res1
)) {
40977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40982 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40984 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40985 if (!SWIG_IsOK(res2
)) {
40986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40991 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40994 if (!wxPyCheckForApp()) SWIG_fail
;
40995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40996 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40997 wxPyEndAllowThreads(__tstate
);
40998 if (PyErr_Occurred()) SWIG_fail
;
41000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
41007 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41008 PyObject
*resultobj
= 0;
41010 wxCursor
const &arg2_defvalue
= wxNullCursor
;
41011 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
41012 wxGenericDragImage
*result
= 0 ;
41017 PyObject
* obj0
= 0 ;
41018 PyObject
* obj1
= 0 ;
41019 char * kwnames
[] = {
41020 (char *) "image",(char *) "cursor", NULL
41023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41024 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
41025 if (!SWIG_IsOK(res1
)) {
41026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
41029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
41031 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
41033 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
41034 if (!SWIG_IsOK(res2
)) {
41035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
41038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
41040 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
41043 if (!wxPyCheckForApp()) SWIG_fail
;
41044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41045 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
41046 wxPyEndAllowThreads(__tstate
);
41047 if (PyErr_Occurred()) SWIG_fail
;
41049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41056 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41057 PyObject
*resultobj
= 0;
41058 wxString
*arg1
= 0 ;
41059 wxCursor
const &arg2_defvalue
= wxNullCursor
;
41060 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
41061 wxGenericDragImage
*result
= 0 ;
41062 bool temp1
= false ;
41065 PyObject
* obj0
= 0 ;
41066 PyObject
* obj1
= 0 ;
41067 char * kwnames
[] = {
41068 (char *) "str",(char *) "cursor", NULL
41071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41073 arg1
= wxString_in_helper(obj0
);
41074 if (arg1
== NULL
) SWIG_fail
;
41078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
41079 if (!SWIG_IsOK(res2
)) {
41080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
41083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
41085 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
41088 if (!wxPyCheckForApp()) SWIG_fail
;
41089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41090 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
41091 wxPyEndAllowThreads(__tstate
);
41092 if (PyErr_Occurred()) SWIG_fail
;
41094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41109 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41110 PyObject
*resultobj
= 0;
41111 wxPyTreeCtrl
*arg1
= 0 ;
41112 wxTreeItemId
*arg2
= 0 ;
41113 wxGenericDragImage
*result
= 0 ;
41118 PyObject
* obj0
= 0 ;
41119 PyObject
* obj1
= 0 ;
41120 char * kwnames
[] = {
41121 (char *) "treeCtrl",(char *) "id", NULL
41124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41125 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
41126 if (!SWIG_IsOK(res1
)) {
41127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
41130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
41132 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
41133 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
41134 if (!SWIG_IsOK(res2
)) {
41135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
41138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
41140 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
41142 if (!wxPyCheckForApp()) SWIG_fail
;
41143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41144 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
41145 wxPyEndAllowThreads(__tstate
);
41146 if (PyErr_Occurred()) SWIG_fail
;
41148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41155 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41156 PyObject
*resultobj
= 0;
41157 wxPyListCtrl
*arg1
= 0 ;
41159 wxGenericDragImage
*result
= 0 ;
41164 PyObject
* obj0
= 0 ;
41165 PyObject
* obj1
= 0 ;
41166 char * kwnames
[] = {
41167 (char *) "listCtrl",(char *) "id", NULL
41170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41171 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
41172 if (!SWIG_IsOK(res1
)) {
41173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41176 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41178 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
41179 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
41180 if (!SWIG_IsOK(ecode2
)) {
41181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
41183 arg2
= static_cast< long >(val2
);
41185 if (!wxPyCheckForApp()) SWIG_fail
;
41186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41187 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
41188 wxPyEndAllowThreads(__tstate
);
41189 if (PyErr_Occurred()) SWIG_fail
;
41191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41198 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41199 PyObject
*resultobj
= 0;
41200 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41203 PyObject
*swig_obj
[1] ;
41205 if (!args
) SWIG_fail
;
41206 swig_obj
[0] = args
;
41207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
41208 if (!SWIG_IsOK(res1
)) {
41209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41211 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41216 wxPyEndAllowThreads(__tstate
);
41217 if (PyErr_Occurred()) SWIG_fail
;
41219 resultobj
= SWIG_Py_Void();
41226 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41227 PyObject
*resultobj
= 0;
41228 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41229 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
41234 PyObject
* obj0
= 0 ;
41235 PyObject
* obj1
= 0 ;
41236 char * kwnames
[] = {
41237 (char *) "self",(char *) "bitmap", NULL
41240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41242 if (!SWIG_IsOK(res1
)) {
41243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41245 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41246 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
41247 if (!SWIG_IsOK(res2
)) {
41248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
41250 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
41252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41253 (arg1
)->SetBackingBitmap(arg2
);
41254 wxPyEndAllowThreads(__tstate
);
41255 if (PyErr_Occurred()) SWIG_fail
;
41257 resultobj
= SWIG_Py_Void();
41264 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41265 PyObject
*resultobj
= 0;
41266 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41267 wxPoint
*arg2
= 0 ;
41268 wxWindow
*arg3
= (wxWindow
*) 0 ;
41269 bool arg4
= (bool) false ;
41270 wxRect
*arg5
= (wxRect
*) NULL
;
41281 PyObject
* obj0
= 0 ;
41282 PyObject
* obj1
= 0 ;
41283 PyObject
* obj2
= 0 ;
41284 PyObject
* obj3
= 0 ;
41285 PyObject
* obj4
= 0 ;
41286 char * kwnames
[] = {
41287 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
41290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41292 if (!SWIG_IsOK(res1
)) {
41293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41295 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41298 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41300 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41301 if (!SWIG_IsOK(res3
)) {
41302 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41304 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41306 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41307 if (!SWIG_IsOK(ecode4
)) {
41308 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41310 arg4
= static_cast< bool >(val4
);
41313 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
41314 if (!SWIG_IsOK(res5
)) {
41315 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41317 arg5
= reinterpret_cast< wxRect
* >(argp5
);
41320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41321 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
41322 wxPyEndAllowThreads(__tstate
);
41323 if (PyErr_Occurred()) SWIG_fail
;
41326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41334 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41335 PyObject
*resultobj
= 0;
41336 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41337 wxPoint
*arg2
= 0 ;
41338 wxWindow
*arg3
= (wxWindow
*) 0 ;
41339 wxWindow
*arg4
= (wxWindow
*) 0 ;
41348 PyObject
* obj0
= 0 ;
41349 PyObject
* obj1
= 0 ;
41350 PyObject
* obj2
= 0 ;
41351 PyObject
* obj3
= 0 ;
41352 char * kwnames
[] = {
41353 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41358 if (!SWIG_IsOK(res1
)) {
41359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41361 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41364 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41366 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41367 if (!SWIG_IsOK(res3
)) {
41368 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41370 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41371 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41372 if (!SWIG_IsOK(res4
)) {
41373 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41375 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
41377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41378 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
41379 wxPyEndAllowThreads(__tstate
);
41380 if (PyErr_Occurred()) SWIG_fail
;
41383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41391 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41392 PyObject
*resultobj
= 0;
41393 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41397 PyObject
*swig_obj
[1] ;
41399 if (!args
) SWIG_fail
;
41400 swig_obj
[0] = args
;
41401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41402 if (!SWIG_IsOK(res1
)) {
41403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41405 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41408 result
= (bool)(arg1
)->EndDrag();
41409 wxPyEndAllowThreads(__tstate
);
41410 if (PyErr_Occurred()) SWIG_fail
;
41413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41421 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41422 PyObject
*resultobj
= 0;
41423 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41424 wxPoint
*arg2
= 0 ;
41429 PyObject
* obj0
= 0 ;
41430 PyObject
* obj1
= 0 ;
41431 char * kwnames
[] = {
41432 (char *) "self",(char *) "pt", NULL
41435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41437 if (!SWIG_IsOK(res1
)) {
41438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41440 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41443 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41447 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41448 wxPyEndAllowThreads(__tstate
);
41449 if (PyErr_Occurred()) SWIG_fail
;
41452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41460 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41461 PyObject
*resultobj
= 0;
41462 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41466 PyObject
*swig_obj
[1] ;
41468 if (!args
) SWIG_fail
;
41469 swig_obj
[0] = args
;
41470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41471 if (!SWIG_IsOK(res1
)) {
41472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41474 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41477 result
= (bool)(arg1
)->Show();
41478 wxPyEndAllowThreads(__tstate
);
41479 if (PyErr_Occurred()) SWIG_fail
;
41482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41490 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41491 PyObject
*resultobj
= 0;
41492 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41496 PyObject
*swig_obj
[1] ;
41498 if (!args
) SWIG_fail
;
41499 swig_obj
[0] = args
;
41500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41501 if (!SWIG_IsOK(res1
)) {
41502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41504 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41507 result
= (bool)(arg1
)->Hide();
41508 wxPyEndAllowThreads(__tstate
);
41509 if (PyErr_Occurred()) SWIG_fail
;
41512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41520 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41521 PyObject
*resultobj
= 0;
41522 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41523 wxPoint
*arg2
= 0 ;
41528 PyObject
* obj0
= 0 ;
41529 PyObject
* obj1
= 0 ;
41530 char * kwnames
[] = {
41531 (char *) "self",(char *) "pos", NULL
41534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41536 if (!SWIG_IsOK(res1
)) {
41537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41539 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41542 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41546 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41547 wxPyEndAllowThreads(__tstate
);
41548 if (PyErr_Occurred()) SWIG_fail
;
41550 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41557 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41558 PyObject
*resultobj
= 0;
41559 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41561 wxPoint
*arg3
= 0 ;
41568 PyObject
* obj0
= 0 ;
41569 PyObject
* obj1
= 0 ;
41570 PyObject
* obj2
= 0 ;
41571 char * kwnames
[] = {
41572 (char *) "self",(char *) "dc",(char *) "pos", NULL
41575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41577 if (!SWIG_IsOK(res1
)) {
41578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41580 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41582 if (!SWIG_IsOK(res2
)) {
41583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41588 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41591 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41595 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41596 wxPyEndAllowThreads(__tstate
);
41597 if (PyErr_Occurred()) SWIG_fail
;
41600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41608 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41609 PyObject
*resultobj
= 0;
41610 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41612 wxMemoryDC
*arg3
= 0 ;
41624 PyObject
* obj0
= 0 ;
41625 PyObject
* obj1
= 0 ;
41626 PyObject
* obj2
= 0 ;
41627 PyObject
* obj3
= 0 ;
41628 PyObject
* obj4
= 0 ;
41629 char * kwnames
[] = {
41630 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41635 if (!SWIG_IsOK(res1
)) {
41636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41638 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41640 if (!SWIG_IsOK(res2
)) {
41641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41646 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41647 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41648 if (!SWIG_IsOK(res3
)) {
41649 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41654 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41657 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41661 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41665 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41666 wxPyEndAllowThreads(__tstate
);
41667 if (PyErr_Occurred()) SWIG_fail
;
41670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41678 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41679 PyObject
*resultobj
= 0;
41680 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41681 wxPoint
*arg2
= 0 ;
41682 wxPoint
*arg3
= 0 ;
41694 PyObject
* obj0
= 0 ;
41695 PyObject
* obj1
= 0 ;
41696 PyObject
* obj2
= 0 ;
41697 PyObject
* obj3
= 0 ;
41698 PyObject
* obj4
= 0 ;
41699 char * kwnames
[] = {
41700 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41705 if (!SWIG_IsOK(res1
)) {
41706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41708 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41711 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41715 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41717 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41718 if (!SWIG_IsOK(ecode4
)) {
41719 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41721 arg4
= static_cast< bool >(val4
);
41722 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41723 if (!SWIG_IsOK(ecode5
)) {
41724 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41726 arg5
= static_cast< bool >(val5
);
41728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41729 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41730 wxPyEndAllowThreads(__tstate
);
41731 if (PyErr_Occurred()) SWIG_fail
;
41734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41742 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41745 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41746 return SWIG_Py_Void();
41749 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41750 return SWIG_Python_InitShadowInstance(args
);
41753 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41754 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41759 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41760 PyObject
*pyobj
= 0;
41764 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41766 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41773 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41774 PyObject
*resultobj
= 0;
41775 wxWindow
*arg1
= (wxWindow
*) 0 ;
41776 int arg2
= (int) -1 ;
41777 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41778 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41779 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41780 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41781 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41782 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41783 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41784 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41785 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41786 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41787 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41788 wxDatePickerCtrl
*result
= 0 ;
41801 bool temp8
= false ;
41802 PyObject
* obj0
= 0 ;
41803 PyObject
* obj1
= 0 ;
41804 PyObject
* obj2
= 0 ;
41805 PyObject
* obj3
= 0 ;
41806 PyObject
* obj4
= 0 ;
41807 PyObject
* obj5
= 0 ;
41808 PyObject
* obj6
= 0 ;
41809 PyObject
* obj7
= 0 ;
41810 char * kwnames
[] = {
41811 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41816 if (!SWIG_IsOK(res1
)) {
41817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41819 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41822 if (!SWIG_IsOK(ecode2
)) {
41823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41825 arg2
= static_cast< int >(val2
);
41828 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41829 if (!SWIG_IsOK(res3
)) {
41830 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41835 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41840 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41846 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41850 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41851 if (!SWIG_IsOK(ecode6
)) {
41852 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41854 arg6
= static_cast< long >(val6
);
41857 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41858 if (!SWIG_IsOK(res7
)) {
41859 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41864 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41868 arg8
= wxString_in_helper(obj7
);
41869 if (arg8
== NULL
) SWIG_fail
;
41874 if (!wxPyCheckForApp()) SWIG_fail
;
41875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41876 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41877 wxPyEndAllowThreads(__tstate
);
41878 if (PyErr_Occurred()) SWIG_fail
;
41880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41895 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41896 PyObject
*resultobj
= 0;
41897 wxDatePickerCtrl
*result
= 0 ;
41899 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41901 if (!wxPyCheckForApp()) SWIG_fail
;
41902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41903 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41904 wxPyEndAllowThreads(__tstate
);
41905 if (PyErr_Occurred()) SWIG_fail
;
41907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41914 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41915 PyObject
*resultobj
= 0;
41916 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41917 wxWindow
*arg2
= (wxWindow
*) 0 ;
41918 int arg3
= (int) -1 ;
41919 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41920 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41921 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41922 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41923 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41924 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41925 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41926 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41927 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41928 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41929 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41945 bool temp9
= false ;
41946 PyObject
* obj0
= 0 ;
41947 PyObject
* obj1
= 0 ;
41948 PyObject
* obj2
= 0 ;
41949 PyObject
* obj3
= 0 ;
41950 PyObject
* obj4
= 0 ;
41951 PyObject
* obj5
= 0 ;
41952 PyObject
* obj6
= 0 ;
41953 PyObject
* obj7
= 0 ;
41954 PyObject
* obj8
= 0 ;
41955 char * kwnames
[] = {
41956 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41961 if (!SWIG_IsOK(res1
)) {
41962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41964 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41965 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41966 if (!SWIG_IsOK(res2
)) {
41967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41969 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41972 if (!SWIG_IsOK(ecode3
)) {
41973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41975 arg3
= static_cast< int >(val3
);
41978 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41979 if (!SWIG_IsOK(res4
)) {
41980 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41985 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41990 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41996 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42000 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42001 if (!SWIG_IsOK(ecode7
)) {
42002 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
42004 arg7
= static_cast< long >(val7
);
42007 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42008 if (!SWIG_IsOK(res8
)) {
42009 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42014 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42018 arg9
= wxString_in_helper(obj8
);
42019 if (arg9
== NULL
) SWIG_fail
;
42024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42025 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42026 wxPyEndAllowThreads(__tstate
);
42027 if (PyErr_Occurred()) SWIG_fail
;
42030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42046 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42047 PyObject
*resultobj
= 0;
42048 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42049 wxDateTime
*arg2
= 0 ;
42054 PyObject
* obj0
= 0 ;
42055 PyObject
* obj1
= 0 ;
42056 char * kwnames
[] = {
42057 (char *) "self",(char *) "dt", NULL
42060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42062 if (!SWIG_IsOK(res1
)) {
42063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42065 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
42067 if (!SWIG_IsOK(res2
)) {
42068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42073 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
42075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42076 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
42077 wxPyEndAllowThreads(__tstate
);
42078 if (PyErr_Occurred()) SWIG_fail
;
42080 resultobj
= SWIG_Py_Void();
42087 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42088 PyObject
*resultobj
= 0;
42089 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42093 PyObject
*swig_obj
[1] ;
42095 if (!args
) SWIG_fail
;
42096 swig_obj
[0] = args
;
42097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42098 if (!SWIG_IsOK(res1
)) {
42099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
42101 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42104 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
42105 wxPyEndAllowThreads(__tstate
);
42106 if (PyErr_Occurred()) SWIG_fail
;
42108 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42115 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42116 PyObject
*resultobj
= 0;
42117 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42118 wxDateTime
*arg2
= 0 ;
42119 wxDateTime
*arg3
= 0 ;
42126 PyObject
* obj0
= 0 ;
42127 PyObject
* obj1
= 0 ;
42128 PyObject
* obj2
= 0 ;
42129 char * kwnames
[] = {
42130 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
42133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42135 if (!SWIG_IsOK(res1
)) {
42136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42138 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42139 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
42140 if (!SWIG_IsOK(res2
)) {
42141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42146 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
42147 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
42148 if (!SWIG_IsOK(res3
)) {
42149 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
42152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
42154 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
42156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42157 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
42158 wxPyEndAllowThreads(__tstate
);
42159 if (PyErr_Occurred()) SWIG_fail
;
42161 resultobj
= SWIG_Py_Void();
42168 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42169 PyObject
*resultobj
= 0;
42170 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42174 PyObject
*swig_obj
[1] ;
42176 if (!args
) SWIG_fail
;
42177 swig_obj
[0] = args
;
42178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42179 if (!SWIG_IsOK(res1
)) {
42180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42182 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42185 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
42186 wxPyEndAllowThreads(__tstate
);
42187 if (PyErr_Occurred()) SWIG_fail
;
42189 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42196 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42197 PyObject
*resultobj
= 0;
42198 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42202 PyObject
*swig_obj
[1] ;
42204 if (!args
) SWIG_fail
;
42205 swig_obj
[0] = args
;
42206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42207 if (!SWIG_IsOK(res1
)) {
42208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42210 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42213 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
42214 wxPyEndAllowThreads(__tstate
);
42215 if (PyErr_Occurred()) SWIG_fail
;
42217 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42224 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42226 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42227 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
42228 return SWIG_Py_Void();
42231 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42232 return SWIG_Python_InitShadowInstance(args
);
42235 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
42236 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
42241 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
42242 PyObject
*pyobj
= 0;
42246 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42248 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42255 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42256 PyObject
*resultobj
= 0;
42257 wxWindow
*arg1
= (wxWindow
*) 0 ;
42259 wxString
*arg3
= 0 ;
42260 wxString
*arg4
= 0 ;
42261 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42262 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42263 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42264 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42265 long arg7
= (long) wxHL_DEFAULT_STYLE
;
42266 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
42267 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42268 wxHyperlinkCtrl
*result
= 0 ;
42273 bool temp3
= false ;
42274 bool temp4
= false ;
42279 bool temp8
= false ;
42280 PyObject
* obj0
= 0 ;
42281 PyObject
* obj1
= 0 ;
42282 PyObject
* obj2
= 0 ;
42283 PyObject
* obj3
= 0 ;
42284 PyObject
* obj4
= 0 ;
42285 PyObject
* obj5
= 0 ;
42286 PyObject
* obj6
= 0 ;
42287 PyObject
* obj7
= 0 ;
42288 char * kwnames
[] = {
42289 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42294 if (!SWIG_IsOK(res1
)) {
42295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42297 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42299 if (!SWIG_IsOK(ecode2
)) {
42300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42302 arg2
= static_cast< int >(val2
);
42304 arg3
= wxString_in_helper(obj2
);
42305 if (arg3
== NULL
) SWIG_fail
;
42309 arg4
= wxString_in_helper(obj3
);
42310 if (arg4
== NULL
) SWIG_fail
;
42316 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42322 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42326 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42327 if (!SWIG_IsOK(ecode7
)) {
42328 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42330 arg7
= static_cast< long >(val7
);
42334 arg8
= wxString_in_helper(obj7
);
42335 if (arg8
== NULL
) SWIG_fail
;
42340 if (!wxPyCheckForApp()) SWIG_fail
;
42341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42342 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
42343 wxPyEndAllowThreads(__tstate
);
42344 if (PyErr_Occurred()) SWIG_fail
;
42346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
42377 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42378 PyObject
*resultobj
= 0;
42379 wxHyperlinkCtrl
*result
= 0 ;
42381 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
42383 if (!wxPyCheckForApp()) SWIG_fail
;
42384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42385 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
42386 wxPyEndAllowThreads(__tstate
);
42387 if (PyErr_Occurred()) SWIG_fail
;
42389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
42396 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42397 PyObject
*resultobj
= 0;
42398 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42399 wxWindow
*arg2
= (wxWindow
*) 0 ;
42401 wxString
*arg4
= 0 ;
42402 wxString
*arg5
= 0 ;
42403 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42404 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42405 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42406 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42407 long arg8
= (long) wxHL_DEFAULT_STYLE
;
42408 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
42409 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42417 bool temp4
= false ;
42418 bool temp5
= false ;
42423 bool temp9
= false ;
42424 PyObject
* obj0
= 0 ;
42425 PyObject
* obj1
= 0 ;
42426 PyObject
* obj2
= 0 ;
42427 PyObject
* obj3
= 0 ;
42428 PyObject
* obj4
= 0 ;
42429 PyObject
* obj5
= 0 ;
42430 PyObject
* obj6
= 0 ;
42431 PyObject
* obj7
= 0 ;
42432 PyObject
* obj8
= 0 ;
42433 char * kwnames
[] = {
42434 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42439 if (!SWIG_IsOK(res1
)) {
42440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42442 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42443 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42444 if (!SWIG_IsOK(res2
)) {
42445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42447 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42448 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42449 if (!SWIG_IsOK(ecode3
)) {
42450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42452 arg3
= static_cast< int >(val3
);
42454 arg4
= wxString_in_helper(obj3
);
42455 if (arg4
== NULL
) SWIG_fail
;
42459 arg5
= wxString_in_helper(obj4
);
42460 if (arg5
== NULL
) SWIG_fail
;
42466 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42472 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42476 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42477 if (!SWIG_IsOK(ecode8
)) {
42478 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42480 arg8
= static_cast< long >(val8
);
42484 arg9
= wxString_in_helper(obj8
);
42485 if (arg9
== NULL
) SWIG_fail
;
42490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42491 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42492 wxPyEndAllowThreads(__tstate
);
42493 if (PyErr_Occurred()) SWIG_fail
;
42496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42528 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42529 PyObject
*resultobj
= 0;
42530 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42534 PyObject
*swig_obj
[1] ;
42536 if (!args
) SWIG_fail
;
42537 swig_obj
[0] = args
;
42538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42539 if (!SWIG_IsOK(res1
)) {
42540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42542 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42545 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42546 wxPyEndAllowThreads(__tstate
);
42547 if (PyErr_Occurred()) SWIG_fail
;
42549 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42556 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42557 PyObject
*resultobj
= 0;
42558 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42559 wxColour
*arg2
= 0 ;
42563 PyObject
* obj0
= 0 ;
42564 PyObject
* obj1
= 0 ;
42565 char * kwnames
[] = {
42566 (char *) "self",(char *) "colour", NULL
42569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42571 if (!SWIG_IsOK(res1
)) {
42572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42574 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42577 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42581 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42582 wxPyEndAllowThreads(__tstate
);
42583 if (PyErr_Occurred()) SWIG_fail
;
42585 resultobj
= SWIG_Py_Void();
42592 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42593 PyObject
*resultobj
= 0;
42594 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42598 PyObject
*swig_obj
[1] ;
42600 if (!args
) SWIG_fail
;
42601 swig_obj
[0] = args
;
42602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42603 if (!SWIG_IsOK(res1
)) {
42604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42606 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42609 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42610 wxPyEndAllowThreads(__tstate
);
42611 if (PyErr_Occurred()) SWIG_fail
;
42613 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42620 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42621 PyObject
*resultobj
= 0;
42622 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42623 wxColour
*arg2
= 0 ;
42627 PyObject
* obj0
= 0 ;
42628 PyObject
* obj1
= 0 ;
42629 char * kwnames
[] = {
42630 (char *) "self",(char *) "colour", NULL
42633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42635 if (!SWIG_IsOK(res1
)) {
42636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42638 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42641 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42645 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42646 wxPyEndAllowThreads(__tstate
);
42647 if (PyErr_Occurred()) SWIG_fail
;
42649 resultobj
= SWIG_Py_Void();
42656 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42657 PyObject
*resultobj
= 0;
42658 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42662 PyObject
*swig_obj
[1] ;
42664 if (!args
) SWIG_fail
;
42665 swig_obj
[0] = args
;
42666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42667 if (!SWIG_IsOK(res1
)) {
42668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42670 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42673 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42674 wxPyEndAllowThreads(__tstate
);
42675 if (PyErr_Occurred()) SWIG_fail
;
42677 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42684 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42685 PyObject
*resultobj
= 0;
42686 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42687 wxColour
*arg2
= 0 ;
42691 PyObject
* obj0
= 0 ;
42692 PyObject
* obj1
= 0 ;
42693 char * kwnames
[] = {
42694 (char *) "self",(char *) "colour", NULL
42697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42699 if (!SWIG_IsOK(res1
)) {
42700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42702 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42705 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42709 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42710 wxPyEndAllowThreads(__tstate
);
42711 if (PyErr_Occurred()) SWIG_fail
;
42713 resultobj
= SWIG_Py_Void();
42720 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42721 PyObject
*resultobj
= 0;
42722 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42726 PyObject
*swig_obj
[1] ;
42728 if (!args
) SWIG_fail
;
42729 swig_obj
[0] = args
;
42730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42731 if (!SWIG_IsOK(res1
)) {
42732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42734 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42737 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42738 wxPyEndAllowThreads(__tstate
);
42739 if (PyErr_Occurred()) SWIG_fail
;
42743 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42745 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42754 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42755 PyObject
*resultobj
= 0;
42756 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42757 wxString
*arg2
= 0 ;
42760 bool temp2
= false ;
42761 PyObject
* obj0
= 0 ;
42762 PyObject
* obj1
= 0 ;
42763 char * kwnames
[] = {
42764 (char *) "self",(char *) "url", NULL
42767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42769 if (!SWIG_IsOK(res1
)) {
42770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42772 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42774 arg2
= wxString_in_helper(obj1
);
42775 if (arg2
== NULL
) SWIG_fail
;
42779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42780 (arg1
)->SetURL((wxString
const &)*arg2
);
42781 wxPyEndAllowThreads(__tstate
);
42782 if (PyErr_Occurred()) SWIG_fail
;
42784 resultobj
= SWIG_Py_Void();
42799 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42800 PyObject
*resultobj
= 0;
42801 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42802 bool arg2
= (bool) true ;
42807 PyObject
* obj0
= 0 ;
42808 PyObject
* obj1
= 0 ;
42809 char * kwnames
[] = {
42810 (char *) "self",(char *) "visited", NULL
42813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42815 if (!SWIG_IsOK(res1
)) {
42816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42818 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42820 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42821 if (!SWIG_IsOK(ecode2
)) {
42822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42824 arg2
= static_cast< bool >(val2
);
42827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42828 (arg1
)->SetVisited(arg2
);
42829 wxPyEndAllowThreads(__tstate
);
42830 if (PyErr_Occurred()) SWIG_fail
;
42832 resultobj
= SWIG_Py_Void();
42839 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42840 PyObject
*resultobj
= 0;
42841 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42845 PyObject
*swig_obj
[1] ;
42847 if (!args
) SWIG_fail
;
42848 swig_obj
[0] = args
;
42849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42850 if (!SWIG_IsOK(res1
)) {
42851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42853 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42856 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42857 wxPyEndAllowThreads(__tstate
);
42858 if (PyErr_Occurred()) SWIG_fail
;
42861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42869 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42872 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42873 return SWIG_Py_Void();
42876 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42877 return SWIG_Python_InitShadowInstance(args
);
42880 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42881 PyObject
*resultobj
= 0;
42882 wxObject
*arg1
= (wxObject
*) 0 ;
42884 wxString
*arg3
= 0 ;
42885 wxHyperlinkEvent
*result
= 0 ;
42890 bool temp3
= false ;
42891 PyObject
* obj0
= 0 ;
42892 PyObject
* obj1
= 0 ;
42893 PyObject
* obj2
= 0 ;
42894 char * kwnames
[] = {
42895 (char *) "generator",(char *) "id",(char *) "url", NULL
42898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42900 if (!SWIG_IsOK(res1
)) {
42901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42903 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42905 if (!SWIG_IsOK(ecode2
)) {
42906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42908 arg2
= static_cast< int >(val2
);
42910 arg3
= wxString_in_helper(obj2
);
42911 if (arg3
== NULL
) SWIG_fail
;
42915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42916 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42917 wxPyEndAllowThreads(__tstate
);
42918 if (PyErr_Occurred()) SWIG_fail
;
42920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42935 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42936 PyObject
*resultobj
= 0;
42937 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42941 PyObject
*swig_obj
[1] ;
42943 if (!args
) SWIG_fail
;
42944 swig_obj
[0] = args
;
42945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42946 if (!SWIG_IsOK(res1
)) {
42947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42949 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42952 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42953 wxPyEndAllowThreads(__tstate
);
42954 if (PyErr_Occurred()) SWIG_fail
;
42958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42969 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42970 PyObject
*resultobj
= 0;
42971 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42972 wxString
*arg2
= 0 ;
42975 bool temp2
= false ;
42976 PyObject
* obj0
= 0 ;
42977 PyObject
* obj1
= 0 ;
42978 char * kwnames
[] = {
42979 (char *) "self",(char *) "url", NULL
42982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42984 if (!SWIG_IsOK(res1
)) {
42985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42987 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42989 arg2
= wxString_in_helper(obj1
);
42990 if (arg2
== NULL
) SWIG_fail
;
42994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42995 (arg1
)->SetURL((wxString
const &)*arg2
);
42996 wxPyEndAllowThreads(__tstate
);
42997 if (PyErr_Occurred()) SWIG_fail
;
42999 resultobj
= SWIG_Py_Void();
43014 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43017 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
43018 return SWIG_Py_Void();
43021 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43022 return SWIG_Python_InitShadowInstance(args
);
43025 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43026 PyObject
*resultobj
= 0;
43027 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43028 wxWindow
*arg2
= (wxWindow
*) 0 ;
43030 wxString
const &arg4_defvalue
= wxEmptyString
;
43031 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43032 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43033 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43034 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43035 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43036 long arg7
= (long) 0 ;
43037 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43038 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43039 wxString
const &arg9_defvalue
= wxButtonNameStr
;
43040 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43048 bool temp4
= false ;
43055 bool temp9
= false ;
43056 PyObject
* obj0
= 0 ;
43057 PyObject
* obj1
= 0 ;
43058 PyObject
* obj2
= 0 ;
43059 PyObject
* obj3
= 0 ;
43060 PyObject
* obj4
= 0 ;
43061 PyObject
* obj5
= 0 ;
43062 PyObject
* obj6
= 0 ;
43063 PyObject
* obj7
= 0 ;
43064 PyObject
* obj8
= 0 ;
43065 char * kwnames
[] = {
43066 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43071 if (!SWIG_IsOK(res1
)) {
43072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43074 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43075 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43076 if (!SWIG_IsOK(res2
)) {
43077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
43079 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43081 if (!SWIG_IsOK(ecode3
)) {
43082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
43084 arg3
= static_cast< int >(val3
);
43087 arg4
= wxString_in_helper(obj3
);
43088 if (arg4
== NULL
) SWIG_fail
;
43095 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43101 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43105 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43106 if (!SWIG_IsOK(ecode7
)) {
43107 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
43109 arg7
= static_cast< long >(val7
);
43112 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43113 if (!SWIG_IsOK(res8
)) {
43114 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
43117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
43119 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43123 arg9
= wxString_in_helper(obj8
);
43124 if (arg9
== NULL
) SWIG_fail
;
43129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43130 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43131 wxPyEndAllowThreads(__tstate
);
43132 if (PyErr_Occurred()) SWIG_fail
;
43135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43159 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43160 PyObject
*resultobj
= 0;
43161 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43167 PyObject
* obj0
= 0 ;
43168 PyObject
* obj1
= 0 ;
43169 char * kwnames
[] = {
43170 (char *) "self",(char *) "newmargin", NULL
43173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43175 if (!SWIG_IsOK(res1
)) {
43176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43178 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43180 if (!SWIG_IsOK(ecode2
)) {
43181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
43183 arg2
= static_cast< int >(val2
);
43185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43186 (arg1
)->SetInternalMargin(arg2
);
43187 wxPyEndAllowThreads(__tstate
);
43188 if (PyErr_Occurred()) SWIG_fail
;
43190 resultobj
= SWIG_Py_Void();
43197 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43198 PyObject
*resultobj
= 0;
43199 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43203 PyObject
*swig_obj
[1] ;
43205 if (!args
) SWIG_fail
;
43206 swig_obj
[0] = args
;
43207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43208 if (!SWIG_IsOK(res1
)) {
43209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43211 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43214 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
43215 wxPyEndAllowThreads(__tstate
);
43216 if (PyErr_Occurred()) SWIG_fail
;
43218 resultobj
= SWIG_From_int(static_cast< int >(result
));
43225 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43226 PyObject
*resultobj
= 0;
43227 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43233 PyObject
* obj0
= 0 ;
43234 PyObject
* obj1
= 0 ;
43235 char * kwnames
[] = {
43236 (char *) "self",(char *) "prop", NULL
43239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43241 if (!SWIG_IsOK(res1
)) {
43242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43244 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43246 if (!SWIG_IsOK(ecode2
)) {
43247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43249 arg2
= static_cast< int >(val2
);
43251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43252 (arg1
)->SetTextCtrlProportion(arg2
);
43253 wxPyEndAllowThreads(__tstate
);
43254 if (PyErr_Occurred()) SWIG_fail
;
43256 resultobj
= SWIG_Py_Void();
43263 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43264 PyObject
*resultobj
= 0;
43265 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43269 PyObject
*swig_obj
[1] ;
43271 if (!args
) SWIG_fail
;
43272 swig_obj
[0] = args
;
43273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43274 if (!SWIG_IsOK(res1
)) {
43275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43277 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43280 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
43281 wxPyEndAllowThreads(__tstate
);
43282 if (PyErr_Occurred()) SWIG_fail
;
43284 resultobj
= SWIG_From_int(static_cast< int >(result
));
43291 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43292 PyObject
*resultobj
= 0;
43293 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43299 PyObject
* obj0
= 0 ;
43300 PyObject
* obj1
= 0 ;
43301 char * kwnames
[] = {
43302 (char *) "self",(char *) "prop", NULL
43305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43307 if (!SWIG_IsOK(res1
)) {
43308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43310 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43312 if (!SWIG_IsOK(ecode2
)) {
43313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43315 arg2
= static_cast< int >(val2
);
43317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43318 (arg1
)->SetPickerCtrlProportion(arg2
);
43319 wxPyEndAllowThreads(__tstate
);
43320 if (PyErr_Occurred()) SWIG_fail
;
43322 resultobj
= SWIG_Py_Void();
43329 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43330 PyObject
*resultobj
= 0;
43331 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43335 PyObject
*swig_obj
[1] ;
43337 if (!args
) SWIG_fail
;
43338 swig_obj
[0] = args
;
43339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43340 if (!SWIG_IsOK(res1
)) {
43341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43343 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43346 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
43347 wxPyEndAllowThreads(__tstate
);
43348 if (PyErr_Occurred()) SWIG_fail
;
43350 resultobj
= SWIG_From_int(static_cast< int >(result
));
43357 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43358 PyObject
*resultobj
= 0;
43359 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43363 PyObject
*swig_obj
[1] ;
43365 if (!args
) SWIG_fail
;
43366 swig_obj
[0] = args
;
43367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43368 if (!SWIG_IsOK(res1
)) {
43369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43371 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43374 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
43375 wxPyEndAllowThreads(__tstate
);
43376 if (PyErr_Occurred()) SWIG_fail
;
43379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43387 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43388 PyObject
*resultobj
= 0;
43389 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43390 bool arg2
= (bool) true ;
43395 PyObject
* obj0
= 0 ;
43396 PyObject
* obj1
= 0 ;
43397 char * kwnames
[] = {
43398 (char *) "self",(char *) "grow", NULL
43401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43403 if (!SWIG_IsOK(res1
)) {
43404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43406 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43408 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43409 if (!SWIG_IsOK(ecode2
)) {
43410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43412 arg2
= static_cast< bool >(val2
);
43415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43416 (arg1
)->SetTextCtrlGrowable(arg2
);
43417 wxPyEndAllowThreads(__tstate
);
43418 if (PyErr_Occurred()) SWIG_fail
;
43420 resultobj
= SWIG_Py_Void();
43427 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43428 PyObject
*resultobj
= 0;
43429 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43433 PyObject
*swig_obj
[1] ;
43435 if (!args
) SWIG_fail
;
43436 swig_obj
[0] = args
;
43437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43438 if (!SWIG_IsOK(res1
)) {
43439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43441 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43444 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43445 wxPyEndAllowThreads(__tstate
);
43446 if (PyErr_Occurred()) SWIG_fail
;
43449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43457 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43458 PyObject
*resultobj
= 0;
43459 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43460 bool arg2
= (bool) true ;
43465 PyObject
* obj0
= 0 ;
43466 PyObject
* obj1
= 0 ;
43467 char * kwnames
[] = {
43468 (char *) "self",(char *) "grow", NULL
43471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43473 if (!SWIG_IsOK(res1
)) {
43474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43476 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43478 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43479 if (!SWIG_IsOK(ecode2
)) {
43480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43482 arg2
= static_cast< bool >(val2
);
43485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43486 (arg1
)->SetPickerCtrlGrowable(arg2
);
43487 wxPyEndAllowThreads(__tstate
);
43488 if (PyErr_Occurred()) SWIG_fail
;
43490 resultobj
= SWIG_Py_Void();
43497 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43498 PyObject
*resultobj
= 0;
43499 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43503 PyObject
*swig_obj
[1] ;
43505 if (!args
) SWIG_fail
;
43506 swig_obj
[0] = args
;
43507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43508 if (!SWIG_IsOK(res1
)) {
43509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43511 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43514 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43515 wxPyEndAllowThreads(__tstate
);
43516 if (PyErr_Occurred()) SWIG_fail
;
43519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43527 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43528 PyObject
*resultobj
= 0;
43529 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43530 wxTextCtrl
*result
= 0 ;
43533 PyObject
*swig_obj
[1] ;
43535 if (!args
) SWIG_fail
;
43536 swig_obj
[0] = args
;
43537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43538 if (!SWIG_IsOK(res1
)) {
43539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43541 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43544 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43545 wxPyEndAllowThreads(__tstate
);
43546 if (PyErr_Occurred()) SWIG_fail
;
43549 resultobj
= wxPyMake_wxObject(result
, 0);
43557 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43558 PyObject
*resultobj
= 0;
43559 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43560 wxControl
*result
= 0 ;
43563 PyObject
*swig_obj
[1] ;
43565 if (!args
) SWIG_fail
;
43566 swig_obj
[0] = args
;
43567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43568 if (!SWIG_IsOK(res1
)) {
43569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43571 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43574 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43575 wxPyEndAllowThreads(__tstate
);
43576 if (PyErr_Occurred()) SWIG_fail
;
43579 resultobj
= wxPyMake_wxObject(result
, 0);
43587 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43590 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43591 return SWIG_Py_Void();
43594 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43595 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43600 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43601 PyObject
*pyobj
= 0;
43605 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43607 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43614 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43615 PyObject
*resultobj
= 0;
43616 wxWindow
*arg1
= (wxWindow
*) 0 ;
43617 int arg2
= (int) -1 ;
43618 wxColour
const &arg3_defvalue
= *wxBLACK
;
43619 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43620 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43621 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43622 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43623 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43624 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43625 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43626 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43627 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43628 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43629 wxColourPickerCtrl
*result
= 0 ;
43641 bool temp8
= false ;
43642 PyObject
* obj0
= 0 ;
43643 PyObject
* obj1
= 0 ;
43644 PyObject
* obj2
= 0 ;
43645 PyObject
* obj3
= 0 ;
43646 PyObject
* obj4
= 0 ;
43647 PyObject
* obj5
= 0 ;
43648 PyObject
* obj6
= 0 ;
43649 PyObject
* obj7
= 0 ;
43650 char * kwnames
[] = {
43651 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43656 if (!SWIG_IsOK(res1
)) {
43657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43659 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43662 if (!SWIG_IsOK(ecode2
)) {
43663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43665 arg2
= static_cast< int >(val2
);
43670 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43676 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43682 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43686 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43687 if (!SWIG_IsOK(ecode6
)) {
43688 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43690 arg6
= static_cast< long >(val6
);
43693 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43694 if (!SWIG_IsOK(res7
)) {
43695 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43700 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43704 arg8
= wxString_in_helper(obj7
);
43705 if (arg8
== NULL
) SWIG_fail
;
43710 if (!wxPyCheckForApp()) SWIG_fail
;
43711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43712 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43713 wxPyEndAllowThreads(__tstate
);
43714 if (PyErr_Occurred()) SWIG_fail
;
43716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43731 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43732 PyObject
*resultobj
= 0;
43733 wxColourPickerCtrl
*result
= 0 ;
43735 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43737 if (!wxPyCheckForApp()) SWIG_fail
;
43738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43739 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43740 wxPyEndAllowThreads(__tstate
);
43741 if (PyErr_Occurred()) SWIG_fail
;
43743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43750 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43751 PyObject
*resultobj
= 0;
43752 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43753 wxWindow
*arg2
= (wxWindow
*) 0 ;
43755 wxColour
const &arg4_defvalue
= *wxBLACK
;
43756 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43757 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43758 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43759 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43760 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43761 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43762 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43763 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43764 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43765 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43780 bool temp9
= false ;
43781 PyObject
* obj0
= 0 ;
43782 PyObject
* obj1
= 0 ;
43783 PyObject
* obj2
= 0 ;
43784 PyObject
* obj3
= 0 ;
43785 PyObject
* obj4
= 0 ;
43786 PyObject
* obj5
= 0 ;
43787 PyObject
* obj6
= 0 ;
43788 PyObject
* obj7
= 0 ;
43789 PyObject
* obj8
= 0 ;
43790 char * kwnames
[] = {
43791 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43796 if (!SWIG_IsOK(res1
)) {
43797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43799 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43800 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43801 if (!SWIG_IsOK(res2
)) {
43802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43804 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43806 if (!SWIG_IsOK(ecode3
)) {
43807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43809 arg3
= static_cast< int >(val3
);
43813 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43819 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43825 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43829 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43830 if (!SWIG_IsOK(ecode7
)) {
43831 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43833 arg7
= static_cast< long >(val7
);
43836 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43837 if (!SWIG_IsOK(res8
)) {
43838 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43843 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43847 arg9
= wxString_in_helper(obj8
);
43848 if (arg9
== NULL
) SWIG_fail
;
43853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43854 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43855 wxPyEndAllowThreads(__tstate
);
43856 if (PyErr_Occurred()) SWIG_fail
;
43859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43875 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43876 PyObject
*resultobj
= 0;
43877 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43881 PyObject
*swig_obj
[1] ;
43883 if (!args
) SWIG_fail
;
43884 swig_obj
[0] = args
;
43885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43886 if (!SWIG_IsOK(res1
)) {
43887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43889 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43892 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43893 wxPyEndAllowThreads(__tstate
);
43894 if (PyErr_Occurred()) SWIG_fail
;
43896 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43903 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43904 PyObject
*resultobj
= 0;
43905 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43906 wxColour
*arg2
= 0 ;
43910 PyObject
* obj0
= 0 ;
43911 PyObject
* obj1
= 0 ;
43912 char * kwnames
[] = {
43913 (char *) "self",(char *) "col", NULL
43916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43918 if (!SWIG_IsOK(res1
)) {
43919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43921 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43924 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43928 (arg1
)->SetColour((wxColour
const &)*arg2
);
43929 wxPyEndAllowThreads(__tstate
);
43930 if (PyErr_Occurred()) SWIG_fail
;
43932 resultobj
= SWIG_Py_Void();
43939 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43941 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43942 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43943 return SWIG_Py_Void();
43946 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43947 return SWIG_Python_InitShadowInstance(args
);
43950 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43951 PyObject
*resultobj
= 0;
43952 wxObject
*arg1
= (wxObject
*) 0 ;
43954 wxColour
*arg3
= 0 ;
43955 wxColourPickerEvent
*result
= 0 ;
43961 PyObject
* obj0
= 0 ;
43962 PyObject
* obj1
= 0 ;
43963 PyObject
* obj2
= 0 ;
43964 char * kwnames
[] = {
43965 (char *) "generator",(char *) "id",(char *) "col", NULL
43968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43970 if (!SWIG_IsOK(res1
)) {
43971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43973 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43975 if (!SWIG_IsOK(ecode2
)) {
43976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43978 arg2
= static_cast< int >(val2
);
43981 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43985 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43986 wxPyEndAllowThreads(__tstate
);
43987 if (PyErr_Occurred()) SWIG_fail
;
43989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43996 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43997 PyObject
*resultobj
= 0;
43998 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
44002 PyObject
*swig_obj
[1] ;
44004 if (!args
) SWIG_fail
;
44005 swig_obj
[0] = args
;
44006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
44007 if (!SWIG_IsOK(res1
)) {
44008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
44010 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
44012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44013 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
44014 wxPyEndAllowThreads(__tstate
);
44015 if (PyErr_Occurred()) SWIG_fail
;
44017 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
44024 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44025 PyObject
*resultobj
= 0;
44026 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
44027 wxColour
*arg2
= 0 ;
44031 PyObject
* obj0
= 0 ;
44032 PyObject
* obj1
= 0 ;
44033 char * kwnames
[] = {
44034 (char *) "self",(char *) "c", NULL
44037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
44039 if (!SWIG_IsOK(res1
)) {
44040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
44042 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
44045 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
44048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44049 (arg1
)->SetColour((wxColour
const &)*arg2
);
44050 wxPyEndAllowThreads(__tstate
);
44051 if (PyErr_Occurred()) SWIG_fail
;
44053 resultobj
= SWIG_Py_Void();
44060 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44063 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
44064 return SWIG_Py_Void();
44067 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44068 return SWIG_Python_InitShadowInstance(args
);
44071 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
44072 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
44077 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
44078 PyObject
*pyobj
= 0;
44082 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
44084 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
44091 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
44092 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
44097 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
44098 PyObject
*pyobj
= 0;
44102 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
44104 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
44111 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
44112 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
44117 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
44118 PyObject
*pyobj
= 0;
44122 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
44124 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
44131 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
44132 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
44137 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
44138 PyObject
*pyobj
= 0;
44142 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
44144 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
44151 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
44152 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
44157 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
44158 PyObject
*pyobj
= 0;
44162 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
44164 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
44171 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44172 PyObject
*resultobj
= 0;
44173 wxWindow
*arg1
= (wxWindow
*) 0 ;
44174 int arg2
= (int) -1 ;
44175 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44176 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44177 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
44178 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44179 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44180 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44181 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44182 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44183 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44184 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44185 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
44186 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44187 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44188 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
44189 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44190 wxFilePickerCtrl
*result
= 0 ;
44195 bool temp3
= false ;
44196 bool temp4
= false ;
44197 bool temp5
= false ;
44204 bool temp10
= false ;
44205 PyObject
* obj0
= 0 ;
44206 PyObject
* obj1
= 0 ;
44207 PyObject
* obj2
= 0 ;
44208 PyObject
* obj3
= 0 ;
44209 PyObject
* obj4
= 0 ;
44210 PyObject
* obj5
= 0 ;
44211 PyObject
* obj6
= 0 ;
44212 PyObject
* obj7
= 0 ;
44213 PyObject
* obj8
= 0 ;
44214 PyObject
* obj9
= 0 ;
44215 char * kwnames
[] = {
44216 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44221 if (!SWIG_IsOK(res1
)) {
44222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44224 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44227 if (!SWIG_IsOK(ecode2
)) {
44228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
44230 arg2
= static_cast< int >(val2
);
44234 arg3
= wxString_in_helper(obj2
);
44235 if (arg3
== NULL
) SWIG_fail
;
44241 arg4
= wxString_in_helper(obj3
);
44242 if (arg4
== NULL
) SWIG_fail
;
44248 arg5
= wxString_in_helper(obj4
);
44249 if (arg5
== NULL
) SWIG_fail
;
44256 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44262 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44266 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44267 if (!SWIG_IsOK(ecode8
)) {
44268 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
44270 arg8
= static_cast< long >(val8
);
44273 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44274 if (!SWIG_IsOK(res9
)) {
44275 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44280 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44284 arg10
= wxString_in_helper(obj9
);
44285 if (arg10
== NULL
) SWIG_fail
;
44290 if (!wxPyCheckForApp()) SWIG_fail
;
44291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44292 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
);
44293 wxPyEndAllowThreads(__tstate
);
44294 if (PyErr_Occurred()) SWIG_fail
;
44296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
44335 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44336 PyObject
*resultobj
= 0;
44337 wxFilePickerCtrl
*result
= 0 ;
44339 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
44341 if (!wxPyCheckForApp()) SWIG_fail
;
44342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44343 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
44344 wxPyEndAllowThreads(__tstate
);
44345 if (PyErr_Occurred()) SWIG_fail
;
44347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
44354 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44355 PyObject
*resultobj
= 0;
44356 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44357 wxWindow
*arg2
= (wxWindow
*) 0 ;
44358 int arg3
= (int) -1 ;
44359 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44360 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44361 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
44362 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44363 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44364 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
44365 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
44366 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
44367 wxSize
const &arg8_defvalue
= wxDefaultSize
;
44368 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
44369 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
44370 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
44371 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
44372 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
44373 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
44381 bool temp4
= false ;
44382 bool temp5
= false ;
44383 bool temp6
= false ;
44390 bool temp11
= false ;
44391 PyObject
* obj0
= 0 ;
44392 PyObject
* obj1
= 0 ;
44393 PyObject
* obj2
= 0 ;
44394 PyObject
* obj3
= 0 ;
44395 PyObject
* obj4
= 0 ;
44396 PyObject
* obj5
= 0 ;
44397 PyObject
* obj6
= 0 ;
44398 PyObject
* obj7
= 0 ;
44399 PyObject
* obj8
= 0 ;
44400 PyObject
* obj9
= 0 ;
44401 PyObject
* obj10
= 0 ;
44402 char * kwnames
[] = {
44403 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
44407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44408 if (!SWIG_IsOK(res1
)) {
44409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44411 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44412 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44413 if (!SWIG_IsOK(res2
)) {
44414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44416 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44419 if (!SWIG_IsOK(ecode3
)) {
44420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44422 arg3
= static_cast< int >(val3
);
44426 arg4
= wxString_in_helper(obj3
);
44427 if (arg4
== NULL
) SWIG_fail
;
44433 arg5
= wxString_in_helper(obj4
);
44434 if (arg5
== NULL
) SWIG_fail
;
44440 arg6
= wxString_in_helper(obj5
);
44441 if (arg6
== NULL
) SWIG_fail
;
44448 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44454 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44458 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44459 if (!SWIG_IsOK(ecode9
)) {
44460 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44462 arg9
= static_cast< long >(val9
);
44465 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44466 if (!SWIG_IsOK(res10
)) {
44467 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44472 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44476 arg11
= wxString_in_helper(obj10
);
44477 if (arg11
== NULL
) SWIG_fail
;
44482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44483 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
);
44484 wxPyEndAllowThreads(__tstate
);
44485 if (PyErr_Occurred()) SWIG_fail
;
44488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44528 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44529 PyObject
*resultobj
= 0;
44530 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44534 PyObject
*swig_obj
[1] ;
44536 if (!args
) SWIG_fail
;
44537 swig_obj
[0] = args
;
44538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44539 if (!SWIG_IsOK(res1
)) {
44540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44542 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44545 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44546 wxPyEndAllowThreads(__tstate
);
44547 if (PyErr_Occurred()) SWIG_fail
;
44551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44562 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44563 PyObject
*resultobj
= 0;
44564 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44565 wxString
*arg2
= 0 ;
44568 bool temp2
= false ;
44569 PyObject
* obj0
= 0 ;
44570 PyObject
* obj1
= 0 ;
44571 char * kwnames
[] = {
44572 (char *) "self",(char *) "str", NULL
44575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44577 if (!SWIG_IsOK(res1
)) {
44578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44580 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44582 arg2
= wxString_in_helper(obj1
);
44583 if (arg2
== NULL
) SWIG_fail
;
44587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44588 (arg1
)->SetPath((wxString
const &)*arg2
);
44589 wxPyEndAllowThreads(__tstate
);
44590 if (PyErr_Occurred()) SWIG_fail
;
44592 resultobj
= SWIG_Py_Void();
44607 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44608 PyObject
*resultobj
= 0;
44609 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44610 wxString
*arg2
= 0 ;
44614 bool temp2
= false ;
44615 PyObject
* obj0
= 0 ;
44616 PyObject
* obj1
= 0 ;
44617 char * kwnames
[] = {
44618 (char *) "self",(char *) "path", NULL
44621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44623 if (!SWIG_IsOK(res1
)) {
44624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44626 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44628 arg2
= wxString_in_helper(obj1
);
44629 if (arg2
== NULL
) SWIG_fail
;
44633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44634 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44635 wxPyEndAllowThreads(__tstate
);
44636 if (PyErr_Occurred()) SWIG_fail
;
44639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44655 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44656 PyObject
*resultobj
= 0;
44657 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44661 PyObject
*swig_obj
[1] ;
44663 if (!args
) SWIG_fail
;
44664 swig_obj
[0] = args
;
44665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44666 if (!SWIG_IsOK(res1
)) {
44667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44669 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44672 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44673 wxPyEndAllowThreads(__tstate
);
44674 if (PyErr_Occurred()) SWIG_fail
;
44678 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44680 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44689 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44691 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44692 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44693 return SWIG_Py_Void();
44696 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44697 return SWIG_Python_InitShadowInstance(args
);
44700 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44701 PyObject
*resultobj
= 0;
44702 wxWindow
*arg1
= (wxWindow
*) 0 ;
44703 int arg2
= (int) -1 ;
44704 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44705 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44706 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44707 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44708 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44709 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44710 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44711 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44712 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44713 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44714 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44715 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44716 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44717 wxDirPickerCtrl
*result
= 0 ;
44722 bool temp3
= false ;
44723 bool temp4
= false ;
44730 bool temp9
= false ;
44731 PyObject
* obj0
= 0 ;
44732 PyObject
* obj1
= 0 ;
44733 PyObject
* obj2
= 0 ;
44734 PyObject
* obj3
= 0 ;
44735 PyObject
* obj4
= 0 ;
44736 PyObject
* obj5
= 0 ;
44737 PyObject
* obj6
= 0 ;
44738 PyObject
* obj7
= 0 ;
44739 PyObject
* obj8
= 0 ;
44740 char * kwnames
[] = {
44741 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44746 if (!SWIG_IsOK(res1
)) {
44747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44749 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44752 if (!SWIG_IsOK(ecode2
)) {
44753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44755 arg2
= static_cast< int >(val2
);
44759 arg3
= wxString_in_helper(obj2
);
44760 if (arg3
== NULL
) SWIG_fail
;
44766 arg4
= wxString_in_helper(obj3
);
44767 if (arg4
== NULL
) SWIG_fail
;
44774 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44780 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44784 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44785 if (!SWIG_IsOK(ecode7
)) {
44786 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44788 arg7
= static_cast< long >(val7
);
44791 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44792 if (!SWIG_IsOK(res8
)) {
44793 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44798 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44802 arg9
= wxString_in_helper(obj8
);
44803 if (arg9
== NULL
) SWIG_fail
;
44808 if (!wxPyCheckForApp()) SWIG_fail
;
44809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44810 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
);
44811 wxPyEndAllowThreads(__tstate
);
44812 if (PyErr_Occurred()) SWIG_fail
;
44814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44845 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44846 PyObject
*resultobj
= 0;
44847 wxDirPickerCtrl
*result
= 0 ;
44849 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44851 if (!wxPyCheckForApp()) SWIG_fail
;
44852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44853 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44854 wxPyEndAllowThreads(__tstate
);
44855 if (PyErr_Occurred()) SWIG_fail
;
44857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44864 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44865 PyObject
*resultobj
= 0;
44866 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44867 wxWindow
*arg2
= (wxWindow
*) 0 ;
44868 int arg3
= (int) -1 ;
44869 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44870 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44871 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44872 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44873 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44874 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44875 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44876 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44877 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44878 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44879 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44880 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44881 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44889 bool temp4
= false ;
44890 bool temp5
= false ;
44897 bool temp10
= false ;
44898 PyObject
* obj0
= 0 ;
44899 PyObject
* obj1
= 0 ;
44900 PyObject
* obj2
= 0 ;
44901 PyObject
* obj3
= 0 ;
44902 PyObject
* obj4
= 0 ;
44903 PyObject
* obj5
= 0 ;
44904 PyObject
* obj6
= 0 ;
44905 PyObject
* obj7
= 0 ;
44906 PyObject
* obj8
= 0 ;
44907 PyObject
* obj9
= 0 ;
44908 char * kwnames
[] = {
44909 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44914 if (!SWIG_IsOK(res1
)) {
44915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44917 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44918 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44919 if (!SWIG_IsOK(res2
)) {
44920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44922 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44925 if (!SWIG_IsOK(ecode3
)) {
44926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44928 arg3
= static_cast< int >(val3
);
44932 arg4
= wxString_in_helper(obj3
);
44933 if (arg4
== NULL
) SWIG_fail
;
44939 arg5
= wxString_in_helper(obj4
);
44940 if (arg5
== NULL
) SWIG_fail
;
44947 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44953 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44957 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44958 if (!SWIG_IsOK(ecode8
)) {
44959 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44961 arg8
= static_cast< long >(val8
);
44964 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44965 if (!SWIG_IsOK(res9
)) {
44966 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44971 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44975 arg10
= wxString_in_helper(obj9
);
44976 if (arg10
== NULL
) SWIG_fail
;
44981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44982 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
);
44983 wxPyEndAllowThreads(__tstate
);
44984 if (PyErr_Occurred()) SWIG_fail
;
44987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45019 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45020 PyObject
*resultobj
= 0;
45021 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
45025 PyObject
*swig_obj
[1] ;
45027 if (!args
) SWIG_fail
;
45028 swig_obj
[0] = args
;
45029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
45030 if (!SWIG_IsOK(res1
)) {
45031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
45033 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
45035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45036 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
45037 wxPyEndAllowThreads(__tstate
);
45038 if (PyErr_Occurred()) SWIG_fail
;
45042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45053 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45054 PyObject
*resultobj
= 0;
45055 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
45056 wxString
*arg2
= 0 ;
45059 bool temp2
= false ;
45060 PyObject
* obj0
= 0 ;
45061 PyObject
* obj1
= 0 ;
45062 char * kwnames
[] = {
45063 (char *) "self",(char *) "str", NULL
45066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
45068 if (!SWIG_IsOK(res1
)) {
45069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
45071 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
45073 arg2
= wxString_in_helper(obj1
);
45074 if (arg2
== NULL
) SWIG_fail
;
45078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45079 (arg1
)->SetPath((wxString
const &)*arg2
);
45080 wxPyEndAllowThreads(__tstate
);
45081 if (PyErr_Occurred()) SWIG_fail
;
45083 resultobj
= SWIG_Py_Void();
45098 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45099 PyObject
*resultobj
= 0;
45100 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
45101 wxString
*arg2
= 0 ;
45105 bool temp2
= false ;
45106 PyObject
* obj0
= 0 ;
45107 PyObject
* obj1
= 0 ;
45108 char * kwnames
[] = {
45109 (char *) "self",(char *) "path", NULL
45112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
45114 if (!SWIG_IsOK(res1
)) {
45115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
45117 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
45119 arg2
= wxString_in_helper(obj1
);
45120 if (arg2
== NULL
) SWIG_fail
;
45124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45125 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
45126 wxPyEndAllowThreads(__tstate
);
45127 if (PyErr_Occurred()) SWIG_fail
;
45130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45146 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45147 PyObject
*resultobj
= 0;
45148 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
45152 PyObject
*swig_obj
[1] ;
45154 if (!args
) SWIG_fail
;
45155 swig_obj
[0] = args
;
45156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
45157 if (!SWIG_IsOK(res1
)) {
45158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
45160 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
45162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45163 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
45164 wxPyEndAllowThreads(__tstate
);
45165 if (PyErr_Occurred()) SWIG_fail
;
45169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45180 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45183 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
45184 return SWIG_Py_Void();
45187 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45188 return SWIG_Python_InitShadowInstance(args
);
45191 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45192 PyObject
*resultobj
= 0;
45194 wxObject
*arg2
= (wxObject
*) 0 ;
45196 wxString
*arg4
= 0 ;
45197 wxFileDirPickerEvent
*result
= 0 ;
45204 bool temp4
= false ;
45205 PyObject
* obj0
= 0 ;
45206 PyObject
* obj1
= 0 ;
45207 PyObject
* obj2
= 0 ;
45208 PyObject
* obj3
= 0 ;
45209 char * kwnames
[] = {
45210 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
45213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
45214 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
45215 if (!SWIG_IsOK(ecode1
)) {
45216 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
45218 arg1
= static_cast< wxEventType
>(val1
);
45219 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
45220 if (!SWIG_IsOK(res2
)) {
45221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
45223 arg2
= reinterpret_cast< wxObject
* >(argp2
);
45224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45225 if (!SWIG_IsOK(ecode3
)) {
45226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
45228 arg3
= static_cast< int >(val3
);
45230 arg4
= wxString_in_helper(obj3
);
45231 if (arg4
== NULL
) SWIG_fail
;
45235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45236 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
45237 wxPyEndAllowThreads(__tstate
);
45238 if (PyErr_Occurred()) SWIG_fail
;
45240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
45255 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45256 PyObject
*resultobj
= 0;
45257 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45261 PyObject
*swig_obj
[1] ;
45263 if (!args
) SWIG_fail
;
45264 swig_obj
[0] = args
;
45265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45266 if (!SWIG_IsOK(res1
)) {
45267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
45269 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45272 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
45273 wxPyEndAllowThreads(__tstate
);
45274 if (PyErr_Occurred()) SWIG_fail
;
45278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45289 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45290 PyObject
*resultobj
= 0;
45291 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45292 wxString
*arg2
= 0 ;
45295 bool temp2
= false ;
45296 PyObject
* obj0
= 0 ;
45297 PyObject
* obj1
= 0 ;
45298 char * kwnames
[] = {
45299 (char *) "self",(char *) "p", NULL
45302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45304 if (!SWIG_IsOK(res1
)) {
45305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45307 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45309 arg2
= wxString_in_helper(obj1
);
45310 if (arg2
== NULL
) SWIG_fail
;
45314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45315 (arg1
)->SetPath((wxString
const &)*arg2
);
45316 wxPyEndAllowThreads(__tstate
);
45317 if (PyErr_Occurred()) SWIG_fail
;
45319 resultobj
= SWIG_Py_Void();
45334 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45337 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
45338 return SWIG_Py_Void();
45341 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45342 return SWIG_Python_InitShadowInstance(args
);
45345 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
45346 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
45351 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
45352 PyObject
*pyobj
= 0;
45356 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45358 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45365 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45366 PyObject
*resultobj
= 0;
45367 wxWindow
*arg1
= (wxWindow
*) 0 ;
45368 int arg2
= (int) -1 ;
45369 wxFont
const &arg3_defvalue
= wxNullFont
;
45370 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
45371 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45372 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45373 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45374 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45375 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
45376 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45377 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45378 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
45379 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45380 wxFontPickerCtrl
*result
= 0 ;
45393 bool temp8
= false ;
45394 PyObject
* obj0
= 0 ;
45395 PyObject
* obj1
= 0 ;
45396 PyObject
* obj2
= 0 ;
45397 PyObject
* obj3
= 0 ;
45398 PyObject
* obj4
= 0 ;
45399 PyObject
* obj5
= 0 ;
45400 PyObject
* obj6
= 0 ;
45401 PyObject
* obj7
= 0 ;
45402 char * kwnames
[] = {
45403 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45408 if (!SWIG_IsOK(res1
)) {
45409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45411 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45414 if (!SWIG_IsOK(ecode2
)) {
45415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45417 arg2
= static_cast< int >(val2
);
45420 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45421 if (!SWIG_IsOK(res3
)) {
45422 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45427 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45432 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45438 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45442 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45443 if (!SWIG_IsOK(ecode6
)) {
45444 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45446 arg6
= static_cast< long >(val6
);
45449 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45450 if (!SWIG_IsOK(res7
)) {
45451 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45456 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45460 arg8
= wxString_in_helper(obj7
);
45461 if (arg8
== NULL
) SWIG_fail
;
45466 if (!wxPyCheckForApp()) SWIG_fail
;
45467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45468 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45469 wxPyEndAllowThreads(__tstate
);
45470 if (PyErr_Occurred()) SWIG_fail
;
45472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45487 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45488 PyObject
*resultobj
= 0;
45489 wxFontPickerCtrl
*result
= 0 ;
45491 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45493 if (!wxPyCheckForApp()) SWIG_fail
;
45494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45495 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45496 wxPyEndAllowThreads(__tstate
);
45497 if (PyErr_Occurred()) SWIG_fail
;
45499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45506 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45507 PyObject
*resultobj
= 0;
45508 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45509 wxWindow
*arg2
= (wxWindow
*) 0 ;
45510 int arg3
= (int) -1 ;
45511 wxFont
const &arg4_defvalue
= wxNullFont
;
45512 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45513 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45514 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45515 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45516 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45517 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45518 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45519 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45520 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45521 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45537 bool temp9
= false ;
45538 PyObject
* obj0
= 0 ;
45539 PyObject
* obj1
= 0 ;
45540 PyObject
* obj2
= 0 ;
45541 PyObject
* obj3
= 0 ;
45542 PyObject
* obj4
= 0 ;
45543 PyObject
* obj5
= 0 ;
45544 PyObject
* obj6
= 0 ;
45545 PyObject
* obj7
= 0 ;
45546 PyObject
* obj8
= 0 ;
45547 char * kwnames
[] = {
45548 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45553 if (!SWIG_IsOK(res1
)) {
45554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45556 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45557 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45558 if (!SWIG_IsOK(res2
)) {
45559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45561 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45564 if (!SWIG_IsOK(ecode3
)) {
45565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45567 arg3
= static_cast< int >(val3
);
45570 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45571 if (!SWIG_IsOK(res4
)) {
45572 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45577 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45582 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45588 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45592 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45593 if (!SWIG_IsOK(ecode7
)) {
45594 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45596 arg7
= static_cast< long >(val7
);
45599 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45600 if (!SWIG_IsOK(res8
)) {
45601 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45606 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45610 arg9
= wxString_in_helper(obj8
);
45611 if (arg9
== NULL
) SWIG_fail
;
45616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45618 wxPyEndAllowThreads(__tstate
);
45619 if (PyErr_Occurred()) SWIG_fail
;
45622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45638 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45639 PyObject
*resultobj
= 0;
45640 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45644 PyObject
*swig_obj
[1] ;
45646 if (!args
) SWIG_fail
;
45647 swig_obj
[0] = args
;
45648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45649 if (!SWIG_IsOK(res1
)) {
45650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45652 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45655 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45656 wxPyEndAllowThreads(__tstate
);
45657 if (PyErr_Occurred()) SWIG_fail
;
45659 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45666 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45667 PyObject
*resultobj
= 0;
45668 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45674 PyObject
* obj0
= 0 ;
45675 PyObject
* obj1
= 0 ;
45676 char * kwnames
[] = {
45677 (char *) "self",(char *) "f", NULL
45680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45682 if (!SWIG_IsOK(res1
)) {
45683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45685 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45686 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45687 if (!SWIG_IsOK(res2
)) {
45688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45693 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45696 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45697 wxPyEndAllowThreads(__tstate
);
45698 if (PyErr_Occurred()) SWIG_fail
;
45700 resultobj
= SWIG_Py_Void();
45707 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45708 PyObject
*resultobj
= 0;
45709 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45710 unsigned int arg2
;
45713 unsigned int val2
;
45715 PyObject
* obj0
= 0 ;
45716 PyObject
* obj1
= 0 ;
45717 char * kwnames
[] = {
45718 (char *) "self",(char *) "max", NULL
45721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45723 if (!SWIG_IsOK(res1
)) {
45724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45726 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45727 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45728 if (!SWIG_IsOK(ecode2
)) {
45729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45731 arg2
= static_cast< unsigned int >(val2
);
45733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45734 (arg1
)->SetMaxPointSize(arg2
);
45735 wxPyEndAllowThreads(__tstate
);
45736 if (PyErr_Occurred()) SWIG_fail
;
45738 resultobj
= SWIG_Py_Void();
45745 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45746 PyObject
*resultobj
= 0;
45747 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45748 unsigned int result
;
45751 PyObject
*swig_obj
[1] ;
45753 if (!args
) SWIG_fail
;
45754 swig_obj
[0] = args
;
45755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45756 if (!SWIG_IsOK(res1
)) {
45757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45759 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45762 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45763 wxPyEndAllowThreads(__tstate
);
45764 if (PyErr_Occurred()) SWIG_fail
;
45766 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45773 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45776 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45777 return SWIG_Py_Void();
45780 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45781 return SWIG_Python_InitShadowInstance(args
);
45784 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45785 PyObject
*resultobj
= 0;
45786 wxObject
*arg1
= (wxObject
*) 0 ;
45789 wxFontPickerEvent
*result
= 0 ;
45796 PyObject
* obj0
= 0 ;
45797 PyObject
* obj1
= 0 ;
45798 PyObject
* obj2
= 0 ;
45799 char * kwnames
[] = {
45800 (char *) "generator",(char *) "id",(char *) "f", NULL
45803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45805 if (!SWIG_IsOK(res1
)) {
45806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45808 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45810 if (!SWIG_IsOK(ecode2
)) {
45811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45813 arg2
= static_cast< int >(val2
);
45814 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45815 if (!SWIG_IsOK(res3
)) {
45816 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45819 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45821 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45824 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45825 wxPyEndAllowThreads(__tstate
);
45826 if (PyErr_Occurred()) SWIG_fail
;
45828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45835 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45836 PyObject
*resultobj
= 0;
45837 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45841 PyObject
*swig_obj
[1] ;
45843 if (!args
) SWIG_fail
;
45844 swig_obj
[0] = args
;
45845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45846 if (!SWIG_IsOK(res1
)) {
45847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45849 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45852 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45853 wxPyEndAllowThreads(__tstate
);
45854 if (PyErr_Occurred()) SWIG_fail
;
45856 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45863 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45864 PyObject
*resultobj
= 0;
45865 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45871 PyObject
* obj0
= 0 ;
45872 PyObject
* obj1
= 0 ;
45873 char * kwnames
[] = {
45874 (char *) "self",(char *) "c", NULL
45877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45879 if (!SWIG_IsOK(res1
)) {
45880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45882 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45883 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45884 if (!SWIG_IsOK(res2
)) {
45885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45890 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45893 (arg1
)->SetFont((wxFont
const &)*arg2
);
45894 wxPyEndAllowThreads(__tstate
);
45895 if (PyErr_Occurred()) SWIG_fail
;
45897 resultobj
= SWIG_Py_Void();
45904 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45907 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45908 return SWIG_Py_Void();
45911 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45912 return SWIG_Python_InitShadowInstance(args
);
45915 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45916 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45921 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45922 PyObject
*pyobj
= 0;
45926 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45928 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45935 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45936 PyObject
*resultobj
= 0;
45937 wxWindow
*arg1
= (wxWindow
*) 0 ;
45938 int arg2
= (int) -1 ;
45939 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45940 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45941 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45942 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45943 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45944 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45945 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45946 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45947 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45948 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45949 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45950 wxCollapsiblePane
*result
= 0 ;
45955 bool temp3
= false ;
45962 bool temp8
= false ;
45963 PyObject
* obj0
= 0 ;
45964 PyObject
* obj1
= 0 ;
45965 PyObject
* obj2
= 0 ;
45966 PyObject
* obj3
= 0 ;
45967 PyObject
* obj4
= 0 ;
45968 PyObject
* obj5
= 0 ;
45969 PyObject
* obj6
= 0 ;
45970 PyObject
* obj7
= 0 ;
45971 char * kwnames
[] = {
45972 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45977 if (!SWIG_IsOK(res1
)) {
45978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45980 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45983 if (!SWIG_IsOK(ecode2
)) {
45984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45986 arg2
= static_cast< int >(val2
);
45990 arg3
= wxString_in_helper(obj2
);
45991 if (arg3
== NULL
) SWIG_fail
;
45998 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46004 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46008 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46009 if (!SWIG_IsOK(ecode6
)) {
46010 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
46012 arg6
= static_cast< long >(val6
);
46015 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46016 if (!SWIG_IsOK(res7
)) {
46017 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
46020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
46022 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46026 arg8
= wxString_in_helper(obj7
);
46027 if (arg8
== NULL
) SWIG_fail
;
46032 if (!wxPyCheckForApp()) SWIG_fail
;
46033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46034 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46035 wxPyEndAllowThreads(__tstate
);
46036 if (PyErr_Occurred()) SWIG_fail
;
46038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
46061 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46062 PyObject
*resultobj
= 0;
46063 wxCollapsiblePane
*result
= 0 ;
46065 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
46067 if (!wxPyCheckForApp()) SWIG_fail
;
46068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46069 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
46070 wxPyEndAllowThreads(__tstate
);
46071 if (PyErr_Occurred()) SWIG_fail
;
46073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
46080 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46081 PyObject
*resultobj
= 0;
46082 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46083 wxWindow
*arg2
= (wxWindow
*) 0 ;
46084 int arg3
= (int) -1 ;
46085 wxString
const &arg4_defvalue
= wxPyEmptyString
;
46086 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46087 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46088 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46089 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46090 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46091 long arg7
= (long) wxCP_DEFAULT_STYLE
;
46092 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46093 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46094 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
46095 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46103 bool temp4
= false ;
46110 bool temp9
= false ;
46111 PyObject
* obj0
= 0 ;
46112 PyObject
* obj1
= 0 ;
46113 PyObject
* obj2
= 0 ;
46114 PyObject
* obj3
= 0 ;
46115 PyObject
* obj4
= 0 ;
46116 PyObject
* obj5
= 0 ;
46117 PyObject
* obj6
= 0 ;
46118 PyObject
* obj7
= 0 ;
46119 PyObject
* obj8
= 0 ;
46120 char * kwnames
[] = {
46121 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
46124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46126 if (!SWIG_IsOK(res1
)) {
46127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46129 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46130 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46131 if (!SWIG_IsOK(res2
)) {
46132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46134 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46137 if (!SWIG_IsOK(ecode3
)) {
46138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
46140 arg3
= static_cast< int >(val3
);
46144 arg4
= wxString_in_helper(obj3
);
46145 if (arg4
== NULL
) SWIG_fail
;
46152 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46158 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46162 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46163 if (!SWIG_IsOK(ecode7
)) {
46164 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
46166 arg7
= static_cast< long >(val7
);
46169 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46170 if (!SWIG_IsOK(res8
)) {
46171 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46176 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46180 arg9
= wxString_in_helper(obj8
);
46181 if (arg9
== NULL
) SWIG_fail
;
46186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46187 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46188 wxPyEndAllowThreads(__tstate
);
46189 if (PyErr_Occurred()) SWIG_fail
;
46192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46216 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46217 PyObject
*resultobj
= 0;
46218 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46219 bool arg2
= (bool) true ;
46224 PyObject
* obj0
= 0 ;
46225 PyObject
* obj1
= 0 ;
46226 char * kwnames
[] = {
46227 (char *) "self",(char *) "collapse", NULL
46230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46232 if (!SWIG_IsOK(res1
)) {
46233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46235 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46237 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46238 if (!SWIG_IsOK(ecode2
)) {
46239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
46241 arg2
= static_cast< bool >(val2
);
46244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46245 (arg1
)->Collapse(arg2
);
46246 wxPyEndAllowThreads(__tstate
);
46247 if (PyErr_Occurred()) SWIG_fail
;
46249 resultobj
= SWIG_Py_Void();
46256 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46257 PyObject
*resultobj
= 0;
46258 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46261 PyObject
*swig_obj
[1] ;
46263 if (!args
) SWIG_fail
;
46264 swig_obj
[0] = args
;
46265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46266 if (!SWIG_IsOK(res1
)) {
46267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46269 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46273 wxPyEndAllowThreads(__tstate
);
46274 if (PyErr_Occurred()) SWIG_fail
;
46276 resultobj
= SWIG_Py_Void();
46283 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46284 PyObject
*resultobj
= 0;
46285 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46289 PyObject
*swig_obj
[1] ;
46291 if (!args
) SWIG_fail
;
46292 swig_obj
[0] = args
;
46293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46294 if (!SWIG_IsOK(res1
)) {
46295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46297 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46300 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
46301 wxPyEndAllowThreads(__tstate
);
46302 if (PyErr_Occurred()) SWIG_fail
;
46305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46313 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46314 PyObject
*resultobj
= 0;
46315 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46319 PyObject
*swig_obj
[1] ;
46321 if (!args
) SWIG_fail
;
46322 swig_obj
[0] = args
;
46323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46324 if (!SWIG_IsOK(res1
)) {
46325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46327 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46330 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
46331 wxPyEndAllowThreads(__tstate
);
46332 if (PyErr_Occurred()) SWIG_fail
;
46335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46343 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46344 PyObject
*resultobj
= 0;
46345 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46346 wxWindow
*result
= 0 ;
46349 PyObject
*swig_obj
[1] ;
46351 if (!args
) SWIG_fail
;
46352 swig_obj
[0] = args
;
46353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46354 if (!SWIG_IsOK(res1
)) {
46355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46357 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46360 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
46361 wxPyEndAllowThreads(__tstate
);
46362 if (PyErr_Occurred()) SWIG_fail
;
46365 resultobj
= wxPyMake_wxObject(result
, 0);
46373 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46376 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
46377 return SWIG_Py_Void();
46380 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46381 return SWIG_Python_InitShadowInstance(args
);
46384 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46385 PyObject
*resultobj
= 0;
46386 wxObject
*arg1
= (wxObject
*) 0 ;
46389 wxCollapsiblePaneEvent
*result
= 0 ;
46396 PyObject
* obj0
= 0 ;
46397 PyObject
* obj1
= 0 ;
46398 PyObject
* obj2
= 0 ;
46399 char * kwnames
[] = {
46400 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
46405 if (!SWIG_IsOK(res1
)) {
46406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46408 arg1
= reinterpret_cast< wxObject
* >(argp1
);
46409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46410 if (!SWIG_IsOK(ecode2
)) {
46411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46413 arg2
= static_cast< int >(val2
);
46414 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46415 if (!SWIG_IsOK(ecode3
)) {
46416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46418 arg3
= static_cast< bool >(val3
);
46420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46421 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
46422 wxPyEndAllowThreads(__tstate
);
46423 if (PyErr_Occurred()) SWIG_fail
;
46425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
46432 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46433 PyObject
*resultobj
= 0;
46434 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46438 PyObject
*swig_obj
[1] ;
46440 if (!args
) SWIG_fail
;
46441 swig_obj
[0] = args
;
46442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46443 if (!SWIG_IsOK(res1
)) {
46444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46446 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46449 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
46450 wxPyEndAllowThreads(__tstate
);
46451 if (PyErr_Occurred()) SWIG_fail
;
46454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46462 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46463 PyObject
*resultobj
= 0;
46464 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46470 PyObject
* obj0
= 0 ;
46471 PyObject
* obj1
= 0 ;
46472 char * kwnames
[] = {
46473 (char *) "self",(char *) "c", NULL
46476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46478 if (!SWIG_IsOK(res1
)) {
46479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46481 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46482 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46483 if (!SWIG_IsOK(ecode2
)) {
46484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46486 arg2
= static_cast< bool >(val2
);
46488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46489 (arg1
)->SetCollapsed(arg2
);
46490 wxPyEndAllowThreads(__tstate
);
46491 if (PyErr_Occurred()) SWIG_fail
;
46493 resultobj
= SWIG_Py_Void();
46500 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46502 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46503 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46504 return SWIG_Py_Void();
46507 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46508 return SWIG_Python_InitShadowInstance(args
);
46511 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
46512 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
46517 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
46518 PyObject
*pyobj
= 0;
46522 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46524 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46531 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46532 PyObject
*resultobj
= 0;
46533 wxWindow
*arg1
= (wxWindow
*) 0 ;
46534 int arg2
= (int) -1 ;
46535 wxString
const &arg3_defvalue
= wxEmptyString
;
46536 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46537 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46538 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46539 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46540 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46541 long arg6
= (long) 0 ;
46542 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46543 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46544 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46545 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46546 wxSearchCtrl
*result
= 0 ;
46551 bool temp3
= false ;
46558 bool temp8
= false ;
46559 PyObject
* obj0
= 0 ;
46560 PyObject
* obj1
= 0 ;
46561 PyObject
* obj2
= 0 ;
46562 PyObject
* obj3
= 0 ;
46563 PyObject
* obj4
= 0 ;
46564 PyObject
* obj5
= 0 ;
46565 PyObject
* obj6
= 0 ;
46566 PyObject
* obj7
= 0 ;
46567 char * kwnames
[] = {
46568 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46573 if (!SWIG_IsOK(res1
)) {
46574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46576 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46579 if (!SWIG_IsOK(ecode2
)) {
46580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46582 arg2
= static_cast< int >(val2
);
46586 arg3
= wxString_in_helper(obj2
);
46587 if (arg3
== NULL
) SWIG_fail
;
46594 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46600 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46604 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46605 if (!SWIG_IsOK(ecode6
)) {
46606 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46608 arg6
= static_cast< long >(val6
);
46611 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46612 if (!SWIG_IsOK(res7
)) {
46613 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46618 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46622 arg8
= wxString_in_helper(obj7
);
46623 if (arg8
== NULL
) SWIG_fail
;
46628 if (!wxPyCheckForApp()) SWIG_fail
;
46629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46630 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46631 wxPyEndAllowThreads(__tstate
);
46632 if (PyErr_Occurred()) SWIG_fail
;
46634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46657 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46658 PyObject
*resultobj
= 0;
46659 wxSearchCtrl
*result
= 0 ;
46661 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46663 if (!wxPyCheckForApp()) SWIG_fail
;
46664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46665 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46666 wxPyEndAllowThreads(__tstate
);
46667 if (PyErr_Occurred()) SWIG_fail
;
46669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46676 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46677 PyObject
*resultobj
= 0;
46678 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46679 wxWindow
*arg2
= (wxWindow
*) 0 ;
46680 int arg3
= (int) -1 ;
46681 wxString
const &arg4_defvalue
= wxEmptyString
;
46682 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46683 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46684 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46685 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46686 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46687 long arg7
= (long) 0 ;
46688 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46689 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46690 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46691 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46699 bool temp4
= false ;
46706 bool temp9
= false ;
46707 PyObject
* obj0
= 0 ;
46708 PyObject
* obj1
= 0 ;
46709 PyObject
* obj2
= 0 ;
46710 PyObject
* obj3
= 0 ;
46711 PyObject
* obj4
= 0 ;
46712 PyObject
* obj5
= 0 ;
46713 PyObject
* obj6
= 0 ;
46714 PyObject
* obj7
= 0 ;
46715 PyObject
* obj8
= 0 ;
46716 char * kwnames
[] = {
46717 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46722 if (!SWIG_IsOK(res1
)) {
46723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46725 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46726 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46727 if (!SWIG_IsOK(res2
)) {
46728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46730 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46733 if (!SWIG_IsOK(ecode3
)) {
46734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46736 arg3
= static_cast< int >(val3
);
46740 arg4
= wxString_in_helper(obj3
);
46741 if (arg4
== NULL
) SWIG_fail
;
46748 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46754 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46758 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46759 if (!SWIG_IsOK(ecode7
)) {
46760 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46762 arg7
= static_cast< long >(val7
);
46765 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46766 if (!SWIG_IsOK(res8
)) {
46767 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46772 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46776 arg9
= wxString_in_helper(obj8
);
46777 if (arg9
== NULL
) SWIG_fail
;
46782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46783 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46784 wxPyEndAllowThreads(__tstate
);
46785 if (PyErr_Occurred()) SWIG_fail
;
46788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46812 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46813 PyObject
*resultobj
= 0;
46814 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46815 wxMenu
*arg2
= (wxMenu
*) 0 ;
46820 PyObject
* obj0
= 0 ;
46821 PyObject
* obj1
= 0 ;
46822 char * kwnames
[] = {
46823 (char *) "self",(char *) "menu", NULL
46826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46828 if (!SWIG_IsOK(res1
)) {
46829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46831 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46832 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46833 if (!SWIG_IsOK(res2
)) {
46834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46836 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46839 (arg1
)->SetMenu(arg2
);
46840 wxPyEndAllowThreads(__tstate
);
46841 if (PyErr_Occurred()) SWIG_fail
;
46843 resultobj
= SWIG_Py_Void();
46850 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46851 PyObject
*resultobj
= 0;
46852 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46853 wxMenu
*result
= 0 ;
46856 PyObject
*swig_obj
[1] ;
46858 if (!args
) SWIG_fail
;
46859 swig_obj
[0] = args
;
46860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46861 if (!SWIG_IsOK(res1
)) {
46862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46864 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46867 result
= (wxMenu
*)(arg1
)->GetMenu();
46868 wxPyEndAllowThreads(__tstate
);
46869 if (PyErr_Occurred()) SWIG_fail
;
46872 resultobj
= wxPyMake_wxObject(result
, 0);
46880 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowSearchButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46881 PyObject
*resultobj
= 0;
46882 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46888 PyObject
* obj0
= 0 ;
46889 PyObject
* obj1
= 0 ;
46890 char * kwnames
[] = {
46891 (char *) "self",(char *) "show", NULL
46894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46896 if (!SWIG_IsOK(res1
)) {
46897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46899 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46900 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46901 if (!SWIG_IsOK(ecode2
)) {
46902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
46904 arg2
= static_cast< bool >(val2
);
46906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46907 (arg1
)->ShowSearchButton(arg2
);
46908 wxPyEndAllowThreads(__tstate
);
46909 if (PyErr_Occurred()) SWIG_fail
;
46911 resultobj
= SWIG_Py_Void();
46918 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46919 PyObject
*resultobj
= 0;
46920 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46924 PyObject
*swig_obj
[1] ;
46926 if (!args
) SWIG_fail
;
46927 swig_obj
[0] = args
;
46928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46929 if (!SWIG_IsOK(res1
)) {
46930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46932 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46935 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsSearchButtonVisible();
46936 wxPyEndAllowThreads(__tstate
);
46937 if (PyErr_Occurred()) SWIG_fail
;
46940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46948 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46949 PyObject
*resultobj
= 0;
46950 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46956 PyObject
* obj0
= 0 ;
46957 PyObject
* obj1
= 0 ;
46958 char * kwnames
[] = {
46959 (char *) "self",(char *) "show", NULL
46962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46964 if (!SWIG_IsOK(res1
)) {
46965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46967 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46968 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46969 if (!SWIG_IsOK(ecode2
)) {
46970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
46972 arg2
= static_cast< bool >(val2
);
46974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46975 (arg1
)->ShowCancelButton(arg2
);
46976 wxPyEndAllowThreads(__tstate
);
46977 if (PyErr_Occurred()) SWIG_fail
;
46979 resultobj
= SWIG_Py_Void();
46986 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46987 PyObject
*resultobj
= 0;
46988 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46992 PyObject
*swig_obj
[1] ;
46994 if (!args
) SWIG_fail
;
46995 swig_obj
[0] = args
;
46996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46997 if (!SWIG_IsOK(res1
)) {
46998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
47000 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47003 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsCancelButtonVisible();
47004 wxPyEndAllowThreads(__tstate
);
47005 if (PyErr_Occurred()) SWIG_fail
;
47008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47016 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47017 PyObject
*resultobj
= 0;
47018 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47019 wxString
*arg2
= 0 ;
47022 bool temp2
= false ;
47023 PyObject
* obj0
= 0 ;
47024 PyObject
* obj1
= 0 ;
47025 char * kwnames
[] = {
47026 (char *) "self",(char *) "text", NULL
47029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetDescriptiveText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47031 if (!SWIG_IsOK(res1
)) {
47032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47034 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47036 arg2
= wxString_in_helper(obj1
);
47037 if (arg2
== NULL
) SWIG_fail
;
47041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47042 (arg1
)->SetDescriptiveText((wxString
const &)*arg2
);
47043 wxPyEndAllowThreads(__tstate
);
47044 if (PyErr_Occurred()) SWIG_fail
;
47046 resultobj
= SWIG_Py_Void();
47061 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47062 PyObject
*resultobj
= 0;
47063 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47067 PyObject
*swig_obj
[1] ;
47069 if (!args
) SWIG_fail
;
47070 swig_obj
[0] = args
;
47071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47072 if (!SWIG_IsOK(res1
)) {
47073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
47075 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47078 result
= ((wxSearchCtrl
const *)arg1
)->GetDescriptiveText();
47079 wxPyEndAllowThreads(__tstate
);
47080 if (PyErr_Occurred()) SWIG_fail
;
47084 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
47086 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
47095 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47096 PyObject
*resultobj
= 0;
47097 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47098 wxBitmap
*arg2
= 0 ;
47103 PyObject
* obj0
= 0 ;
47104 PyObject
* obj1
= 0 ;
47105 char * kwnames
[] = {
47106 (char *) "self",(char *) "bitmap", NULL
47109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47111 if (!SWIG_IsOK(res1
)) {
47112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47114 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47115 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47116 if (!SWIG_IsOK(res2
)) {
47117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47122 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47125 (arg1
)->SetSearchBitmap((wxBitmap
const &)*arg2
);
47126 wxPyEndAllowThreads(__tstate
);
47127 if (PyErr_Occurred()) SWIG_fail
;
47129 resultobj
= SWIG_Py_Void();
47136 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47137 PyObject
*resultobj
= 0;
47138 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47139 wxBitmap
*arg2
= 0 ;
47144 PyObject
* obj0
= 0 ;
47145 PyObject
* obj1
= 0 ;
47146 char * kwnames
[] = {
47147 (char *) "self",(char *) "bitmap", NULL
47150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47152 if (!SWIG_IsOK(res1
)) {
47153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47155 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47156 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47157 if (!SWIG_IsOK(res2
)) {
47158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47161 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47163 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47166 (arg1
)->SetSearchMenuBitmap((wxBitmap
const &)*arg2
);
47167 wxPyEndAllowThreads(__tstate
);
47168 if (PyErr_Occurred()) SWIG_fail
;
47170 resultobj
= SWIG_Py_Void();
47177 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47178 PyObject
*resultobj
= 0;
47179 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47180 wxBitmap
*arg2
= 0 ;
47185 PyObject
* obj0
= 0 ;
47186 PyObject
* obj1
= 0 ;
47187 char * kwnames
[] = {
47188 (char *) "self",(char *) "bitmap", NULL
47191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47193 if (!SWIG_IsOK(res1
)) {
47194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47196 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47198 if (!SWIG_IsOK(res2
)) {
47199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47204 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47207 (arg1
)->SetCancelBitmap((wxBitmap
const &)*arg2
);
47208 wxPyEndAllowThreads(__tstate
);
47209 if (PyErr_Occurred()) SWIG_fail
;
47211 resultobj
= SWIG_Py_Void();
47218 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47221 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
47222 return SWIG_Py_Void();
47225 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47226 return SWIG_Python_InitShadowInstance(args
);
47229 static PyMethodDef SwigMethods
[] = {
47230 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47231 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
47232 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47233 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
47234 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
47235 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47236 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
47237 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
47238 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47239 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
47240 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47241 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
47242 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
47243 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
47244 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
47245 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
47246 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47247 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47248 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47249 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47250 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47251 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47252 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
47253 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
47254 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
47255 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
47256 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47257 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
47258 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47259 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
47260 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
47261 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47262 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
47263 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47264 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
47265 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
47266 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47267 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
47268 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
47269 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47270 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
47271 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47272 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
47273 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47274 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
47275 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
47276 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47277 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
47278 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47279 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
47280 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47281 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
47282 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
47283 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
47284 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47285 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
47286 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
47287 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47288 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47289 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
47290 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
47291 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47292 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47293 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
47294 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47295 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
47296 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
47297 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
47298 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
47299 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
47300 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
47301 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
47302 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
47303 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
47304 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47305 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
47306 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
47307 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47308 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
47309 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47310 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47311 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
47312 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47313 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
47314 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
47315 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
47316 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47317 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
47318 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47319 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
47320 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47321 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
47322 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
47323 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47324 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
47325 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47326 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47327 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
47328 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
47329 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47330 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
47331 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47332 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
47333 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
47334 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47335 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
47336 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
47337 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47338 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
47339 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47340 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47341 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47342 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
47343 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
47344 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47345 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
47346 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47347 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
47348 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47349 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47350 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47351 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
47352 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
47353 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47354 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
47355 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47356 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47357 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47358 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47359 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47360 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47361 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47362 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47363 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47364 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47365 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
47366 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47367 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47368 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47369 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47370 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
47371 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47372 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47373 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47374 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47375 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47376 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
47377 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
47378 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47379 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
47380 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47381 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47382 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47383 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
47384 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
47385 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
47386 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47387 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
47388 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
47389 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47390 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47391 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47392 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47393 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47394 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47395 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47396 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47397 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47398 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
47399 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
47400 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
47401 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
47402 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
47403 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
47404 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
47405 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47406 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
47407 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
47408 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
47409 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
47410 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
47411 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
47412 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
47413 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
47414 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
47415 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
47416 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47417 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
47418 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
47419 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47420 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
47421 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47422 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
47423 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47424 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
47425 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47426 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47427 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47428 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47429 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
47430 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
47431 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
47432 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
47433 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
47434 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
47435 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
47436 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
47437 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47438 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47439 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47440 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47441 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
47442 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
47443 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47444 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47445 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47446 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47447 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47448 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47449 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47450 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47451 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
47452 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47453 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47454 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47455 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47456 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47457 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
47458 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
47459 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
47460 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
47461 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
47462 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
47463 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
47464 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
47465 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
47466 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
47467 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47468 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
47469 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
47470 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
47471 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47472 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
47473 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47474 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47475 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
47476 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47477 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
47478 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47479 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47480 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47481 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
47482 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
47483 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47484 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
47485 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
47486 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
47487 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
47488 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
47489 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47490 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
47491 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47492 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
47493 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
47494 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
47495 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
47496 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
47497 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47498 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47499 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
47500 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
47501 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47502 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
47503 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47504 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
47505 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
47506 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
47507 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47508 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47509 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47510 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47511 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
47512 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47513 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
47514 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
47515 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47516 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
47517 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47518 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
47519 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47520 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47521 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47522 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
47523 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
47524 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47525 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47526 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
47527 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
47528 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47529 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
47530 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47531 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
47532 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
47533 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47534 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
47535 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47536 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47537 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
47538 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
47539 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47540 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
47541 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47542 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47543 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47544 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47545 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47546 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47547 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47548 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
47549 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
47550 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47551 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47552 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47553 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47554 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47555 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47556 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
47557 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
47558 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47559 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
47560 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47561 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
47562 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47563 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47564 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
47565 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
47566 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47567 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
47568 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47569 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
47570 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47571 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47572 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
47573 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
47574 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47575 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47576 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47577 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47578 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
47579 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
47580 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47581 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
47582 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47583 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
47584 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
47585 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47586 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
47587 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
47588 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
47589 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47590 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47591 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
47592 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
47593 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47594 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
47595 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47596 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47597 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
47598 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47599 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
47600 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
47601 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
47602 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47603 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
47604 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
47605 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47606 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47607 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47608 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47609 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47610 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47611 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47612 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47613 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47614 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47615 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47616 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47617 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47618 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47619 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47620 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47621 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47622 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47623 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47624 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47625 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47626 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47627 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47628 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47629 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47630 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47631 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47632 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47633 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47634 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47635 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47636 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47637 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47638 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47639 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47640 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47641 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47642 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47643 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47644 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47645 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47646 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47647 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47648 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47649 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47650 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47651 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47652 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47653 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47654 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47655 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47656 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47657 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47658 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47659 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47660 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47661 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47662 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47663 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47664 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47665 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47666 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47667 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47668 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47669 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47670 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47671 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47672 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47673 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47674 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47675 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47676 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47677 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47678 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47679 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47680 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47681 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47682 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47683 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47684 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47685 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47686 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47687 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47688 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47689 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47690 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47691 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47692 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47693 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47694 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47695 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47696 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47697 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47698 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47699 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47700 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47701 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47702 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47703 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47704 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47705 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47706 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47707 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47708 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47709 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47710 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47711 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47712 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47713 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47714 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47715 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47716 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47717 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47718 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47719 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47720 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47721 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47722 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47723 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47724 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47725 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47726 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47727 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47728 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47729 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47730 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47731 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47732 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47733 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47734 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47735 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47736 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47737 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47738 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47739 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47740 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47741 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47742 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47743 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47744 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47745 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47746 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47747 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47748 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47749 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47750 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47751 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47752 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47753 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47754 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47755 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47756 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47757 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47758 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47759 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47760 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47761 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47762 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47763 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47764 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47765 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47766 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47767 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47768 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47769 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47770 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47771 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47772 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47773 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47774 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47775 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47776 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47777 { (char *)"ToolBar_SetToolNormalBitmap", (PyCFunction
) _wrap_ToolBar_SetToolNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47778 { (char *)"ToolBar_SetToolDisabledBitmap", (PyCFunction
) _wrap_ToolBar_SetToolDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47779 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47780 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47781 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47782 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47783 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47784 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47785 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47786 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47787 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47788 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47789 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47790 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47791 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47792 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47793 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47794 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47795 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47796 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47797 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47798 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47799 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47800 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47801 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47802 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47803 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47804 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47805 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47806 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47807 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47808 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47809 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47810 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47811 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47812 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47813 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47814 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47815 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47816 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47817 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47818 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47819 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47820 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47821 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47822 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47823 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47824 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47825 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47826 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47827 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47828 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47829 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47830 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47831 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47832 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47833 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47834 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47835 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47836 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47837 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47838 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47839 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47840 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47841 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47842 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47843 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47844 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47845 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47846 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47847 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47848 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47849 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47850 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47851 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47852 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47853 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47854 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47855 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47856 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47857 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47858 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47859 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47860 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47861 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47862 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47863 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47864 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47865 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47866 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47867 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47868 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47869 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47870 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47871 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47872 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47873 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47874 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47875 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47876 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47877 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47878 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47879 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47880 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47881 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47882 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47883 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47884 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47885 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47886 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47887 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47888 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47889 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47890 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47891 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47892 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47893 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47894 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47895 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47896 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47897 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47898 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47899 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47900 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47901 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47902 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47903 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47904 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47905 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47906 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47907 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47908 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47909 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47910 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47911 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47912 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47913 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47914 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47915 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47916 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47917 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47918 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47919 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47920 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47921 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47922 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47923 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47924 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47925 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47926 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47927 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47928 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47929 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47930 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47931 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47932 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47933 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47934 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47935 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47936 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47937 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47938 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47939 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47940 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47941 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47942 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47943 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47944 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47945 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47946 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47947 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47948 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47949 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47950 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47951 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47952 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47953 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47954 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47955 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47956 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47957 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47958 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47959 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47960 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47961 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47962 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47963 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47964 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47965 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47966 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47967 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47968 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47969 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47970 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47971 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47972 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47973 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47974 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47975 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47976 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47977 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47978 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47979 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47980 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47981 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47982 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47983 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47984 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47985 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47986 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47987 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47988 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47989 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47990 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47991 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47992 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47993 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47994 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47995 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47996 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47997 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47998 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47999 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
48000 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
48001 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48002 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
48003 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48004 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48005 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
48006 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
48007 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48008 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
48009 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48010 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
48011 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
48012 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48013 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48014 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48015 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48016 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48017 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48018 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48019 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48020 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48021 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48022 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48023 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48024 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48025 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48026 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48027 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48028 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48029 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48030 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48031 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48032 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48033 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48034 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48035 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48036 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48037 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48038 { (char *)"TreeCtrl_IsEmpty", (PyCFunction
)_wrap_TreeCtrl_IsEmpty
, METH_O
, NULL
},
48039 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48040 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
48041 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
48042 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
48043 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48044 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48045 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48046 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48047 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48048 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48049 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
48050 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48051 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48052 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48053 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48054 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48055 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48056 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48057 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48058 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48059 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
48060 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48061 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48062 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
48063 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48064 { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction
) _wrap_TreeCtrl_CollapseAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48065 { (char *)"TreeCtrl_CollapseAll", (PyCFunction
)_wrap_TreeCtrl_CollapseAll
, METH_O
, NULL
},
48066 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48067 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48068 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
48069 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48070 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
48071 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48072 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48073 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48074 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48075 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48076 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
48077 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48078 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48079 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48080 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48081 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48082 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48083 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48084 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48085 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
48086 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
48087 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
48088 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48089 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
48090 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48091 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48092 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48093 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
48094 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48095 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
48096 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
48097 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48098 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48099 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
48100 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
48101 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48102 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
48103 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48104 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
48105 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
48106 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
48107 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48108 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
48109 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
48110 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
48111 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
48112 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48113 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
48114 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48115 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48116 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
48117 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
48118 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48119 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
48120 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48121 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48122 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48123 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48124 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48125 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48126 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
48127 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
48128 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
48129 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
48130 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
48131 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
48132 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
48133 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
48134 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
48135 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48136 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
48137 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48138 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
48139 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48140 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
48141 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48142 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
48143 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48144 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
48145 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
48146 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48147 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
48148 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48149 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
48150 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
48151 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
48152 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48153 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
48154 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
48155 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
48156 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48157 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
48158 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48159 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48160 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48161 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48162 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48163 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48164 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
48165 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
48166 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
48167 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
48168 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
48169 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48170 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48171 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48172 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48173 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48174 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
48175 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48176 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48177 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48178 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
48179 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48180 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
48181 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
48182 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48183 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48184 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48185 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48186 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
48187 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
48188 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48189 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
48190 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48191 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48192 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
48193 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48194 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
48195 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
48196 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48197 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48198 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48199 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
48200 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48201 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
48202 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48203 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
48204 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48205 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
48206 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48207 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
48208 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48209 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48210 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
48211 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
48212 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
48213 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48214 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
48215 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48216 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
48217 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
48218 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48219 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48220 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
48221 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48222 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
48223 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48224 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
48225 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
48226 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48227 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
48228 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48229 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
48230 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
48231 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
48232 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
48233 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48234 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
48235 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48236 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
48237 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48238 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48239 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48240 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48241 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
48242 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48243 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48244 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48245 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48246 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
48247 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48248 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
48249 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48250 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48251 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
48252 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48253 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48254 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48255 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
48256 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48257 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
48258 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48259 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48260 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
48261 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48262 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48263 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48264 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
48265 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48266 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48267 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48268 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48269 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
48270 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48271 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
48272 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48273 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48274 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
48275 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48276 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48277 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48278 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
48279 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48280 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48281 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48282 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48283 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
48284 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48285 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48286 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
48287 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
48288 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
48289 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
48290 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
48291 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
48292 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48293 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
48294 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48295 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
48296 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
48297 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48298 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
48299 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48300 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48301 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
48302 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction
) _wrap_SearchCtrl_ShowSearchButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48303 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsSearchButtonVisible
, METH_O
, NULL
},
48304 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction
) _wrap_SearchCtrl_ShowCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48305 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsCancelButtonVisible
, METH_O
, NULL
},
48306 { (char *)"SearchCtrl_SetDescriptiveText", (PyCFunction
) _wrap_SearchCtrl_SetDescriptiveText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48307 { (char *)"SearchCtrl_GetDescriptiveText", (PyCFunction
)_wrap_SearchCtrl_GetDescriptiveText
, METH_O
, NULL
},
48308 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48309 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48310 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48311 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
48312 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
48313 { NULL
, NULL
, 0, NULL
}
48317 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
48319 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
48320 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48322 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
48323 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
48325 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
48326 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
48328 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
48329 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
48331 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
48332 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
48334 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
48335 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48337 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
48338 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48340 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
48341 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
48343 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
48344 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48346 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
48347 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48349 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
48350 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48352 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
48353 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
48355 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
48356 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
48358 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
48359 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48361 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
48362 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48364 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
48365 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48367 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
48368 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
48370 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
48371 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48373 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
48374 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48376 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
48377 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48379 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
48380 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48382 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
48383 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48385 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
48386 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48388 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
48389 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
48391 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
48392 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
48394 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
48395 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48397 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
48398 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48400 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
48401 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
48403 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
48404 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
48406 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
48407 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
48409 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
48410 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
48412 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
48413 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
48415 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
48416 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
48418 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
48419 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48421 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
48422 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
48424 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
48425 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
48427 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
48428 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48430 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
48431 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48433 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
48434 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48436 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
48437 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48439 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
48440 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48442 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
48443 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48445 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
48446 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48448 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
48449 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
48451 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
48452 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
48454 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
48455 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48457 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
48458 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
48460 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
48461 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
48463 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
48464 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48466 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
48467 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48469 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
48470 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48472 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
48473 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
48475 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
48476 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
48478 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
48479 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48481 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
48482 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48484 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
48485 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48487 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
48488 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48490 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
48491 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48493 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
48494 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48496 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
48497 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48499 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
48500 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48502 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
48503 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
48505 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
48506 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48508 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
48509 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48511 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
48512 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
48514 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
48515 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
48517 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
48518 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
48520 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
48521 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
48523 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
48524 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
48526 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
48527 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
48529 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
48530 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
48532 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
48533 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48535 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
48536 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
48538 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
48539 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
48541 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
48542 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48544 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
48545 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
48547 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
48548 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48550 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
48551 return (void *)((wxControl
*) ((wxPyControl
*) x
));
48553 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
48554 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
48556 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
48557 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
48559 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
48560 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
48562 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
48563 return (void *)((wxControl
*) ((wxGauge
*) x
));
48565 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
48566 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
48568 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
48569 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48571 static void *_p_wxListbookTo_p_wxControl(void *x
) {
48572 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
48574 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
48575 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
48577 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
48578 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
48580 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
48581 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
48583 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
48584 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
48586 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
48587 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48589 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
48590 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48592 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
48593 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48595 static void *_p_wxListViewTo_p_wxControl(void *x
) {
48596 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
48598 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
48599 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
48601 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
48602 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
48604 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
48605 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
48607 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
48608 return (void *)((wxControl
*) ((wxStaticText
*) x
));
48610 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
48611 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
48613 static void *_p_wxSliderTo_p_wxControl(void *x
) {
48614 return (void *)((wxControl
*) ((wxSlider
*) x
));
48616 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
48617 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48619 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48620 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48622 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48623 return (void *)((wxControl
*) ((wxButton
*) x
));
48625 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48626 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48628 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48629 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48631 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48632 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48634 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48635 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48637 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48638 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48640 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48641 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48643 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48644 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48646 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48647 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48649 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48650 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48652 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
48653 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
48655 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48656 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48658 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48659 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48661 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48662 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48664 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48665 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48667 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48668 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48670 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48671 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48673 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48674 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48676 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48677 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48679 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48680 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48682 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48683 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48685 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48686 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48688 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48689 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48691 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48692 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48694 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48695 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48697 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48698 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48700 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48701 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48703 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48706 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
48707 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
48709 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48710 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48712 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48713 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48715 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48716 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48718 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48719 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48721 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48722 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48724 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48727 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48728 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48730 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48733 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48734 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48736 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48737 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48739 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48740 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48742 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48743 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48745 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48746 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48748 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48749 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48751 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48752 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48754 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48755 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48757 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48758 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48760 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48761 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48763 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48764 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48766 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48767 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48769 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48770 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48772 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48773 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48775 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48776 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48778 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48779 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48781 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48782 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48784 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48785 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48787 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48788 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48790 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48791 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48793 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48794 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48796 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48797 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48799 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48800 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48802 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48803 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48805 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48806 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48808 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48809 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48811 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48812 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48814 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48815 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48817 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48818 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48820 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48821 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48823 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48824 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48826 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48827 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48829 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48830 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48832 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48833 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48835 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48836 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48838 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48839 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48841 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48842 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48844 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48845 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48847 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48848 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48850 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48851 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48853 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48854 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48856 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48857 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48859 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48860 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48862 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48863 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48865 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48866 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48868 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48869 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48871 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48872 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48874 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48875 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48877 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48878 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48880 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48883 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
48884 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
48886 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48887 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48889 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48890 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48892 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48893 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48895 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48896 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48898 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48899 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48901 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48902 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48904 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48905 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48907 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48908 return (void *)((wxObject
*) ((wxSizer
*) x
));
48910 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48911 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48913 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48916 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48919 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48920 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48922 static void *_p_wxEventTo_p_wxObject(void *x
) {
48923 return (void *)((wxObject
*) ((wxEvent
*) x
));
48925 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48926 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48928 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48929 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48931 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48932 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48934 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48935 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48937 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48940 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48941 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48943 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48944 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48946 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48947 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48949 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48950 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48952 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48953 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48955 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48956 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48958 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48959 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48961 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48962 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48964 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48965 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48967 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48968 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48970 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48971 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48973 static void *_p_wxControlTo_p_wxObject(void *x
) {
48974 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48976 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48979 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48982 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48985 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48988 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48991 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48992 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48994 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48995 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48997 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48998 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
49000 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
49001 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
49003 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
49004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
49006 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
49007 return (void *)((wxObject
*) ((wxFSFile
*) x
));
49009 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
49010 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
49012 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
49013 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
49015 static void *_p_wxListViewTo_p_wxObject(void *x
) {
49016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
49018 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
49019 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
49021 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
49022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
49024 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
49025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
49027 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
49028 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
49030 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
49031 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
49033 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
49034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
49036 static void *_p_wxListbookTo_p_wxObject(void *x
) {
49037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
49039 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
49040 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
49042 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
49043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
49045 static void *_p_wxSliderTo_p_wxObject(void *x
) {
49046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
49048 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
49049 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
49051 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
49052 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
49054 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
49055 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
49057 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
49058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
49060 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
49061 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
49063 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
49064 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
49066 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
49067 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
49069 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
49070 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
49072 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
49073 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
49075 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
49076 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
49078 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
49079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
49081 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
49082 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
49084 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
49085 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
49087 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
49088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
49090 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
49091 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
49093 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
49094 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
49096 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
49097 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
49099 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
49100 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
49102 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
49103 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
49105 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
49106 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
49108 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
49109 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
49111 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
49112 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
49114 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
49115 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
49117 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
49118 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
49120 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
49121 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
49123 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
49124 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
49126 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
49127 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
49129 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
49130 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
49132 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
49133 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
49135 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
49136 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
49138 static void *_p_wxListEventTo_p_wxObject(void *x
) {
49139 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
49141 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
49142 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
49144 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
49145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49147 static void *_p_wxButtonTo_p_wxObject(void *x
) {
49148 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
49150 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
49151 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49153 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
49154 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
49156 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
49157 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49159 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
49160 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
49162 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
49163 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
49165 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
49166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
49168 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
49169 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
49171 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
49172 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
49174 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
49175 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
49177 static void *_p_wxListItemTo_p_wxObject(void *x
) {
49178 return (void *)((wxObject
*) ((wxListItem
*) x
));
49180 static void *_p_wxImageTo_p_wxObject(void *x
) {
49181 return (void *)((wxObject
*) ((wxImage
*) x
));
49183 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
49184 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
49186 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
49187 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49189 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
49190 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
49192 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
49193 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
49195 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
49196 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49198 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
49199 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49201 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
49202 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49204 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
49205 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49207 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
49208 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49210 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
49211 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49213 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
49214 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
49216 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
49217 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
49219 static void *_p_wxWindowTo_p_wxObject(void *x
) {
49220 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
49222 static void *_p_wxMenuTo_p_wxObject(void *x
) {
49223 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
49225 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
49226 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
49228 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
49229 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
49231 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
49232 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
49234 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
49235 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49237 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
49238 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
49240 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
49241 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
49243 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
49244 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
49246 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
49247 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
49249 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
49250 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
49252 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
49253 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49255 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
49256 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49258 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
49259 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49261 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
49262 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
49264 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
49265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
49267 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
49268 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
49270 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
49271 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
49273 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
49274 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49276 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
49277 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
49279 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
49280 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49282 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
49283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49285 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
49286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49288 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
49289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49291 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
49292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
49294 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
49295 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
49297 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
49298 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
49300 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
49301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49303 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
49304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
49306 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
49307 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
49309 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
49310 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
49312 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
49313 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
49315 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
49316 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
49318 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
49319 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49321 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
49322 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
49324 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
49325 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
49327 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
49328 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
49330 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
49331 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
49333 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
49334 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
49336 static void *_p_wxControlTo_p_wxWindow(void *x
) {
49337 return (void *)((wxWindow
*) ((wxControl
*) x
));
49339 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
49340 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
49342 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
49343 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
49345 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
49346 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
49348 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
49349 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49351 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
49352 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
49354 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
49355 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
49357 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
49358 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
49360 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
49361 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
49363 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
49364 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
49366 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
49367 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
49369 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
49370 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
49372 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
49373 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
49375 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
49376 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
49378 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
49379 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
49381 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
49382 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
49384 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
49385 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
49387 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
49388 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49390 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
49391 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
49393 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
49394 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
49396 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
49397 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
49399 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
49400 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
49402 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
49403 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
49405 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
49406 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
49408 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
49409 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
49411 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
49412 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
49414 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
49415 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
49417 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
49418 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
49420 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
49421 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
49423 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
49424 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
49426 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
49427 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49429 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
49430 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49432 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
49433 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
49435 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
49436 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49438 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
49439 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49441 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
49442 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49444 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
49445 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49447 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
49448 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
49450 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49451 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49453 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49454 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49456 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49457 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49459 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49460 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49462 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49463 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49465 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
49466 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49468 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
49469 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
49471 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
49472 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
49474 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
49475 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
49477 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
49478 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
49480 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
49481 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
49483 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
49484 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
49486 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
49487 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
49489 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
49490 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49492 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
49493 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49495 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
49496 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49498 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
49499 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49501 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
49502 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49504 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
49505 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49507 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
49508 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49510 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
49511 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49513 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
49514 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
49516 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
49517 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
49519 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
49520 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
49522 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
49523 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
49525 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
49526 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49528 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
49529 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49531 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
49532 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49534 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
49535 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
49537 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
49538 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
49540 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
49541 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
49543 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
49544 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
49546 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
49547 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49549 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
49550 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
49552 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
49553 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
49555 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
49556 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
49558 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
49559 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
49561 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49562 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
49563 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};
49564 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
49565 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
49566 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49567 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49568 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49569 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
49570 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49571 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49572 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49573 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49574 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49575 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49576 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49577 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49578 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49579 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49580 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49581 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49582 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49583 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49584 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49585 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49586 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49587 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49588 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49589 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49590 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49591 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49592 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49593 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49594 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49595 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49596 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49597 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49598 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49599 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49600 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49601 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49602 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49603 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49604 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49605 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49606 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49607 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49608 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49609 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49610 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49611 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49612 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49613 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49614 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49615 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49616 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49617 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49618 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49619 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49620 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49621 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49622 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49623 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49624 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49625 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49626 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49627 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49628 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49629 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49630 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49631 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49632 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49633 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49634 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49635 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49636 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
49637 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49638 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49639 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49640 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49641 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49642 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49643 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49644 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49645 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49646 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49647 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49648 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49649 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49650 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49651 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49652 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49653 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49654 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49655 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49656 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49657 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49658 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49659 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49660 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49661 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49662 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49663 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49664 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49665 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49666 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49667 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49668 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49669 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49670 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49671 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49672 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49673 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49674 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49675 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49676 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49677 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49678 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49679 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49680 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49681 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49682 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49683 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49684 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49685 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49686 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49687 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49688 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49689 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49690 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49691 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49692 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49693 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49694 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49695 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49696 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49697 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49698 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49699 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49700 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49701 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49702 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49703 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49704 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49705 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49706 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49707 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49708 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49709 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49710 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49711 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49712 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49713 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49714 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49715 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49716 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49717 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49718 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49719 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49720 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49721 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49722 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49723 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49724 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49725 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49726 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49727 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49728 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49729 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49730 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49731 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49732 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49733 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49734 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49735 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49736 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49737 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49738 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49739 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49740 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49742 static swig_type_info
*swig_type_initial
[] = {
49745 &_swigt__p_form_ops_t
,
49748 &_swigt__p_unsigned_char
,
49749 &_swigt__p_unsigned_int
,
49750 &_swigt__p_unsigned_long
,
49752 &_swigt__p_wxANIHandler
,
49753 &_swigt__p_wxAcceleratorTable
,
49754 &_swigt__p_wxActivateEvent
,
49755 &_swigt__p_wxArrayInt
,
49756 &_swigt__p_wxArrayString
,
49757 &_swigt__p_wxBMPHandler
,
49758 &_swigt__p_wxBitmap
,
49759 &_swigt__p_wxBitmapButton
,
49760 &_swigt__p_wxBookCtrlBase
,
49761 &_swigt__p_wxBookCtrlBaseEvent
,
49762 &_swigt__p_wxBoxSizer
,
49763 &_swigt__p_wxButton
,
49764 &_swigt__p_wxCURHandler
,
49765 &_swigt__p_wxCheckBox
,
49766 &_swigt__p_wxCheckListBox
,
49767 &_swigt__p_wxChildFocusEvent
,
49768 &_swigt__p_wxChoice
,
49769 &_swigt__p_wxChoicebook
,
49770 &_swigt__p_wxChoicebookEvent
,
49771 &_swigt__p_wxClipboardTextEvent
,
49772 &_swigt__p_wxCloseEvent
,
49773 &_swigt__p_wxCollapsiblePane
,
49774 &_swigt__p_wxCollapsiblePaneEvent
,
49775 &_swigt__p_wxColour
,
49776 &_swigt__p_wxColourPickerCtrl
,
49777 &_swigt__p_wxColourPickerEvent
,
49778 &_swigt__p_wxComboBox
,
49779 &_swigt__p_wxCommandEvent
,
49780 &_swigt__p_wxContextHelp
,
49781 &_swigt__p_wxContextHelpButton
,
49782 &_swigt__p_wxContextMenuEvent
,
49783 &_swigt__p_wxControl
,
49784 &_swigt__p_wxControlWithItems
,
49785 &_swigt__p_wxCursor
,
49787 &_swigt__p_wxDateEvent
,
49788 &_swigt__p_wxDatePickerCtrl
,
49789 &_swigt__p_wxDateTime
,
49790 &_swigt__p_wxDirFilterListCtrl
,
49791 &_swigt__p_wxDirPickerCtrl
,
49792 &_swigt__p_wxDisplayChangedEvent
,
49793 &_swigt__p_wxDropFilesEvent
,
49794 &_swigt__p_wxDuplexMode
,
49795 &_swigt__p_wxEraseEvent
,
49796 &_swigt__p_wxEvent
,
49797 &_swigt__p_wxEventBlocker
,
49798 &_swigt__p_wxEvtHandler
,
49799 &_swigt__p_wxFSFile
,
49800 &_swigt__p_wxFileDirPickerEvent
,
49801 &_swigt__p_wxFilePickerCtrl
,
49802 &_swigt__p_wxFileSystem
,
49803 &_swigt__p_wxFlexGridSizer
,
49804 &_swigt__p_wxFocusEvent
,
49806 &_swigt__p_wxFontPickerCtrl
,
49807 &_swigt__p_wxFontPickerEvent
,
49808 &_swigt__p_wxGBSizerItem
,
49809 &_swigt__p_wxGIFHandler
,
49810 &_swigt__p_wxGauge
,
49811 &_swigt__p_wxGenericDirCtrl
,
49812 &_swigt__p_wxGenericDragImage
,
49813 &_swigt__p_wxGridBagSizer
,
49814 &_swigt__p_wxGridSizer
,
49815 &_swigt__p_wxHelpEvent
,
49816 &_swigt__p_wxHelpProvider
,
49817 &_swigt__p_wxHyperlinkCtrl
,
49818 &_swigt__p_wxHyperlinkEvent
,
49819 &_swigt__p_wxICOHandler
,
49821 &_swigt__p_wxIconizeEvent
,
49822 &_swigt__p_wxIdleEvent
,
49823 &_swigt__p_wxImage
,
49824 &_swigt__p_wxImageHandler
,
49825 &_swigt__p_wxImageList
,
49826 &_swigt__p_wxIndividualLayoutConstraint
,
49827 &_swigt__p_wxInitDialogEvent
,
49828 &_swigt__p_wxItemContainer
,
49829 &_swigt__p_wxJPEGHandler
,
49830 &_swigt__p_wxKeyEvent
,
49831 &_swigt__p_wxLayoutConstraints
,
49832 &_swigt__p_wxListBox
,
49833 &_swigt__p_wxListEvent
,
49834 &_swigt__p_wxListItem
,
49835 &_swigt__p_wxListItemAttr
,
49836 &_swigt__p_wxListView
,
49837 &_swigt__p_wxListbook
,
49838 &_swigt__p_wxListbookEvent
,
49839 &_swigt__p_wxMaximizeEvent
,
49840 &_swigt__p_wxMemoryDC
,
49842 &_swigt__p_wxMenuBar
,
49843 &_swigt__p_wxMenuEvent
,
49844 &_swigt__p_wxMenuItem
,
49845 &_swigt__p_wxMouseCaptureChangedEvent
,
49846 &_swigt__p_wxMouseCaptureLostEvent
,
49847 &_swigt__p_wxMouseEvent
,
49848 &_swigt__p_wxMoveEvent
,
49849 &_swigt__p_wxNavigationKeyEvent
,
49850 &_swigt__p_wxNcPaintEvent
,
49851 &_swigt__p_wxNotebook
,
49852 &_swigt__p_wxNotebookEvent
,
49853 &_swigt__p_wxNotifyEvent
,
49854 &_swigt__p_wxObject
,
49855 &_swigt__p_wxPCXHandler
,
49856 &_swigt__p_wxPNGHandler
,
49857 &_swigt__p_wxPNMHandler
,
49858 &_swigt__p_wxPaintEvent
,
49859 &_swigt__p_wxPaletteChangedEvent
,
49860 &_swigt__p_wxPaperSize
,
49861 &_swigt__p_wxPickerBase
,
49862 &_swigt__p_wxPoint
,
49863 &_swigt__p_wxPyApp
,
49864 &_swigt__p_wxPyCommandEvent
,
49865 &_swigt__p_wxPyControl
,
49866 &_swigt__p_wxPyEvent
,
49867 &_swigt__p_wxPyImageHandler
,
49868 &_swigt__p_wxPyListCtrl
,
49869 &_swigt__p_wxPySizer
,
49870 &_swigt__p_wxPyTreeCtrl
,
49871 &_swigt__p_wxPyTreeItemData
,
49872 &_swigt__p_wxPyValidator
,
49873 &_swigt__p_wxQueryNewPaletteEvent
,
49874 &_swigt__p_wxRadioBox
,
49875 &_swigt__p_wxRadioButton
,
49877 &_swigt__p_wxScrollBar
,
49878 &_swigt__p_wxScrollEvent
,
49879 &_swigt__p_wxScrollWinEvent
,
49880 &_swigt__p_wxSearchCtrl
,
49881 &_swigt__p_wxSetCursorEvent
,
49882 &_swigt__p_wxShowEvent
,
49883 &_swigt__p_wxSimpleHelpProvider
,
49885 &_swigt__p_wxSizeEvent
,
49886 &_swigt__p_wxSizer
,
49887 &_swigt__p_wxSizerItem
,
49888 &_swigt__p_wxSlider
,
49889 &_swigt__p_wxSpinButton
,
49890 &_swigt__p_wxSpinCtrl
,
49891 &_swigt__p_wxSpinEvent
,
49892 &_swigt__p_wxStaticBitmap
,
49893 &_swigt__p_wxStaticBox
,
49894 &_swigt__p_wxStaticBoxSizer
,
49895 &_swigt__p_wxStaticLine
,
49896 &_swigt__p_wxStaticText
,
49897 &_swigt__p_wxStdDialogButtonSizer
,
49898 &_swigt__p_wxString
,
49899 &_swigt__p_wxSysColourChangedEvent
,
49900 &_swigt__p_wxTGAHandler
,
49901 &_swigt__p_wxTIFFHandler
,
49902 &_swigt__p_wxTextAttr
,
49903 &_swigt__p_wxTextCtrl
,
49904 &_swigt__p_wxTextUrlEvent
,
49905 &_swigt__p_wxToggleButton
,
49906 &_swigt__p_wxToolBar
,
49907 &_swigt__p_wxToolBarBase
,
49908 &_swigt__p_wxToolBarToolBase
,
49909 &_swigt__p_wxToolbook
,
49910 &_swigt__p_wxToolbookEvent
,
49911 &_swigt__p_wxTreeEvent
,
49912 &_swigt__p_wxTreeItemId
,
49913 &_swigt__p_wxTreebook
,
49914 &_swigt__p_wxTreebookEvent
,
49915 &_swigt__p_wxUpdateUIEvent
,
49916 &_swigt__p_wxValidator
,
49917 &_swigt__p_wxVisualAttributes
,
49918 &_swigt__p_wxWindow
,
49919 &_swigt__p_wxWindowBase
,
49920 &_swigt__p_wxWindowCreateEvent
,
49921 &_swigt__p_wxWindowDestroyEvent
,
49922 &_swigt__p_wxXPMHandler
,
49925 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49926 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49927 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49928 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49929 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49930 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49931 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49932 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49933 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49934 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49935 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49936 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49937 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}};
49938 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}};
49939 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}};
49940 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}};
49941 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49942 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49943 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
49944 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49945 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49946 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49947 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49948 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49949 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49950 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49951 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49952 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49953 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49954 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49955 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49956 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49957 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49958 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49959 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49960 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49961 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}};
49962 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49963 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49964 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}};
49965 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxComboBox
, _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
49966 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49967 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49968 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49969 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49970 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49971 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49972 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49973 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49974 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49975 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49976 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49977 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49978 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49979 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49980 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49981 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49982 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49983 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49984 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49985 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49986 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49987 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49988 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49989 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49990 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49991 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49992 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49993 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49994 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49995 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49996 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49997 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49998 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}};
49999 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
50000 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
50001 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
50002 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
50003 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_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_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_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}};
50004 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
50005 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50006 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
50007 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50008 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
50009 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
50010 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50011 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
50012 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
50013 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}};
50014 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50015 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
50016 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
50017 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
50018 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}};
50019 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
50020 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}};
50021 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
50022 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
50023 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
50024 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
50025 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
50026 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
50027 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
50028 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
50029 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
50030 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
50031 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
50032 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}};
50033 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
50034 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
50035 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
50036 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
50037 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
50038 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
50039 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
50040 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
50041 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
50042 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
50043 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
50044 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
50045 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
50046 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
50047 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
50048 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
50049 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
50050 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
50051 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
50052 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
50053 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
50054 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
50055 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
50056 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
50057 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
50058 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
50059 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
50060 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
50061 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
50062 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
50063 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
50064 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_wxEventBlocker
, _p_wxEventBlockerTo_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_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_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_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_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_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_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}};
50065 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
50066 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}};
50067 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
50068 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
50069 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}};
50070 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50071 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
50072 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
50073 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
50074 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
50075 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
50076 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50077 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
50078 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
50079 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
50080 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
50081 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
50082 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
50083 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
50084 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
50085 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
50086 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
50087 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
50088 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
50089 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}};
50090 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
50091 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
50092 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
50093 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}};
50094 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
50095 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
50096 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
50097 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
50098 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
50099 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
50100 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
50101 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}};
50102 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
50103 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}};
50104 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
50106 static swig_cast_info
*swig_cast_initial
[] = {
50109 _swigc__p_form_ops_t
,
50112 _swigc__p_unsigned_char
,
50113 _swigc__p_unsigned_int
,
50114 _swigc__p_unsigned_long
,
50116 _swigc__p_wxANIHandler
,
50117 _swigc__p_wxAcceleratorTable
,
50118 _swigc__p_wxActivateEvent
,
50119 _swigc__p_wxArrayInt
,
50120 _swigc__p_wxArrayString
,
50121 _swigc__p_wxBMPHandler
,
50122 _swigc__p_wxBitmap
,
50123 _swigc__p_wxBitmapButton
,
50124 _swigc__p_wxBookCtrlBase
,
50125 _swigc__p_wxBookCtrlBaseEvent
,
50126 _swigc__p_wxBoxSizer
,
50127 _swigc__p_wxButton
,
50128 _swigc__p_wxCURHandler
,
50129 _swigc__p_wxCheckBox
,
50130 _swigc__p_wxCheckListBox
,
50131 _swigc__p_wxChildFocusEvent
,
50132 _swigc__p_wxChoice
,
50133 _swigc__p_wxChoicebook
,
50134 _swigc__p_wxChoicebookEvent
,
50135 _swigc__p_wxClipboardTextEvent
,
50136 _swigc__p_wxCloseEvent
,
50137 _swigc__p_wxCollapsiblePane
,
50138 _swigc__p_wxCollapsiblePaneEvent
,
50139 _swigc__p_wxColour
,
50140 _swigc__p_wxColourPickerCtrl
,
50141 _swigc__p_wxColourPickerEvent
,
50142 _swigc__p_wxComboBox
,
50143 _swigc__p_wxCommandEvent
,
50144 _swigc__p_wxContextHelp
,
50145 _swigc__p_wxContextHelpButton
,
50146 _swigc__p_wxContextMenuEvent
,
50147 _swigc__p_wxControl
,
50148 _swigc__p_wxControlWithItems
,
50149 _swigc__p_wxCursor
,
50151 _swigc__p_wxDateEvent
,
50152 _swigc__p_wxDatePickerCtrl
,
50153 _swigc__p_wxDateTime
,
50154 _swigc__p_wxDirFilterListCtrl
,
50155 _swigc__p_wxDirPickerCtrl
,
50156 _swigc__p_wxDisplayChangedEvent
,
50157 _swigc__p_wxDropFilesEvent
,
50158 _swigc__p_wxDuplexMode
,
50159 _swigc__p_wxEraseEvent
,
50161 _swigc__p_wxEventBlocker
,
50162 _swigc__p_wxEvtHandler
,
50163 _swigc__p_wxFSFile
,
50164 _swigc__p_wxFileDirPickerEvent
,
50165 _swigc__p_wxFilePickerCtrl
,
50166 _swigc__p_wxFileSystem
,
50167 _swigc__p_wxFlexGridSizer
,
50168 _swigc__p_wxFocusEvent
,
50170 _swigc__p_wxFontPickerCtrl
,
50171 _swigc__p_wxFontPickerEvent
,
50172 _swigc__p_wxGBSizerItem
,
50173 _swigc__p_wxGIFHandler
,
50175 _swigc__p_wxGenericDirCtrl
,
50176 _swigc__p_wxGenericDragImage
,
50177 _swigc__p_wxGridBagSizer
,
50178 _swigc__p_wxGridSizer
,
50179 _swigc__p_wxHelpEvent
,
50180 _swigc__p_wxHelpProvider
,
50181 _swigc__p_wxHyperlinkCtrl
,
50182 _swigc__p_wxHyperlinkEvent
,
50183 _swigc__p_wxICOHandler
,
50185 _swigc__p_wxIconizeEvent
,
50186 _swigc__p_wxIdleEvent
,
50188 _swigc__p_wxImageHandler
,
50189 _swigc__p_wxImageList
,
50190 _swigc__p_wxIndividualLayoutConstraint
,
50191 _swigc__p_wxInitDialogEvent
,
50192 _swigc__p_wxItemContainer
,
50193 _swigc__p_wxJPEGHandler
,
50194 _swigc__p_wxKeyEvent
,
50195 _swigc__p_wxLayoutConstraints
,
50196 _swigc__p_wxListBox
,
50197 _swigc__p_wxListEvent
,
50198 _swigc__p_wxListItem
,
50199 _swigc__p_wxListItemAttr
,
50200 _swigc__p_wxListView
,
50201 _swigc__p_wxListbook
,
50202 _swigc__p_wxListbookEvent
,
50203 _swigc__p_wxMaximizeEvent
,
50204 _swigc__p_wxMemoryDC
,
50206 _swigc__p_wxMenuBar
,
50207 _swigc__p_wxMenuEvent
,
50208 _swigc__p_wxMenuItem
,
50209 _swigc__p_wxMouseCaptureChangedEvent
,
50210 _swigc__p_wxMouseCaptureLostEvent
,
50211 _swigc__p_wxMouseEvent
,
50212 _swigc__p_wxMoveEvent
,
50213 _swigc__p_wxNavigationKeyEvent
,
50214 _swigc__p_wxNcPaintEvent
,
50215 _swigc__p_wxNotebook
,
50216 _swigc__p_wxNotebookEvent
,
50217 _swigc__p_wxNotifyEvent
,
50218 _swigc__p_wxObject
,
50219 _swigc__p_wxPCXHandler
,
50220 _swigc__p_wxPNGHandler
,
50221 _swigc__p_wxPNMHandler
,
50222 _swigc__p_wxPaintEvent
,
50223 _swigc__p_wxPaletteChangedEvent
,
50224 _swigc__p_wxPaperSize
,
50225 _swigc__p_wxPickerBase
,
50228 _swigc__p_wxPyCommandEvent
,
50229 _swigc__p_wxPyControl
,
50230 _swigc__p_wxPyEvent
,
50231 _swigc__p_wxPyImageHandler
,
50232 _swigc__p_wxPyListCtrl
,
50233 _swigc__p_wxPySizer
,
50234 _swigc__p_wxPyTreeCtrl
,
50235 _swigc__p_wxPyTreeItemData
,
50236 _swigc__p_wxPyValidator
,
50237 _swigc__p_wxQueryNewPaletteEvent
,
50238 _swigc__p_wxRadioBox
,
50239 _swigc__p_wxRadioButton
,
50241 _swigc__p_wxScrollBar
,
50242 _swigc__p_wxScrollEvent
,
50243 _swigc__p_wxScrollWinEvent
,
50244 _swigc__p_wxSearchCtrl
,
50245 _swigc__p_wxSetCursorEvent
,
50246 _swigc__p_wxShowEvent
,
50247 _swigc__p_wxSimpleHelpProvider
,
50249 _swigc__p_wxSizeEvent
,
50251 _swigc__p_wxSizerItem
,
50252 _swigc__p_wxSlider
,
50253 _swigc__p_wxSpinButton
,
50254 _swigc__p_wxSpinCtrl
,
50255 _swigc__p_wxSpinEvent
,
50256 _swigc__p_wxStaticBitmap
,
50257 _swigc__p_wxStaticBox
,
50258 _swigc__p_wxStaticBoxSizer
,
50259 _swigc__p_wxStaticLine
,
50260 _swigc__p_wxStaticText
,
50261 _swigc__p_wxStdDialogButtonSizer
,
50262 _swigc__p_wxString
,
50263 _swigc__p_wxSysColourChangedEvent
,
50264 _swigc__p_wxTGAHandler
,
50265 _swigc__p_wxTIFFHandler
,
50266 _swigc__p_wxTextAttr
,
50267 _swigc__p_wxTextCtrl
,
50268 _swigc__p_wxTextUrlEvent
,
50269 _swigc__p_wxToggleButton
,
50270 _swigc__p_wxToolBar
,
50271 _swigc__p_wxToolBarBase
,
50272 _swigc__p_wxToolBarToolBase
,
50273 _swigc__p_wxToolbook
,
50274 _swigc__p_wxToolbookEvent
,
50275 _swigc__p_wxTreeEvent
,
50276 _swigc__p_wxTreeItemId
,
50277 _swigc__p_wxTreebook
,
50278 _swigc__p_wxTreebookEvent
,
50279 _swigc__p_wxUpdateUIEvent
,
50280 _swigc__p_wxValidator
,
50281 _swigc__p_wxVisualAttributes
,
50282 _swigc__p_wxWindow
,
50283 _swigc__p_wxWindowBase
,
50284 _swigc__p_wxWindowCreateEvent
,
50285 _swigc__p_wxWindowDestroyEvent
,
50286 _swigc__p_wxXPMHandler
,
50290 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
50292 static swig_const_info swig_const_table
[] = {
50293 {0, 0, 0, 0.0, 0, 0}};
50298 /* -----------------------------------------------------------------------------
50299 * Type initialization:
50300 * This problem is tough by the requirement that no dynamic
50301 * memory is used. Also, since swig_type_info structures store pointers to
50302 * swig_cast_info structures and swig_cast_info structures store pointers back
50303 * to swig_type_info structures, we need some lookup code at initialization.
50304 * The idea is that swig generates all the structures that are needed.
50305 * The runtime then collects these partially filled structures.
50306 * The SWIG_InitializeModule function takes these initial arrays out of
50307 * swig_module, and does all the lookup, filling in the swig_module.types
50308 * array with the correct data and linking the correct swig_cast_info
50309 * structures together.
50311 * The generated swig_type_info structures are assigned staticly to an initial
50312 * array. We just loop though that array, and handle each type individually.
50313 * First we lookup if this type has been already loaded, and if so, use the
50314 * loaded structure instead of the generated one. Then we have to fill in the
50315 * cast linked list. The cast data is initially stored in something like a
50316 * two-dimensional array. Each row corresponds to a type (there are the same
50317 * number of rows as there are in the swig_type_initial array). Each entry in
50318 * a column is one of the swig_cast_info structures for that type.
50319 * The cast_initial array is actually an array of arrays, because each row has
50320 * a variable number of columns. So to actually build the cast linked list,
50321 * we find the array of casts associated with the type, and loop through it
50322 * adding the casts to the list. The one last trick we need to do is making
50323 * sure the type pointer in the swig_cast_info struct is correct.
50325 * First off, we lookup the cast->type name to see if it is already loaded.
50326 * There are three cases to handle:
50327 * 1) If the cast->type has already been loaded AND the type we are adding
50328 * casting info to has not been loaded (it is in this module), THEN we
50329 * replace the cast->type pointer with the type pointer that has already
50331 * 2) If BOTH types (the one we are adding casting info to, and the
50332 * cast->type) are loaded, THEN the cast info has already been loaded by
50333 * the previous module so we just ignore it.
50334 * 3) Finally, if cast->type has not already been loaded, then we add that
50335 * swig_cast_info to the linked list (because the cast->type) pointer will
50337 * ----------------------------------------------------------------------------- */
50347 #define SWIGRUNTIME_DEBUG
50351 SWIG_InitializeModule(void *clientdata
) {
50353 swig_module_info
*module_head
;
50354 static int init_run
= 0;
50356 clientdata
= clientdata
;
50358 if (init_run
) return;
50361 /* Initialize the swig_module */
50362 swig_module
.type_initial
= swig_type_initial
;
50363 swig_module
.cast_initial
= swig_cast_initial
;
50365 /* Try and load any already created modules */
50366 module_head
= SWIG_GetModule(clientdata
);
50368 swig_module
.next
= module_head
->next
;
50369 module_head
->next
= &swig_module
;
50371 /* This is the first module loaded */
50372 swig_module
.next
= &swig_module
;
50373 SWIG_SetModule(clientdata
, &swig_module
);
50376 /* Now work on filling in swig_module.types */
50377 #ifdef SWIGRUNTIME_DEBUG
50378 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
50380 for (i
= 0; i
< swig_module
.size
; ++i
) {
50381 swig_type_info
*type
= 0;
50382 swig_type_info
*ret
;
50383 swig_cast_info
*cast
;
50385 #ifdef SWIGRUNTIME_DEBUG
50386 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50389 /* if there is another module already loaded */
50390 if (swig_module
.next
!= &swig_module
) {
50391 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
50394 /* Overwrite clientdata field */
50395 #ifdef SWIGRUNTIME_DEBUG
50396 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
50398 if (swig_module
.type_initial
[i
]->clientdata
) {
50399 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
50400 #ifdef SWIGRUNTIME_DEBUG
50401 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
50405 type
= swig_module
.type_initial
[i
];
50408 /* Insert casting types */
50409 cast
= swig_module
.cast_initial
[i
];
50410 while (cast
->type
) {
50411 /* Don't need to add information already in the list */
50413 #ifdef SWIGRUNTIME_DEBUG
50414 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
50416 if (swig_module
.next
!= &swig_module
) {
50417 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
50418 #ifdef SWIGRUNTIME_DEBUG
50419 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
50423 if (type
== swig_module
.type_initial
[i
]) {
50424 #ifdef SWIGRUNTIME_DEBUG
50425 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
50430 /* Check for casting already in the list */
50431 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
50432 #ifdef SWIGRUNTIME_DEBUG
50433 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
50435 if (!ocast
) ret
= 0;
50440 #ifdef SWIGRUNTIME_DEBUG
50441 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
50444 type
->cast
->prev
= cast
;
50445 cast
->next
= type
->cast
;
50451 /* Set entry in modules->types array equal to the type */
50452 swig_module
.types
[i
] = type
;
50454 swig_module
.types
[i
] = 0;
50456 #ifdef SWIGRUNTIME_DEBUG
50457 printf("**** SWIG_InitializeModule: Cast List ******\n");
50458 for (i
= 0; i
< swig_module
.size
; ++i
) {
50460 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
50461 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50462 while (cast
->type
) {
50463 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
50467 printf("---- Total casts: %d\n",j
);
50469 printf("**** SWIG_InitializeModule: Cast List ******\n");
50473 /* This function will propagate the clientdata field of type to
50474 * any new swig_type_info structures that have been added into the list
50475 * of equivalent types. It is like calling
50476 * SWIG_TypeClientData(type, clientdata) a second time.
50479 SWIG_PropagateClientData(void) {
50481 swig_cast_info
*equiv
;
50482 static int init_run
= 0;
50484 if (init_run
) return;
50487 for (i
= 0; i
< swig_module
.size
; i
++) {
50488 if (swig_module
.types
[i
]->clientdata
) {
50489 equiv
= swig_module
.types
[i
]->cast
;
50491 if (!equiv
->converter
) {
50492 if (equiv
->type
&& !equiv
->type
->clientdata
)
50493 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
50495 equiv
= equiv
->next
;
50515 /* Python-specific SWIG API */
50516 #define SWIG_newvarlink() SWIG_Python_newvarlink()
50517 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50518 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50520 /* -----------------------------------------------------------------------------
50521 * global variable support code.
50522 * ----------------------------------------------------------------------------- */
50524 typedef struct swig_globalvar
{
50525 char *name
; /* Name of global variable */
50526 PyObject
*(*get_attr
)(void); /* Return the current value */
50527 int (*set_attr
)(PyObject
*); /* Set the value */
50528 struct swig_globalvar
*next
;
50531 typedef struct swig_varlinkobject
{
50533 swig_globalvar
*vars
;
50534 } swig_varlinkobject
;
50536 SWIGINTERN PyObject
*
50537 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
50538 return PyString_FromString("<Swig global variables>");
50541 SWIGINTERN PyObject
*
50542 swig_varlink_str(swig_varlinkobject
*v
) {
50543 PyObject
*str
= PyString_FromString("(");
50544 swig_globalvar
*var
;
50545 for (var
= v
->vars
; var
; var
=var
->next
) {
50546 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
50547 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
50549 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
50554 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
50555 PyObject
*str
= swig_varlink_str(v
);
50556 fprintf(fp
,"Swig global variables ");
50557 fprintf(fp
,"%s\n", PyString_AsString(str
));
50563 swig_varlink_dealloc(swig_varlinkobject
*v
) {
50564 swig_globalvar
*var
= v
->vars
;
50566 swig_globalvar
*n
= var
->next
;
50573 SWIGINTERN PyObject
*
50574 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
50575 PyObject
*res
= NULL
;
50576 swig_globalvar
*var
= v
->vars
;
50578 if (strcmp(var
->name
,n
) == 0) {
50579 res
= (*var
->get_attr
)();
50584 if (res
== NULL
&& !PyErr_Occurred()) {
50585 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50591 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
50593 swig_globalvar
*var
= v
->vars
;
50595 if (strcmp(var
->name
,n
) == 0) {
50596 res
= (*var
->set_attr
)(p
);
50601 if (res
== 1 && !PyErr_Occurred()) {
50602 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50607 SWIGINTERN PyTypeObject
*
50608 swig_varlink_type(void) {
50609 static char varlink__doc__
[] = "Swig var link object";
50610 static PyTypeObject varlink_type
;
50611 static int type_init
= 0;
50613 const PyTypeObject tmp
50615 PyObject_HEAD_INIT(NULL
)
50616 0, /* Number of items in variable part (ob_size) */
50617 (char *)"swigvarlink", /* Type name (tp_name) */
50618 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
50619 0, /* Itemsize (tp_itemsize) */
50620 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
50621 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
50622 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
50623 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
50624 0, /* tp_compare */
50625 (reprfunc
) swig_varlink_repr
, /* tp_repr */
50626 0, /* tp_as_number */
50627 0, /* tp_as_sequence */
50628 0, /* tp_as_mapping */
50631 (reprfunc
)swig_varlink_str
, /* tp_str */
50632 0, /* tp_getattro */
50633 0, /* tp_setattro */
50634 0, /* tp_as_buffer */
50636 varlink__doc__
, /* tp_doc */
50637 0, /* tp_traverse */
50639 0, /* tp_richcompare */
50640 0, /* tp_weaklistoffset */
50641 #if PY_VERSION_HEX >= 0x02020000
50642 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50644 #if PY_VERSION_HEX >= 0x02030000
50647 #ifdef COUNT_ALLOCS
50648 0,0,0,0 /* tp_alloc -> tp_next */
50651 varlink_type
= tmp
;
50652 varlink_type
.ob_type
= &PyType_Type
;
50655 return &varlink_type
;
50658 /* Create a variable linking object for use later */
50659 SWIGINTERN PyObject
*
50660 SWIG_Python_newvarlink(void) {
50661 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50665 return ((PyObject
*) result
);
50669 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50670 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50671 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50673 size_t size
= strlen(name
)+1;
50674 gv
->name
= (char *)malloc(size
);
50676 strncpy(gv
->name
,name
,size
);
50677 gv
->get_attr
= get_attr
;
50678 gv
->set_attr
= set_attr
;
50679 gv
->next
= v
->vars
;
50685 SWIGINTERN PyObject
*
50687 static PyObject
*_SWIG_globals
= 0;
50688 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50689 return _SWIG_globals
;
50692 /* -----------------------------------------------------------------------------
50693 * constants/methods manipulation
50694 * ----------------------------------------------------------------------------- */
50696 /* Install Constants */
50698 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50701 for (i
= 0; constants
[i
].type
; ++i
) {
50702 switch(constants
[i
].type
) {
50703 case SWIG_PY_POINTER
:
50704 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50706 case SWIG_PY_BINARY
:
50707 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50714 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50720 /* -----------------------------------------------------------------------------*/
50721 /* Fix SwigMethods to carry the callback ptrs when needed */
50722 /* -----------------------------------------------------------------------------*/
50725 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50726 swig_const_info
*const_table
,
50727 swig_type_info
**types
,
50728 swig_type_info
**types_initial
) {
50730 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50731 const char *c
= methods
[i
].ml_doc
;
50732 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50734 swig_const_info
*ci
= 0;
50735 const char *name
= c
+ 10;
50736 for (j
= 0; const_table
[j
].type
; ++j
) {
50737 if (strncmp(const_table
[j
].name
, name
,
50738 strlen(const_table
[j
].name
)) == 0) {
50739 ci
= &(const_table
[j
]);
50744 size_t shift
= (ci
->ptype
) - types
;
50745 swig_type_info
*ty
= types_initial
[shift
];
50746 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50747 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50748 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50751 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50753 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50755 strncpy(buff
, "swig_ptr: ", 10);
50757 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50758 methods
[i
].ml_doc
= ndoc
;
50770 /* -----------------------------------------------------------------------------*
50771 * Partial Init method
50772 * -----------------------------------------------------------------------------*/
50777 SWIGEXPORT
void SWIG_init(void) {
50780 /* Fix SwigMethods to carry the callback ptrs when needed */
50781 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50783 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50784 d
= PyModule_GetDict(m
);
50786 SWIG_InitializeModule(0);
50787 SWIG_InstallConstants(d
,swig_const_table
);
50790 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50791 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50792 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50793 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50794 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50795 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50796 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50797 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50798 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50799 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50800 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50801 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50802 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50803 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50804 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50805 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50806 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50807 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50808 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50809 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50810 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50811 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50812 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50813 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50814 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50815 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50816 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50817 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50818 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50819 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50820 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50821 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50822 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50823 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50824 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50825 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50826 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50827 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50828 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50829 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50830 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50831 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50832 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50833 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50834 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50835 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50836 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50837 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50838 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50839 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50840 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50841 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50842 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50843 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50844 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50845 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50846 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50847 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50848 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50849 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50850 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50851 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50852 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50853 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50854 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50855 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50856 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50857 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50858 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50859 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50860 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50861 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50862 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50863 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50864 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50865 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50866 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50867 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50868 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50869 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50870 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50871 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50872 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50873 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50874 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50875 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50876 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50877 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50878 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50879 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50880 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50881 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50882 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50883 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50884 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50885 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50886 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50887 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50888 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50889 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50890 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50891 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50892 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50893 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50894 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50895 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50896 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50897 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50898 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50899 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50900 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50901 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50902 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50903 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50904 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50905 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50906 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50907 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50908 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50909 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50910 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50911 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50912 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50913 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50914 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50915 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50916 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50917 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50918 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50919 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50920 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50921 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50922 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50923 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50924 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50925 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50926 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50927 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50928 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50929 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50930 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50931 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50932 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50933 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50934 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50935 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50936 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50937 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50938 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50939 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50940 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50941 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50942 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50943 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50944 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50945 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50946 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50947 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50948 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50949 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50950 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50951 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50952 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50953 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50954 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50955 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50956 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50957 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50958 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50959 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50960 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50961 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50962 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50963 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50964 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50965 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50966 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50967 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50968 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50969 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50970 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50971 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50972 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50973 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50974 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50975 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50976 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50977 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50978 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50979 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50980 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50981 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50982 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50983 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50984 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50985 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50986 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50987 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50988 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50989 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50990 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50991 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50992 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50993 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50994 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50995 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50996 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50997 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50998 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50999 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
51000 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
51001 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
51002 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
51003 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
51004 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
51005 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
51006 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
51007 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
51008 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
51009 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
51010 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
51011 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
51012 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
51013 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
51014 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
51015 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
51016 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
51017 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
51018 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
51019 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
51020 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
51021 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
51022 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
51023 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
51024 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
51025 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
51026 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
51027 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
51028 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
51029 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
51030 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
51031 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
51032 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
51033 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
51034 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
51035 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
51036 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
51037 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
51038 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
51039 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
51040 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
51041 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
51042 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
51043 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
51044 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
51045 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
51046 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
51047 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
51048 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
51049 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
51050 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
51052 // Map renamed classes back to their common name for OOR
51053 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
51055 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
51056 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
51057 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
51058 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
51059 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
51060 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
51061 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
51062 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
51063 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
51064 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
51065 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
51066 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
51067 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
51068 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
51069 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
51070 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
51071 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
51072 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
51073 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
51074 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
51075 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
51076 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
51077 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
51078 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
51079 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
51080 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
51081 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
51082 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
51083 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
51084 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
51085 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
51086 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
51087 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
51088 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
51089 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
51090 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
51091 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
51092 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
51093 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
51094 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
51095 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
51096 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
51097 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
51098 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
51099 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
51100 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
51101 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
51102 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
51103 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
51104 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
51105 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
51106 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
51107 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
51108 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
51109 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
51110 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
51112 // Map renamed classes back to their common name for OOR
51113 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
51114 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
51116 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
51117 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
51118 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
51119 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
51120 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
51121 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
51122 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
51123 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
51124 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
51125 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
51126 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
51128 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
51130 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
51131 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
51132 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
51133 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
51134 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
51135 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
51136 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
51137 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
51138 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
51139 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
51140 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
51141 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
51142 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
51143 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
51144 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
51145 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
51146 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
51147 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
51148 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
51149 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
51150 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
51151 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
51152 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
51153 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
51154 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
51155 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
51156 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
51157 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
51158 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
51159 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
51160 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
51161 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
51162 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
51163 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
51164 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
51165 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
51166 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
51167 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
51168 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
51169 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
51170 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
51171 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
51172 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
51173 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
51174 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
51175 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
51176 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
51177 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
51178 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
));
51179 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
));